1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxWindow swig_types[13]
223 #define SWIGTYPE_p_wxSize swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250 #define SWIGTYPE_p_wxConfigBase swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_wxPyPen swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxMetaFile swig_types[52]
262 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
263 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
264 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
265 static swig_type_info
*swig_types
[57];
267 /* -------- TYPES TABLE (END) -------- */
270 /*-----------------------------------------------
272 ------------------------------------------------*/
273 #define SWIG_init init_gdi
275 #define SWIG_name "_gdi"
277 /* Auxiliar swig macros */
280 #define SWIGSTATICINLINE(a) static inline a
281 #define SWIGSTATIC(a) static a
282 #define swig_new_array(type, size) (new type[(size)])
283 #define swig_delete_array(cptr) delete[] cptr
284 #define swig_const_cast(type,a) const_cast<type>(a)
285 #define swig_static_cast(type,a) static_cast<type>(a)
286 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
288 #ifdef HAVE_NUMERIC_CAST
289 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
291 #define swig_numeric_cast(type,a) static_cast<type>(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
299 #define swig_delete_array(cptr) free((char*)cptr)
300 #define swig_const_cast(type,a) (type)(a)
301 #define swig_static_cast(type,a) (type)(a)
302 #define swig_reinterpret_cast(type,a) (type)(a)
303 #define swig_numeric_cast(type,a) (type)(a)
305 #endif /* __cplusplus */
308 #define SWIG_FromSignedChar PyInt_FromLong
309 #define SWIG_FromUnsignedChar PyInt_FromLong
310 #define SWIG_FromShort PyInt_FromLong
311 #define SWIG_FromUnsignedShort PyInt_FromLong
312 #define SWIG_FromInt PyInt_FromLong
313 #define SWIG_FromLong PyInt_FromLong
314 #define SWIG_FromFloat PyFloat_FromDouble
315 #define SWIG_FromDouble PyFloat_FromDouble
316 #define SWIG_FromFloat PyFloat_FromDouble
317 #define SWIG_FromDouble PyFloat_FromDouble
320 #include "wx/wxPython/wxPython.h"
321 #include "wx/wxPython/pyclasses.h"
324 static const wxString
wxPyEmptyString(wxEmptyString
);
326 SWIGSTATICINLINE(bool)
327 SWIG_AsBool(PyObject
*obj
)
329 return PyObject_IsTrue(obj
) ? true : false;
333 SWIGSTATICINLINE(int)
334 SWIG_CheckBool(PyObject
* obj
)
337 if (PyErr_Occurred()) {
349 SWIGSTATICINLINE(unsigned long)
350 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
351 unsigned long max_value
)
353 if (!PyErr_Occurred()) {
354 if (value
> max_value
) {
356 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
357 value
, type
, max_value
);
358 PyErr_SetObject(PyExc_OverflowError
, err
);
366 SWIGSTATICINLINE(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 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
626 wxMask
*mask
= new wxMask(*self
, colour
);
629 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
630 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
631 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
633 return new wxMask(bitmap
, *wxBLACK
);
635 return new wxMask(bitmap
, colour
);
638 #include <wx/iconbndl.h>
640 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
641 wxIcon
* icon
= new wxIcon();
642 icon
->CopyFromBitmap(bmp
);
645 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
646 char** cArray
= NULL
;
649 cArray
= ConvertListOfStrings(listOfStrings
);
652 icon
= new wxIcon(cArray
);
656 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
660 return new wxIconLocation(*filename
);
663 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
670 int wxIconLocation_GetIndex(wxIconLocation
*self
){
678 SWIGSTATICINLINE(int)
679 SWIG_CheckLong(PyObject
* obj
)
682 if (PyErr_Occurred()) {
690 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
692 wxCHECK_MSG(False
, NULL
,
693 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
695 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
700 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
701 wxPyRaiseNotImplemented();
704 void wxRegionIterator_Next(wxRegionIterator
*self
){
707 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
708 return self
->operator bool();
711 #include <wx/fontutil.h>
712 #include <wx/fontmap.h>
713 #include <wx/fontenum.h>
715 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
716 return self
->ToString();
719 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
720 static wxNativeEncodingInfo info
;
721 if ( wxGetNativeFontEncoding(encoding
, &info
) )
727 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
728 wxFontEncoding alt_enc
;
729 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
730 return PyInt_FromLong(alt_enc
);
736 wxFont
*new_wxFont(wxString
const &info
){
737 wxNativeFontInfo nfi
;
738 nfi
.FromString(info
);
739 return new wxFont(nfi
);
741 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
742 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
744 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
745 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
747 class wxPyFontEnumerator
: public wxFontEnumerator
{
749 wxPyFontEnumerator() {}
750 ~wxPyFontEnumerator() {}
752 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
753 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
758 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
759 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
762 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
763 wxArrayString
* arr
= self
->GetEncodings();
764 return wxArrayString2PyList_helper(*arr
);
766 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
767 wxArrayString
* arr
= self
->GetFacenames();
768 return wxArrayString2PyList_helper(*arr
);
773 #include "wx/wxPython/pydrawxxx.h"
775 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
777 self
->GetPixel(x
, y
, &col
);
780 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
782 self
->GetPixel(pt
, &col
);
786 SWIGSTATICINLINE(double)
787 SWIG_AsDouble(PyObject
*obj
)
789 if (PyNumber_Check(obj
))
790 return PyFloat_AsDouble(obj
);
792 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
793 obj
->ob_type
->tp_name
);
794 PyErr_SetObject(PyExc_TypeError
, errmsg
);
801 SWIGSTATICINLINE(int)
802 SWIG_CheckDouble(PyObject
* obj
)
805 if (PyErr_Occurred()) {
813 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
815 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
818 wxRect
wxDC_GetClippingRect(wxDC
*self
){
820 self
->GetClippingBox(rect
);
823 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
825 self
->GetPartialTextExtents(text
, widths
);
828 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
829 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
831 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
832 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
834 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
835 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
837 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
838 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
840 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
841 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
843 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
844 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
847 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
855 //-=-=-=-=-=-=-=-=-=-=-
858 // Use the standard wxBufferedDC
859 #include <wx/dcbuffer.h>
863 // Or, temporarily put a set of classes here similar to the old buffered DC
864 // classes until the real ones can be fixed to work "correctly" again.
866 class wxBufferedDC
: public wxMemoryDC
874 wxBufferedDC() : m_dc( 0 ) {}
876 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
877 : m_dc( dc
), m_buffer( buffer
)
879 SelectObject( m_buffer
);
882 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
883 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
885 SelectObject( m_buffer
);
894 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
895 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
896 _T("wxBufferedDC already initialised") );
899 SelectObject( m_buffer
);
902 void Init( wxDC
*dc
, const wxSize
&area
) {
903 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
904 _T("wxBufferedDC already initialised") );
906 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
907 SelectObject( m_buffer
);
911 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
912 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
918 class wxBufferedPaintDC
: public wxBufferedDC
924 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
925 : m_paintdc( window
)
927 window
->PrepareDC( m_paintdc
);
929 if( buffer
!= wxNullBitmap
)
930 Init( &m_paintdc
, buffer
);
932 Init( &m_paintdc
, window
->GetClientSize() );
935 ~wxBufferedPaintDC() {
941 //-=-=-=-=-=-=-=-=-=-=-
947 #include <wx/metafile.h>
951 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
952 self
->AddColour(name
, wxColour(red
, green
, blue
));
955 #include <wx/effects.h>
960 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
970 result
= (wxGDIObject
*)new wxGDIObject();
972 wxPyEndAllowThreads(__tstate
);
973 if (PyErr_Occurred()) SWIG_fail
;
975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
982 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
984 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
985 PyObject
* obj0
= 0 ;
987 (char *) "self", NULL
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
997 wxPyEndAllowThreads(__tstate
);
998 if (PyErr_Occurred()) SWIG_fail
;
1000 Py_INCREF(Py_None
); resultobj
= Py_None
;
1007 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
*resultobj
;
1009 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1011 PyObject
* obj0
= 0 ;
1013 (char *) "self", NULL
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1021 result
= (bool)(arg1
)->GetVisible();
1023 wxPyEndAllowThreads(__tstate
);
1024 if (PyErr_Occurred()) SWIG_fail
;
1027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1035 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
*resultobj
;
1037 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1039 PyObject
* obj0
= 0 ;
1040 PyObject
* obj1
= 0 ;
1042 (char *) "self",(char *) "visible", NULL
1045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1048 arg2
= (bool) SWIG_AsBool(obj1
);
1049 if (PyErr_Occurred()) SWIG_fail
;
1051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1052 (arg1
)->SetVisible(arg2
);
1054 wxPyEndAllowThreads(__tstate
);
1055 if (PyErr_Occurred()) SWIG_fail
;
1057 Py_INCREF(Py_None
); resultobj
= Py_None
;
1064 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
*resultobj
;
1066 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1068 PyObject
* obj0
= 0 ;
1070 (char *) "self", NULL
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1078 result
= (bool)(arg1
)->IsNull();
1080 wxPyEndAllowThreads(__tstate
);
1081 if (PyErr_Occurred()) SWIG_fail
;
1084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1092 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1095 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1097 return Py_BuildValue((char *)"");
1099 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
*resultobj
;
1101 unsigned char arg1
= (unsigned char) 0 ;
1102 unsigned char arg2
= (unsigned char) 0 ;
1103 unsigned char arg3
= (unsigned char) 0 ;
1105 PyObject
* obj0
= 0 ;
1106 PyObject
* obj1
= 0 ;
1107 PyObject
* obj2
= 0 ;
1109 (char *) "red",(char *) "green",(char *) "blue", NULL
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1114 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1118 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1122 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1123 if (PyErr_Occurred()) SWIG_fail
;
1126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1127 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1129 wxPyEndAllowThreads(__tstate
);
1130 if (PyErr_Occurred()) SWIG_fail
;
1132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1139 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
*resultobj
;
1141 wxString
*arg1
= 0 ;
1143 bool temp1
= False
;
1144 PyObject
* obj0
= 0 ;
1146 (char *) "colorName", NULL
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1151 arg1
= wxString_in_helper(obj0
);
1152 if (arg1
== NULL
) SWIG_fail
;
1156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1157 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1159 wxPyEndAllowThreads(__tstate
);
1160 if (PyErr_Occurred()) SWIG_fail
;
1162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1177 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
*resultobj
;
1179 unsigned long arg1
;
1181 PyObject
* obj0
= 0 ;
1183 (char *) "colRGB", NULL
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1187 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1188 if (PyErr_Occurred()) SWIG_fail
;
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 result
= (wxColour
*)new wxColour(arg1
);
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) SWIG_fail
;
1196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1203 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
*resultobj
;
1205 wxColour
*arg1
= (wxColour
*) 0 ;
1206 PyObject
* obj0
= 0 ;
1208 (char *) "self", NULL
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 wxPyEndAllowThreads(__tstate
);
1219 if (PyErr_Occurred()) SWIG_fail
;
1221 Py_INCREF(Py_None
); resultobj
= Py_None
;
1228 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
*resultobj
;
1230 wxColour
*arg1
= (wxColour
*) 0 ;
1231 unsigned char result
;
1232 PyObject
* obj0
= 0 ;
1234 (char *) "self", NULL
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1242 result
= (unsigned char)(arg1
)->Red();
1244 wxPyEndAllowThreads(__tstate
);
1245 if (PyErr_Occurred()) SWIG_fail
;
1247 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1254 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
*resultobj
;
1256 wxColour
*arg1
= (wxColour
*) 0 ;
1257 unsigned char result
;
1258 PyObject
* obj0
= 0 ;
1260 (char *) "self", NULL
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1268 result
= (unsigned char)(arg1
)->Green();
1270 wxPyEndAllowThreads(__tstate
);
1271 if (PyErr_Occurred()) SWIG_fail
;
1273 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1280 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
*resultobj
;
1282 wxColour
*arg1
= (wxColour
*) 0 ;
1283 unsigned char result
;
1284 PyObject
* obj0
= 0 ;
1286 (char *) "self", NULL
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 result
= (unsigned char)(arg1
)->Blue();
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1299 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1306 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1307 PyObject
*resultobj
;
1308 wxColour
*arg1
= (wxColour
*) 0 ;
1310 PyObject
* obj0
= 0 ;
1312 (char *) "self", NULL
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1320 result
= (bool)(arg1
)->Ok();
1322 wxPyEndAllowThreads(__tstate
);
1323 if (PyErr_Occurred()) SWIG_fail
;
1326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1334 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
*resultobj
;
1336 wxColour
*arg1
= (wxColour
*) 0 ;
1337 unsigned char arg2
;
1338 unsigned char arg3
;
1339 unsigned char arg4
;
1340 PyObject
* obj0
= 0 ;
1341 PyObject
* obj1
= 0 ;
1342 PyObject
* obj2
= 0 ;
1343 PyObject
* obj3
= 0 ;
1345 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1351 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1352 if (PyErr_Occurred()) SWIG_fail
;
1353 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1354 if (PyErr_Occurred()) SWIG_fail
;
1355 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1356 if (PyErr_Occurred()) SWIG_fail
;
1358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1359 (arg1
)->Set(arg2
,arg3
,arg4
);
1361 wxPyEndAllowThreads(__tstate
);
1362 if (PyErr_Occurred()) SWIG_fail
;
1364 Py_INCREF(Py_None
); resultobj
= Py_None
;
1371 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
*resultobj
;
1373 wxColour
*arg1
= (wxColour
*) 0 ;
1374 unsigned long arg2
;
1375 PyObject
* obj0
= 0 ;
1376 PyObject
* obj1
= 0 ;
1378 (char *) "self",(char *) "colRGB", NULL
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1384 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1385 if (PyErr_Occurred()) SWIG_fail
;
1387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1390 wxPyEndAllowThreads(__tstate
);
1391 if (PyErr_Occurred()) SWIG_fail
;
1393 Py_INCREF(Py_None
); resultobj
= Py_None
;
1400 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
*resultobj
;
1402 wxColour
*arg1
= (wxColour
*) 0 ;
1403 wxString
*arg2
= 0 ;
1404 bool temp2
= False
;
1405 PyObject
* obj0
= 0 ;
1406 PyObject
* obj1
= 0 ;
1408 (char *) "self",(char *) "colourName", NULL
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1415 arg2
= wxString_in_helper(obj1
);
1416 if (arg2
== NULL
) SWIG_fail
;
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 (arg1
)->InitFromName((wxString
const &)*arg2
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) SWIG_fail
;
1426 Py_INCREF(Py_None
); resultobj
= Py_None
;
1441 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
*resultobj
;
1443 wxColour
*arg1
= (wxColour
*) 0 ;
1445 PyObject
* obj0
= 0 ;
1447 (char *) "self", NULL
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) SWIG_fail
;
1460 resultobj
= SWIG_FromLong((long)result
);
1467 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
*resultobj
;
1469 wxColour
*arg1
= (wxColour
*) 0 ;
1470 wxColour
*arg2
= 0 ;
1473 PyObject
* obj0
= 0 ;
1474 PyObject
* obj1
= 0 ;
1476 (char *) "self",(char *) "colour", NULL
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) SWIG_fail
;
1494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1502 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
*resultobj
;
1504 wxColour
*arg1
= (wxColour
*) 0 ;
1505 wxColour
*arg2
= 0 ;
1508 PyObject
* obj0
= 0 ;
1509 PyObject
* obj1
= 0 ;
1511 (char *) "self",(char *) "colour", NULL
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1519 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) SWIG_fail
;
1529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1537 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
*resultobj
;
1539 wxColour
*arg1
= (wxColour
*) 0 ;
1541 PyObject
* obj0
= 0 ;
1543 (char *) "self", NULL
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1551 result
= (PyObject
*)wxColour_Get(arg1
);
1553 wxPyEndAllowThreads(__tstate
);
1554 if (PyErr_Occurred()) SWIG_fail
;
1563 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
*resultobj
;
1565 wxColour
*arg1
= (wxColour
*) 0 ;
1566 unsigned long result
;
1567 PyObject
* obj0
= 0 ;
1569 (char *) "self", NULL
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1577 result
= (unsigned long)wxColour_GetRGB(arg1
);
1579 wxPyEndAllowThreads(__tstate
);
1580 if (PyErr_Occurred()) SWIG_fail
;
1582 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1589 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1592 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1594 return Py_BuildValue((char *)"");
1596 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
*resultobj
;
1599 unsigned char *arg2
= (unsigned char *) 0 ;
1600 unsigned char *arg3
= (unsigned char *) 0 ;
1601 unsigned char *arg4
= (unsigned char *) 0 ;
1603 PyObject
* obj0
= 0 ;
1604 PyObject
* obj1
= 0 ;
1605 PyObject
* obj2
= 0 ;
1606 PyObject
* obj3
= 0 ;
1608 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1612 arg1
= (int) SWIG_AsInt(obj0
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1616 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1618 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1634 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
*resultobj
;
1636 wxPalette
*arg1
= (wxPalette
*) 0 ;
1637 PyObject
* obj0
= 0 ;
1639 (char *) "self", NULL
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) SWIG_fail
;
1652 Py_INCREF(Py_None
); resultobj
= Py_None
;
1659 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
*resultobj
;
1661 wxPalette
*arg1
= (wxPalette
*) 0 ;
1666 PyObject
* obj0
= 0 ;
1667 PyObject
* obj1
= 0 ;
1668 PyObject
* obj2
= 0 ;
1669 PyObject
* obj3
= 0 ;
1671 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1677 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1678 if (PyErr_Occurred()) SWIG_fail
;
1679 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1681 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1685 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1687 wxPyEndAllowThreads(__tstate
);
1688 if (PyErr_Occurred()) SWIG_fail
;
1690 resultobj
= SWIG_FromInt((int)result
);
1697 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
*resultobj
;
1699 wxPalette
*arg1
= (wxPalette
*) 0 ;
1701 byte
*arg3
= (byte
*) 0 ;
1702 byte
*arg4
= (byte
*) 0 ;
1703 byte
*arg5
= (byte
*) 0 ;
1708 PyObject
* obj0
= 0 ;
1709 PyObject
* obj1
= 0 ;
1711 (char *) "self",(char *) "pixel", NULL
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1720 arg2
= (int) SWIG_AsInt(obj1
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1733 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1734 resultobj
= t_output_helper(resultobj
,o
);
1737 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1738 resultobj
= t_output_helper(resultobj
,o
);
1741 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1742 resultobj
= t_output_helper(resultobj
,o
);
1750 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1752 wxPalette
*arg1
= (wxPalette
*) 0 ;
1754 PyObject
* obj0
= 0 ;
1756 (char *) "self", NULL
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 result
= (bool)(arg1
)->Ok();
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1778 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1781 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1783 return Py_BuildValue((char *)"");
1785 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
*resultobj
;
1787 wxColour
*arg1
= 0 ;
1788 int arg2
= (int) 1 ;
1789 int arg3
= (int) wxSOLID
;
1792 PyObject
* obj0
= 0 ;
1793 PyObject
* obj1
= 0 ;
1794 PyObject
* obj2
= 0 ;
1796 (char *) "colour",(char *) "width",(char *) "style", NULL
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1802 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1805 arg2
= (int) SWIG_AsInt(obj1
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1809 arg3
= (int) SWIG_AsInt(obj2
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1814 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1816 wxPyEndAllowThreads(__tstate
);
1817 if (PyErr_Occurred()) SWIG_fail
;
1819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1826 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
*resultobj
;
1828 wxPen
*arg1
= (wxPen
*) 0 ;
1829 PyObject
* obj0
= 0 ;
1831 (char *) "self", NULL
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) SWIG_fail
;
1844 Py_INCREF(Py_None
); resultobj
= Py_None
;
1851 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
*resultobj
;
1853 wxPen
*arg1
= (wxPen
*) 0 ;
1855 PyObject
* obj0
= 0 ;
1857 (char *) "self", NULL
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1865 result
= (int)(arg1
)->GetCap();
1867 wxPyEndAllowThreads(__tstate
);
1868 if (PyErr_Occurred()) SWIG_fail
;
1870 resultobj
= SWIG_FromInt((int)result
);
1877 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
*resultobj
;
1879 wxPen
*arg1
= (wxPen
*) 0 ;
1881 PyObject
* obj0
= 0 ;
1883 (char *) "self", NULL
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1891 result
= (arg1
)->GetColour();
1893 wxPyEndAllowThreads(__tstate
);
1894 if (PyErr_Occurred()) SWIG_fail
;
1897 wxColour
* resultptr
;
1898 resultptr
= new wxColour((wxColour
&) result
);
1899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1907 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
*resultobj
;
1909 wxPen
*arg1
= (wxPen
*) 0 ;
1911 PyObject
* obj0
= 0 ;
1913 (char *) "self", NULL
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 result
= (int)(arg1
)->GetJoin();
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1926 resultobj
= SWIG_FromInt((int)result
);
1933 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1935 wxPen
*arg1
= (wxPen
*) 0 ;
1937 PyObject
* obj0
= 0 ;
1939 (char *) "self", NULL
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 result
= (int)(arg1
)->GetStyle();
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 resultobj
= SWIG_FromInt((int)result
);
1959 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1961 wxPen
*arg1
= (wxPen
*) 0 ;
1963 PyObject
* obj0
= 0 ;
1965 (char *) "self", NULL
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 result
= (int)(arg1
)->GetWidth();
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) SWIG_fail
;
1978 resultobj
= SWIG_FromInt((int)result
);
1985 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
*resultobj
;
1987 wxPen
*arg1
= (wxPen
*) 0 ;
1989 PyObject
* obj0
= 0 ;
1991 (char *) "self", NULL
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 result
= (bool)(arg1
)->Ok();
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2013 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
*resultobj
;
2015 wxPen
*arg1
= (wxPen
*) 0 ;
2017 PyObject
* obj0
= 0 ;
2018 PyObject
* obj1
= 0 ;
2020 (char *) "self",(char *) "cap_style", NULL
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2026 arg2
= (int) SWIG_AsInt(obj1
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2030 (arg1
)->SetCap(arg2
);
2032 wxPyEndAllowThreads(__tstate
);
2033 if (PyErr_Occurred()) SWIG_fail
;
2035 Py_INCREF(Py_None
); resultobj
= Py_None
;
2042 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
*resultobj
;
2044 wxPen
*arg1
= (wxPen
*) 0 ;
2045 wxColour
*arg2
= 0 ;
2047 PyObject
* obj0
= 0 ;
2048 PyObject
* obj1
= 0 ;
2050 (char *) "self",(char *) "colour", NULL
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2058 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 (arg1
)->SetColour(*arg2
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) SWIG_fail
;
2067 Py_INCREF(Py_None
); resultobj
= Py_None
;
2074 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
*resultobj
;
2076 wxPen
*arg1
= (wxPen
*) 0 ;
2078 PyObject
* obj0
= 0 ;
2079 PyObject
* obj1
= 0 ;
2081 (char *) "self",(char *) "join_style", NULL
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2087 arg2
= (int) SWIG_AsInt(obj1
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 (arg1
)->SetJoin(arg2
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2096 Py_INCREF(Py_None
); resultobj
= Py_None
;
2103 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
*resultobj
;
2105 wxPen
*arg1
= (wxPen
*) 0 ;
2107 PyObject
* obj0
= 0 ;
2108 PyObject
* obj1
= 0 ;
2110 (char *) "self",(char *) "style", NULL
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2116 arg2
= (int) SWIG_AsInt(obj1
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 (arg1
)->SetStyle(arg2
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2125 Py_INCREF(Py_None
); resultobj
= Py_None
;
2132 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
;
2134 wxPen
*arg1
= (wxPen
*) 0 ;
2136 PyObject
* obj0
= 0 ;
2137 PyObject
* obj1
= 0 ;
2139 (char *) "self",(char *) "width", NULL
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2145 arg2
= (int) SWIG_AsInt(obj1
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 (arg1
)->SetWidth(arg2
);
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) SWIG_fail
;
2154 Py_INCREF(Py_None
); resultobj
= Py_None
;
2161 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
*resultobj
;
2163 wxPen
*arg1
= (wxPen
*) 0 ;
2165 wxDash
*arg3
= (wxDash
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2167 PyObject
* obj1
= 0 ;
2169 (char *) "self",(char *) "dashes", NULL
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2176 arg2
= PyList_Size(obj1
);
2177 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2178 if (arg3
== NULL
) SWIG_fail
;
2181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2182 (arg1
)->SetDashes(arg2
,arg3
);
2184 wxPyEndAllowThreads(__tstate
);
2185 if (PyErr_Occurred()) SWIG_fail
;
2187 Py_INCREF(Py_None
); resultobj
= Py_None
;
2189 if (arg3
) delete [] arg3
;
2194 if (arg3
) delete [] arg3
;
2200 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
*resultobj
;
2202 wxPen
*arg1
= (wxPen
*) 0 ;
2204 PyObject
* obj0
= 0 ;
2206 (char *) "self", NULL
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) SWIG_fail
;
2226 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxPen
*arg1
= (wxPen
*) 0 ;
2229 wxPen
*arg2
= (wxPen
*) 0 ;
2231 PyObject
* obj0
= 0 ;
2232 PyObject
* obj1
= 0 ;
2234 (char *) "self",(char *) "other", NULL
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2258 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
*resultobj
;
2260 wxPen
*arg1
= (wxPen
*) 0 ;
2261 wxPen
*arg2
= (wxPen
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2264 PyObject
* obj1
= 0 ;
2266 (char *) "self",(char *) "other", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2290 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2293 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2295 return Py_BuildValue((char *)"");
2297 static PyObject
*_wrap_new_PyPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
;
2299 wxColour
*arg1
= 0 ;
2300 int arg2
= (int) 1 ;
2301 int arg3
= (int) wxSOLID
;
2304 PyObject
* obj0
= 0 ;
2305 PyObject
* obj1
= 0 ;
2306 PyObject
* obj2
= 0 ;
2308 (char *) "colour",(char *) "width",(char *) "style", NULL
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2314 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2317 arg2
= (int) SWIG_AsInt(obj1
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2321 arg3
= (int) SWIG_AsInt(obj2
);
2322 if (PyErr_Occurred()) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2338 static PyObject
*_wrap_delete_PyPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2341 PyObject
* obj0
= 0 ;
2343 (char *) "self", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2356 Py_INCREF(Py_None
); resultobj
= Py_None
;
2363 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
*resultobj
;
2365 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2367 wxDash
*arg3
= (wxDash
*) 0 ;
2368 PyObject
* obj0
= 0 ;
2369 PyObject
* obj1
= 0 ;
2371 (char *) "self",(char *) "dashes", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2378 arg2
= PyList_Size(obj1
);
2379 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2380 if (arg3
== NULL
) SWIG_fail
;
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 (arg1
)->SetDashes(arg2
,arg3
);
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2389 Py_INCREF(Py_None
); resultobj
= Py_None
;
2391 if (arg3
) delete [] arg3
;
2396 if (arg3
) delete [] arg3
;
2402 static PyObject
* PyPen_swigregister(PyObject
*, PyObject
*args
) {
2404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2405 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2407 return Py_BuildValue((char *)"");
2409 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
*resultobj
;
2411 wxColour
*arg1
= 0 ;
2412 int arg2
= (int) wxSOLID
;
2415 PyObject
* obj0
= 0 ;
2416 PyObject
* obj1
= 0 ;
2418 (char *) "colour",(char *) "style", NULL
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2424 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2427 arg2
= (int) SWIG_AsInt(obj1
);
2428 if (PyErr_Occurred()) SWIG_fail
;
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2444 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxBrush
*arg1
= (wxBrush
*) 0 ;
2447 PyObject
* obj0
= 0 ;
2449 (char *) "self", NULL
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2462 Py_INCREF(Py_None
); resultobj
= Py_None
;
2469 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxBrush
*arg1
= (wxBrush
*) 0 ;
2472 wxColour
*arg2
= 0 ;
2474 PyObject
* obj0
= 0 ;
2475 PyObject
* obj1
= 0 ;
2477 (char *) "self",(char *) "col", NULL
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2485 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 (arg1
)->SetColour((wxColour
const &)*arg2
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 Py_INCREF(Py_None
); resultobj
= Py_None
;
2501 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxBrush
*arg1
= (wxBrush
*) 0 ;
2505 PyObject
* obj0
= 0 ;
2506 PyObject
* obj1
= 0 ;
2508 (char *) "self",(char *) "style", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2514 arg2
= (int) SWIG_AsInt(obj1
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 (arg1
)->SetStyle(arg2
);
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 Py_INCREF(Py_None
); resultobj
= Py_None
;
2530 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxBrush
*arg1
= (wxBrush
*) 0 ;
2533 wxBitmap
*arg2
= 0 ;
2534 PyObject
* obj0
= 0 ;
2535 PyObject
* obj1
= 0 ;
2537 (char *) "self",(char *) "stipple", NULL
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2547 PyErr_SetString(PyExc_TypeError
,"null reference");
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2557 Py_INCREF(Py_None
); resultobj
= Py_None
;
2564 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
*resultobj
;
2566 wxBrush
*arg1
= (wxBrush
*) 0 ;
2568 PyObject
* obj0
= 0 ;
2570 (char *) "self", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 result
= ((wxBrush
const *)arg1
)->GetColour();
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2584 wxColour
* resultptr
;
2585 resultptr
= new wxColour((wxColour
&) result
);
2586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2594 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
*resultobj
;
2596 wxBrush
*arg1
= (wxBrush
*) 0 ;
2598 PyObject
* obj0
= 0 ;
2600 (char *) "self", NULL
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2608 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2610 wxPyEndAllowThreads(__tstate
);
2611 if (PyErr_Occurred()) SWIG_fail
;
2613 resultobj
= SWIG_FromInt((int)result
);
2620 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
*resultobj
;
2622 wxBrush
*arg1
= (wxBrush
*) 0 ;
2624 PyObject
* obj0
= 0 ;
2626 (char *) "self", NULL
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2646 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2648 wxBrush
*arg1
= (wxBrush
*) 0 ;
2650 PyObject
* obj0
= 0 ;
2652 (char *) "self", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= (bool)(arg1
)->Ok();
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2674 static PyObject
*_wrap_Brush_GetMacTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxBrush
*arg1
= (wxBrush
*) 0 ;
2678 PyObject
* obj0
= 0 ;
2680 (char *) "self", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetMacTheme",kwnames
,&obj0
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 result
= (short)(arg1
)->GetMacTheme();
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2693 resultobj
= SWIG_FromShort((short)result
);
2700 static PyObject
*_wrap_Brush_SetMacTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2702 wxBrush
*arg1
= (wxBrush
*) 0 ;
2704 PyObject
* obj0
= 0 ;
2705 PyObject
* obj1
= 0 ;
2707 (char *) "self",(char *) "macThemeBrush", NULL
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetMacTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2713 arg2
= (short) SWIG_AsShort(obj1
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 (arg1
)->SetMacTheme(arg2
);
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2722 Py_INCREF(Py_None
); resultobj
= Py_None
;
2729 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2732 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2734 return Py_BuildValue((char *)"");
2736 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
*resultobj
;
2738 wxString
*arg1
= 0 ;
2739 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2741 bool temp1
= False
;
2742 PyObject
* obj0
= 0 ;
2743 PyObject
* obj1
= 0 ;
2745 (char *) "name",(char *) "type", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2750 arg1
= wxString_in_helper(obj0
);
2751 if (arg1
== NULL
) SWIG_fail
;
2755 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2760 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2780 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2783 PyObject
* obj0
= 0 ;
2785 (char *) "self", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2798 Py_INCREF(Py_None
); resultobj
= Py_None
;
2805 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2809 int arg3
= (int) -1 ;
2811 PyObject
* obj0
= 0 ;
2812 PyObject
* obj1
= 0 ;
2813 PyObject
* obj2
= 0 ;
2815 (char *) "width",(char *) "height",(char *) "depth", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2819 arg1
= (int) SWIG_AsInt(obj0
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2821 arg2
= (int) SWIG_AsInt(obj1
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 arg3
= (int) SWIG_AsInt(obj2
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2841 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2845 PyObject
* obj0
= 0 ;
2847 (char *) "icon", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2855 PyErr_SetString(PyExc_TypeError
,"null reference");
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2872 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2875 int arg2
= (int) -1 ;
2877 PyObject
* obj0
= 0 ;
2878 PyObject
* obj1
= 0 ;
2880 (char *) "image",(char *) "depth", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2888 PyErr_SetString(PyExc_TypeError
,"null reference");
2892 arg2
= (int) SWIG_AsInt(obj1
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2909 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 PyObject
*arg1
= (PyObject
*) 0 ;
2913 PyObject
* obj0
= 0 ;
2915 (char *) "listOfStrings", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2934 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 PyObject
*arg1
= (PyObject
*) 0 ;
2939 int arg4
= (int) 1 ;
2941 PyObject
* obj0
= 0 ;
2942 PyObject
* obj1
= 0 ;
2943 PyObject
* obj2
= 0 ;
2944 PyObject
* obj3
= 0 ;
2946 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2951 arg2
= (int) SWIG_AsInt(obj1
);
2952 if (PyErr_Occurred()) SWIG_fail
;
2953 arg3
= (int) SWIG_AsInt(obj2
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2956 arg4
= (int) SWIG_AsInt(obj3
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2973 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
*resultobj
;
2975 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2977 PyObject
* obj0
= 0 ;
2979 (char *) "self", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (bool)(arg1
)->Ok();
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3001 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3005 PyObject
* obj0
= 0 ;
3007 (char *) "self", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 result
= (int)(arg1
)->GetWidth();
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3020 resultobj
= SWIG_FromInt((int)result
);
3027 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3033 (char *) "self", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= (int)(arg1
)->GetHeight();
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3046 resultobj
= SWIG_FromInt((int)result
);
3053 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
*resultobj
;
3055 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3057 PyObject
* obj0
= 0 ;
3059 (char *) "self", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 result
= (int)(arg1
)->GetDepth();
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3072 resultobj
= SWIG_FromInt((int)result
);
3079 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3081 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3082 SwigValueWrapper
< wxImage
> result
;
3083 PyObject
* obj0
= 0 ;
3085 (char *) "self", NULL
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3093 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3095 wxPyEndAllowThreads(__tstate
);
3096 if (PyErr_Occurred()) SWIG_fail
;
3099 wxImage
* resultptr
;
3100 resultptr
= new wxImage((wxImage
&) result
);
3101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3109 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
*resultobj
;
3111 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3113 PyObject
* obj0
= 0 ;
3115 (char *) "self", NULL
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3135 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3138 wxMask
*arg2
= (wxMask
*) 0 ;
3139 PyObject
* obj0
= 0 ;
3140 PyObject
* obj1
= 0 ;
3142 (char *) "self",(char *) "mask", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 (arg1
)->SetMask(arg2
);
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3157 Py_INCREF(Py_None
); resultobj
= Py_None
;
3164 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
;
3166 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3167 wxColour
*arg2
= 0 ;
3169 PyObject
* obj0
= 0 ;
3170 PyObject
* obj1
= 0 ;
3172 (char *) "self",(char *) "colour", NULL
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3180 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3184 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3186 wxPyEndAllowThreads(__tstate
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3189 Py_INCREF(Py_None
); resultobj
= Py_None
;
3196 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3200 SwigValueWrapper
< wxBitmap
> result
;
3202 PyObject
* obj0
= 0 ;
3203 PyObject
* obj1
= 0 ;
3205 (char *) "self",(char *) "rect", NULL
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3213 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3223 wxBitmap
* resultptr
;
3224 resultptr
= new wxBitmap((wxBitmap
&) result
);
3225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3233 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
*resultobj
;
3235 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3236 wxString
*arg2
= 0 ;
3238 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3240 bool temp2
= False
;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3243 PyObject
* obj2
= 0 ;
3244 PyObject
* obj3
= 0 ;
3246 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3253 arg2
= wxString_in_helper(obj1
);
3254 if (arg2
== NULL
) SWIG_fail
;
3257 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3287 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3289 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3290 wxString
*arg2
= 0 ;
3293 bool temp2
= False
;
3294 PyObject
* obj0
= 0 ;
3295 PyObject
* obj1
= 0 ;
3296 PyObject
* obj2
= 0 ;
3298 (char *) "self",(char *) "name",(char *) "type", NULL
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3305 arg2
= wxString_in_helper(obj1
);
3306 if (arg2
== NULL
) SWIG_fail
;
3309 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3335 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3340 PyObject
* obj0
= 0 ;
3341 PyObject
* obj1
= 0 ;
3343 (char *) "self",(char *) "icon", NULL
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3353 PyErr_SetString(PyExc_TypeError
,"null reference");
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3372 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3377 PyObject
* obj1
= 0 ;
3379 (char *) "self",(char *) "height", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3385 arg2
= (int) SWIG_AsInt(obj1
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 (arg1
)->SetHeight(arg2
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3394 Py_INCREF(Py_None
); resultobj
= Py_None
;
3401 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
;
3403 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3405 PyObject
* obj0
= 0 ;
3406 PyObject
* obj1
= 0 ;
3408 (char *) "self",(char *) "width", NULL
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3414 arg2
= (int) SWIG_AsInt(obj1
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 (arg1
)->SetWidth(arg2
);
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3423 Py_INCREF(Py_None
); resultobj
= Py_None
;
3430 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
*resultobj
;
3432 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3434 PyObject
* obj0
= 0 ;
3435 PyObject
* obj1
= 0 ;
3437 (char *) "self",(char *) "depth", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3443 arg2
= (int) SWIG_AsInt(obj1
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 (arg1
)->SetDepth(arg2
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 Py_INCREF(Py_None
); resultobj
= Py_None
;
3459 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3462 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3465 PyObject
* obj1
= 0 ;
3467 (char *) "self",(char *) "other", NULL
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
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___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
*resultobj
;
3493 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3494 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3496 PyObject
* obj0
= 0 ;
3497 PyObject
* obj1
= 0 ;
3499 (char *) "self",(char *) "other", NULL
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3523 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3526 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3528 return Py_BuildValue((char *)"");
3530 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
;
3532 wxBitmap
*arg1
= 0 ;
3533 wxColour
const &arg2_defvalue
= wxNullColour
;
3534 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3537 PyObject
* obj0
= 0 ;
3538 PyObject
* obj1
= 0 ;
3540 (char *) "bitmap",(char *) "colour", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3548 PyErr_SetString(PyExc_TypeError
,"null reference");
3554 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3571 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3574 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3576 return Py_BuildValue((char *)"");
3578 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3580 wxString
*arg1
= 0 ;
3582 int arg3
= (int) -1 ;
3583 int arg4
= (int) -1 ;
3585 bool temp1
= False
;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3588 PyObject
* obj2
= 0 ;
3589 PyObject
* obj3
= 0 ;
3591 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3596 arg1
= wxString_in_helper(obj0
);
3597 if (arg1
== NULL
) SWIG_fail
;
3600 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3603 arg3
= (int) SWIG_AsInt(obj2
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3607 arg4
= (int) SWIG_AsInt(obj3
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3632 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3634 wxIcon
*arg1
= (wxIcon
*) 0 ;
3635 PyObject
* obj0
= 0 ;
3637 (char *) "self", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3650 Py_INCREF(Py_None
); resultobj
= Py_None
;
3657 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 result
= (wxIcon
*)new wxIcon();
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3679 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
;
3681 wxIconLocation
*arg1
= 0 ;
3683 PyObject
* obj0
= 0 ;
3685 (char *) "loc", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3693 PyErr_SetString(PyExc_TypeError
,"null reference");
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3710 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxBitmap
*arg1
= 0 ;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "bmp", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3724 PyErr_SetString(PyExc_TypeError
,"null reference");
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3741 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 PyObject
*arg1
= (PyObject
*) 0 ;
3745 PyObject
* obj0
= 0 ;
3747 (char *) "listOfStrings", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 result
= (wxIcon
*)new_wxIcon(arg1
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3766 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxIcon
*arg1
= (wxIcon
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3772 (char *) "self", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 result
= (bool)(arg1
)->Ok();
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3794 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
*resultobj
;
3796 wxIcon
*arg1
= (wxIcon
*) 0 ;
3798 PyObject
* obj0
= 0 ;
3800 (char *) "self", NULL
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 result
= (int)(arg1
)->GetWidth();
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3813 resultobj
= SWIG_FromInt((int)result
);
3820 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxIcon
*arg1
= (wxIcon
*) 0 ;
3824 PyObject
* obj0
= 0 ;
3826 (char *) "self", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 result
= (int)(arg1
)->GetHeight();
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 resultobj
= SWIG_FromInt((int)result
);
3846 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 wxIcon
*arg1
= (wxIcon
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3852 (char *) "self", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (int)(arg1
)->GetDepth();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_FromInt((int)result
);
3872 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxIcon
*arg1
= (wxIcon
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3879 (char *) "self",(char *) "w", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3885 arg2
= (int) SWIG_AsInt(obj1
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 (arg1
)->SetWidth(arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 Py_INCREF(Py_None
); resultobj
= Py_None
;
3901 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxIcon
*arg1
= (wxIcon
*) 0 ;
3905 PyObject
* obj0
= 0 ;
3906 PyObject
* obj1
= 0 ;
3908 (char *) "self",(char *) "h", NULL
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3914 arg2
= (int) SWIG_AsInt(obj1
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 (arg1
)->SetHeight(arg2
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3923 Py_INCREF(Py_None
); resultobj
= Py_None
;
3930 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxIcon
*arg1
= (wxIcon
*) 0 ;
3934 PyObject
* obj0
= 0 ;
3935 PyObject
* obj1
= 0 ;
3937 (char *) "self",(char *) "d", NULL
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3943 arg2
= (int) SWIG_AsInt(obj1
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 (arg1
)->SetDepth(arg2
);
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 Py_INCREF(Py_None
); resultobj
= Py_None
;
3959 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
*resultobj
;
3961 wxIcon
*arg1
= (wxIcon
*) 0 ;
3962 wxBitmap
*arg2
= 0 ;
3963 PyObject
* obj0
= 0 ;
3964 PyObject
* obj1
= 0 ;
3966 (char *) "self",(char *) "bmp", NULL
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3976 PyErr_SetString(PyExc_TypeError
,"null reference");
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 Py_INCREF(Py_None
); resultobj
= Py_None
;
3993 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
3995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3996 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3998 return Py_BuildValue((char *)"");
4000 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
;
4002 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4003 int arg2
= (int) 0 ;
4004 wxIconLocation
*result
;
4005 bool temp1
= False
;
4006 PyObject
* obj0
= 0 ;
4007 PyObject
* obj1
= 0 ;
4009 (char *) "filename",(char *) "num", NULL
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4015 arg1
= wxString_in_helper(obj0
);
4016 if (arg1
== NULL
) SWIG_fail
;
4021 arg2
= (int) SWIG_AsInt(obj1
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4046 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4051 (char *) "self", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 Py_INCREF(Py_None
); resultobj
= Py_None
;
4071 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4073 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4075 PyObject
* obj0
= 0 ;
4077 (char *) "self", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4099 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
;
4101 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4102 wxString
*arg2
= 0 ;
4103 bool temp2
= False
;
4104 PyObject
* obj0
= 0 ;
4105 PyObject
* obj1
= 0 ;
4107 (char *) "self",(char *) "filename", NULL
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4114 arg2
= wxString_in_helper(obj1
);
4115 if (arg2
== NULL
) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 (arg1
)->SetFileName((wxString
const &)*arg2
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 Py_INCREF(Py_None
); resultobj
= Py_None
;
4140 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4142 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4144 PyObject
* obj0
= 0 ;
4146 (char *) "self", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4156 result
= (wxString
*) &_result_ref
;
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4166 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4175 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
;
4177 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4182 (char *) "self",(char *) "num", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4188 arg2
= (int) SWIG_AsInt(obj1
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 wxIconLocation_SetIndex(arg1
,arg2
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 Py_INCREF(Py_None
); resultobj
= Py_None
;
4204 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4208 PyObject
* obj0
= 0 ;
4210 (char *) "self", NULL
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 result
= (int)wxIconLocation_GetIndex(arg1
);
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= SWIG_FromInt((int)result
);
4230 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4233 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4235 return Py_BuildValue((char *)"");
4237 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxIconBundle
*result
;
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 result
= (wxIconBundle
*)new wxIconBundle();
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4259 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxString
*arg1
= 0 ;
4263 wxIconBundle
*result
;
4264 bool temp1
= False
;
4265 PyObject
* obj0
= 0 ;
4266 PyObject
* obj1
= 0 ;
4268 (char *) "file",(char *) "type", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4273 arg1
= wxString_in_helper(obj0
);
4274 if (arg1
== NULL
) SWIG_fail
;
4277 arg2
= (long) SWIG_AsLong(obj1
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4301 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4304 wxIconBundle
*result
;
4305 PyObject
* obj0
= 0 ;
4307 (char *) "icon", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4315 PyErr_SetString(PyExc_TypeError
,"null reference");
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4332 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4334 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4335 PyObject
* obj0
= 0 ;
4337 (char *) "self", NULL
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 Py_INCREF(Py_None
); resultobj
= Py_None
;
4357 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4361 PyObject
* obj0
= 0 ;
4362 PyObject
* obj1
= 0 ;
4364 (char *) "self",(char *) "icon", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4374 PyErr_SetString(PyExc_TypeError
,"null reference");
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 Py_INCREF(Py_None
); resultobj
= Py_None
;
4391 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
;
4393 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4394 wxString
*arg2
= 0 ;
4396 bool temp2
= False
;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4401 (char *) "self",(char *) "file",(char *) "type", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4408 arg2
= wxString_in_helper(obj1
);
4409 if (arg2
== NULL
) SWIG_fail
;
4412 arg3
= (long) SWIG_AsLong(obj2
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4421 Py_INCREF(Py_None
); resultobj
= Py_None
;
4436 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
;
4438 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4445 (char *) "self",(char *) "size", NULL
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4459 result
= (wxIcon
*) &_result_ref
;
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4466 wxIcon
* resultptr
= new wxIcon(*result
);
4467 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4475 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4478 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4480 return Py_BuildValue((char *)"");
4482 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
*resultobj
;
4484 wxString
*arg1
= (wxString
*) 0 ;
4486 int arg3
= (int) 0 ;
4487 int arg4
= (int) 0 ;
4489 bool temp1
= False
;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4492 PyObject
* obj2
= 0 ;
4493 PyObject
* obj3
= 0 ;
4495 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4500 arg1
= wxString_in_helper(obj0
);
4501 if (arg1
== NULL
) SWIG_fail
;
4504 arg2
= (long) SWIG_AsLong(obj1
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 arg3
= (int) SWIG_AsInt(obj2
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4511 arg4
= (int) SWIG_AsInt(obj3
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4536 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
;
4538 wxCursor
*arg1
= (wxCursor
*) 0 ;
4539 PyObject
* obj0
= 0 ;
4541 (char *) "self", NULL
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 Py_INCREF(Py_None
); resultobj
= Py_None
;
4561 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4565 PyObject
* obj0
= 0 ;
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4571 arg1
= (int) SWIG_AsInt(obj0
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 result
= (wxCursor
*)new wxCursor(arg1
);
4577 wxPyEndAllowThreads(__tstate
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4587 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
*resultobj
;
4591 PyObject
* obj0
= 0 ;
4593 (char *) "image", NULL
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4601 PyErr_SetString(PyExc_TypeError
,"null reference");
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4618 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
*resultobj
;
4620 wxCursor
*arg1
= (wxCursor
*) 0 ;
4622 PyObject
* obj0
= 0 ;
4624 (char *) "self", NULL
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 result
= (bool)(arg1
)->Ok();
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4646 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4649 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4651 return Py_BuildValue((char *)"");
4653 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
;
4655 int arg1
= (int) 0 ;
4656 int arg2
= (int) 0 ;
4657 int arg3
= (int) 0 ;
4658 int arg4
= (int) 0 ;
4660 PyObject
* obj0
= 0 ;
4661 PyObject
* obj1
= 0 ;
4662 PyObject
* obj2
= 0 ;
4663 PyObject
* obj3
= 0 ;
4665 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4670 arg1
= (int) SWIG_AsInt(obj0
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4674 arg2
= (int) SWIG_AsInt(obj1
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4678 arg3
= (int) SWIG_AsInt(obj2
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4682 arg4
= (int) SWIG_AsInt(obj3
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4699 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxBitmap
*arg1
= 0 ;
4702 wxColour
const &arg2_defvalue
= wxNullColour
;
4703 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4704 int arg3
= (int) 0 ;
4707 PyObject
* obj0
= 0 ;
4708 PyObject
* obj1
= 0 ;
4709 PyObject
* obj2
= 0 ;
4711 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4719 PyErr_SetString(PyExc_TypeError
,"null reference");
4725 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4729 arg3
= (int) SWIG_AsInt(obj2
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4746 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4749 wxPoint
*arg2
= (wxPoint
*) 0 ;
4750 int arg3
= (int) wxWINDING_RULE
;
4752 PyObject
* obj0
= 0 ;
4753 PyObject
* obj1
= 0 ;
4755 (char *) "points",(char *) "fillStyle", NULL
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4760 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4761 if (arg2
== NULL
) SWIG_fail
;
4764 arg3
= (int) SWIG_AsInt(obj1
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4776 if (arg2
) delete [] arg2
;
4781 if (arg2
) delete [] arg2
;
4787 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxRegion
*arg1
= (wxRegion
*) 0 ;
4790 PyObject
* obj0
= 0 ;
4792 (char *) "self", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 Py_INCREF(Py_None
); resultobj
= Py_None
;
4812 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4814 wxRegion
*arg1
= (wxRegion
*) 0 ;
4815 PyObject
* obj0
= 0 ;
4817 (char *) "self", NULL
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 Py_INCREF(Py_None
); resultobj
= Py_None
;
4837 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
;
4839 wxRegion
*arg1
= (wxRegion
*) 0 ;
4843 PyObject
* obj0
= 0 ;
4844 PyObject
* obj1
= 0 ;
4845 PyObject
* obj2
= 0 ;
4847 (char *) "self",(char *) "x",(char *) "y", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4853 arg2
= (int) SWIG_AsInt(obj1
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4855 arg3
= (int) SWIG_AsInt(obj2
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= SWIG_FromInt((int)result
);
4871 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxRegion
*arg1
= (wxRegion
*) 0 ;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4880 (char *) "self",(char *) "pt", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4888 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_FromInt((int)result
);
4904 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxRegion
*arg1
= (wxRegion
*) 0 ;
4910 PyObject
* obj0
= 0 ;
4911 PyObject
* obj1
= 0 ;
4913 (char *) "self",(char *) "rect", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4921 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= SWIG_FromInt((int)result
);
4937 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxRegion
*arg1
= (wxRegion
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4946 PyObject
* obj1
= 0 ;
4947 PyObject
* obj2
= 0 ;
4948 PyObject
* obj3
= 0 ;
4949 PyObject
* obj4
= 0 ;
4951 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4957 arg2
= (int) SWIG_AsInt(obj1
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4959 arg3
= (int) SWIG_AsInt(obj2
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4961 arg4
= (int) SWIG_AsInt(obj3
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4963 arg5
= (int) SWIG_AsInt(obj4
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= SWIG_FromInt((int)result
);
4979 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
;
4981 wxRegion
*arg1
= (wxRegion
*) 0 ;
4983 PyObject
* obj0
= 0 ;
4985 (char *) "self", NULL
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 result
= (arg1
)->GetBox();
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
5000 resultptr
= new wxRect((wxRect
&) result
);
5001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5009 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxRegion
*arg1
= (wxRegion
*) 0 ;
5017 PyObject
* obj0
= 0 ;
5018 PyObject
* obj1
= 0 ;
5019 PyObject
* obj2
= 0 ;
5020 PyObject
* obj3
= 0 ;
5021 PyObject
* obj4
= 0 ;
5023 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5029 arg2
= (int) SWIG_AsInt(obj1
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5031 arg3
= (int) SWIG_AsInt(obj2
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5033 arg4
= (int) SWIG_AsInt(obj3
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5035 arg5
= (int) SWIG_AsInt(obj4
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5053 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxRegion
*arg1
= (wxRegion
*) 0 ;
5059 PyObject
* obj0
= 0 ;
5060 PyObject
* obj1
= 0 ;
5062 (char *) "self",(char *) "rect", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5070 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5088 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxRegion
*arg1
= (wxRegion
*) 0 ;
5091 wxRegion
*arg2
= 0 ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5096 (char *) "self",(char *) "region", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5106 PyErr_SetString(PyExc_TypeError
,"null reference");
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5125 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxRegion
*arg1
= (wxRegion
*) 0 ;
5129 PyObject
* obj0
= 0 ;
5131 (char *) "self", NULL
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 result
= (bool)(arg1
)->IsEmpty();
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5153 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxRegion
*arg1
= (wxRegion
*) 0 ;
5161 PyObject
* obj0
= 0 ;
5162 PyObject
* obj1
= 0 ;
5163 PyObject
* obj2
= 0 ;
5164 PyObject
* obj3
= 0 ;
5165 PyObject
* obj4
= 0 ;
5167 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5173 arg2
= (int) SWIG_AsInt(obj1
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5175 arg3
= (int) SWIG_AsInt(obj2
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5177 arg4
= (int) SWIG_AsInt(obj3
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5179 arg5
= (int) SWIG_AsInt(obj4
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5197 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxRegion
*arg1
= (wxRegion
*) 0 ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5206 (char *) "self",(char *) "rect", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5214 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5232 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxRegion
*arg1
= (wxRegion
*) 0 ;
5235 wxRegion
*arg2
= 0 ;
5237 PyObject
* obj0
= 0 ;
5238 PyObject
* obj1
= 0 ;
5240 (char *) "self",(char *) "region", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5250 PyErr_SetString(PyExc_TypeError
,"null reference");
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5269 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
*resultobj
;
5271 wxRegion
*arg1
= (wxRegion
*) 0 ;
5277 PyObject
* obj0
= 0 ;
5278 PyObject
* obj1
= 0 ;
5279 PyObject
* obj2
= 0 ;
5280 PyObject
* obj3
= 0 ;
5281 PyObject
* obj4
= 0 ;
5283 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5289 arg2
= (int) SWIG_AsInt(obj1
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5291 arg3
= (int) SWIG_AsInt(obj2
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5293 arg4
= (int) SWIG_AsInt(obj3
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5295 arg5
= (int) SWIG_AsInt(obj4
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5313 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxRegion
*arg1
= (wxRegion
*) 0 ;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5322 (char *) "self",(char *) "rect", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5330 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5348 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxRegion
*arg1
= (wxRegion
*) 0 ;
5351 wxRegion
*arg2
= 0 ;
5353 PyObject
* obj0
= 0 ;
5354 PyObject
* obj1
= 0 ;
5356 (char *) "self",(char *) "region", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5366 PyErr_SetString(PyExc_TypeError
,"null reference");
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5385 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxRegion
*arg1
= (wxRegion
*) 0 ;
5393 PyObject
* obj0
= 0 ;
5394 PyObject
* obj1
= 0 ;
5395 PyObject
* obj2
= 0 ;
5396 PyObject
* obj3
= 0 ;
5397 PyObject
* obj4
= 0 ;
5399 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5405 arg2
= (int) SWIG_AsInt(obj1
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5407 arg3
= (int) SWIG_AsInt(obj2
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5409 arg4
= (int) SWIG_AsInt(obj3
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5411 arg5
= (int) SWIG_AsInt(obj4
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5429 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxRegion
*arg1
= (wxRegion
*) 0 ;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5438 (char *) "self",(char *) "rect", NULL
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5446 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5464 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxRegion
*arg1
= (wxRegion
*) 0 ;
5467 wxRegion
*arg2
= 0 ;
5469 PyObject
* obj0
= 0 ;
5470 PyObject
* obj1
= 0 ;
5472 (char *) "self",(char *) "region", NULL
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5482 PyErr_SetString(PyExc_TypeError
,"null reference");
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5501 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
;
5503 wxRegion
*arg1
= (wxRegion
*) 0 ;
5504 SwigValueWrapper
< wxBitmap
> result
;
5505 PyObject
* obj0
= 0 ;
5507 (char *) "self", NULL
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (arg1
)->ConvertToBitmap();
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5521 wxBitmap
* resultptr
;
5522 resultptr
= new wxBitmap((wxBitmap
&) result
);
5523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5531 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxRegion
*arg1
= (wxRegion
*) 0 ;
5534 wxBitmap
*arg2
= 0 ;
5535 wxColour
const &arg3_defvalue
= wxNullColour
;
5536 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5537 int arg4
= (int) 0 ;
5540 PyObject
* obj0
= 0 ;
5541 PyObject
* obj1
= 0 ;
5542 PyObject
* obj2
= 0 ;
5543 PyObject
* obj3
= 0 ;
5545 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5555 PyErr_SetString(PyExc_TypeError
,"null reference");
5561 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5565 arg4
= (int) SWIG_AsInt(obj3
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5584 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5587 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5589 return Py_BuildValue((char *)"");
5591 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxRegion
*arg1
= 0 ;
5594 wxRegionIterator
*result
;
5595 PyObject
* obj0
= 0 ;
5597 (char *) "region", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5605 PyErr_SetString(PyExc_TypeError
,"null reference");
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5622 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5625 PyObject
* obj0
= 0 ;
5627 (char *) "self", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 Py_INCREF(Py_None
); resultobj
= Py_None
;
5647 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5651 PyObject
* obj0
= 0 ;
5653 (char *) "self", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 result
= (int)(arg1
)->GetX();
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= SWIG_FromInt((int)result
);
5673 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
;
5675 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5677 PyObject
* obj0
= 0 ;
5679 (char *) "self", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 result
= (int)(arg1
)->GetY();
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5692 resultobj
= SWIG_FromInt((int)result
);
5699 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
;
5701 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5703 PyObject
* obj0
= 0 ;
5705 (char *) "self", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= (int)(arg1
)->GetW();
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= SWIG_FromInt((int)result
);
5725 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5731 (char *) "self", NULL
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 result
= (int)(arg1
)->GetWidth();
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= SWIG_FromInt((int)result
);
5751 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5755 PyObject
* obj0
= 0 ;
5757 (char *) "self", NULL
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (int)(arg1
)->GetH();
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= SWIG_FromInt((int)result
);
5777 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5781 PyObject
* obj0
= 0 ;
5783 (char *) "self", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 result
= (int)(arg1
)->GetHeight();
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= SWIG_FromInt((int)result
);
5803 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
;
5805 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5807 PyObject
* obj0
= 0 ;
5809 (char *) "self", NULL
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= (arg1
)->GetRect();
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5824 resultptr
= new wxRect((wxRect
&) result
);
5825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5833 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5837 PyObject
* obj0
= 0 ;
5839 (char *) "self", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= (bool)(arg1
)->HaveRects();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5861 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5863 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5866 (char *) "self", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 Py_INCREF(Py_None
); resultobj
= Py_None
;
5886 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5889 PyObject
* obj0
= 0 ;
5891 (char *) "self", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 wxRegionIterator_Next(arg1
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 Py_INCREF(Py_None
); resultobj
= Py_None
;
5911 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
;
5913 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5915 PyObject
* obj0
= 0 ;
5917 (char *) "self", NULL
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5939 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
5941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5942 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5944 return Py_BuildValue((char *)"");
5946 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxNativeFontInfo
*result
;
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5968 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
;
5970 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5971 PyObject
* obj0
= 0 ;
5973 (char *) "self", NULL
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 Py_INCREF(Py_None
); resultobj
= Py_None
;
5993 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5998 (char *) "self", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 Py_INCREF(Py_None
); resultobj
= Py_None
;
6018 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6022 PyObject
* obj0
= 0 ;
6023 PyObject
* obj1
= 0 ;
6025 (char *) "self",(char *) "font", NULL
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6035 PyErr_SetString(PyExc_TypeError
,"null reference");
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6045 Py_INCREF(Py_None
); resultobj
= Py_None
;
6052 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
;
6054 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6056 PyObject
* obj0
= 0 ;
6058 (char *) "self", NULL
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= SWIG_FromInt((int)result
);
6078 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
;
6080 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6082 PyObject
* obj0
= 0 ;
6084 (char *) "self", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= SWIG_FromInt((int)result
);
6104 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6110 (char *) "self", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_FromInt((int)result
);
6130 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6136 (char *) "self", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6158 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6162 PyObject
* obj0
= 0 ;
6164 (char *) "self", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6190 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6196 (char *) "self", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_FromInt((int)result
);
6216 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6220 PyObject
* obj0
= 0 ;
6222 (char *) "self", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6235 resultobj
= SWIG_FromInt((int)result
);
6242 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
*resultobj
;
6244 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6246 PyObject
* obj0
= 0 ;
6247 PyObject
* obj1
= 0 ;
6249 (char *) "self",(char *) "pointsize", NULL
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6255 arg2
= (int) SWIG_AsInt(obj1
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 (arg1
)->SetPointSize(arg2
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 Py_INCREF(Py_None
); resultobj
= Py_None
;
6271 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6278 (char *) "self",(char *) "style", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6284 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 Py_INCREF(Py_None
); resultobj
= Py_None
;
6300 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6305 PyObject
* obj1
= 0 ;
6307 (char *) "self",(char *) "weight", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 Py_INCREF(Py_None
); resultobj
= Py_None
;
6329 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6336 (char *) "self",(char *) "underlined", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 arg2
= (bool) SWIG_AsBool(obj1
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 (arg1
)->SetUnderlined(arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 Py_INCREF(Py_None
); resultobj
= Py_None
;
6358 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6363 PyObject
* obj1
= 0 ;
6365 (char *) "self",(char *) "facename", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 wxString
* sptr
= wxString_in_helper(obj1
);
6373 if (sptr
== NULL
) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 (arg1
)->SetFaceName(arg2
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 Py_INCREF(Py_None
); resultobj
= Py_None
;
6391 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6398 (char *) "self",(char *) "family", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6404 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 Py_INCREF(Py_None
); resultobj
= Py_None
;
6420 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
;
6422 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6424 PyObject
* obj0
= 0 ;
6425 PyObject
* obj1
= 0 ;
6427 (char *) "self",(char *) "encoding", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6433 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 Py_INCREF(Py_None
); resultobj
= Py_None
;
6449 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6451 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6452 wxString
*arg2
= 0 ;
6454 bool temp2
= False
;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6458 (char *) "self",(char *) "s", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6465 arg2
= wxString_in_helper(obj1
);
6466 if (arg2
== NULL
) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6493 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6497 PyObject
* obj0
= 0 ;
6499 (char *) "self", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6525 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6531 (char *) "self", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= wxNativeFontInfo___str__(arg1
);
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6557 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6560 wxString
*arg2
= 0 ;
6562 bool temp2
= False
;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6566 (char *) "self",(char *) "s", NULL
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6573 arg2
= wxString_in_helper(obj1
);
6574 if (arg2
== NULL
) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6601 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
;
6603 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6605 PyObject
* obj0
= 0 ;
6607 (char *) "self", NULL
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6633 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6636 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6638 return Py_BuildValue((char *)"");
6640 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6643 wxString
*arg2
= (wxString
*) 0 ;
6644 bool temp2
= False
;
6645 PyObject
* obj0
= 0 ;
6646 PyObject
* obj1
= 0 ;
6648 (char *) "self",(char *) "facename", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6655 arg2
= wxString_in_helper(obj1
);
6656 if (arg2
== NULL
) SWIG_fail
;
6659 if (arg1
) (arg1
)->facename
= *arg2
;
6661 Py_INCREF(Py_None
); resultobj
= Py_None
;
6676 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6682 (char *) "self", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6688 result
= (wxString
*)& ((arg1
)->facename
);
6692 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6694 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6703 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6707 PyObject
* obj0
= 0 ;
6708 PyObject
* obj1
= 0 ;
6710 (char *) "self",(char *) "encoding", NULL
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6716 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6718 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6720 Py_INCREF(Py_None
); resultobj
= Py_None
;
6727 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6729 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6731 PyObject
* obj0
= 0 ;
6733 (char *) "self", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6739 result
= (int) ((arg1
)->encoding
);
6741 resultobj
= SWIG_FromInt((int)result
);
6748 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxNativeEncodingInfo
*result
;
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6770 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
;
6772 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6773 PyObject
* obj0
= 0 ;
6775 (char *) "self", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 Py_INCREF(Py_None
); resultobj
= Py_None
;
6795 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6798 wxString
*arg2
= 0 ;
6800 bool temp2
= False
;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6804 (char *) "self",(char *) "s", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6811 arg2
= wxString_in_helper(obj1
);
6812 if (arg2
== NULL
) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6839 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6843 PyObject
* obj0
= 0 ;
6845 (char *) "self", NULL
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6871 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
6873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6874 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6876 return Py_BuildValue((char *)"");
6878 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6881 wxNativeEncodingInfo
*result
;
6882 PyObject
* obj0
= 0 ;
6884 (char *) "encoding", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6888 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6904 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6906 wxNativeEncodingInfo
*arg1
= 0 ;
6908 PyObject
* obj0
= 0 ;
6910 (char *) "info", NULL
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6918 PyErr_SetString(PyExc_TypeError
,"null reference");
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6937 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxFontMapper
*result
;
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (wxFontMapper
*)new wxFontMapper();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6959 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6964 (char *) "self", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6977 Py_INCREF(Py_None
); resultobj
= Py_None
;
6984 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
*resultobj
;
6986 wxFontMapper
*result
;
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 result
= (wxFontMapper
*)wxFontMapper::Get();
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7006 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
;
7008 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7009 wxFontMapper
*result
;
7010 PyObject
* obj0
= 0 ;
7012 (char *) "mapper", NULL
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7032 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7035 wxString
*arg2
= 0 ;
7036 bool arg3
= (bool) True
;
7038 bool temp2
= False
;
7039 PyObject
* obj0
= 0 ;
7040 PyObject
* obj1
= 0 ;
7041 PyObject
* obj2
= 0 ;
7043 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7050 arg2
= wxString_in_helper(obj1
);
7051 if (arg2
== NULL
) SWIG_fail
;
7055 arg3
= (bool) SWIG_AsBool(obj2
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= SWIG_FromInt((int)result
);
7080 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
;
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7102 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7106 PyObject
* obj0
= 0 ;
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7112 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (int)wxFontMapper::GetEncoding(arg1
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= SWIG_FromInt((int)result
);
7128 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7132 PyObject
* obj0
= 0 ;
7134 (char *) "encoding", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7138 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7160 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7164 PyObject
* obj0
= 0 ;
7166 (char *) "encoding", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7170 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7192 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7195 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7197 PyObject
* obj1
= 0 ;
7199 (char *) "self",(char *) "config", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 (arg1
)->SetConfig(arg2
);
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 Py_INCREF(Py_None
); resultobj
= Py_None
;
7221 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7224 wxString
*arg2
= 0 ;
7225 bool temp2
= False
;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7229 (char *) "self",(char *) "prefix", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 arg2
= wxString_in_helper(obj1
);
7237 if (arg2
== NULL
) SWIG_fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 Py_INCREF(Py_None
); resultobj
= Py_None
;
7262 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
;
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= wxFontMapper::GetDefaultConfigPath();
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7290 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
;
7292 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7294 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7295 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7296 bool arg4
= (bool) True
;
7298 bool temp3
= False
;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7301 PyObject
* obj2
= 0 ;
7302 PyObject
* obj3
= 0 ;
7304 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7310 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7314 arg3
= wxString_in_helper(obj2
);
7315 if (arg3
== NULL
) SWIG_fail
;
7320 arg4
= (bool) SWIG_AsBool(obj3
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7345 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7349 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7350 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7352 bool temp3
= False
;
7353 PyObject
* obj0
= 0 ;
7354 PyObject
* obj1
= 0 ;
7355 PyObject
* obj2
= 0 ;
7357 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7363 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7367 arg3
= wxString_in_helper(obj2
);
7368 if (arg3
== NULL
) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7396 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7399 wxWindow
*arg2
= (wxWindow
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7401 PyObject
* obj1
= 0 ;
7403 (char *) "self",(char *) "parent", NULL
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->SetDialogParent(arg2
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7428 wxString
*arg2
= 0 ;
7429 bool temp2
= False
;
7430 PyObject
* obj0
= 0 ;
7431 PyObject
* obj1
= 0 ;
7433 (char *) "self",(char *) "title", NULL
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7440 arg2
= wxString_in_helper(obj1
);
7441 if (arg2
== NULL
) SWIG_fail
;
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7451 Py_INCREF(Py_None
); resultobj
= Py_None
;
7466 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7469 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7471 return Py_BuildValue((char *)"");
7473 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7479 bool arg5
= (bool) False
;
7480 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7481 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7482 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7484 bool temp6
= False
;
7485 PyObject
* obj0
= 0 ;
7486 PyObject
* obj1
= 0 ;
7487 PyObject
* obj2
= 0 ;
7488 PyObject
* obj3
= 0 ;
7489 PyObject
* obj4
= 0 ;
7490 PyObject
* obj5
= 0 ;
7491 PyObject
* obj6
= 0 ;
7493 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7497 arg1
= (int) SWIG_AsInt(obj0
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7499 arg2
= (int) SWIG_AsInt(obj1
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7501 arg3
= (int) SWIG_AsInt(obj2
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7503 arg4
= (int) SWIG_AsInt(obj3
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 arg5
= (bool) SWIG_AsBool(obj4
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7511 arg6
= wxString_in_helper(obj5
);
7512 if (arg6
== NULL
) SWIG_fail
;
7517 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7542 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
;
7544 wxFont
*arg1
= (wxFont
*) 0 ;
7545 PyObject
* obj0
= 0 ;
7547 (char *) "self", NULL
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 Py_INCREF(Py_None
); resultobj
= Py_None
;
7567 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
;
7569 wxNativeFontInfo
*arg1
= 0 ;
7571 PyObject
* obj0
= 0 ;
7573 (char *) "info", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7581 PyErr_SetString(PyExc_TypeError
,"null reference");
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7598 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxString
*arg1
= 0 ;
7602 bool temp1
= False
;
7603 PyObject
* obj0
= 0 ;
7605 (char *) "info", NULL
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7610 arg1
= wxString_in_helper(obj0
);
7611 if (arg1
== NULL
) SWIG_fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7636 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7640 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7641 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7642 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7643 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7645 bool temp4
= False
;
7646 PyObject
* obj0
= 0 ;
7647 PyObject
* obj1
= 0 ;
7648 PyObject
* obj2
= 0 ;
7649 PyObject
* obj3
= 0 ;
7650 PyObject
* obj4
= 0 ;
7652 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7656 arg1
= (int) SWIG_AsInt(obj0
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7658 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7661 arg3
= (int) SWIG_AsInt(obj2
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7666 arg4
= wxString_in_helper(obj3
);
7667 if (arg4
== NULL
) SWIG_fail
;
7672 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7697 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxFont
*arg1
= (wxFont
*) 0 ;
7701 PyObject
* obj0
= 0 ;
7703 (char *) "self", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (bool)((wxFont
const *)arg1
)->Ok();
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7725 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxFont
*arg1
= (wxFont
*) 0 ;
7728 wxFont
*arg2
= (wxFont
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7731 PyObject
* obj1
= 0 ;
7733 (char *) "self",(char *) "other", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7757 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 wxFont
*arg1
= (wxFont
*) 0 ;
7760 wxFont
*arg2
= (wxFont
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7763 PyObject
* obj1
= 0 ;
7765 (char *) "self",(char *) "other", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7789 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
;
7791 wxFont
*arg1
= (wxFont
*) 0 ;
7793 PyObject
* obj0
= 0 ;
7795 (char *) "self", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= SWIG_FromInt((int)result
);
7815 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxFont
*arg1
= (wxFont
*) 0 ;
7819 PyObject
* obj0
= 0 ;
7821 (char *) "self", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_FromInt((int)result
);
7841 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxFont
*arg1
= (wxFont
*) 0 ;
7845 PyObject
* obj0
= 0 ;
7847 (char *) "self", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= SWIG_FromInt((int)result
);
7867 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
;
7869 wxFont
*arg1
= (wxFont
*) 0 ;
7871 PyObject
* obj0
= 0 ;
7873 (char *) "self", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= SWIG_FromInt((int)result
);
7893 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxFont
*arg1
= (wxFont
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7899 (char *) "self", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7921 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
;
7923 wxFont
*arg1
= (wxFont
*) 0 ;
7925 PyObject
* obj0
= 0 ;
7927 (char *) "self", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 result
= ((wxFont
const *)arg1
)->GetFaceName();
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7953 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxFont
*arg1
= (wxFont
*) 0 ;
7957 PyObject
* obj0
= 0 ;
7959 (char *) "self", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= SWIG_FromInt((int)result
);
7979 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxFont
*arg1
= (wxFont
*) 0 ;
7982 wxNativeFontInfo
*result
;
7983 PyObject
* obj0
= 0 ;
7985 (char *) "self", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8005 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxFont
*arg1
= (wxFont
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8011 (char *) "self", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8033 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxFont
*arg1
= (wxFont
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8039 (char *) "self", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8065 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxFont
*arg1
= (wxFont
*) 0 ;
8069 PyObject
* obj0
= 0 ;
8071 (char *) "self", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8097 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxFont
*arg1
= (wxFont
*) 0 ;
8101 PyObject
* obj0
= 0 ;
8102 PyObject
* obj1
= 0 ;
8104 (char *) "self",(char *) "pointSize", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8110 arg2
= (int) SWIG_AsInt(obj1
);
8111 if (PyErr_Occurred()) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 (arg1
)->SetPointSize(arg2
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 Py_INCREF(Py_None
); resultobj
= Py_None
;
8126 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxFont
*arg1
= (wxFont
*) 0 ;
8130 PyObject
* obj0
= 0 ;
8131 PyObject
* obj1
= 0 ;
8133 (char *) "self",(char *) "family", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8139 arg2
= (int) SWIG_AsInt(obj1
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 (arg1
)->SetFamily(arg2
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 Py_INCREF(Py_None
); resultobj
= Py_None
;
8155 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxFont
*arg1
= (wxFont
*) 0 ;
8159 PyObject
* obj0
= 0 ;
8160 PyObject
* obj1
= 0 ;
8162 (char *) "self",(char *) "style", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 arg2
= (int) SWIG_AsInt(obj1
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 (arg1
)->SetStyle(arg2
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 Py_INCREF(Py_None
); resultobj
= Py_None
;
8184 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
;
8186 wxFont
*arg1
= (wxFont
*) 0 ;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8191 (char *) "self",(char *) "weight", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8197 arg2
= (int) SWIG_AsInt(obj1
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 (arg1
)->SetWeight(arg2
);
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8206 Py_INCREF(Py_None
); resultobj
= Py_None
;
8213 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
;
8215 wxFont
*arg1
= (wxFont
*) 0 ;
8216 wxString
*arg2
= 0 ;
8217 bool temp2
= False
;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8221 (char *) "self",(char *) "faceName", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8228 arg2
= wxString_in_helper(obj1
);
8229 if (arg2
== NULL
) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxFont
*arg1
= (wxFont
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8261 (char *) "self",(char *) "underlined", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8267 arg2
= (bool) SWIG_AsBool(obj1
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 (arg1
)->SetUnderlined(arg2
);
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8276 Py_INCREF(Py_None
); resultobj
= Py_None
;
8283 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxFont
*arg1
= (wxFont
*) 0 ;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8290 (char *) "self",(char *) "encoding", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8296 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 Py_INCREF(Py_None
); resultobj
= Py_None
;
8312 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxFont
*arg1
= (wxFont
*) 0 ;
8315 wxNativeFontInfo
*arg2
= 0 ;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8319 (char *) "self",(char *) "info", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8329 PyErr_SetString(PyExc_TypeError
,"null reference");
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 Py_INCREF(Py_None
); resultobj
= Py_None
;
8346 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxFont
*arg1
= (wxFont
*) 0 ;
8349 wxString
*arg2
= 0 ;
8350 bool temp2
= False
;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8354 (char *) "self",(char *) "info", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8361 arg2
= wxString_in_helper(obj1
);
8362 if (arg2
== NULL
) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 Py_INCREF(Py_None
); resultobj
= Py_None
;
8387 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
;
8389 wxFont
*arg1
= (wxFont
*) 0 ;
8390 wxString
*arg2
= 0 ;
8391 bool temp2
= False
;
8392 PyObject
* obj0
= 0 ;
8393 PyObject
* obj1
= 0 ;
8395 (char *) "self",(char *) "info", NULL
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8402 arg2
= wxString_in_helper(obj1
);
8403 if (arg2
== NULL
) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8413 Py_INCREF(Py_None
); resultobj
= Py_None
;
8428 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxFont
*arg1
= (wxFont
*) 0 ;
8432 PyObject
* obj0
= 0 ;
8434 (char *) "self", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8460 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxFont
*arg1
= (wxFont
*) 0 ;
8464 PyObject
* obj0
= 0 ;
8466 (char *) "self", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= ((wxFont
const *)arg1
)->GetStyleString();
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8492 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 wxFont
*arg1
= (wxFont
*) 0 ;
8496 PyObject
* obj0
= 0 ;
8498 (char *) "self", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 result
= ((wxFont
const *)arg1
)->GetWeightString();
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8524 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxFont
*arg1
= (wxFont
*) 0 ;
8527 bool arg2
= (bool) True
;
8528 PyObject
* obj0
= 0 ;
8529 PyObject
* obj1
= 0 ;
8531 (char *) "self",(char *) "no", NULL
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8538 arg2
= (bool) SWIG_AsBool(obj1
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 (arg1
)->SetNoAntiAliasing(arg2
);
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 Py_INCREF(Py_None
); resultobj
= Py_None
;
8555 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxFont
*arg1
= (wxFont
*) 0 ;
8559 PyObject
* obj0
= 0 ;
8561 (char *) "self", NULL
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (bool)(arg1
)->GetNoAntiAliasing();
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8583 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (int)wxFont::GetDefaultEncoding();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SWIG_FromInt((int)result
);
8605 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "encoding", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8614 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 Py_INCREF(Py_None
); resultobj
= Py_None
;
8630 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
8632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8633 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8635 return Py_BuildValue((char *)"");
8637 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxPyFontEnumerator
*result
;
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8659 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
;
8661 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8662 PyObject
* obj0
= 0 ;
8664 (char *) "self", NULL
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8677 Py_INCREF(Py_None
); resultobj
= Py_None
;
8684 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
;
8686 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8687 PyObject
*arg2
= (PyObject
*) 0 ;
8688 PyObject
*arg3
= (PyObject
*) 0 ;
8690 PyObject
* obj0
= 0 ;
8691 PyObject
* obj1
= 0 ;
8692 PyObject
* obj2
= 0 ;
8693 PyObject
* obj3
= 0 ;
8695 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8703 arg4
= (bool) SWIG_AsBool(obj3
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 Py_INCREF(Py_None
); resultobj
= Py_None
;
8719 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8722 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8723 bool arg3
= (bool) False
;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8727 PyObject
* obj2
= 0 ;
8729 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8736 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8740 arg3
= (bool) SWIG_AsBool(obj2
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8759 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8762 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8763 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8765 bool temp2
= False
;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8769 (char *) "self",(char *) "facename", NULL
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8777 arg2
= wxString_in_helper(obj1
);
8778 if (arg2
== NULL
) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8806 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
;
8808 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8810 PyObject
* obj0
= 0 ;
8812 (char *) "self", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8832 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8838 (char *) "self", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8858 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
8860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8861 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8863 return Py_BuildValue((char *)"");
8865 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8872 (char *) "self",(char *) "Language", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8878 arg2
= (int) SWIG_AsInt(obj1
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8880 if (arg1
) (arg1
)->Language
= arg2
;
8882 Py_INCREF(Py_None
); resultobj
= Py_None
;
8889 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8893 PyObject
* obj0
= 0 ;
8895 (char *) "self", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8901 result
= (int) ((arg1
)->Language
);
8903 resultobj
= SWIG_FromInt((int)result
);
8910 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8913 wxString
*arg2
= (wxString
*) 0 ;
8914 bool temp2
= False
;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8918 (char *) "self",(char *) "CanonicalName", NULL
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8925 arg2
= wxString_in_helper(obj1
);
8926 if (arg2
== NULL
) SWIG_fail
;
8929 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8931 Py_INCREF(Py_None
); resultobj
= Py_None
;
8946 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
;
8948 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "self", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8958 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8962 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8964 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8973 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8976 wxString
*arg2
= (wxString
*) 0 ;
8977 bool temp2
= False
;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8981 (char *) "self",(char *) "Description", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8988 arg2
= wxString_in_helper(obj1
);
8989 if (arg2
== NULL
) SWIG_fail
;
8992 if (arg1
) (arg1
)->Description
= *arg2
;
8994 Py_INCREF(Py_None
); resultobj
= Py_None
;
9009 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9013 PyObject
* obj0
= 0 ;
9015 (char *) "self", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9021 result
= (wxString
*)& ((arg1
)->Description
);
9025 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9027 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9036 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9039 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9041 return Py_BuildValue((char *)"");
9043 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9046 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9048 PyObject
* obj0
= 0 ;
9049 PyObject
* obj1
= 0 ;
9051 (char *) "language",(char *) "flags", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9056 arg1
= (int) SWIG_AsInt(obj0
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9060 arg2
= (int) SWIG_AsInt(obj1
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9077 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
;
9079 wxLocale
*arg1
= (wxLocale
*) 0 ;
9080 PyObject
* obj0
= 0 ;
9082 (char *) "self", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 Py_INCREF(Py_None
); resultobj
= Py_None
;
9102 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxLocale
*arg1
= (wxLocale
*) 0 ;
9105 wxString
*arg2
= 0 ;
9106 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9107 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9108 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9109 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9110 bool arg5
= (bool) True
;
9111 bool arg6
= (bool) False
;
9113 bool temp2
= False
;
9114 bool temp3
= False
;
9115 bool temp4
= False
;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9118 PyObject
* obj2
= 0 ;
9119 PyObject
* obj3
= 0 ;
9120 PyObject
* obj4
= 0 ;
9121 PyObject
* obj5
= 0 ;
9123 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9130 arg2
= wxString_in_helper(obj1
);
9131 if (arg2
== NULL
) SWIG_fail
;
9136 arg3
= wxString_in_helper(obj2
);
9137 if (arg3
== NULL
) SWIG_fail
;
9143 arg4
= wxString_in_helper(obj3
);
9144 if (arg4
== NULL
) SWIG_fail
;
9149 arg5
= (bool) SWIG_AsBool(obj4
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9153 arg6
= (bool) SWIG_AsBool(obj5
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9196 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxLocale
*arg1
= (wxLocale
*) 0 ;
9199 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9200 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 PyObject
* obj2
= 0 ;
9206 (char *) "self",(char *) "language",(char *) "flags", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9213 arg2
= (int) SWIG_AsInt(obj1
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 arg3
= (int) SWIG_AsInt(obj2
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9236 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 result
= (int)wxLocale::GetSystemLanguage();
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= SWIG_FromInt((int)result
);
9258 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 result
= (int)wxLocale::GetSystemEncoding();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= SWIG_FromInt((int)result
);
9280 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= wxLocale::GetSystemEncodingName();
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9308 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
*resultobj
;
9310 wxLocale
*arg1
= (wxLocale
*) 0 ;
9312 PyObject
* obj0
= 0 ;
9314 (char *) "self", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9336 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxLocale
*arg1
= (wxLocale
*) 0 ;
9340 PyObject
* obj0
= 0 ;
9342 (char *) "self", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= ((wxLocale
const *)arg1
)->GetLocale();
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9368 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
;
9370 wxLocale
*arg1
= (wxLocale
*) 0 ;
9372 PyObject
* obj0
= 0 ;
9374 (char *) "self", NULL
9377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_FromInt((int)result
);
9394 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9396 wxLocale
*arg1
= (wxLocale
*) 0 ;
9398 PyObject
* obj0
= 0 ;
9400 (char *) "self", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= ((wxLocale
const *)arg1
)->GetSysName();
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9426 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxLocale
*arg1
= (wxLocale
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9432 (char *) "self", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9458 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxString
*arg1
= 0 ;
9461 bool temp1
= False
;
9462 PyObject
* obj0
= 0 ;
9464 (char *) "prefix", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9469 arg1
= wxString_in_helper(obj0
);
9470 if (arg1
== NULL
) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 Py_INCREF(Py_None
); resultobj
= Py_None
;
9495 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxLocale
*arg1
= (wxLocale
*) 0 ;
9498 wxString
*arg2
= 0 ;
9500 bool temp2
= False
;
9501 PyObject
* obj0
= 0 ;
9502 PyObject
* obj1
= 0 ;
9504 (char *) "self",(char *) "szDomain", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9511 arg2
= wxString_in_helper(obj1
);
9512 if (arg2
== NULL
) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9539 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
;
9541 wxLocale
*arg1
= (wxLocale
*) 0 ;
9542 wxString
*arg2
= 0 ;
9544 bool temp2
= False
;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9548 (char *) "self",(char *) "szDomain", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9555 arg2
= wxString_in_helper(obj1
);
9556 if (arg2
== NULL
) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9583 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9586 wxLanguageInfo
*result
;
9587 PyObject
* obj0
= 0 ;
9589 (char *) "lang", NULL
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9593 arg1
= (int) SWIG_AsInt(obj0
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9609 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
;
9613 PyObject
* obj0
= 0 ;
9615 (char *) "lang", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9619 arg1
= (int) SWIG_AsInt(obj0
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= wxLocale::GetLanguageName(arg1
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9641 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxString
*arg1
= 0 ;
9644 wxLanguageInfo
*result
;
9645 bool temp1
= False
;
9646 PyObject
* obj0
= 0 ;
9648 (char *) "locale", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9653 arg1
= wxString_in_helper(obj0
);
9654 if (arg1
== NULL
) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9679 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxLanguageInfo
*arg1
= 0 ;
9682 PyObject
* obj0
= 0 ;
9684 (char *) "info", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9692 PyErr_SetString(PyExc_TypeError
,"null reference");
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 Py_INCREF(Py_None
); resultobj
= Py_None
;
9709 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxLocale
*arg1
= (wxLocale
*) 0 ;
9712 wxString
*arg2
= 0 ;
9713 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9714 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9716 bool temp2
= False
;
9717 bool temp3
= False
;
9718 PyObject
* obj0
= 0 ;
9719 PyObject
* obj1
= 0 ;
9720 PyObject
* obj2
= 0 ;
9722 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9729 arg2
= wxString_in_helper(obj1
);
9730 if (arg2
== NULL
) SWIG_fail
;
9735 arg3
= wxString_in_helper(obj2
);
9736 if (arg3
== NULL
) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9776 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxLocale
*arg1
= (wxLocale
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9782 (char *) "self", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9792 result
= (wxString
*) &_result_ref
;
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9802 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9811 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
9813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9814 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9816 return Py_BuildValue((char *)"");
9818 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (wxLocale
*)wxGetLocale();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9840 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
9841 PyObject
*resultobj
;
9842 wxString
*arg1
= 0 ;
9844 bool temp1
= False
;
9845 PyObject
* obj0
= 0 ;
9847 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9849 arg1
= wxString_in_helper(obj0
);
9850 if (arg1
== NULL
) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= wxGetTranslation((wxString
const &)*arg1
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9881 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
9882 PyObject
*resultobj
;
9883 wxString
*arg1
= 0 ;
9884 wxString
*arg2
= 0 ;
9887 bool temp1
= False
;
9888 bool temp2
= False
;
9889 PyObject
* obj0
= 0 ;
9890 PyObject
* obj1
= 0 ;
9891 PyObject
* obj2
= 0 ;
9893 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9895 arg1
= wxString_in_helper(obj0
);
9896 if (arg1
== NULL
) SWIG_fail
;
9900 arg2
= wxString_in_helper(obj1
);
9901 if (arg2
== NULL
) SWIG_fail
;
9904 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9942 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9947 argc
= PyObject_Length(args
);
9948 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9949 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9954 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9957 return _wrap_GetTranslation__SWIG_0(self
,args
);
9963 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9967 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9970 _v
= SWIG_CheckUnsignedLong(argv
[2]);
9972 return _wrap_GetTranslation__SWIG_1(self
,args
);
9978 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9983 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxEncodingConverter
*result
;
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10005 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10008 PyObject
* obj0
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 Py_INCREF(Py_None
); resultobj
= Py_None
;
10030 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10035 int arg4
= (int) wxCONVERT_STRICT
;
10037 PyObject
* obj0
= 0 ;
10038 PyObject
* obj1
= 0 ;
10039 PyObject
* obj2
= 0 ;
10040 PyObject
* obj3
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10048 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10050 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 arg4
= (int) SWIG_AsInt(obj3
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10072 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10075 wxString
*arg2
= 0 ;
10077 bool temp2
= False
;
10078 PyObject
* obj0
= 0 ;
10079 PyObject
* obj1
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "self",(char *) "input", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10088 arg2
= wxString_in_helper(obj1
);
10089 if (arg2
== NULL
) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10120 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10123 int arg2
= (int) wxPLATFORM_CURRENT
;
10124 wxFontEncodingArray result
;
10125 PyObject
* obj0
= 0 ;
10126 PyObject
* obj1
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "enc",(char *) "platform", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10132 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 arg2
= (int) SWIG_AsInt(obj1
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= PyList_New(0);
10147 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10148 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10149 PyList_Append(resultobj
, number
);
10159 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10162 wxFontEncodingArray result
;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "enc", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10169 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= PyList_New(0);
10180 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10181 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10182 PyList_Append(resultobj
, number
);
10192 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10197 PyObject
* obj0
= 0 ;
10198 PyObject
* obj1
= 0 ;
10199 char *kwnames
[] = {
10200 (char *) "encIn",(char *) "encOut", NULL
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10204 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10206 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10224 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10227 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10229 return Py_BuildValue((char *)"");
10231 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10233 wxDC
*arg1
= (wxDC
*) 0 ;
10234 PyObject
* obj0
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 Py_INCREF(Py_None
); resultobj
= Py_None
;
10256 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxDC
*arg1
= (wxDC
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 (arg1
)->BeginDrawing();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 Py_INCREF(Py_None
); resultobj
= Py_None
;
10281 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxDC
*arg1
= (wxDC
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 (arg1
)->EndDrawing();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 Py_INCREF(Py_None
); resultobj
= Py_None
;
10306 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxDC
*arg1
= (wxDC
*) 0 ;
10311 wxColour
*arg4
= 0 ;
10312 int arg5
= (int) wxFLOOD_SURFACE
;
10315 PyObject
* obj0
= 0 ;
10316 PyObject
* obj1
= 0 ;
10317 PyObject
* obj2
= 0 ;
10318 PyObject
* obj3
= 0 ;
10319 PyObject
* obj4
= 0 ;
10320 char *kwnames
[] = {
10321 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10327 arg2
= (int) SWIG_AsInt(obj1
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10329 arg3
= (int) SWIG_AsInt(obj2
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10333 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10336 arg5
= (int) SWIG_AsInt(obj4
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10355 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 wxDC
*arg1
= (wxDC
*) 0 ;
10358 wxPoint
*arg2
= 0 ;
10359 wxColour
*arg3
= 0 ;
10360 int arg4
= (int) wxFLOOD_SURFACE
;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 PyObject
* obj2
= 0 ;
10367 PyObject
* obj3
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10377 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10381 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10384 arg4
= (int) SWIG_AsInt(obj3
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10403 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
;
10405 wxDC
*arg1
= (wxDC
*) 0 ;
10409 PyObject
* obj0
= 0 ;
10410 PyObject
* obj1
= 0 ;
10411 PyObject
* obj2
= 0 ;
10412 char *kwnames
[] = {
10413 (char *) "self",(char *) "x",(char *) "y", NULL
10416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10419 arg2
= (int) SWIG_AsInt(obj1
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10421 arg3
= (int) SWIG_AsInt(obj2
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10431 wxColour
* resultptr
;
10432 resultptr
= new wxColour((wxColour
&) result
);
10433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10441 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10442 PyObject
*resultobj
;
10443 wxDC
*arg1
= (wxDC
*) 0 ;
10444 wxPoint
*arg2
= 0 ;
10447 PyObject
* obj0
= 0 ;
10448 PyObject
* obj1
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self",(char *) "pt", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10458 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10468 wxColour
* resultptr
;
10469 resultptr
= new wxColour((wxColour
&) result
);
10470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10478 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxDC
*arg1
= (wxDC
*) 0 ;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10487 PyObject
* obj2
= 0 ;
10488 PyObject
* obj3
= 0 ;
10489 PyObject
* obj4
= 0 ;
10490 char *kwnames
[] = {
10491 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10497 arg2
= (int) SWIG_AsInt(obj1
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10499 arg3
= (int) SWIG_AsInt(obj2
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10501 arg4
= (int) SWIG_AsInt(obj3
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10503 arg5
= (int) SWIG_AsInt(obj4
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 Py_INCREF(Py_None
); resultobj
= Py_None
;
10519 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
;
10521 wxDC
*arg1
= (wxDC
*) 0 ;
10522 wxPoint
*arg2
= 0 ;
10523 wxPoint
*arg3
= 0 ;
10526 PyObject
* obj0
= 0 ;
10527 PyObject
* obj1
= 0 ;
10528 PyObject
* obj2
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10538 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10542 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 Py_INCREF(Py_None
); resultobj
= Py_None
;
10558 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxDC
*arg1
= (wxDC
*) 0 ;
10563 PyObject
* obj0
= 0 ;
10564 PyObject
* obj1
= 0 ;
10565 PyObject
* obj2
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self",(char *) "x",(char *) "y", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10573 arg2
= (int) SWIG_AsInt(obj1
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10575 arg3
= (int) SWIG_AsInt(obj2
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 (arg1
)->CrossHair(arg2
,arg3
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 Py_INCREF(Py_None
); resultobj
= Py_None
;
10591 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxDC
*arg1
= (wxDC
*) 0 ;
10594 wxPoint
*arg2
= 0 ;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self",(char *) "pt", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10616 Py_INCREF(Py_None
); resultobj
= Py_None
;
10623 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10625 wxDC
*arg1
= (wxDC
*) 0 ;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 PyObject
* obj2
= 0 ;
10635 PyObject
* obj3
= 0 ;
10636 PyObject
* obj4
= 0 ;
10637 PyObject
* obj5
= 0 ;
10638 PyObject
* obj6
= 0 ;
10639 char *kwnames
[] = {
10640 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10646 arg2
= (int) SWIG_AsInt(obj1
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10648 arg3
= (int) SWIG_AsInt(obj2
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10650 arg4
= (int) SWIG_AsInt(obj3
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10652 arg5
= (int) SWIG_AsInt(obj4
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10654 arg6
= (int) SWIG_AsInt(obj5
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10656 arg7
= (int) SWIG_AsInt(obj6
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 Py_INCREF(Py_None
); resultobj
= Py_None
;
10672 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
;
10674 wxDC
*arg1
= (wxDC
*) 0 ;
10675 wxPoint
*arg2
= 0 ;
10676 wxPoint
*arg3
= 0 ;
10677 wxPoint
*arg4
= 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 PyObject
* obj2
= 0 ;
10684 PyObject
* obj3
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10694 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10698 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10702 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 Py_INCREF(Py_None
); resultobj
= Py_None
;
10718 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxDC
*arg1
= (wxDC
*) 0 ;
10725 PyObject
* obj0
= 0 ;
10726 PyObject
* obj1
= 0 ;
10727 PyObject
* obj2
= 0 ;
10728 PyObject
* obj3
= 0 ;
10729 PyObject
* obj4
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 arg2
= (int) SWIG_AsInt(obj1
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10739 arg3
= (int) SWIG_AsInt(obj2
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10741 arg4
= (int) SWIG_AsInt(obj3
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10743 arg5
= (int) SWIG_AsInt(obj4
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 Py_INCREF(Py_None
); resultobj
= Py_None
;
10759 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxDC
*arg1
= (wxDC
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "self",(char *) "rect", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10775 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 Py_INCREF(Py_None
); resultobj
= Py_None
;
10791 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxDC
*arg1
= (wxDC
*) 0 ;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 PyObject
* obj2
= 0 ;
10803 PyObject
* obj3
= 0 ;
10804 PyObject
* obj4
= 0 ;
10805 PyObject
* obj5
= 0 ;
10806 PyObject
* obj6
= 0 ;
10807 char *kwnames
[] = {
10808 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10814 arg2
= (int) SWIG_AsInt(obj1
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10816 arg3
= (int) SWIG_AsInt(obj2
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10818 arg4
= (int) SWIG_AsInt(obj3
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10820 arg5
= (int) SWIG_AsInt(obj4
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10822 arg6
= (double) SWIG_AsDouble(obj5
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10824 arg7
= (double) SWIG_AsDouble(obj6
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10833 Py_INCREF(Py_None
); resultobj
= Py_None
;
10840 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxDC
*arg1
= (wxDC
*) 0 ;
10843 wxPoint
*arg2
= 0 ;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 PyObject
* obj2
= 0 ;
10852 PyObject
* obj3
= 0 ;
10853 PyObject
* obj4
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10863 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10867 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10869 arg4
= (double) SWIG_AsDouble(obj3
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10871 arg5
= (double) SWIG_AsDouble(obj4
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 Py_INCREF(Py_None
); resultobj
= Py_None
;
10887 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxDC
*arg1
= (wxDC
*) 0 ;
10892 PyObject
* obj0
= 0 ;
10893 PyObject
* obj1
= 0 ;
10894 PyObject
* obj2
= 0 ;
10895 char *kwnames
[] = {
10896 (char *) "self",(char *) "x",(char *) "y", NULL
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10902 arg2
= (int) SWIG_AsInt(obj1
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10904 arg3
= (int) SWIG_AsInt(obj2
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 (arg1
)->DrawPoint(arg2
,arg3
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 Py_INCREF(Py_None
); resultobj
= Py_None
;
10920 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxDC
*arg1
= (wxDC
*) 0 ;
10923 wxPoint
*arg2
= 0 ;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "self",(char *) "pt", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10945 Py_INCREF(Py_None
); resultobj
= Py_None
;
10952 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
;
10954 wxDC
*arg1
= (wxDC
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 PyObject
* obj1
= 0 ;
10961 PyObject
* obj2
= 0 ;
10962 PyObject
* obj3
= 0 ;
10963 PyObject
* obj4
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10971 arg2
= (int) SWIG_AsInt(obj1
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10973 arg3
= (int) SWIG_AsInt(obj2
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10975 arg4
= (int) SWIG_AsInt(obj3
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10977 arg5
= (int) SWIG_AsInt(obj4
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 Py_INCREF(Py_None
); resultobj
= Py_None
;
10993 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
;
10995 wxDC
*arg1
= (wxDC
*) 0 ;
10996 wxPoint
*arg2
= 0 ;
11000 PyObject
* obj0
= 0 ;
11001 PyObject
* obj1
= 0 ;
11002 PyObject
* obj2
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self",(char *) "pt",(char *) "sz", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11012 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11016 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxDC
*arg1
= (wxDC
*) 0 ;
11037 PyObject
* obj0
= 0 ;
11038 PyObject
* obj1
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self",(char *) "rect", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11048 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 Py_INCREF(Py_None
); resultobj
= Py_None
;
11064 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxDC
*arg1
= (wxDC
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 PyObject
* obj2
= 0 ;
11075 PyObject
* obj3
= 0 ;
11076 PyObject
* obj4
= 0 ;
11077 PyObject
* obj5
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11085 arg2
= (int) SWIG_AsInt(obj1
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11087 arg3
= (int) SWIG_AsInt(obj2
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11089 arg4
= (int) SWIG_AsInt(obj3
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11091 arg5
= (int) SWIG_AsInt(obj4
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11093 arg6
= (double) SWIG_AsDouble(obj5
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11102 Py_INCREF(Py_None
); resultobj
= Py_None
;
11109 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
*resultobj
;
11111 wxDC
*arg1
= (wxDC
*) 0 ;
11112 wxPoint
*arg2
= 0 ;
11117 PyObject
* obj0
= 0 ;
11118 PyObject
* obj1
= 0 ;
11119 PyObject
* obj2
= 0 ;
11120 PyObject
* obj3
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11134 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11136 arg4
= (double) SWIG_AsDouble(obj3
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 Py_INCREF(Py_None
); resultobj
= Py_None
;
11152 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxDC
*arg1
= (wxDC
*) 0 ;
11158 PyObject
* obj0
= 0 ;
11159 PyObject
* obj1
= 0 ;
11160 PyObject
* obj2
= 0 ;
11161 char *kwnames
[] = {
11162 (char *) "self",(char *) "r",(char *) "radius", NULL
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11170 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11172 arg3
= (double) SWIG_AsDouble(obj2
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 Py_INCREF(Py_None
); resultobj
= Py_None
;
11188 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxDC
*arg1
= (wxDC
*) 0 ;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 PyObject
* obj2
= 0 ;
11197 PyObject
* obj3
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11205 arg2
= (int) SWIG_AsInt(obj1
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11207 arg3
= (int) SWIG_AsInt(obj2
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11209 arg4
= (int) SWIG_AsInt(obj3
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 Py_INCREF(Py_None
); resultobj
= Py_None
;
11225 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxDC
*arg1
= (wxDC
*) 0 ;
11228 wxPoint
*arg2
= 0 ;
11231 PyObject
* obj0
= 0 ;
11232 PyObject
* obj1
= 0 ;
11233 PyObject
* obj2
= 0 ;
11234 char *kwnames
[] = {
11235 (char *) "self",(char *) "pt",(char *) "radius", NULL
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11245 arg3
= (int) SWIG_AsInt(obj2
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 Py_INCREF(Py_None
); resultobj
= Py_None
;
11261 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
*resultobj
;
11263 wxDC
*arg1
= (wxDC
*) 0 ;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 PyObject
* obj2
= 0 ;
11271 PyObject
* obj3
= 0 ;
11272 PyObject
* obj4
= 0 ;
11273 char *kwnames
[] = {
11274 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11280 arg2
= (int) SWIG_AsInt(obj1
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11282 arg3
= (int) SWIG_AsInt(obj2
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11284 arg4
= (int) SWIG_AsInt(obj3
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11286 arg5
= (int) SWIG_AsInt(obj4
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11295 Py_INCREF(Py_None
); resultobj
= Py_None
;
11302 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
;
11304 wxDC
*arg1
= (wxDC
*) 0 ;
11305 wxPoint
*arg2
= 0 ;
11309 PyObject
* obj0
= 0 ;
11310 PyObject
* obj1
= 0 ;
11311 PyObject
* obj2
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self",(char *) "pt",(char *) "sz", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11325 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 Py_INCREF(Py_None
); resultobj
= Py_None
;
11341 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
;
11343 wxDC
*arg1
= (wxDC
*) 0 ;
11346 PyObject
* obj0
= 0 ;
11347 PyObject
* obj1
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "self",(char *) "rect", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11357 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 Py_INCREF(Py_None
); resultobj
= Py_None
;
11373 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxDC
*arg1
= (wxDC
*) 0 ;
11379 PyObject
* obj0
= 0 ;
11380 PyObject
* obj1
= 0 ;
11381 PyObject
* obj2
= 0 ;
11382 PyObject
* obj3
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11393 if (arg2
== NULL
) {
11394 PyErr_SetString(PyExc_TypeError
,"null reference");
11397 arg3
= (int) SWIG_AsInt(obj2
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11399 arg4
= (int) SWIG_AsInt(obj3
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11408 Py_INCREF(Py_None
); resultobj
= Py_None
;
11415 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxDC
*arg1
= (wxDC
*) 0 ;
11419 wxPoint
*arg3
= 0 ;
11421 PyObject
* obj0
= 0 ;
11422 PyObject
* obj1
= 0 ;
11423 PyObject
* obj2
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "self",(char *) "icon",(char *) "pt", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11434 if (arg2
== NULL
) {
11435 PyErr_SetString(PyExc_TypeError
,"null reference");
11440 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 Py_INCREF(Py_None
); resultobj
= Py_None
;
11456 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxDC
*arg1
= (wxDC
*) 0 ;
11459 wxBitmap
*arg2
= 0 ;
11462 bool arg5
= (bool) False
;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 PyObject
* obj2
= 0 ;
11466 PyObject
* obj3
= 0 ;
11467 PyObject
* obj4
= 0 ;
11468 char *kwnames
[] = {
11469 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11478 if (arg2
== NULL
) {
11479 PyErr_SetString(PyExc_TypeError
,"null reference");
11482 arg3
= (int) SWIG_AsInt(obj2
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11484 arg4
= (int) SWIG_AsInt(obj3
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 arg5
= (bool) SWIG_AsBool(obj4
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 Py_INCREF(Py_None
); resultobj
= Py_None
;
11504 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
;
11506 wxDC
*arg1
= (wxDC
*) 0 ;
11507 wxBitmap
*arg2
= 0 ;
11508 wxPoint
*arg3
= 0 ;
11509 bool arg4
= (bool) False
;
11511 PyObject
* obj0
= 0 ;
11512 PyObject
* obj1
= 0 ;
11513 PyObject
* obj2
= 0 ;
11514 PyObject
* obj3
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11525 if (arg2
== NULL
) {
11526 PyErr_SetString(PyExc_TypeError
,"null reference");
11531 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11534 arg4
= (bool) SWIG_AsBool(obj3
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 Py_INCREF(Py_None
); resultobj
= Py_None
;
11551 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11553 wxDC
*arg1
= (wxDC
*) 0 ;
11554 wxString
*arg2
= 0 ;
11557 bool temp2
= False
;
11558 PyObject
* obj0
= 0 ;
11559 PyObject
* obj1
= 0 ;
11560 PyObject
* obj2
= 0 ;
11561 PyObject
* obj3
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11570 arg2
= wxString_in_helper(obj1
);
11571 if (arg2
== NULL
) SWIG_fail
;
11574 arg3
= (int) SWIG_AsInt(obj2
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11576 arg4
= (int) SWIG_AsInt(obj3
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 Py_INCREF(Py_None
); resultobj
= Py_None
;
11600 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
;
11602 wxDC
*arg1
= (wxDC
*) 0 ;
11603 wxString
*arg2
= 0 ;
11604 wxPoint
*arg3
= 0 ;
11605 bool temp2
= False
;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 PyObject
* obj2
= 0 ;
11610 char *kwnames
[] = {
11611 (char *) "self",(char *) "text",(char *) "pt", NULL
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11618 arg2
= wxString_in_helper(obj1
);
11619 if (arg2
== NULL
) SWIG_fail
;
11624 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 Py_INCREF(Py_None
); resultobj
= Py_None
;
11648 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxDC
*arg1
= (wxDC
*) 0 ;
11651 wxString
*arg2
= 0 ;
11655 bool temp2
= False
;
11656 PyObject
* obj0
= 0 ;
11657 PyObject
* obj1
= 0 ;
11658 PyObject
* obj2
= 0 ;
11659 PyObject
* obj3
= 0 ;
11660 PyObject
* obj4
= 0 ;
11661 char *kwnames
[] = {
11662 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11669 arg2
= wxString_in_helper(obj1
);
11670 if (arg2
== NULL
) SWIG_fail
;
11673 arg3
= (int) SWIG_AsInt(obj2
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11675 arg4
= (int) SWIG_AsInt(obj3
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11677 arg5
= (double) SWIG_AsDouble(obj4
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 Py_INCREF(Py_None
); resultobj
= Py_None
;
11701 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11702 PyObject
*resultobj
;
11703 wxDC
*arg1
= (wxDC
*) 0 ;
11704 wxString
*arg2
= 0 ;
11705 wxPoint
*arg3
= 0 ;
11707 bool temp2
= False
;
11709 PyObject
* obj0
= 0 ;
11710 PyObject
* obj1
= 0 ;
11711 PyObject
* obj2
= 0 ;
11712 PyObject
* obj3
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11721 arg2
= wxString_in_helper(obj1
);
11722 if (arg2
== NULL
) SWIG_fail
;
11727 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11729 arg4
= (double) SWIG_AsDouble(obj3
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 Py_INCREF(Py_None
); resultobj
= Py_None
;
11753 static PyObject
*_wrap_DC_BlitXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
;
11755 wxDC
*arg1
= (wxDC
*) 0 ;
11760 wxDC
*arg6
= (wxDC
*) 0 ;
11763 int arg9
= (int) wxCOPY
;
11764 bool arg10
= (bool) False
;
11765 int arg11
= (int) -1 ;
11766 int arg12
= (int) -1 ;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 PyObject
* obj2
= 0 ;
11771 PyObject
* obj3
= 0 ;
11772 PyObject
* obj4
= 0 ;
11773 PyObject
* obj5
= 0 ;
11774 PyObject
* obj6
= 0 ;
11775 PyObject
* obj7
= 0 ;
11776 PyObject
* obj8
= 0 ;
11777 PyObject
* obj9
= 0 ;
11778 PyObject
* obj10
= 0 ;
11779 PyObject
* obj11
= 0 ;
11780 char *kwnames
[] = {
11781 (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
11784 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
;
11785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11787 arg2
= (int) SWIG_AsInt(obj1
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11789 arg3
= (int) SWIG_AsInt(obj2
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11791 arg4
= (int) SWIG_AsInt(obj3
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11793 arg5
= (int) SWIG_AsInt(obj4
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11795 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11797 arg7
= (int) SWIG_AsInt(obj6
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11799 arg8
= (int) SWIG_AsInt(obj7
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11802 arg9
= (int) SWIG_AsInt(obj8
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11806 arg10
= (bool) SWIG_AsBool(obj9
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11810 arg11
= (int) SWIG_AsInt(obj10
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 arg12
= (int) SWIG_AsInt(obj11
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11833 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
;
11835 wxDC
*arg1
= (wxDC
*) 0 ;
11836 wxPoint
*arg2
= 0 ;
11838 wxDC
*arg4
= (wxDC
*) 0 ;
11839 wxPoint
*arg5
= 0 ;
11840 int arg6
= (int) wxCOPY
;
11841 bool arg7
= (bool) False
;
11842 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11843 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11849 PyObject
* obj0
= 0 ;
11850 PyObject
* obj1
= 0 ;
11851 PyObject
* obj2
= 0 ;
11852 PyObject
* obj3
= 0 ;
11853 PyObject
* obj4
= 0 ;
11854 PyObject
* obj5
= 0 ;
11855 PyObject
* obj6
= 0 ;
11856 PyObject
* obj7
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11866 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11870 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11872 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11876 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11879 arg6
= (int) SWIG_AsInt(obj5
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11883 arg7
= (bool) SWIG_AsBool(obj6
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11889 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11908 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxDC
*arg1
= (wxDC
*) 0 ;
11912 wxPoint
*arg3
= (wxPoint
*) 0 ;
11913 int arg4
= (int) 0 ;
11914 int arg5
= (int) 0 ;
11915 PyObject
* obj0
= 0 ;
11916 PyObject
* obj1
= 0 ;
11917 PyObject
* obj2
= 0 ;
11918 PyObject
* obj3
= 0 ;
11919 char *kwnames
[] = {
11920 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11927 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11928 if (arg3
== NULL
) SWIG_fail
;
11931 arg4
= (int) SWIG_AsInt(obj2
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11935 arg5
= (int) SWIG_AsInt(obj3
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11945 Py_INCREF(Py_None
); resultobj
= Py_None
;
11947 if (arg3
) delete [] arg3
;
11952 if (arg3
) delete [] arg3
;
11958 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxDC
*arg1
= (wxDC
*) 0 ;
11962 wxPoint
*arg3
= (wxPoint
*) 0 ;
11963 int arg4
= (int) 0 ;
11964 int arg5
= (int) 0 ;
11965 int arg6
= (int) wxODDEVEN_RULE
;
11966 PyObject
* obj0
= 0 ;
11967 PyObject
* obj1
= 0 ;
11968 PyObject
* obj2
= 0 ;
11969 PyObject
* obj3
= 0 ;
11970 PyObject
* obj4
= 0 ;
11971 char *kwnames
[] = {
11972 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
11975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11979 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11980 if (arg3
== NULL
) SWIG_fail
;
11983 arg4
= (int) SWIG_AsInt(obj2
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 arg5
= (int) SWIG_AsInt(obj3
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11991 arg6
= (int) SWIG_AsInt(obj4
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 Py_INCREF(Py_None
); resultobj
= Py_None
;
12003 if (arg3
) delete [] arg3
;
12008 if (arg3
) delete [] arg3
;
12014 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxDC
*arg1
= (wxDC
*) 0 ;
12017 wxString
*arg2
= 0 ;
12019 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12020 int arg5
= (int) -1 ;
12021 bool temp2
= False
;
12023 PyObject
* obj0
= 0 ;
12024 PyObject
* obj1
= 0 ;
12025 PyObject
* obj2
= 0 ;
12026 PyObject
* obj3
= 0 ;
12027 PyObject
* obj4
= 0 ;
12028 char *kwnames
[] = {
12029 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12036 arg2
= wxString_in_helper(obj1
);
12037 if (arg2
== NULL
) SWIG_fail
;
12042 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12045 arg4
= (int) SWIG_AsInt(obj3
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12049 arg5
= (int) SWIG_AsInt(obj4
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 Py_INCREF(Py_None
); resultobj
= Py_None
;
12074 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxDC
*arg1
= (wxDC
*) 0 ;
12077 wxString
*arg2
= 0 ;
12078 wxBitmap
*arg3
= 0 ;
12080 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12081 int arg6
= (int) -1 ;
12083 bool temp2
= False
;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 PyObject
* obj2
= 0 ;
12088 PyObject
* obj3
= 0 ;
12089 PyObject
* obj4
= 0 ;
12090 PyObject
* obj5
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12099 arg2
= wxString_in_helper(obj1
);
12100 if (arg2
== NULL
) SWIG_fail
;
12103 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12106 if (arg3
== NULL
) {
12107 PyErr_SetString(PyExc_TypeError
,"null reference");
12112 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12115 arg5
= (int) SWIG_AsInt(obj4
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12119 arg6
= (int) SWIG_AsInt(obj5
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 wxRect
* resultptr
;
12131 resultptr
= new wxRect((wxRect
&) result
);
12132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12148 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12149 PyObject
*resultobj
;
12150 wxDC
*arg1
= (wxDC
*) 0 ;
12152 wxPoint
*arg3
= (wxPoint
*) 0 ;
12153 PyObject
* obj0
= 0 ;
12154 PyObject
* obj1
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "self",(char *) "points", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12163 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12164 if (arg3
== NULL
) SWIG_fail
;
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 (arg1
)->DrawSpline(arg2
,arg3
);
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12173 Py_INCREF(Py_None
); resultobj
= Py_None
;
12175 if (arg3
) delete [] arg3
;
12180 if (arg3
) delete [] arg3
;
12186 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12187 PyObject
*resultobj
;
12188 wxDC
*arg1
= (wxDC
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 char *kwnames
[] = {
12191 (char *) "self", NULL
12194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 Py_INCREF(Py_None
); resultobj
= Py_None
;
12211 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
;
12213 wxDC
*arg1
= (wxDC
*) 0 ;
12214 wxString
*arg2
= 0 ;
12216 bool temp2
= False
;
12217 PyObject
* obj0
= 0 ;
12218 PyObject
* obj1
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "self",(char *) "message", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12227 arg2
= wxString_in_helper(obj1
);
12228 if (arg2
== NULL
) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12255 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxDC
*arg1
= (wxDC
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12273 Py_INCREF(Py_None
); resultobj
= Py_None
;
12280 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
;
12282 wxDC
*arg1
= (wxDC
*) 0 ;
12283 PyObject
* obj0
= 0 ;
12284 char *kwnames
[] = {
12285 (char *) "self", NULL
12288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 (arg1
)->StartPage();
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 Py_INCREF(Py_None
); resultobj
= Py_None
;
12305 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12306 PyObject
*resultobj
;
12307 wxDC
*arg1
= (wxDC
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 Py_INCREF(Py_None
); resultobj
= Py_None
;
12330 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxDC
*arg1
= (wxDC
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj1
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self",(char *) "font", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12344 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12346 if (arg2
== NULL
) {
12347 PyErr_SetString(PyExc_TypeError
,"null reference");
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 (arg1
)->SetFont((wxFont
const &)*arg2
);
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 Py_INCREF(Py_None
); resultobj
= Py_None
;
12364 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxDC
*arg1
= (wxDC
*) 0 ;
12368 PyObject
* obj0
= 0 ;
12369 PyObject
* obj1
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "self",(char *) "pen", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12380 if (arg2
== NULL
) {
12381 PyErr_SetString(PyExc_TypeError
,"null reference");
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 (arg1
)->SetPen((wxPen
const &)*arg2
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 Py_INCREF(Py_None
); resultobj
= Py_None
;
12398 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
;
12400 wxDC
*arg1
= (wxDC
*) 0 ;
12401 wxBrush
*arg2
= 0 ;
12402 PyObject
* obj0
= 0 ;
12403 PyObject
* obj1
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self",(char *) "brush", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12414 if (arg2
== NULL
) {
12415 PyErr_SetString(PyExc_TypeError
,"null reference");
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 Py_INCREF(Py_None
); resultobj
= Py_None
;
12432 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxDC
*arg1
= (wxDC
*) 0 ;
12435 wxBrush
*arg2
= 0 ;
12436 PyObject
* obj0
= 0 ;
12437 PyObject
* obj1
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self",(char *) "brush", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12448 if (arg2
== NULL
) {
12449 PyErr_SetString(PyExc_TypeError
,"null reference");
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12459 Py_INCREF(Py_None
); resultobj
= Py_None
;
12466 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxDC
*arg1
= (wxDC
*) 0 ;
12470 PyObject
* obj0
= 0 ;
12471 PyObject
* obj1
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self",(char *) "mode", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12479 arg2
= (int) SWIG_AsInt(obj1
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->SetBackgroundMode(arg2
);
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 Py_INCREF(Py_None
); resultobj
= Py_None
;
12495 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxDC
*arg1
= (wxDC
*) 0 ;
12498 wxPalette
*arg2
= 0 ;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 char *kwnames
[] = {
12502 (char *) "self",(char *) "palette", NULL
12505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12511 if (arg2
== NULL
) {
12512 PyErr_SetString(PyExc_TypeError
,"null reference");
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 Py_INCREF(Py_None
); resultobj
= Py_None
;
12529 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
;
12531 wxDC
*arg1
= (wxDC
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 PyObject
* obj1
= 0 ;
12538 PyObject
* obj2
= 0 ;
12539 PyObject
* obj3
= 0 ;
12540 PyObject
* obj4
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12548 arg2
= (int) SWIG_AsInt(obj1
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12550 arg3
= (int) SWIG_AsInt(obj2
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12552 arg4
= (int) SWIG_AsInt(obj3
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12554 arg5
= (int) SWIG_AsInt(obj4
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 Py_INCREF(Py_None
); resultobj
= Py_None
;
12570 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxDC
*arg1
= (wxDC
*) 0 ;
12573 wxPoint
*arg2
= 0 ;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 PyObject
* obj2
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self",(char *) "pt",(char *) "sz", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12589 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12593 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 Py_INCREF(Py_None
); resultobj
= Py_None
;
12609 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
;
12611 wxDC
*arg1
= (wxDC
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 PyObject
* obj1
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self",(char *) "rect", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12625 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 Py_INCREF(Py_None
); resultobj
= Py_None
;
12641 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxDC
*arg1
= (wxDC
*) 0 ;
12644 wxRegion
*arg2
= 0 ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "region", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12657 if (arg2
== NULL
) {
12658 PyErr_SetString(PyExc_TypeError
,"null reference");
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 Py_INCREF(Py_None
); resultobj
= Py_None
;
12675 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
;
12677 wxDC
*arg1
= (wxDC
*) 0 ;
12678 PyObject
* obj0
= 0 ;
12679 char *kwnames
[] = {
12680 (char *) "self", NULL
12683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 (arg1
)->DestroyClippingRegion();
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 Py_INCREF(Py_None
); resultobj
= Py_None
;
12700 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxDC
*arg1
= (wxDC
*) 0 ;
12703 int *arg2
= (int *) 0 ;
12704 int *arg3
= (int *) 0 ;
12705 int *arg4
= (int *) 0 ;
12706 int *arg5
= (int *) 0 ;
12711 PyObject
* obj0
= 0 ;
12712 char *kwnames
[] = {
12713 (char *) "self", NULL
12720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 Py_INCREF(Py_None
); resultobj
= Py_None
;
12732 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12733 resultobj
= t_output_helper(resultobj
,o
);
12736 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12737 resultobj
= t_output_helper(resultobj
,o
);
12740 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12741 resultobj
= t_output_helper(resultobj
,o
);
12744 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12745 resultobj
= t_output_helper(resultobj
,o
);
12753 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxDC
*arg1
= (wxDC
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 char *kwnames
[] = {
12759 (char *) "self", NULL
12762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= wxDC_GetClippingRect(arg1
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12773 wxRect
* resultptr
;
12774 resultptr
= new wxRect((wxRect
&) result
);
12775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12783 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxDC
*arg1
= (wxDC
*) 0 ;
12787 PyObject
* obj0
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12802 resultobj
= SWIG_FromInt((int)result
);
12809 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxDC
*arg1
= (wxDC
*) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= SWIG_FromInt((int)result
);
12835 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
;
12837 wxDC
*arg1
= (wxDC
*) 0 ;
12838 wxString
*arg2
= 0 ;
12839 int *arg3
= (int *) 0 ;
12840 int *arg4
= (int *) 0 ;
12841 bool temp2
= False
;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 char *kwnames
[] = {
12847 (char *) "self",(char *) "string", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12856 arg2
= wxString_in_helper(obj1
);
12857 if (arg2
== NULL
) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12867 Py_INCREF(Py_None
); resultobj
= Py_None
;
12869 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12870 resultobj
= t_output_helper(resultobj
,o
);
12873 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12874 resultobj
= t_output_helper(resultobj
,o
);
12890 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
;
12892 wxDC
*arg1
= (wxDC
*) 0 ;
12893 wxString
*arg2
= 0 ;
12894 int *arg3
= (int *) 0 ;
12895 int *arg4
= (int *) 0 ;
12896 int *arg5
= (int *) 0 ;
12897 int *arg6
= (int *) 0 ;
12898 wxFont
*arg7
= (wxFont
*) NULL
;
12899 bool temp2
= False
;
12904 PyObject
* obj0
= 0 ;
12905 PyObject
* obj1
= 0 ;
12906 PyObject
* obj2
= 0 ;
12907 char *kwnames
[] = {
12908 (char *) "self",(char *) "string",(char *) "font", NULL
12915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12919 arg2
= wxString_in_helper(obj1
);
12920 if (arg2
== NULL
) SWIG_fail
;
12924 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12934 Py_INCREF(Py_None
); resultobj
= Py_None
;
12936 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12937 resultobj
= t_output_helper(resultobj
,o
);
12940 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12941 resultobj
= t_output_helper(resultobj
,o
);
12944 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12945 resultobj
= t_output_helper(resultobj
,o
);
12948 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12949 resultobj
= t_output_helper(resultobj
,o
);
12965 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxDC
*arg1
= (wxDC
*) 0 ;
12968 wxString
*arg2
= 0 ;
12969 int *arg3
= (int *) 0 ;
12970 int *arg4
= (int *) 0 ;
12971 int *arg5
= (int *) 0 ;
12972 wxFont
*arg6
= (wxFont
*) NULL
;
12973 bool temp2
= False
;
12977 PyObject
* obj0
= 0 ;
12978 PyObject
* obj1
= 0 ;
12979 PyObject
* obj2
= 0 ;
12980 char *kwnames
[] = {
12981 (char *) "self",(char *) "text",(char *) "font", NULL
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12991 arg2
= wxString_in_helper(obj1
);
12992 if (arg2
== NULL
) SWIG_fail
;
12996 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
12997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 Py_INCREF(Py_None
); resultobj
= Py_None
;
13008 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13009 resultobj
= t_output_helper(resultobj
,o
);
13012 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13013 resultobj
= t_output_helper(resultobj
,o
);
13016 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13017 resultobj
= t_output_helper(resultobj
,o
);
13033 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
;
13035 wxDC
*arg1
= (wxDC
*) 0 ;
13036 wxString
*arg2
= 0 ;
13038 bool temp2
= False
;
13039 PyObject
* obj0
= 0 ;
13040 PyObject
* obj1
= 0 ;
13041 char *kwnames
[] = {
13042 (char *) "self",(char *) "text", NULL
13045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13049 arg2
= wxString_in_helper(obj1
);
13050 if (arg2
== NULL
) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13061 resultobj
= PyList_New(0);
13063 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13064 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13065 PyList_Append(resultobj
, val
);
13083 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxDC
*arg1
= (wxDC
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (arg1
)->GetSize();
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13103 wxSize
* resultptr
;
13104 resultptr
= new wxSize((wxSize
&) result
);
13105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13113 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxDC
*arg1
= (wxDC
*) 0 ;
13116 int *arg2
= (int *) 0 ;
13117 int *arg3
= (int *) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self", NULL
13127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 (arg1
)->GetSize(arg2
,arg3
);
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 Py_INCREF(Py_None
); resultobj
= Py_None
;
13139 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13140 resultobj
= t_output_helper(resultobj
,o
);
13143 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13144 resultobj
= t_output_helper(resultobj
,o
);
13152 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
;
13154 wxDC
*arg1
= (wxDC
*) 0 ;
13156 PyObject
* obj0
= 0 ;
13157 char *kwnames
[] = {
13158 (char *) "self", NULL
13161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13172 wxSize
* resultptr
;
13173 resultptr
= new wxSize((wxSize
&) result
);
13174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13182 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
;
13184 wxDC
*arg1
= (wxDC
*) 0 ;
13185 int *arg2
= (int *) 0 ;
13186 int *arg3
= (int *) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 Py_INCREF(Py_None
); resultobj
= Py_None
;
13208 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13209 resultobj
= t_output_helper(resultobj
,o
);
13212 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13213 resultobj
= t_output_helper(resultobj
,o
);
13221 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxDC
*arg1
= (wxDC
*) 0 ;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self",(char *) "x", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13235 arg2
= (int) SWIG_AsInt(obj1
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= SWIG_FromInt((int)result
);
13251 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxDC
*arg1
= (wxDC
*) 0 ;
13256 PyObject
* obj0
= 0 ;
13257 PyObject
* obj1
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self",(char *) "y", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13265 arg2
= (int) SWIG_AsInt(obj1
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_FromInt((int)result
);
13281 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxDC
*arg1
= (wxDC
*) 0 ;
13286 PyObject
* obj0
= 0 ;
13287 PyObject
* obj1
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self",(char *) "x", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13295 arg2
= (int) SWIG_AsInt(obj1
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= SWIG_FromInt((int)result
);
13311 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
;
13313 wxDC
*arg1
= (wxDC
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 PyObject
* obj1
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self",(char *) "y", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13325 arg2
= (int) SWIG_AsInt(obj1
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= SWIG_FromInt((int)result
);
13341 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxDC
*arg1
= (wxDC
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 PyObject
* obj1
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self",(char *) "x", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13355 arg2
= (int) SWIG_AsInt(obj1
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= SWIG_FromInt((int)result
);
13371 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
;
13373 wxDC
*arg1
= (wxDC
*) 0 ;
13376 PyObject
* obj0
= 0 ;
13377 PyObject
* obj1
= 0 ;
13378 char *kwnames
[] = {
13379 (char *) "self",(char *) "y", NULL
13382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13385 arg2
= (int) SWIG_AsInt(obj1
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_FromInt((int)result
);
13401 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxDC
*arg1
= (wxDC
*) 0 ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 char *kwnames
[] = {
13409 (char *) "self",(char *) "x", NULL
13412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13415 arg2
= (int) SWIG_AsInt(obj1
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_FromInt((int)result
);
13431 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxDC
*arg1
= (wxDC
*) 0 ;
13436 PyObject
* obj0
= 0 ;
13437 PyObject
* obj1
= 0 ;
13438 char *kwnames
[] = {
13439 (char *) "self",(char *) "y", NULL
13442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13445 arg2
= (int) SWIG_AsInt(obj1
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= SWIG_FromInt((int)result
);
13461 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 wxDC
*arg1
= (wxDC
*) 0 ;
13465 PyObject
* obj0
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13489 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxDC
*arg1
= (wxDC
*) 0 ;
13493 PyObject
* obj0
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13517 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13518 PyObject
*resultobj
;
13519 wxDC
*arg1
= (wxDC
*) 0 ;
13521 PyObject
* obj0
= 0 ;
13522 char *kwnames
[] = {
13523 (char *) "self", NULL
13526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= SWIG_FromInt((int)result
);
13543 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
;
13545 wxDC
*arg1
= (wxDC
*) 0 ;
13547 PyObject
* obj0
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 result
= ((wxDC
const *)arg1
)->GetPPI();
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13563 wxSize
* resultptr
;
13564 resultptr
= new wxSize((wxSize
&) result
);
13565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13573 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
;
13575 wxDC
*arg1
= (wxDC
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (bool)((wxDC
const *)arg1
)->Ok();
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13601 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxDC
*arg1
= (wxDC
*) 0 ;
13605 PyObject
* obj0
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= SWIG_FromInt((int)result
);
13627 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
;
13629 wxDC
*arg1
= (wxDC
*) 0 ;
13631 PyObject
* obj0
= 0 ;
13632 char *kwnames
[] = {
13633 (char *) "self", NULL
13636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13643 result
= (wxBrush
*) &_result_ref
;
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13650 wxBrush
* resultptr
= new wxBrush(*result
);
13651 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13659 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
;
13661 wxDC
*arg1
= (wxDC
*) 0 ;
13663 PyObject
* obj0
= 0 ;
13664 char *kwnames
[] = {
13665 (char *) "self", NULL
13668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13675 result
= (wxBrush
*) &_result_ref
;
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13682 wxBrush
* resultptr
= new wxBrush(*result
);
13683 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13691 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxDC
*arg1
= (wxDC
*) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 char *kwnames
[] = {
13697 (char *) "self", NULL
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13707 result
= (wxFont
*) &_result_ref
;
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13714 wxFont
* resultptr
= new wxFont(*result
);
13715 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13723 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
;
13725 wxDC
*arg1
= (wxDC
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 char *kwnames
[] = {
13729 (char *) "self", NULL
13732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13739 result
= (wxPen
*) &_result_ref
;
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13746 wxPen
* resultptr
= new wxPen(*result
);
13747 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13755 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxDC
*arg1
= (wxDC
*) 0 ;
13759 PyObject
* obj0
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "self", NULL
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13771 result
= (wxColour
*) &_result_ref
;
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13784 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxDC
*arg1
= (wxDC
*) 0 ;
13788 PyObject
* obj0
= 0 ;
13789 char *kwnames
[] = {
13790 (char *) "self", NULL
13793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13800 result
= (wxColour
*) &_result_ref
;
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13813 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxDC
*arg1
= (wxDC
*) 0 ;
13816 wxColour
*arg2
= 0 ;
13818 PyObject
* obj0
= 0 ;
13819 PyObject
* obj1
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "self",(char *) "colour", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13829 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 Py_INCREF(Py_None
); resultobj
= Py_None
;
13845 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxDC
*arg1
= (wxDC
*) 0 ;
13848 wxColour
*arg2
= 0 ;
13850 PyObject
* obj0
= 0 ;
13851 PyObject
* obj1
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self",(char *) "colour", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13861 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 Py_INCREF(Py_None
); resultobj
= Py_None
;
13877 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxDC
*arg1
= (wxDC
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= SWIG_FromInt((int)result
);
13903 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxDC
*arg1
= (wxDC
*) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 PyObject
* obj1
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self",(char *) "mode", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13916 arg2
= (int) SWIG_AsInt(obj1
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 (arg1
)->SetMapMode(arg2
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 Py_INCREF(Py_None
); resultobj
= Py_None
;
13932 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxDC
*arg1
= (wxDC
*) 0 ;
13935 double *arg2
= (double *) 0 ;
13936 double *arg3
= (double *) 0 ;
13939 PyObject
* obj0
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 Py_INCREF(Py_None
); resultobj
= Py_None
;
13958 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13959 resultobj
= t_output_helper(resultobj
,o
);
13962 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13963 resultobj
= t_output_helper(resultobj
,o
);
13971 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxDC
*arg1
= (wxDC
*) 0 ;
13976 PyObject
* obj0
= 0 ;
13977 PyObject
* obj1
= 0 ;
13978 PyObject
* obj2
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self",(char *) "x",(char *) "y", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13986 arg2
= (double) SWIG_AsDouble(obj1
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13988 arg3
= (double) SWIG_AsDouble(obj2
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 (arg1
)->SetUserScale(arg2
,arg3
);
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 Py_INCREF(Py_None
); resultobj
= Py_None
;
14004 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
;
14006 wxDC
*arg1
= (wxDC
*) 0 ;
14007 double *arg2
= (double *) 0 ;
14008 double *arg3
= (double *) 0 ;
14011 PyObject
* obj0
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 (arg1
)->GetLogicalScale(arg2
,arg3
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 Py_INCREF(Py_None
); resultobj
= Py_None
;
14030 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14031 resultobj
= t_output_helper(resultobj
,o
);
14034 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14035 resultobj
= t_output_helper(resultobj
,o
);
14043 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxDC
*arg1
= (wxDC
*) 0 ;
14048 PyObject
* obj0
= 0 ;
14049 PyObject
* obj1
= 0 ;
14050 PyObject
* obj2
= 0 ;
14051 char *kwnames
[] = {
14052 (char *) "self",(char *) "x",(char *) "y", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14058 arg2
= (double) SWIG_AsDouble(obj1
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14060 arg3
= (double) SWIG_AsDouble(obj2
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 (arg1
)->SetLogicalScale(arg2
,arg3
);
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 Py_INCREF(Py_None
); resultobj
= Py_None
;
14076 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxDC
*arg1
= (wxDC
*) 0 ;
14080 PyObject
* obj0
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14096 wxPoint
* resultptr
;
14097 resultptr
= new wxPoint((wxPoint
&) result
);
14098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14106 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxDC
*arg1
= (wxDC
*) 0 ;
14109 int *arg2
= (int *) 0 ;
14110 int *arg3
= (int *) 0 ;
14113 PyObject
* obj0
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 Py_INCREF(Py_None
); resultobj
= Py_None
;
14132 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14133 resultobj
= t_output_helper(resultobj
,o
);
14136 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14137 resultobj
= t_output_helper(resultobj
,o
);
14145 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
;
14147 wxDC
*arg1
= (wxDC
*) 0 ;
14150 PyObject
* obj0
= 0 ;
14151 PyObject
* obj1
= 0 ;
14152 PyObject
* obj2
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self",(char *) "x",(char *) "y", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14160 arg2
= (int) SWIG_AsInt(obj1
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14162 arg3
= (int) SWIG_AsInt(obj2
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 Py_INCREF(Py_None
); resultobj
= Py_None
;
14178 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxDC
*arg1
= (wxDC
*) 0 ;
14182 PyObject
* obj0
= 0 ;
14183 char *kwnames
[] = {
14184 (char *) "self", NULL
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14198 wxPoint
* resultptr
;
14199 resultptr
= new wxPoint((wxPoint
&) result
);
14200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14208 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxDC
*arg1
= (wxDC
*) 0 ;
14211 int *arg2
= (int *) 0 ;
14212 int *arg3
= (int *) 0 ;
14215 PyObject
* obj0
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14232 Py_INCREF(Py_None
); resultobj
= Py_None
;
14234 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14235 resultobj
= t_output_helper(resultobj
,o
);
14238 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14239 resultobj
= t_output_helper(resultobj
,o
);
14247 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxDC
*arg1
= (wxDC
*) 0 ;
14252 PyObject
* obj0
= 0 ;
14253 PyObject
* obj1
= 0 ;
14254 PyObject
* obj2
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self",(char *) "x",(char *) "y", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14262 arg2
= (int) SWIG_AsInt(obj1
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14264 arg3
= (int) SWIG_AsInt(obj2
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 Py_INCREF(Py_None
); resultobj
= Py_None
;
14280 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
;
14282 wxDC
*arg1
= (wxDC
*) 0 ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 PyObject
* obj2
= 0 ;
14288 char *kwnames
[] = {
14289 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14295 arg2
= (bool) SWIG_AsBool(obj1
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14297 arg3
= (bool) SWIG_AsBool(obj2
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 Py_INCREF(Py_None
); resultobj
= Py_None
;
14313 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14314 PyObject
*resultobj
;
14315 wxDC
*arg1
= (wxDC
*) 0 ;
14317 PyObject
* obj0
= 0 ;
14318 char *kwnames
[] = {
14319 (char *) "self", NULL
14322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14329 wxPyEndAllowThreads(__tstate
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14332 resultobj
= SWIG_FromInt((int)result
);
14339 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14340 PyObject
*resultobj
;
14341 wxDC
*arg1
= (wxDC
*) 0 ;
14343 PyObject
* obj0
= 0 ;
14344 PyObject
* obj1
= 0 ;
14345 char *kwnames
[] = {
14346 (char *) "self",(char *) "function", NULL
14349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14352 arg2
= (int) SWIG_AsInt(obj1
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 (arg1
)->SetLogicalFunction(arg2
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 Py_INCREF(Py_None
); resultobj
= Py_None
;
14368 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
;
14370 wxDC
*arg1
= (wxDC
*) 0 ;
14372 PyObject
* obj0
= 0 ;
14373 PyObject
* obj1
= 0 ;
14374 char *kwnames
[] = {
14375 (char *) "self",(char *) "opt", NULL
14378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14381 arg2
= (bool) SWIG_AsBool(obj1
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14385 (arg1
)->SetOptimization(arg2
);
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 Py_INCREF(Py_None
); resultobj
= Py_None
;
14397 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxDC
*arg1
= (wxDC
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (bool)(arg1
)->GetOptimization();
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14425 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxDC
*arg1
= (wxDC
*) 0 ;
14430 PyObject
* obj0
= 0 ;
14431 PyObject
* obj1
= 0 ;
14432 PyObject
* obj2
= 0 ;
14433 char *kwnames
[] = {
14434 (char *) "self",(char *) "x",(char *) "y", NULL
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14440 arg2
= (int) SWIG_AsInt(obj1
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14442 arg3
= (int) SWIG_AsInt(obj2
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14451 Py_INCREF(Py_None
); resultobj
= Py_None
;
14458 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxDC
*arg1
= (wxDC
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 (arg1
)->ResetBoundingBox();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 Py_INCREF(Py_None
); resultobj
= Py_None
;
14483 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxDC
*arg1
= (wxDC
*) 0 ;
14487 PyObject
* obj0
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (int)((wxDC
const *)arg1
)->MinX();
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= SWIG_FromInt((int)result
);
14509 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxDC
*arg1
= (wxDC
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (int)((wxDC
const *)arg1
)->MaxX();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= SWIG_FromInt((int)result
);
14535 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxDC
*arg1
= (wxDC
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (int)((wxDC
const *)arg1
)->MinY();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_FromInt((int)result
);
14561 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxDC
*arg1
= (wxDC
*) 0 ;
14565 PyObject
* obj0
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (int)((wxDC
const *)arg1
)->MaxY();
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= SWIG_FromInt((int)result
);
14587 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxDC
*arg1
= (wxDC
*) 0 ;
14590 int *arg2
= (int *) 0 ;
14591 int *arg3
= (int *) 0 ;
14592 int *arg4
= (int *) 0 ;
14593 int *arg5
= (int *) 0 ;
14598 PyObject
* obj0
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "self", NULL
14607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14617 Py_INCREF(Py_None
); resultobj
= Py_None
;
14619 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14620 resultobj
= t_output_helper(resultobj
,o
);
14623 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14624 resultobj
= t_output_helper(resultobj
,o
);
14627 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14628 resultobj
= t_output_helper(resultobj
,o
);
14631 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14632 resultobj
= t_output_helper(resultobj
,o
);
14640 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxDC
*arg1
= (wxDC
*) 0 ;
14643 PyObject
*arg2
= (PyObject
*) 0 ;
14644 PyObject
*arg3
= (PyObject
*) 0 ;
14645 PyObject
*arg4
= (PyObject
*) 0 ;
14647 PyObject
* obj0
= 0 ;
14648 PyObject
* obj1
= 0 ;
14649 PyObject
* obj2
= 0 ;
14650 PyObject
* obj3
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= result
;
14675 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
;
14677 wxDC
*arg1
= (wxDC
*) 0 ;
14678 PyObject
*arg2
= (PyObject
*) 0 ;
14679 PyObject
*arg3
= (PyObject
*) 0 ;
14680 PyObject
*arg4
= (PyObject
*) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 PyObject
* obj1
= 0 ;
14684 PyObject
* obj2
= 0 ;
14685 PyObject
* obj3
= 0 ;
14686 char *kwnames
[] = {
14687 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14703 resultobj
= result
;
14710 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
;
14712 wxDC
*arg1
= (wxDC
*) 0 ;
14713 PyObject
*arg2
= (PyObject
*) 0 ;
14714 PyObject
*arg3
= (PyObject
*) 0 ;
14715 PyObject
*arg4
= (PyObject
*) 0 ;
14717 PyObject
* obj0
= 0 ;
14718 PyObject
* obj1
= 0 ;
14719 PyObject
* obj2
= 0 ;
14720 PyObject
* obj3
= 0 ;
14721 char *kwnames
[] = {
14722 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= result
;
14745 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxDC
*arg1
= (wxDC
*) 0 ;
14748 PyObject
*arg2
= (PyObject
*) 0 ;
14749 PyObject
*arg3
= (PyObject
*) 0 ;
14750 PyObject
*arg4
= (PyObject
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 PyObject
* obj1
= 0 ;
14754 PyObject
* obj2
= 0 ;
14755 PyObject
* obj3
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= result
;
14780 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxDC
*arg1
= (wxDC
*) 0 ;
14783 PyObject
*arg2
= (PyObject
*) 0 ;
14784 PyObject
*arg3
= (PyObject
*) 0 ;
14785 PyObject
*arg4
= (PyObject
*) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 PyObject
* obj1
= 0 ;
14789 PyObject
* obj2
= 0 ;
14790 PyObject
* obj3
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14808 resultobj
= result
;
14815 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxDC
*arg1
= (wxDC
*) 0 ;
14818 PyObject
*arg2
= (PyObject
*) 0 ;
14819 PyObject
*arg3
= (PyObject
*) 0 ;
14820 PyObject
*arg4
= (PyObject
*) 0 ;
14821 PyObject
*arg5
= (PyObject
*) 0 ;
14823 PyObject
* obj0
= 0 ;
14824 PyObject
* obj1
= 0 ;
14825 PyObject
* obj2
= 0 ;
14826 PyObject
* obj3
= 0 ;
14827 PyObject
* obj4
= 0 ;
14828 char *kwnames
[] = {
14829 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= result
;
14853 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
14855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14856 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14858 return Py_BuildValue((char *)"");
14860 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxMemoryDC
*result
;
14863 char *kwnames
[] = {
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (wxMemoryDC
*)new wxMemoryDC();
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14882 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
;
14884 wxDC
*arg1
= (wxDC
*) 0 ;
14885 wxMemoryDC
*result
;
14886 PyObject
* obj0
= 0 ;
14887 char *kwnames
[] = {
14888 (char *) "oldDC", NULL
14891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14908 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14911 wxBitmap
*arg2
= 0 ;
14912 PyObject
* obj0
= 0 ;
14913 PyObject
* obj1
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self",(char *) "bitmap", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
14920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14924 if (arg2
== NULL
) {
14925 PyErr_SetString(PyExc_TypeError
,"null reference");
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 Py_INCREF(Py_None
); resultobj
= Py_None
;
14942 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
14944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14945 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14947 return Py_BuildValue((char *)"");
14949 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
14950 PyObject
*resultobj
;
14951 wxDC
*arg1
= (wxDC
*) 0 ;
14952 wxBitmap
*arg2
= 0 ;
14953 wxBufferedDC
*result
;
14954 PyObject
* obj0
= 0 ;
14955 PyObject
* obj1
= 0 ;
14957 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14963 if (arg2
== NULL
) {
14964 PyErr_SetString(PyExc_TypeError
,"null reference");
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
14981 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
14982 PyObject
*resultobj
;
14983 wxDC
*arg1
= (wxDC
*) 0 ;
14985 wxBufferedDC
*result
;
14987 PyObject
* obj0
= 0 ;
14988 PyObject
* obj1
= 0 ;
14990 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14995 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15011 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15016 argc
= PyObject_Length(args
);
15017 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15018 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15024 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15034 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15042 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15050 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15059 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15062 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15067 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15072 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*, PyObject
*args
) {
15073 PyObject
*resultobj
;
15074 wxDC
*arg1
= (wxDC
*) 0 ;
15076 wxBufferedDC
*result
;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15081 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15086 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15102 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15105 PyObject
* obj0
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15120 Py_INCREF(Py_None
); resultobj
= Py_None
;
15127 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15130 PyObject
* obj0
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15145 Py_INCREF(Py_None
); resultobj
= Py_None
;
15152 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15155 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15157 return Py_BuildValue((char *)"");
15159 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 wxWindow
*arg1
= (wxWindow
*) 0 ;
15162 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15163 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15164 wxBufferedPaintDC
*result
;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "window",(char *) "buffer", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15178 if (arg2
== NULL
) {
15179 PyErr_SetString(PyExc_TypeError
,"null reference");
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15197 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15200 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15202 return Py_BuildValue((char *)"");
15204 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxScreenDC
*result
;
15207 char *kwnames
[] = {
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (wxScreenDC
*)new wxScreenDC();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15226 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15229 wxWindow
*arg2
= (wxWindow
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self",(char *) "window", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15258 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15261 wxRect
*arg2
= (wxRect
*) NULL
;
15263 PyObject
* obj0
= 0 ;
15264 PyObject
* obj1
= 0 ;
15265 char *kwnames
[] = {
15266 (char *) "self",(char *) "rect", NULL
15269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15292 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
;
15294 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15296 PyObject
* obj0
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 result
= (bool)(arg1
)->EndDrawingOnTop();
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15320 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15323 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15325 return Py_BuildValue((char *)"");
15327 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxWindow
*arg1
= (wxWindow
*) 0 ;
15330 wxClientDC
*result
;
15331 PyObject
* obj0
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "win", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 result
= (wxClientDC
*)new wxClientDC(arg1
);
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15353 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15356 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15358 return Py_BuildValue((char *)"");
15360 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxWindow
*arg1
= (wxWindow
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "win", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15386 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15389 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15391 return Py_BuildValue((char *)"");
15393 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxWindow
*arg1
= (wxWindow
*) 0 ;
15396 wxWindowDC
*result
;
15397 PyObject
* obj0
= 0 ;
15398 char *kwnames
[] = {
15399 (char *) "win", NULL
15402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15419 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15422 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15424 return Py_BuildValue((char *)"");
15426 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
;
15430 wxMirrorDC
*result
;
15431 PyObject
* obj0
= 0 ;
15432 PyObject
* obj1
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "dc",(char *) "mirror", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15441 if (arg1
== NULL
) {
15442 PyErr_SetString(PyExc_TypeError
,"null reference");
15445 arg2
= (bool) SWIG_AsBool(obj1
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15461 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15464 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15466 return Py_BuildValue((char *)"");
15468 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxPrintData
*arg1
= 0 ;
15471 wxPostScriptDC
*result
;
15472 PyObject
* obj0
= 0 ;
15473 char *kwnames
[] = {
15474 (char *) "printData", NULL
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15481 if (arg1
== NULL
) {
15482 PyErr_SetString(PyExc_TypeError
,"null reference");
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15499 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15502 wxPrintData
*result
;
15503 PyObject
* obj0
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15515 result
= (wxPrintData
*) &_result_ref
;
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15528 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15531 wxPrintData
*arg2
= 0 ;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self",(char *) "data", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15544 if (arg2
== NULL
) {
15545 PyErr_SetString(PyExc_TypeError
,"null reference");
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 Py_INCREF(Py_None
); resultobj
= Py_None
;
15562 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15565 PyObject
* obj0
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "ppi", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15571 arg1
= (int) SWIG_AsInt(obj0
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 wxPostScriptDC::SetResolution(arg1
);
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 Py_INCREF(Py_None
); resultobj
= Py_None
;
15587 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15590 char *kwnames
[] = {
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 result
= (int)wxPostScriptDC::GetResolution();
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 resultobj
= SWIG_FromInt((int)result
);
15609 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
15611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15612 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15614 return Py_BuildValue((char *)"");
15616 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15619 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15620 wxMetaFile
*result
;
15621 bool temp1
= False
;
15622 PyObject
* obj0
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "filename", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15630 arg1
= wxString_in_helper(obj0
);
15631 if (arg1
== NULL
) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15657 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15660 PyObject
* obj0
= 0 ;
15661 char *kwnames
[] = {
15662 (char *) "self", NULL
15665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15675 Py_INCREF(Py_None
); resultobj
= Py_None
;
15682 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15683 PyObject
*resultobj
;
15684 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15686 PyObject
* obj0
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "self", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 result
= (bool)(arg1
)->Ok();
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15710 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15713 int arg2
= (int) 0 ;
15714 int arg3
= (int) 0 ;
15716 PyObject
* obj0
= 0 ;
15717 PyObject
* obj1
= 0 ;
15718 PyObject
* obj2
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self",(char *) "width",(char *) "height", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15727 arg2
= (int) SWIG_AsInt(obj1
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15731 arg3
= (int) SWIG_AsInt(obj2
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15750 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
;
15752 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15754 PyObject
* obj0
= 0 ;
15755 char *kwnames
[] = {
15756 (char *) "self", NULL
15759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
15760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 result
= (arg1
)->GetSize();
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15770 wxSize
* resultptr
;
15771 resultptr
= new wxSize((wxSize
&) result
);
15772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15780 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
;
15782 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15784 PyObject
* obj0
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "self", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
15790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 result
= (int)(arg1
)->GetWidth();
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15799 resultobj
= SWIG_FromInt((int)result
);
15806 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15807 PyObject
*resultobj
;
15808 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15810 PyObject
* obj0
= 0 ;
15811 char *kwnames
[] = {
15812 (char *) "self", NULL
15815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
15816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= (int)(arg1
)->GetHeight();
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= SWIG_FromInt((int)result
);
15832 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
15834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15835 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15837 return Py_BuildValue((char *)"");
15839 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
;
15841 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15842 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15843 int arg2
= (int) 0 ;
15844 int arg3
= (int) 0 ;
15845 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15846 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15847 wxMetaFileDC
*result
;
15848 bool temp1
= False
;
15849 bool temp4
= False
;
15850 PyObject
* obj0
= 0 ;
15851 PyObject
* obj1
= 0 ;
15852 PyObject
* obj2
= 0 ;
15853 PyObject
* obj3
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15861 arg1
= wxString_in_helper(obj0
);
15862 if (arg1
== NULL
) SWIG_fail
;
15867 arg2
= (int) SWIG_AsInt(obj1
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15871 arg3
= (int) SWIG_AsInt(obj2
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15876 arg4
= wxString_in_helper(obj3
);
15877 if (arg4
== NULL
) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15911 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
15914 wxMetaFile
*result
;
15915 PyObject
* obj0
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self", NULL
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
15921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
15922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (wxMetaFile
*)(arg1
)->Close();
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
15937 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
15939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15940 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15942 return Py_BuildValue((char *)"");
15944 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxPrintData
*arg1
= 0 ;
15947 wxPrinterDC
*result
;
15948 PyObject
* obj0
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "printData", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15957 if (arg1
== NULL
) {
15958 PyErr_SetString(PyExc_TypeError
,"null reference");
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15975 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
15977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15978 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15980 return Py_BuildValue((char *)"");
15982 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15986 int arg3
= (int) True
;
15987 int arg4
= (int) 1 ;
15988 wxImageList
*result
;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 PyObject
* obj2
= 0 ;
15992 PyObject
* obj3
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15998 arg1
= (int) SWIG_AsInt(obj0
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16000 arg2
= (int) SWIG_AsInt(obj1
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 arg3
= (int) SWIG_AsInt(obj2
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16007 arg4
= (int) SWIG_AsInt(obj3
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= wxPyMake_wxObject(result
);
16026 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16027 PyObject
*resultobj
;
16028 wxImageList
*arg1
= (wxImageList
*) 0 ;
16029 PyObject
* obj0
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16044 Py_INCREF(Py_None
); resultobj
= Py_None
;
16051 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxImageList
*arg1
= (wxImageList
*) 0 ;
16054 wxBitmap
*arg2
= 0 ;
16055 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16056 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16058 PyObject
* obj0
= 0 ;
16059 PyObject
* obj1
= 0 ;
16060 PyObject
* obj2
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16071 if (arg2
== NULL
) {
16072 PyErr_SetString(PyExc_TypeError
,"null reference");
16076 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16077 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16079 if (arg3
== NULL
) {
16080 PyErr_SetString(PyExc_TypeError
,"null reference");
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 resultobj
= SWIG_FromInt((int)result
);
16098 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxImageList
*arg1
= (wxImageList
*) 0 ;
16101 wxBitmap
*arg2
= 0 ;
16102 wxColour
*arg3
= 0 ;
16105 PyObject
* obj0
= 0 ;
16106 PyObject
* obj1
= 0 ;
16107 PyObject
* obj2
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16118 if (arg2
== NULL
) {
16119 PyErr_SetString(PyExc_TypeError
,"null reference");
16124 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= SWIG_FromInt((int)result
);
16140 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxImageList
*arg1
= (wxImageList
*) 0 ;
16145 PyObject
* obj0
= 0 ;
16146 PyObject
* obj1
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self",(char *) "icon", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16157 if (arg2
== NULL
) {
16158 PyErr_SetString(PyExc_TypeError
,"null reference");
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= SWIG_FromInt((int)result
);
16175 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxImageList
*arg1
= (wxImageList
*) 0 ;
16179 wxBitmap
*arg3
= 0 ;
16181 PyObject
* obj0
= 0 ;
16182 PyObject
* obj1
= 0 ;
16183 PyObject
* obj2
= 0 ;
16184 char *kwnames
[] = {
16185 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16191 arg2
= (int) SWIG_AsInt(obj1
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16193 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16196 if (arg3
== NULL
) {
16197 PyErr_SetString(PyExc_TypeError
,"null reference");
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16216 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxImageList
*arg1
= (wxImageList
*) 0 ;
16223 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16224 bool arg7
= (bool) (bool)False
;
16226 PyObject
* obj0
= 0 ;
16227 PyObject
* obj1
= 0 ;
16228 PyObject
* obj2
= 0 ;
16229 PyObject
* obj3
= 0 ;
16230 PyObject
* obj4
= 0 ;
16231 PyObject
* obj5
= 0 ;
16232 PyObject
* obj6
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16240 arg2
= (int) SWIG_AsInt(obj1
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16242 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16245 if (arg3
== NULL
) {
16246 PyErr_SetString(PyExc_TypeError
,"null reference");
16249 arg4
= (int) SWIG_AsInt(obj3
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16251 arg5
= (int) SWIG_AsInt(obj4
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16254 arg6
= (int) SWIG_AsInt(obj5
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 arg7
= (bool const) SWIG_AsBool(obj6
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16277 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
;
16279 wxImageList
*arg1
= (wxImageList
*) 0 ;
16281 PyObject
* obj0
= 0 ;
16282 char *kwnames
[] = {
16283 (char *) "self", NULL
16286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 result
= (int)(arg1
)->GetImageCount();
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= SWIG_FromInt((int)result
);
16303 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxImageList
*arg1
= (wxImageList
*) 0 ;
16308 PyObject
* obj0
= 0 ;
16309 PyObject
* obj1
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self",(char *) "index", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16317 arg2
= (int) SWIG_AsInt(obj1
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= (bool)(arg1
)->Remove(arg2
);
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16335 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
;
16337 wxImageList
*arg1
= (wxImageList
*) 0 ;
16339 PyObject
* obj0
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (bool)(arg1
)->RemoveAll();
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16363 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxImageList
*arg1
= (wxImageList
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 PyObject
* obj1
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self",(char *) "index", NULL
16379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16382 arg2
= (int) SWIG_AsInt(obj1
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16391 Py_INCREF(Py_None
); resultobj
= Py_None
;
16393 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16394 resultobj
= t_output_helper(resultobj
,o
);
16397 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16398 resultobj
= t_output_helper(resultobj
,o
);
16406 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16409 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16411 return Py_BuildValue((char *)"");
16413 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16414 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16419 static PyObject
*_wrap_NORMAL_FONT_get() {
16422 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16427 static int _wrap_SMALL_FONT_set(PyObject
*) {
16428 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16433 static PyObject
*_wrap_SMALL_FONT_get() {
16436 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16441 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16442 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16447 static PyObject
*_wrap_ITALIC_FONT_get() {
16450 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16455 static int _wrap_SWISS_FONT_set(PyObject
*) {
16456 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16461 static PyObject
*_wrap_SWISS_FONT_get() {
16464 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16469 static int _wrap_RED_PEN_set(PyObject
*) {
16470 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16475 static PyObject
*_wrap_RED_PEN_get() {
16478 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16483 static int _wrap_CYAN_PEN_set(PyObject
*) {
16484 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16489 static PyObject
*_wrap_CYAN_PEN_get() {
16492 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16497 static int _wrap_GREEN_PEN_set(PyObject
*) {
16498 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16503 static PyObject
*_wrap_GREEN_PEN_get() {
16506 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16511 static int _wrap_BLACK_PEN_set(PyObject
*) {
16512 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16517 static PyObject
*_wrap_BLACK_PEN_get() {
16520 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16525 static int _wrap_WHITE_PEN_set(PyObject
*) {
16526 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16531 static PyObject
*_wrap_WHITE_PEN_get() {
16534 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16539 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16540 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16545 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16548 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16553 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16554 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16559 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16562 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16567 static int _wrap_GREY_PEN_set(PyObject
*) {
16568 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16573 static PyObject
*_wrap_GREY_PEN_get() {
16576 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16581 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16582 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16587 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16590 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16595 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16596 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16601 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16604 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16609 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16610 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16615 static PyObject
*_wrap_BLUE_BRUSH_get() {
16618 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16623 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16624 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16629 static PyObject
*_wrap_GREEN_BRUSH_get() {
16632 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16637 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16638 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16643 static PyObject
*_wrap_WHITE_BRUSH_get() {
16646 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16651 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16652 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16657 static PyObject
*_wrap_BLACK_BRUSH_get() {
16660 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16665 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
16666 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16671 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16674 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16679 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
16680 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16685 static PyObject
*_wrap_CYAN_BRUSH_get() {
16688 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16693 static int _wrap_RED_BRUSH_set(PyObject
*) {
16694 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16699 static PyObject
*_wrap_RED_BRUSH_get() {
16702 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16707 static int _wrap_GREY_BRUSH_set(PyObject
*) {
16708 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16713 static PyObject
*_wrap_GREY_BRUSH_get() {
16716 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16721 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
16722 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16727 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16730 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16735 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
16736 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16741 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16744 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16749 static int _wrap_BLACK_set(PyObject
*) {
16750 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16755 static PyObject
*_wrap_BLACK_get() {
16758 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16763 static int _wrap_WHITE_set(PyObject
*) {
16764 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16769 static PyObject
*_wrap_WHITE_get() {
16772 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16777 static int _wrap_RED_set(PyObject
*) {
16778 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16783 static PyObject
*_wrap_RED_get() {
16786 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16791 static int _wrap_BLUE_set(PyObject
*) {
16792 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16797 static PyObject
*_wrap_BLUE_get() {
16800 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16805 static int _wrap_GREEN_set(PyObject
*) {
16806 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16811 static PyObject
*_wrap_GREEN_get() {
16814 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16819 static int _wrap_CYAN_set(PyObject
*) {
16820 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16825 static PyObject
*_wrap_CYAN_get() {
16828 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16833 static int _wrap_LIGHT_GREY_set(PyObject
*) {
16834 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16839 static PyObject
*_wrap_LIGHT_GREY_get() {
16842 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16847 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
16848 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16853 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16856 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16861 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
16862 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16867 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16870 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16875 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
16876 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16881 static PyObject
*_wrap_CROSS_CURSOR_get() {
16884 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16889 static int _wrap_NullBitmap_set(PyObject
*) {
16890 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16895 static PyObject
*_wrap_NullBitmap_get() {
16898 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16903 static int _wrap_NullIcon_set(PyObject
*) {
16904 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16909 static PyObject
*_wrap_NullIcon_get() {
16912 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16917 static int _wrap_NullCursor_set(PyObject
*) {
16918 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16923 static PyObject
*_wrap_NullCursor_get() {
16926 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16931 static int _wrap_NullPen_set(PyObject
*) {
16932 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16937 static PyObject
*_wrap_NullPen_get() {
16940 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16945 static int _wrap_NullBrush_set(PyObject
*) {
16946 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16951 static PyObject
*_wrap_NullBrush_get() {
16954 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16959 static int _wrap_NullPalette_set(PyObject
*) {
16960 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16965 static PyObject
*_wrap_NullPalette_get() {
16968 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16973 static int _wrap_NullFont_set(PyObject
*) {
16974 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16979 static PyObject
*_wrap_NullFont_get() {
16982 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
16987 static int _wrap_NullColour_set(PyObject
*) {
16988 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16993 static PyObject
*_wrap_NullColour_get() {
16996 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17001 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxPenList
*arg1
= (wxPenList
*) 0 ;
17004 wxPen
*arg2
= (wxPen
*) 0 ;
17005 PyObject
* obj0
= 0 ;
17006 PyObject
* obj1
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "self",(char *) "pen", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 (arg1
)->AddPen(arg2
);
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 Py_INCREF(Py_None
); resultobj
= Py_None
;
17030 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17031 PyObject
*resultobj
;
17032 wxPenList
*arg1
= (wxPenList
*) 0 ;
17033 wxColour
*arg2
= 0 ;
17038 PyObject
* obj0
= 0 ;
17039 PyObject
* obj1
= 0 ;
17040 PyObject
* obj2
= 0 ;
17041 PyObject
* obj3
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17051 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17053 arg3
= (int) SWIG_AsInt(obj2
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17055 arg4
= (int) SWIG_AsInt(obj3
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17071 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 wxPenList
*arg1
= (wxPenList
*) 0 ;
17074 wxPen
*arg2
= (wxPen
*) 0 ;
17075 PyObject
* obj0
= 0 ;
17076 PyObject
* obj1
= 0 ;
17077 char *kwnames
[] = {
17078 (char *) "self",(char *) "pen", NULL
17081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 (arg1
)->RemovePen(arg2
);
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17093 Py_INCREF(Py_None
); resultobj
= Py_None
;
17100 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxPenList
*arg1
= (wxPenList
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (int)(arg1
)->GetCount();
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= SWIG_FromInt((int)result
);
17126 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17129 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17131 return Py_BuildValue((char *)"");
17133 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17136 wxBrush
*arg2
= (wxBrush
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "self",(char *) "brush", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 (arg1
)->AddBrush(arg2
);
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17155 Py_INCREF(Py_None
); resultobj
= Py_None
;
17162 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
;
17164 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17165 wxColour
*arg2
= 0 ;
17169 PyObject
* obj0
= 0 ;
17170 PyObject
* obj1
= 0 ;
17171 PyObject
* obj2
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "self",(char *) "colour",(char *) "style", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17181 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17183 arg3
= (int) SWIG_AsInt(obj2
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17199 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
;
17201 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17202 wxBrush
*arg2
= (wxBrush
*) 0 ;
17203 PyObject
* obj0
= 0 ;
17204 PyObject
* obj1
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self",(char *) "brush", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17216 (arg1
)->RemoveBrush(arg2
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 Py_INCREF(Py_None
); resultobj
= Py_None
;
17228 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17232 PyObject
* obj0
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "self", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 result
= (int)(arg1
)->GetCount();
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 resultobj
= SWIG_FromInt((int)result
);
17254 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17257 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17259 return Py_BuildValue((char *)"");
17261 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17263 wxColourDatabase
*result
;
17264 char *kwnames
[] = {
17268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (wxColourDatabase
*)new wxColourDatabase();
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17283 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 Py_INCREF(Py_None
); resultobj
= Py_None
;
17308 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17311 wxString
*arg2
= 0 ;
17313 bool temp2
= False
;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self",(char *) "name", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17324 arg2
= wxString_in_helper(obj1
);
17325 if (arg2
== NULL
) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 wxColour
* resultptr
;
17337 resultptr
= new wxColour((wxColour
&) result
);
17338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17354 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17357 wxColour
*arg2
= 0 ;
17360 PyObject
* obj0
= 0 ;
17361 PyObject
* obj1
= 0 ;
17362 char *kwnames
[] = {
17363 (char *) "self",(char *) "colour", NULL
17366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17371 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17393 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
;
17395 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17396 wxString
*arg2
= 0 ;
17397 wxColour
*arg3
= 0 ;
17398 bool temp2
= False
;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 PyObject
* obj2
= 0 ;
17403 char *kwnames
[] = {
17404 (char *) "self",(char *) "name",(char *) "colour", NULL
17407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17411 arg2
= wxString_in_helper(obj1
);
17412 if (arg2
== NULL
) SWIG_fail
;
17417 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17426 Py_INCREF(Py_None
); resultobj
= Py_None
;
17441 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
;
17443 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17444 wxString
*arg2
= 0 ;
17448 bool temp2
= False
;
17449 PyObject
* obj0
= 0 ;
17450 PyObject
* obj1
= 0 ;
17451 PyObject
* obj2
= 0 ;
17452 PyObject
* obj3
= 0 ;
17453 PyObject
* obj4
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17462 arg2
= wxString_in_helper(obj1
);
17463 if (arg2
== NULL
) SWIG_fail
;
17466 arg3
= (int) SWIG_AsInt(obj2
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17468 arg4
= (int) SWIG_AsInt(obj3
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17470 arg5
= (int) SWIG_AsInt(obj4
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 Py_INCREF(Py_None
); resultobj
= Py_None
;
17494 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
17496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17497 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17499 return Py_BuildValue((char *)"");
17501 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 wxFontList
*arg1
= (wxFontList
*) 0 ;
17504 wxFont
*arg2
= (wxFont
*) 0 ;
17505 PyObject
* obj0
= 0 ;
17506 PyObject
* obj1
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "self",(char *) "font", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 (arg1
)->AddFont(arg2
);
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 Py_INCREF(Py_None
); resultobj
= Py_None
;
17530 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 wxFontList
*arg1
= (wxFontList
*) 0 ;
17537 bool arg6
= (bool) False
;
17538 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17539 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17540 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17542 bool temp7
= False
;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 PyObject
* obj2
= 0 ;
17546 PyObject
* obj3
= 0 ;
17547 PyObject
* obj4
= 0 ;
17548 PyObject
* obj5
= 0 ;
17549 PyObject
* obj6
= 0 ;
17550 PyObject
* obj7
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17558 arg2
= (int) SWIG_AsInt(obj1
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17560 arg3
= (int) SWIG_AsInt(obj2
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17562 arg4
= (int) SWIG_AsInt(obj3
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17564 arg5
= (int) SWIG_AsInt(obj4
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 arg6
= (bool) SWIG_AsBool(obj5
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17572 arg7
= wxString_in_helper(obj6
);
17573 if (arg7
== NULL
) SWIG_fail
;
17578 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17603 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxFontList
*arg1
= (wxFontList
*) 0 ;
17606 wxFont
*arg2
= (wxFont
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 PyObject
* obj1
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self",(char *) "font", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 (arg1
)->RemoveFont(arg2
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 Py_INCREF(Py_None
); resultobj
= Py_None
;
17632 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxFontList
*arg1
= (wxFontList
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "self", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 result
= (int)(arg1
)->GetCount();
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 resultobj
= SWIG_FromInt((int)result
);
17658 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
17660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17661 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17663 return Py_BuildValue((char *)"");
17665 static int _wrap_TheFontList_set(PyObject
*) {
17666 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17671 static PyObject
*_wrap_TheFontList_get() {
17674 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17679 static int _wrap_ThePenList_set(PyObject
*) {
17680 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17685 static PyObject
*_wrap_ThePenList_get() {
17688 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17693 static int _wrap_TheBrushList_set(PyObject
*) {
17694 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17699 static PyObject
*_wrap_TheBrushList_get() {
17702 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17707 static int _wrap_TheColourDatabase_set(PyObject
*) {
17708 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17713 static PyObject
*_wrap_TheColourDatabase_get() {
17716 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17721 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17724 char *kwnames
[] = {
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 result
= (wxEffects
*)new wxEffects();
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17743 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
;
17745 wxEffects
*arg1
= (wxEffects
*) 0 ;
17747 PyObject
* obj0
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "self", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17763 wxColour
* resultptr
;
17764 resultptr
= new wxColour((wxColour
&) result
);
17765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17773 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
;
17775 wxEffects
*arg1
= (wxEffects
*) 0 ;
17777 PyObject
* obj0
= 0 ;
17778 char *kwnames
[] = {
17779 (char *) "self", NULL
17782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17793 wxColour
* resultptr
;
17794 resultptr
= new wxColour((wxColour
&) result
);
17795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17803 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxEffects
*arg1
= (wxEffects
*) 0 ;
17807 PyObject
* obj0
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17823 wxColour
* resultptr
;
17824 resultptr
= new wxColour((wxColour
&) result
);
17825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17833 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxEffects
*arg1
= (wxEffects
*) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17847 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17853 wxColour
* resultptr
;
17854 resultptr
= new wxColour((wxColour
&) result
);
17855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17863 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
;
17865 wxEffects
*arg1
= (wxEffects
*) 0 ;
17867 PyObject
* obj0
= 0 ;
17868 char *kwnames
[] = {
17869 (char *) "self", NULL
17872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17879 wxPyEndAllowThreads(__tstate
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17883 wxColour
* resultptr
;
17884 resultptr
= new wxColour((wxColour
&) result
);
17885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17893 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxEffects
*arg1
= (wxEffects
*) 0 ;
17896 wxColour
*arg2
= 0 ;
17898 PyObject
* obj0
= 0 ;
17899 PyObject
* obj1
= 0 ;
17900 char *kwnames
[] = {
17901 (char *) "self",(char *) "c", NULL
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 Py_INCREF(Py_None
); resultobj
= Py_None
;
17925 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxEffects
*arg1
= (wxEffects
*) 0 ;
17928 wxColour
*arg2
= 0 ;
17930 PyObject
* obj0
= 0 ;
17931 PyObject
* obj1
= 0 ;
17932 char *kwnames
[] = {
17933 (char *) "self",(char *) "c", NULL
17936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17941 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17950 Py_INCREF(Py_None
); resultobj
= Py_None
;
17957 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
;
17959 wxEffects
*arg1
= (wxEffects
*) 0 ;
17960 wxColour
*arg2
= 0 ;
17962 PyObject
* obj0
= 0 ;
17963 PyObject
* obj1
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self",(char *) "c", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17973 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 Py_INCREF(Py_None
); resultobj
= Py_None
;
17989 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
;
17991 wxEffects
*arg1
= (wxEffects
*) 0 ;
17992 wxColour
*arg2
= 0 ;
17994 PyObject
* obj0
= 0 ;
17995 PyObject
* obj1
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self",(char *) "c", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 Py_INCREF(Py_None
); resultobj
= Py_None
;
18021 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxEffects
*arg1
= (wxEffects
*) 0 ;
18024 wxColour
*arg2
= 0 ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self",(char *) "c", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18037 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 Py_INCREF(Py_None
); resultobj
= Py_None
;
18053 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 wxEffects
*arg1
= (wxEffects
*) 0 ;
18056 wxColour
*arg2
= 0 ;
18057 wxColour
*arg3
= 0 ;
18058 wxColour
*arg4
= 0 ;
18059 wxColour
*arg5
= 0 ;
18060 wxColour
*arg6
= 0 ;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18068 PyObject
* obj2
= 0 ;
18069 PyObject
* obj3
= 0 ;
18070 PyObject
* obj4
= 0 ;
18071 PyObject
* obj5
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18081 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18085 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18089 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18093 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18097 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 Py_INCREF(Py_None
); resultobj
= Py_None
;
18113 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxEffects
*arg1
= (wxEffects
*) 0 ;
18118 int arg4
= (int) 1 ;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 PyObject
* obj2
= 0 ;
18123 PyObject
* obj3
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18134 if (arg2
== NULL
) {
18135 PyErr_SetString(PyExc_TypeError
,"null reference");
18140 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18143 arg4
= (int) SWIG_AsInt(obj3
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 Py_INCREF(Py_None
); resultobj
= Py_None
;
18160 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxEffects
*arg1
= (wxEffects
*) 0 ;
18165 wxBitmap
*arg4
= 0 ;
18168 PyObject
* obj0
= 0 ;
18169 PyObject
* obj1
= 0 ;
18170 PyObject
* obj2
= 0 ;
18171 PyObject
* obj3
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18181 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18183 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18186 if (arg3
== NULL
) {
18187 PyErr_SetString(PyExc_TypeError
,"null reference");
18190 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18193 if (arg4
== NULL
) {
18194 PyErr_SetString(PyExc_TypeError
,"null reference");
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18213 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18216 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18218 return Py_BuildValue((char *)"");
18220 static PyMethodDef SwigMethods
[] = {
18221 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18222 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18223 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18224 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18225 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18226 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18227 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18228 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18229 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18230 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18231 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18232 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18233 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18234 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18235 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18236 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18237 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18238 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18239 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18240 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18241 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18242 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18243 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18244 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18245 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18246 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18247 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18248 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18249 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18250 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18251 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18252 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18253 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18254 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18255 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18256 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18257 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18258 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18259 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18260 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18261 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18262 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18263 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18264 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18265 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18266 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18267 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18268 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18269 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18270 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18271 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
, NULL
},
18272 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18273 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18274 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18275 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18276 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18277 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18278 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18279 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18280 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18281 { (char *)"Brush_GetMacTheme", (PyCFunction
) _wrap_Brush_GetMacTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18282 { (char *)"Brush_SetMacTheme", (PyCFunction
) _wrap_Brush_SetMacTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18283 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18284 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18285 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18286 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18287 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18288 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18289 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18290 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18291 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18292 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18293 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18294 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18295 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18296 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18297 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18298 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18299 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18300 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18301 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18302 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18303 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18304 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18305 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18306 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18307 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18308 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18309 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18310 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18311 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18312 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18313 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18314 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18315 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18316 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18317 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18318 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18319 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18320 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18321 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18322 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18323 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18324 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18325 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18326 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18327 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18328 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18329 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18330 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18331 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18332 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18333 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18334 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18335 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18336 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18337 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18338 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18339 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18340 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18341 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18342 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18343 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18344 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18345 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18346 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18347 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18348 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18349 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18350 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18351 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18352 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18353 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18354 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18355 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18356 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18357 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18358 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18359 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18360 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18361 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18362 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18363 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18364 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18365 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18366 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18367 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18368 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18369 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18370 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18371 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18372 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18373 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18374 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18375 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18376 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18377 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18378 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18379 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18380 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18381 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18382 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18383 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18384 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18385 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18386 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18387 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18388 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18389 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18390 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18391 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18392 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18393 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18394 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18395 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18396 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18397 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18398 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18399 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18400 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18401 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18402 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18403 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18404 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18405 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18406 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18407 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18408 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18409 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18410 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18411 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18412 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18413 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18414 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18415 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18416 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18417 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18418 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18419 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18420 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18421 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18422 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18423 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18424 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18425 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18426 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18427 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18428 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18429 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18430 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18431 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18432 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18433 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18434 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18435 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18436 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18437 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18438 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18439 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18440 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18441 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18442 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18443 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18444 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18445 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18446 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18447 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18448 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18449 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18450 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18451 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18452 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18453 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18454 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18455 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18456 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18457 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18458 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18459 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18460 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18461 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18462 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18463 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18464 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18465 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18466 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18467 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18468 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18469 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18470 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18471 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18472 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18473 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18474 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18475 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18476 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
18477 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18478 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18479 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18480 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18481 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18482 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18483 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18484 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
18485 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18486 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18487 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18488 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18489 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18490 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18491 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
18492 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18493 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18494 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18495 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18496 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18497 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18498 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18499 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18500 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18501 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18502 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18503 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18504 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18505 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18506 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18507 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18508 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18509 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18510 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18511 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18512 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18513 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
18514 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18515 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
18516 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18517 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18518 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18519 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18520 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18521 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18522 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18523 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
18524 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18525 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18526 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18527 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18528 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18529 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18530 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18531 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18532 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18533 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18534 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18535 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18536 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18537 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18538 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18539 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18540 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18541 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18542 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18543 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18544 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18545 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18546 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18547 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18548 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18549 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18550 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18551 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18552 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18553 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18554 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18555 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18556 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18557 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18558 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18559 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18560 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18561 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18562 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18563 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18564 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18565 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18566 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18567 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18568 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18569 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18570 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18571 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18572 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18573 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18574 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18575 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18576 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18577 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18578 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18579 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18580 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18581 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18582 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18583 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18584 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18585 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18586 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18587 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18588 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18589 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18590 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18591 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18592 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18593 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18594 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18595 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18596 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18597 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18598 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18599 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18600 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18601 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18602 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18603 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18604 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18605 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18606 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18607 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18608 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18609 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18610 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18611 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18612 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18613 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18614 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18615 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18616 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18617 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18618 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18619 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18620 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18621 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18622 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18623 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18624 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18625 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18626 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18627 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18628 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18629 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18630 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18631 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18632 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18633 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18634 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18635 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18636 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18637 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18638 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18639 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18640 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18641 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18642 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18643 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18644 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18645 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18646 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18647 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18648 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18649 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
18650 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18651 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18652 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18653 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
18654 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
18655 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
, NULL
},
18656 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18657 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18658 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
18659 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18660 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
18661 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18662 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18663 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18664 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18665 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
18666 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18667 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
18668 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18669 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
18670 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18671 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
18672 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18673 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
18674 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18675 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18676 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18677 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18678 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18679 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
18680 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18681 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18682 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18683 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18684 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18685 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18686 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18687 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
18688 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18689 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18690 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
18691 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18692 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
18693 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18694 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18695 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18696 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18697 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18698 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18699 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18700 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18701 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18702 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18703 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18704 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
18705 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18706 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18707 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18708 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18709 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
18710 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18711 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18712 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18713 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18714 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
18715 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18716 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18717 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18718 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18719 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18720 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18721 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
18722 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18723 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18724 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18725 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18726 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
18727 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18728 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18729 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18730 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18731 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18732 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18733 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18734 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18735 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18736 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18737 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18738 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18739 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18740 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18741 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
18742 { NULL
, NULL
, 0, NULL
}
18746 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18748 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18749 return (void *)((wxWindow
*) ((wxControl
*) x
));
18751 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18752 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18754 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18755 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18757 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18758 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18760 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18761 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18763 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18764 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18766 static void *_p_wxPenTo_p_wxObject(void *x
) {
18767 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18769 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18770 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18772 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18773 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18775 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18776 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18778 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18779 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18781 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18782 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18784 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18785 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18787 static void *_p_wxIconTo_p_wxObject(void *x
) {
18788 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18790 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18791 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18793 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18794 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18796 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18797 return (void *)((wxObject
*) ((wxSizer
*) x
));
18799 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18800 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18802 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18805 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18806 return (void *)((wxObject
*) ((wxPenList
*) x
));
18808 static void *_p_wxEventTo_p_wxObject(void *x
) {
18809 return (void *)((wxObject
*) ((wxEvent
*) x
));
18811 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18812 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18814 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18815 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18817 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18818 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18820 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18821 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18823 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18824 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18826 static void *_p_wxDCTo_p_wxObject(void *x
) {
18827 return (void *)((wxObject
*) ((wxDC
*) x
));
18829 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18830 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18832 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18833 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18835 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18836 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18838 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18839 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18841 static void *_p_wxControlTo_p_wxObject(void *x
) {
18842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18844 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18845 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18847 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18848 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18850 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18851 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18853 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18854 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18856 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18857 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18859 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18860 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18862 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18863 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18865 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18866 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18868 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18869 return (void *)((wxObject
*) ((wxEffects
*) x
));
18871 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18872 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18874 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18875 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18877 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18878 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18880 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18881 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18883 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18884 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18886 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18887 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18889 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18892 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18893 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18895 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18896 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18898 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18899 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18901 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18902 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18904 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18905 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18907 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18908 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18910 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18911 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18913 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18914 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18916 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18917 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18919 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18920 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18922 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18923 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18925 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18928 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18929 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18931 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18932 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18934 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18935 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18937 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18938 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18940 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18941 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18943 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18944 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18946 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18947 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18949 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18950 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18952 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18953 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18955 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18958 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18961 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18964 static void *_p_wxImageTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) ((wxImage
*) x
));
18967 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18970 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18973 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18976 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) ((wxImageList
*) x
));
18979 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18982 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18985 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18988 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18991 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18994 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18997 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19000 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19003 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19006 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19007 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19009 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19010 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19012 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
19013 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
19015 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19016 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19018 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19019 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19021 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19022 return (void *)((wxObject
*) ((wxMask
*) x
));
19024 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19025 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19027 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19030 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19031 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19033 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19034 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19036 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19037 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19039 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19040 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19042 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19043 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19045 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19046 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19048 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19049 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19051 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19052 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19054 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19055 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19057 static void *_p_wxFontTo_p_wxObject(void *x
) {
19058 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19060 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19061 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19063 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19064 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19066 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19069 static void *_p_wxColourTo_p_wxObject(void *x
) {
19070 return (void *)((wxObject
*) ((wxColour
*) x
));
19072 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19073 return (void *)((wxObject
*) ((wxFontList
*) x
));
19075 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19078 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19079 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19081 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19082 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19084 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19085 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19087 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19088 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19090 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19091 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19093 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19094 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19096 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19097 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19099 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19100 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19102 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19103 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19105 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19106 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19108 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19109 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19111 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19112 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19114 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19115 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19117 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
19118 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
19120 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19121 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19123 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19124 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19126 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19127 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19129 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19130 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19132 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19133 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19135 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19136 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19138 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19139 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19141 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19142 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19144 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
19145 return (void *)((wxPen
*) ((wxPyPen
*) x
));
19147 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}};
19148 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}};
19149 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}};
19150 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}};
19151 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}};
19152 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}};
19153 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}};
19154 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}};
19155 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}};
19156 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}};
19157 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}};
19158 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}};
19159 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}};
19160 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}};
19161 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}};
19162 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}};
19163 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}};
19164 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}};
19165 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}};
19166 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}};
19167 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}};
19168 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}};
19169 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}};
19170 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}};
19171 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}};
19172 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}};
19173 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}};
19174 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}};
19175 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}};
19176 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}};
19177 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}};
19178 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}};
19179 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}};
19180 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}};
19181 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}};
19182 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}};
19183 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}};
19184 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}};
19185 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}};
19186 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}};
19187 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}};
19188 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}};
19189 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}};
19190 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}};
19191 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}};
19192 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}};
19193 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}};
19194 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}};
19195 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}};
19196 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}};
19197 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}};
19198 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}};
19199 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}};
19200 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}};
19201 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}};
19202 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}};
19204 static swig_type_info
*swig_types_initial
[] = {
19205 _swigt__p_wxPostScriptDC
,
19207 _swigt__p_wxColour
,
19209 _swigt__p_wxMirrorDC
,
19211 _swigt__p_wxPyFontEnumerator
,
19213 _swigt__p_wxIconLocation
,
19215 _swigt__p_wxMetaFileDC
,
19218 _swigt__p_wxWindow
,
19221 _swigt__p_wxMemoryDC
,
19222 _swigt__p_wxFontMapper
,
19223 _swigt__p_wxEffects
,
19224 _swigt__p_wxNativeEncodingInfo
,
19225 _swigt__p_wxPalette
,
19226 _swigt__p_wxBitmap
,
19227 _swigt__p_wxObject
,
19228 _swigt__p_wxRegionIterator
,
19230 _swigt__p_wxString
,
19231 _swigt__p_wxPrinterDC
,
19232 _swigt__p_wxIconBundle
,
19235 _swigt__p_wxScreenDC
,
19236 _swigt__p_wxCursor
,
19237 _swigt__p_wxClientDC
,
19238 _swigt__p_wxBufferedDC
,
19239 _swigt__p_wxImageList
,
19240 _swigt__p_unsigned_char
,
19241 _swigt__p_wxGDIObject
,
19243 _swigt__p_wxLocale
,
19244 _swigt__p_wxRegion
,
19245 _swigt__p_wxLanguageInfo
,
19246 _swigt__p_wxConfigBase
,
19247 _swigt__p_wxWindowDC
,
19248 _swigt__p_wxPrintData
,
19249 _swigt__p_wxBrushList
,
19250 _swigt__p_wxFontList
,
19252 _swigt__p_wxBufferedPaintDC
,
19253 _swigt__p_wxPaintDC
,
19254 _swigt__p_wxPenList
,
19257 _swigt__p_wxMetaFile
,
19258 _swigt__p_wxNativeFontInfo
,
19259 _swigt__p_wxEncodingConverter
,
19260 _swigt__p_wxColourDatabase
,
19265 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19267 static swig_const_info swig_const_table
[] = {
19268 {0, 0, 0, 0.0, 0, 0}};
19277 SWIGEXPORT(void) SWIG_init(void) {
19278 static PyObject
*SWIG_globals
= 0;
19279 static int typeinit
= 0;
19282 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19283 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19284 d
= PyModule_GetDict(m
);
19287 for (i
= 0; swig_types_initial
[i
]; i
++) {
19288 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19292 SWIG_InstallConstants(d
,swig_const_table
);
19294 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19295 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19296 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19297 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19298 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19299 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19300 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19301 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19302 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19303 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19304 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19305 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19306 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19307 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19308 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19309 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19310 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19311 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19312 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19313 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19314 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19315 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19316 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19317 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19318 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19319 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19320 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19321 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19322 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19323 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19324 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19325 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19326 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19327 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19328 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19329 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19330 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19331 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19332 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19333 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19334 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19335 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19336 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19337 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19338 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19339 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19340 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19341 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19342 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19343 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19344 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19345 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19346 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19347 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19348 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19349 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19350 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19351 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19352 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19353 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19354 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19355 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19356 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19357 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19358 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19359 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19360 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19361 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19362 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19363 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19364 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19365 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19366 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19367 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19368 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19369 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19370 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19371 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19372 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19373 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19374 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19375 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19376 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19377 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19378 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19379 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19380 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19381 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19382 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19383 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19384 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19385 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19386 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19387 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19388 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19389 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19390 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19391 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19392 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19393 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19394 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19395 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19396 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19397 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19398 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19399 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19400 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19401 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19402 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19403 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19404 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19405 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19406 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19407 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19408 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19409 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19410 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19411 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19412 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19413 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19414 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19415 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19416 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19417 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19418 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19419 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19421 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19423 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19424 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19425 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19426 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19427 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19428 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19429 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19430 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19431 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19432 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19433 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19434 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19435 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19436 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19437 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19438 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19439 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19440 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19441 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19442 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19443 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19444 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19445 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19446 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19447 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19448 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19449 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19450 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19451 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19452 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19453 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19454 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19455 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19456 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19457 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19458 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19459 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19460 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19461 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19462 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19463 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19464 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19465 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19466 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19467 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19468 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19469 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19470 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19471 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19472 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19473 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19474 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19475 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19476 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19477 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19478 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19479 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19480 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19481 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19482 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19483 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19484 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19485 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19486 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19487 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19488 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19489 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19490 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19491 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19492 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19493 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19494 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19495 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19496 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19497 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19498 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19499 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19500 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19501 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19502 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19503 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19504 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19505 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19506 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19507 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19508 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19509 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19510 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19511 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19512 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19513 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19514 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19515 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19516 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19517 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19518 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19519 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19520 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19521 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19522 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19523 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19524 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19525 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19526 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19527 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19528 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19529 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19530 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19531 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19532 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19533 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19534 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19535 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19536 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19537 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19538 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19539 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19540 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19541 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19542 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19543 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19544 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19545 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19546 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19547 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19548 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19549 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19550 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19551 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19552 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19553 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19554 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19555 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19556 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19557 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19558 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19559 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19560 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19561 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19562 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19563 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19564 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19565 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19566 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19567 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19568 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19569 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19570 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19571 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19572 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19573 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19574 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19575 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19576 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19577 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19578 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19579 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19580 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19581 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19582 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19583 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19584 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19585 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19586 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19587 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19588 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19589 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19590 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19591 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19592 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19593 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19594 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19595 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19596 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19597 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19598 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19599 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19600 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19601 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19602 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19603 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19604 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19605 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19606 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19607 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19608 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19609 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19610 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19611 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19612 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19613 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19614 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19615 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19616 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19617 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19618 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19619 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19620 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19621 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19622 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19623 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19624 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19625 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19626 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19627 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19628 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19629 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19630 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19631 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19632 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19633 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19634 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19635 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19636 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19637 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19638 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19639 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19640 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19641 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19642 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19643 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19644 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19645 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19646 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19647 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19648 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19649 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19650 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19651 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19652 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19653 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19654 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19655 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19656 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19657 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19658 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19659 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19660 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19661 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19662 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19663 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19664 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19665 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19666 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19667 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19668 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19669 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19670 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19671 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19672 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19673 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19674 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19675 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19676 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19677 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19678 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19679 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19680 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19681 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19682 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19683 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19684 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19685 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19686 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19687 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19688 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19689 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19690 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19691 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19692 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19693 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19694 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19695 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19696 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19697 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19698 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19699 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19700 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19701 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19702 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19703 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19704 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19705 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19706 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19707 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19708 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19709 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19710 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19711 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19712 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19713 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19714 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19715 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19716 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19717 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19718 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19719 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19720 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19721 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19722 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19724 // Work around a chicken/egg problem in drawlist.cpp
19725 wxPyDrawList_SetAPIPtr();