1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxSize swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxWindow swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxConfigBase swig_types[40]
250 #define SWIGTYPE_p_wxLanguageInfo swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_wxPyPen swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxMetaFile swig_types[52]
262 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
263 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
264 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
265 static swig_type_info
*swig_types
[57];
267 /* -------- TYPES TABLE (END) -------- */
270 /*-----------------------------------------------
272 ------------------------------------------------*/
273 #define SWIG_init init_gdi_
275 #define SWIG_name "_gdi_"
277 /* Auxiliar swig macros */
280 #define SWIGSTATICINLINE(a) static inline a
281 #define SWIGSTATIC(a) static a
282 #define swig_new_array(type, size) (new type[(size)])
283 #define swig_delete_array(cptr) delete[] cptr
284 #define swig_const_cast(type,a) const_cast<type>(a)
285 #define swig_static_cast(type,a) static_cast<type>(a)
286 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
288 #ifdef HAVE_NUMERIC_CAST
289 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
291 #define swig_numeric_cast(type,a) static_cast<type>(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
299 #define swig_delete_array(cptr) free((char*)cptr)
300 #define swig_const_cast(type,a) (type)(a)
301 #define swig_static_cast(type,a) (type)(a)
302 #define swig_reinterpret_cast(type,a) (type)(a)
303 #define swig_numeric_cast(type,a) (type)(a)
305 #endif /* __cplusplus */
308 #define SWIG_FromSignedChar PyInt_FromLong
309 #define SWIG_FromUnsignedChar PyInt_FromLong
310 #define SWIG_FromShort PyInt_FromLong
311 #define SWIG_FromUnsignedShort PyInt_FromLong
312 #define SWIG_FromInt PyInt_FromLong
313 #define SWIG_FromLong PyInt_FromLong
314 #define SWIG_FromFloat PyFloat_FromDouble
315 #define SWIG_FromDouble PyFloat_FromDouble
316 #define SWIG_FromFloat PyFloat_FromDouble
317 #define SWIG_FromDouble PyFloat_FromDouble
320 #include "wx/wxPython/wxPython.h"
321 #include "wx/wxPython/pyclasses.h"
324 static const wxString
wxPyEmptyString(wxEmptyString
);
326 SWIGSTATICINLINE(bool)
327 SWIG_AsBool(PyObject
*obj
)
329 return PyObject_IsTrue(obj
) ? true : false;
333 SWIGSTATICINLINE(int)
334 SWIG_CheckBool(PyObject
* obj
)
337 if (PyErr_Occurred()) {
349 SWIGSTATICINLINE(unsigned long)
350 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
351 unsigned long max_value
)
353 if (!PyErr_Occurred()) {
354 if (value
> max_value
) {
356 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
357 value
, type
, max_value
);
358 PyErr_SetObject(PyExc_OverflowError
, err
);
366 SWIGSTATICINLINE(long)
367 SWIG_AsLong(PyObject
* obj
)
369 if (PyNumber_Check(obj
))
370 return PyInt_AsLong(obj
);
372 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
373 obj
->ob_type
->tp_name
);
374 PyErr_SetObject(PyExc_TypeError
, errmsg
);
381 SWIGSTATICINLINE(unsigned long)
382 SWIG_AsUnsignedLong(PyObject
* obj
)
384 if (PyLong_Check(obj
)) {
385 return PyLong_AsUnsignedLong(obj
);
387 long i
= SWIG_AsLong(obj
);
388 if ( !PyErr_Occurred() && (i
< 0)) {
389 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
396 SWIGSTATICINLINE(unsigned char)
397 SWIG_AsUnsignedChar(PyObject
*obj
)
399 return swig_numeric_cast(unsigned char,
400 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
401 "unsigned char", UCHAR_MAX
));
405 SWIGSTATICINLINE(int)
406 SWIG_CheckUnsignedChar(PyObject
* obj
)
408 SWIG_AsUnsignedChar(obj
);
409 if (PyErr_Occurred()) {
418 SWIGSTATICINLINE(int)
419 SWIG_CheckUnsignedLong(PyObject
* obj
)
421 SWIG_AsUnsignedLong(obj
);
422 if (PyErr_Occurred()) {
430 PyObject
*wxColour_Get(wxColour
*self
){
431 PyObject
* rv
= PyTuple_New(3);
437 green
= self
->Green();
440 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
441 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
442 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
445 unsigned long wxColour_GetRGB(wxColour
*self
){
446 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
449 SWIGSTATICINLINE(PyObject
* )
450 SWIG_FromUnsignedLong(unsigned long value
)
452 return (value
> LONG_MAX
) ?
453 PyLong_FromUnsignedLong(value
)
454 : PyInt_FromLong(swig_numeric_cast(long,value
));
458 SWIGSTATICINLINE(long)
459 SWIG_CheckLongInRange(long value
, const char* type
,
460 long min_value
, long max_value
)
462 if (!PyErr_Occurred()) {
463 if (value
< min_value
) {
465 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
466 value
, type
, min_value
);
468 PyErr_SetObject(PyExc_OverflowError
, err
);
470 } else if (value
> max_value
) {
472 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
473 value
, type
, max_value
);
474 PyErr_SetObject(PyExc_OverflowError
, err
);
482 #if INT_MAX != LONG_MAX
483 SWIGSTATICINLINE(int)
484 SWIG_AsInt(PyObject
*obj
)
486 return swig_numeric_cast(int,
487 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
488 "int", INT_MIN
, INT_MAX
));
491 #define SWIG_AsInt SWIG_AsLong
495 SWIGSTATICINLINE(int)
496 SWIG_CheckInt(PyObject
* obj
)
499 if (PyErr_Occurred()) {
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
534 PyObject
*wxPen_GetDashes(wxPen
*self
){
536 int count
= self
->GetDashes(&dashes
);
537 bool blocked
= wxPyBeginBlockThreads();
538 PyObject
* retval
= PyList_New(0);
539 for (int x
=0; x
<count
; x
++)
540 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
541 wxPyEndBlockThreads(blocked
);
544 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
545 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
553 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
557 m_dash
= new wxDash
[nb_dashes
];
558 for (int i
=0; i
<nb_dashes
; i
++) {
561 wxPen::SetDashes(nb_dashes
, m_dash
);
565 SWIGSTATICINLINE(short)
566 SWIG_AsShort(PyObject
*obj
)
568 return swig_numeric_cast(short,
569 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
570 "short", SHRT_MIN
, SHRT_MAX
));
574 SWIGSTATICINLINE(int)
575 SWIG_CheckShort(PyObject
* obj
)
578 if (PyErr_Occurred()) {
587 #include <wx/image.h>
589 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
590 char** cArray
= NULL
;
593 if (!PyList_Check(listOfStrings
)) {
594 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
597 count
= PyList_Size(listOfStrings
);
598 cArray
= new char*[count
];
600 for(int x
=0; x
<count
; x
++) {
601 // TODO: Need some validation and error checking here
602 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
608 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
609 char** cArray
= NULL
;
612 cArray
= ConvertListOfStrings(listOfStrings
);
615 bmp
= new wxBitmap(cArray
);
619 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
622 PyString_AsStringAndSize(bits
, &buf
, &length
);
623 return new wxBitmap(buf
, width
, height
, depth
);
625 wxBitmap
*new_wxBitmap__SWIG_0(int width
,int height
,int depth
){
626 return new wxBitmap(width
, height
, depth
);
628 wxBitmap
*new_wxBitmap__SWIG_1(wxSize
const &size
,int depth
){
629 return new wxBitmap(size
.x
, size
.y
, depth
);
631 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
632 wxSize
size(self
->GetWidth(), self
->GetHeight());
635 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
636 wxMask
*mask
= new wxMask(*self
, colour
);
639 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
640 self
->SetWidth(size
.x
);
641 self
->SetHeight(size
.y
);
643 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
644 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
645 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
647 return new wxMask(bitmap
, *wxBLACK
);
649 return new wxMask(bitmap
, colour
);
652 #include <wx/iconbndl.h>
654 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
655 wxIcon
* icon
= new wxIcon();
656 icon
->CopyFromBitmap(bmp
);
659 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
660 char** cArray
= NULL
;
663 cArray
= ConvertListOfStrings(listOfStrings
);
666 icon
= new wxIcon(cArray
);
670 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
674 return new wxIconLocation(*filename
);
677 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
684 int wxIconLocation_GetIndex(wxIconLocation
*self
){
692 SWIGSTATICINLINE(int)
693 SWIG_CheckLong(PyObject
* obj
)
696 if (PyErr_Occurred()) {
704 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
706 wxCHECK_MSG(False
, NULL
,
707 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
709 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
714 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
715 wxPyRaiseNotImplemented();
718 void wxRegionIterator_Next(wxRegionIterator
*self
){
721 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
722 return self
->operator bool();
725 #include <wx/fontutil.h>
726 #include <wx/fontmap.h>
727 #include <wx/fontenum.h>
729 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
730 return self
->ToString();
733 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
734 static wxNativeEncodingInfo info
;
735 if ( wxGetNativeFontEncoding(encoding
, &info
) )
741 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
742 wxFontEncoding alt_enc
;
743 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
744 return PyInt_FromLong(alt_enc
);
750 wxFont
*new_wxFont(wxString
const &info
){
751 wxNativeFontInfo nfi
;
752 nfi
.FromString(info
);
753 return new wxFont(nfi
);
755 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
756 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
758 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
759 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
761 class wxPyFontEnumerator
: public wxFontEnumerator
{
763 wxPyFontEnumerator() {}
764 ~wxPyFontEnumerator() {}
766 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
767 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
772 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
773 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
776 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
777 wxArrayString
* arr
= self
->GetEncodings();
778 return wxArrayString2PyList_helper(*arr
);
780 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
781 wxArrayString
* arr
= self
->GetFacenames();
782 return wxArrayString2PyList_helper(*arr
);
787 #include "wx/wxPython/pydrawxxx.h"
789 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
791 self
->GetPixel(x
, y
, &col
);
794 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
796 self
->GetPixel(pt
, &col
);
800 SWIGSTATICINLINE(double)
801 SWIG_AsDouble(PyObject
*obj
)
803 if (PyNumber_Check(obj
))
804 return PyFloat_AsDouble(obj
);
806 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
807 obj
->ob_type
->tp_name
);
808 PyErr_SetObject(PyExc_TypeError
, errmsg
);
815 SWIGSTATICINLINE(int)
816 SWIG_CheckDouble(PyObject
* obj
)
819 if (PyErr_Occurred()) {
827 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
829 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
832 wxRect
wxDC_GetClippingRect(wxDC
*self
){
834 self
->GetClippingBox(rect
);
837 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
839 self
->GetPartialTextExtents(text
, widths
);
842 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
843 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
845 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
846 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
848 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
849 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
851 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
852 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
854 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
855 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
857 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
858 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
861 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
869 #include <wx/dcbuffer.h>
875 #include <wx/metafile.h>
879 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
880 self
->AddColour(name
, wxColour(red
, green
, blue
));
883 #include <wx/effects.h>
888 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
898 result
= (wxGDIObject
*)new wxGDIObject();
900 wxPyEndAllowThreads(__tstate
);
901 if (PyErr_Occurred()) SWIG_fail
;
903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
910 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
913 PyObject
* obj0
= 0 ;
915 (char *) "self", NULL
918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) SWIG_fail
;
928 Py_INCREF(Py_None
); resultobj
= Py_None
;
935 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
939 PyObject
* obj0
= 0 ;
941 (char *) "self", NULL
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 result
= (bool)(arg1
)->GetVisible();
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) SWIG_fail
;
955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
963 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
965 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
967 PyObject
* obj0
= 0 ;
968 PyObject
* obj1
= 0 ;
970 (char *) "self",(char *) "visible", NULL
973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
976 arg2
= (bool) SWIG_AsBool(obj1
);
977 if (PyErr_Occurred()) SWIG_fail
;
979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
980 (arg1
)->SetVisible(arg2
);
982 wxPyEndAllowThreads(__tstate
);
983 if (PyErr_Occurred()) SWIG_fail
;
985 Py_INCREF(Py_None
); resultobj
= Py_None
;
992 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
994 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
996 PyObject
* obj0
= 0 ;
998 (char *) "self", NULL
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1006 result
= (bool)(arg1
)->IsNull();
1008 wxPyEndAllowThreads(__tstate
);
1009 if (PyErr_Occurred()) SWIG_fail
;
1012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1020 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1023 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1025 return Py_BuildValue((char *)"");
1027 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
*resultobj
;
1029 unsigned char arg1
= (unsigned char) 0 ;
1030 unsigned char arg2
= (unsigned char) 0 ;
1031 unsigned char arg3
= (unsigned char) 0 ;
1033 PyObject
* obj0
= 0 ;
1034 PyObject
* obj1
= 0 ;
1035 PyObject
* obj2
= 0 ;
1037 (char *) "red",(char *) "green",(char *) "blue", NULL
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1042 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1043 if (PyErr_Occurred()) SWIG_fail
;
1046 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1047 if (PyErr_Occurred()) SWIG_fail
;
1050 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1051 if (PyErr_Occurred()) SWIG_fail
;
1054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1055 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) SWIG_fail
;
1060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1067 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
*resultobj
;
1069 wxString
*arg1
= 0 ;
1071 bool temp1
= False
;
1072 PyObject
* obj0
= 0 ;
1074 (char *) "colorName", NULL
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1079 arg1
= wxString_in_helper(obj0
);
1080 if (arg1
== NULL
) SWIG_fail
;
1084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1085 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1087 wxPyEndAllowThreads(__tstate
);
1088 if (PyErr_Occurred()) SWIG_fail
;
1090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1105 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
*resultobj
;
1107 unsigned long arg1
;
1109 PyObject
* obj0
= 0 ;
1111 (char *) "colRGB", NULL
1114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1115 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1116 if (PyErr_Occurred()) SWIG_fail
;
1118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1119 result
= (wxColour
*)new wxColour(arg1
);
1121 wxPyEndAllowThreads(__tstate
);
1122 if (PyErr_Occurred()) SWIG_fail
;
1124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1131 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
*resultobj
;
1133 wxColour
*arg1
= (wxColour
*) 0 ;
1134 PyObject
* obj0
= 0 ;
1136 (char *) "self", NULL
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) SWIG_fail
;
1149 Py_INCREF(Py_None
); resultobj
= Py_None
;
1156 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
*resultobj
;
1158 wxColour
*arg1
= (wxColour
*) 0 ;
1159 unsigned char result
;
1160 PyObject
* obj0
= 0 ;
1162 (char *) "self", NULL
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1170 result
= (unsigned char)(arg1
)->Red();
1172 wxPyEndAllowThreads(__tstate
);
1173 if (PyErr_Occurred()) SWIG_fail
;
1175 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1182 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
*resultobj
;
1184 wxColour
*arg1
= (wxColour
*) 0 ;
1185 unsigned char result
;
1186 PyObject
* obj0
= 0 ;
1188 (char *) "self", NULL
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1196 result
= (unsigned char)(arg1
)->Green();
1198 wxPyEndAllowThreads(__tstate
);
1199 if (PyErr_Occurred()) SWIG_fail
;
1201 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1208 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
*resultobj
;
1210 wxColour
*arg1
= (wxColour
*) 0 ;
1211 unsigned char result
;
1212 PyObject
* obj0
= 0 ;
1214 (char *) "self", NULL
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1222 result
= (unsigned char)(arg1
)->Blue();
1224 wxPyEndAllowThreads(__tstate
);
1225 if (PyErr_Occurred()) SWIG_fail
;
1227 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1234 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
*resultobj
;
1236 wxColour
*arg1
= (wxColour
*) 0 ;
1238 PyObject
* obj0
= 0 ;
1240 (char *) "self", NULL
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 result
= (bool)(arg1
)->Ok();
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) SWIG_fail
;
1254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1262 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
*resultobj
;
1264 wxColour
*arg1
= (wxColour
*) 0 ;
1265 unsigned char arg2
;
1266 unsigned char arg3
;
1267 unsigned char arg4
;
1268 PyObject
* obj0
= 0 ;
1269 PyObject
* obj1
= 0 ;
1270 PyObject
* obj2
= 0 ;
1271 PyObject
* obj3
= 0 ;
1273 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1279 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1280 if (PyErr_Occurred()) SWIG_fail
;
1281 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1282 if (PyErr_Occurred()) SWIG_fail
;
1283 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1284 if (PyErr_Occurred()) SWIG_fail
;
1286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1287 (arg1
)->Set(arg2
,arg3
,arg4
);
1289 wxPyEndAllowThreads(__tstate
);
1290 if (PyErr_Occurred()) SWIG_fail
;
1292 Py_INCREF(Py_None
); resultobj
= Py_None
;
1299 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
*resultobj
;
1301 wxColour
*arg1
= (wxColour
*) 0 ;
1302 unsigned long arg2
;
1303 PyObject
* obj0
= 0 ;
1304 PyObject
* obj1
= 0 ;
1306 (char *) "self",(char *) "colRGB", NULL
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1312 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1313 if (PyErr_Occurred()) SWIG_fail
;
1315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1318 wxPyEndAllowThreads(__tstate
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1321 Py_INCREF(Py_None
); resultobj
= Py_None
;
1328 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
*resultobj
;
1330 wxColour
*arg1
= (wxColour
*) 0 ;
1331 wxString
*arg2
= 0 ;
1332 bool temp2
= False
;
1333 PyObject
* obj0
= 0 ;
1334 PyObject
* obj1
= 0 ;
1336 (char *) "self",(char *) "colourName", NULL
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1343 arg2
= wxString_in_helper(obj1
);
1344 if (arg2
== NULL
) SWIG_fail
;
1348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1349 (arg1
)->InitFromName((wxString
const &)*arg2
);
1351 wxPyEndAllowThreads(__tstate
);
1352 if (PyErr_Occurred()) SWIG_fail
;
1354 Py_INCREF(Py_None
); resultobj
= Py_None
;
1369 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
*resultobj
;
1371 wxColour
*arg1
= (wxColour
*) 0 ;
1373 PyObject
* obj0
= 0 ;
1375 (char *) "self", NULL
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1383 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1385 wxPyEndAllowThreads(__tstate
);
1386 if (PyErr_Occurred()) SWIG_fail
;
1388 resultobj
= SWIG_FromLong((long)result
);
1395 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
*resultobj
;
1397 wxColour
*arg1
= (wxColour
*) 0 ;
1398 wxColour
*arg2
= 0 ;
1401 PyObject
* obj0
= 0 ;
1402 PyObject
* obj1
= 0 ;
1404 (char *) "self",(char *) "colour", NULL
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1412 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1416 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1418 wxPyEndAllowThreads(__tstate
);
1419 if (PyErr_Occurred()) SWIG_fail
;
1422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1430 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
*resultobj
;
1432 wxColour
*arg1
= (wxColour
*) 0 ;
1433 wxColour
*arg2
= 0 ;
1436 PyObject
* obj0
= 0 ;
1437 PyObject
* obj1
= 0 ;
1439 (char *) "self",(char *) "colour", NULL
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) SWIG_fail
;
1457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1465 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1466 PyObject
*resultobj
;
1467 wxColour
*arg1
= (wxColour
*) 0 ;
1469 PyObject
* obj0
= 0 ;
1471 (char *) "self", NULL
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1479 result
= (PyObject
*)wxColour_Get(arg1
);
1481 wxPyEndAllowThreads(__tstate
);
1482 if (PyErr_Occurred()) SWIG_fail
;
1491 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
*resultobj
;
1493 wxColour
*arg1
= (wxColour
*) 0 ;
1494 unsigned long result
;
1495 PyObject
* obj0
= 0 ;
1497 (char *) "self", NULL
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1505 result
= (unsigned long)wxColour_GetRGB(arg1
);
1507 wxPyEndAllowThreads(__tstate
);
1508 if (PyErr_Occurred()) SWIG_fail
;
1510 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1517 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1520 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1522 return Py_BuildValue((char *)"");
1524 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
*resultobj
;
1527 unsigned char *arg2
= (unsigned char *) 0 ;
1528 unsigned char *arg3
= (unsigned char *) 0 ;
1529 unsigned char *arg4
= (unsigned char *) 0 ;
1531 PyObject
* obj0
= 0 ;
1532 PyObject
* obj1
= 0 ;
1533 PyObject
* obj2
= 0 ;
1534 PyObject
* obj3
= 0 ;
1536 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1540 arg1
= (int) SWIG_AsInt(obj0
);
1541 if (PyErr_Occurred()) SWIG_fail
;
1542 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1544 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1546 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1550 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1552 wxPyEndAllowThreads(__tstate
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1562 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1564 wxPalette
*arg1
= (wxPalette
*) 0 ;
1565 PyObject
* obj0
= 0 ;
1567 (char *) "self", NULL
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) SWIG_fail
;
1580 Py_INCREF(Py_None
); resultobj
= Py_None
;
1587 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxPalette
*arg1
= (wxPalette
*) 0 ;
1594 PyObject
* obj0
= 0 ;
1595 PyObject
* obj1
= 0 ;
1596 PyObject
* obj2
= 0 ;
1597 PyObject
* obj3
= 0 ;
1599 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1605 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1607 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1609 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) SWIG_fail
;
1618 resultobj
= SWIG_FromInt((int)result
);
1625 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
*resultobj
;
1627 wxPalette
*arg1
= (wxPalette
*) 0 ;
1629 byte
*arg3
= (byte
*) 0 ;
1630 byte
*arg4
= (byte
*) 0 ;
1631 byte
*arg5
= (byte
*) 0 ;
1636 PyObject
* obj0
= 0 ;
1637 PyObject
* obj1
= 0 ;
1639 (char *) "self",(char *) "pixel", NULL
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1648 arg2
= (int) SWIG_AsInt(obj1
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1661 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1662 resultobj
= t_output_helper(resultobj
,o
);
1665 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1666 resultobj
= t_output_helper(resultobj
,o
);
1669 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1670 resultobj
= t_output_helper(resultobj
,o
);
1678 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
*resultobj
;
1680 wxPalette
*arg1
= (wxPalette
*) 0 ;
1682 PyObject
* obj0
= 0 ;
1684 (char *) "self", NULL
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 result
= (bool)(arg1
)->Ok();
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1706 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1709 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1711 return Py_BuildValue((char *)"");
1713 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
*resultobj
;
1715 wxColour
*arg1
= 0 ;
1716 int arg2
= (int) 1 ;
1717 int arg3
= (int) wxSOLID
;
1720 PyObject
* obj0
= 0 ;
1721 PyObject
* obj1
= 0 ;
1722 PyObject
* obj2
= 0 ;
1724 (char *) "colour",(char *) "width",(char *) "style", NULL
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1730 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1733 arg2
= (int) SWIG_AsInt(obj1
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1737 arg3
= (int) SWIG_AsInt(obj2
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1754 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
*resultobj
;
1756 wxPen
*arg1
= (wxPen
*) 0 ;
1757 PyObject
* obj0
= 0 ;
1759 (char *) "self", NULL
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 Py_INCREF(Py_None
); resultobj
= Py_None
;
1779 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1781 wxPen
*arg1
= (wxPen
*) 0 ;
1783 PyObject
* obj0
= 0 ;
1785 (char *) "self", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 result
= (int)(arg1
)->GetCap();
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) SWIG_fail
;
1798 resultobj
= SWIG_FromInt((int)result
);
1805 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxPen
*arg1
= (wxPen
*) 0 ;
1809 PyObject
* obj0
= 0 ;
1811 (char *) "self", NULL
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 result
= (arg1
)->GetColour();
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1825 wxColour
* resultptr
;
1826 resultptr
= new wxColour((wxColour
&) result
);
1827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1835 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1837 wxPen
*arg1
= (wxPen
*) 0 ;
1839 PyObject
* obj0
= 0 ;
1841 (char *) "self", NULL
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 result
= (int)(arg1
)->GetJoin();
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1854 resultobj
= SWIG_FromInt((int)result
);
1861 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
*resultobj
;
1863 wxPen
*arg1
= (wxPen
*) 0 ;
1865 PyObject
* obj0
= 0 ;
1867 (char *) "self", NULL
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 result
= (int)(arg1
)->GetStyle();
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 resultobj
= SWIG_FromInt((int)result
);
1887 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1889 wxPen
*arg1
= (wxPen
*) 0 ;
1891 PyObject
* obj0
= 0 ;
1893 (char *) "self", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 result
= (int)(arg1
)->GetWidth();
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1906 resultobj
= SWIG_FromInt((int)result
);
1913 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
*resultobj
;
1915 wxPen
*arg1
= (wxPen
*) 0 ;
1917 PyObject
* obj0
= 0 ;
1919 (char *) "self", NULL
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 result
= (bool)(arg1
)->Ok();
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) SWIG_fail
;
1933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1941 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
*resultobj
;
1943 wxPen
*arg1
= (wxPen
*) 0 ;
1945 PyObject
* obj0
= 0 ;
1946 PyObject
* obj1
= 0 ;
1948 (char *) "self",(char *) "cap_style", NULL
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1954 arg2
= (int) SWIG_AsInt(obj1
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 (arg1
)->SetCap(arg2
);
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) SWIG_fail
;
1963 Py_INCREF(Py_None
); resultobj
= Py_None
;
1970 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
*resultobj
;
1972 wxPen
*arg1
= (wxPen
*) 0 ;
1973 wxColour
*arg2
= 0 ;
1975 PyObject
* obj0
= 0 ;
1976 PyObject
* obj1
= 0 ;
1978 (char *) "self",(char *) "colour", NULL
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1986 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 (arg1
)->SetColour(*arg2
);
1992 wxPyEndAllowThreads(__tstate
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1995 Py_INCREF(Py_None
); resultobj
= Py_None
;
2002 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2004 wxPen
*arg1
= (wxPen
*) 0 ;
2006 PyObject
* obj0
= 0 ;
2007 PyObject
* obj1
= 0 ;
2009 (char *) "self",(char *) "join_style", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2015 arg2
= (int) SWIG_AsInt(obj1
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 (arg1
)->SetJoin(arg2
);
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2024 Py_INCREF(Py_None
); resultobj
= Py_None
;
2031 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
*resultobj
;
2033 wxPen
*arg1
= (wxPen
*) 0 ;
2035 PyObject
* obj0
= 0 ;
2036 PyObject
* obj1
= 0 ;
2038 (char *) "self",(char *) "style", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2044 arg2
= (int) SWIG_AsInt(obj1
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 (arg1
)->SetStyle(arg2
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 Py_INCREF(Py_None
); resultobj
= Py_None
;
2060 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 wxPen
*arg1
= (wxPen
*) 0 ;
2064 PyObject
* obj0
= 0 ;
2065 PyObject
* obj1
= 0 ;
2067 (char *) "self",(char *) "width", NULL
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2073 arg2
= (int) SWIG_AsInt(obj1
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 (arg1
)->SetWidth(arg2
);
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2082 Py_INCREF(Py_None
); resultobj
= Py_None
;
2089 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
*resultobj
;
2091 wxPen
*arg1
= (wxPen
*) 0 ;
2093 wxDash
*arg3
= (wxDash
*) 0 ;
2094 PyObject
* obj0
= 0 ;
2095 PyObject
* obj1
= 0 ;
2097 (char *) "self",(char *) "dashes", NULL
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2104 arg2
= PyList_Size(obj1
);
2105 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2106 if (arg3
== NULL
) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 (arg1
)->SetDashes(arg2
,arg3
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 Py_INCREF(Py_None
); resultobj
= Py_None
;
2117 if (arg3
) delete [] arg3
;
2122 if (arg3
) delete [] arg3
;
2128 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
*resultobj
;
2130 wxPen
*arg1
= (wxPen
*) 0 ;
2132 PyObject
* obj0
= 0 ;
2134 (char *) "self", NULL
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2154 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
*resultobj
;
2156 wxPen
*arg1
= (wxPen
*) 0 ;
2157 wxPen
*arg2
= (wxPen
*) 0 ;
2159 PyObject
* obj0
= 0 ;
2160 PyObject
* obj1
= 0 ;
2162 (char *) "self",(char *) "other", NULL
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2186 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
*resultobj
;
2188 wxPen
*arg1
= (wxPen
*) 0 ;
2189 wxPen
*arg2
= (wxPen
*) 0 ;
2191 PyObject
* obj0
= 0 ;
2192 PyObject
* obj1
= 0 ;
2194 (char *) "self",(char *) "other", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2218 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2221 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2223 return Py_BuildValue((char *)"");
2225 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
*resultobj
;
2227 wxColour
*arg1
= 0 ;
2228 int arg2
= (int) 1 ;
2229 int arg3
= (int) wxSOLID
;
2232 PyObject
* obj0
= 0 ;
2233 PyObject
* obj1
= 0 ;
2234 PyObject
* obj2
= 0 ;
2236 (char *) "colour",(char *) "width",(char *) "style", NULL
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2242 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2245 arg2
= (int) SWIG_AsInt(obj1
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2249 arg3
= (int) SWIG_AsInt(obj2
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2266 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
*resultobj
;
2268 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2269 PyObject
* obj0
= 0 ;
2271 (char *) "self", NULL
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 Py_INCREF(Py_None
); resultobj
= Py_None
;
2291 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2295 wxDash
*arg3
= (wxDash
*) 0 ;
2296 PyObject
* obj0
= 0 ;
2297 PyObject
* obj1
= 0 ;
2299 (char *) "self",(char *) "dashes", NULL
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2306 arg2
= PyList_Size(obj1
);
2307 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2308 if (arg3
== NULL
) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 (arg1
)->SetDashes(arg2
,arg3
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 Py_INCREF(Py_None
); resultobj
= Py_None
;
2319 if (arg3
) delete [] arg3
;
2324 if (arg3
) delete [] arg3
;
2330 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2333 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2335 return Py_BuildValue((char *)"");
2337 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
*resultobj
;
2339 wxColour
*arg1
= 0 ;
2340 int arg2
= (int) wxSOLID
;
2343 PyObject
* obj0
= 0 ;
2344 PyObject
* obj1
= 0 ;
2346 (char *) "colour",(char *) "style", NULL
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2352 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2355 arg2
= (int) SWIG_AsInt(obj1
);
2356 if (PyErr_Occurred()) SWIG_fail
;
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) SWIG_fail
;
2365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2372 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
*resultobj
;
2374 wxBrush
*arg1
= (wxBrush
*) 0 ;
2375 PyObject
* obj0
= 0 ;
2377 (char *) "self", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2390 Py_INCREF(Py_None
); resultobj
= Py_None
;
2397 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
*resultobj
;
2399 wxBrush
*arg1
= (wxBrush
*) 0 ;
2400 wxColour
*arg2
= 0 ;
2402 PyObject
* obj0
= 0 ;
2403 PyObject
* obj1
= 0 ;
2405 (char *) "self",(char *) "col", NULL
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2413 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 (arg1
)->SetColour((wxColour
const &)*arg2
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2422 Py_INCREF(Py_None
); resultobj
= Py_None
;
2429 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
*resultobj
;
2431 wxBrush
*arg1
= (wxBrush
*) 0 ;
2433 PyObject
* obj0
= 0 ;
2434 PyObject
* obj1
= 0 ;
2436 (char *) "self",(char *) "style", NULL
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2442 arg2
= (int) SWIG_AsInt(obj1
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 (arg1
)->SetStyle(arg2
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2451 Py_INCREF(Py_None
); resultobj
= Py_None
;
2458 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxBrush
*arg1
= (wxBrush
*) 0 ;
2461 wxBitmap
*arg2
= 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "stipple", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2475 PyErr_SetString(PyExc_TypeError
,"null reference");
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2485 Py_INCREF(Py_None
); resultobj
= Py_None
;
2492 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
*resultobj
;
2494 wxBrush
*arg1
= (wxBrush
*) 0 ;
2496 PyObject
* obj0
= 0 ;
2498 (char *) "self", NULL
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 result
= ((wxBrush
const *)arg1
)->GetColour();
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2512 wxColour
* resultptr
;
2513 resultptr
= new wxColour((wxColour
&) result
);
2514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2522 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
*resultobj
;
2524 wxBrush
*arg1
= (wxBrush
*) 0 ;
2526 PyObject
* obj0
= 0 ;
2528 (char *) "self", NULL
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2541 resultobj
= SWIG_FromInt((int)result
);
2548 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 wxBrush
*arg1
= (wxBrush
*) 0 ;
2552 PyObject
* obj0
= 0 ;
2554 (char *) "self", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2574 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
*resultobj
;
2576 wxBrush
*arg1
= (wxBrush
*) 0 ;
2578 PyObject
* obj0
= 0 ;
2580 (char *) "self", NULL
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 result
= (bool)(arg1
)->Ok();
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2602 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 wxBrush
*arg1
= (wxBrush
*) 0 ;
2606 PyObject
* obj0
= 0 ;
2608 (char *) "self", NULL
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 result
= (short)(arg1
)->MacGetTheme();
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2621 resultobj
= SWIG_FromShort((short)result
);
2628 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
*resultobj
;
2630 wxBrush
*arg1
= (wxBrush
*) 0 ;
2632 PyObject
* obj0
= 0 ;
2633 PyObject
* obj1
= 0 ;
2635 (char *) "self",(char *) "macThemeBrush", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2641 arg2
= (short) SWIG_AsShort(obj1
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 (arg1
)->MacSetTheme(arg2
);
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2650 Py_INCREF(Py_None
); resultobj
= Py_None
;
2657 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2660 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2662 return Py_BuildValue((char *)"");
2664 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxString
*arg1
= 0 ;
2667 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2669 bool temp1
= False
;
2670 PyObject
* obj0
= 0 ;
2671 PyObject
* obj1
= 0 ;
2673 (char *) "name",(char *) "type", NULL
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2678 arg1
= wxString_in_helper(obj0
);
2679 if (arg1
== NULL
) SWIG_fail
;
2683 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2708 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2711 PyObject
* obj0
= 0 ;
2713 (char *) "self", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 Py_INCREF(Py_None
); resultobj
= Py_None
;
2733 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2737 PyObject
* obj0
= 0 ;
2739 (char *) "icon", NULL
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2747 PyErr_SetString(PyExc_TypeError
,"null reference");
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2764 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2767 int arg2
= (int) -1 ;
2769 PyObject
* obj0
= 0 ;
2770 PyObject
* obj1
= 0 ;
2772 (char *) "image",(char *) "depth", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2780 PyErr_SetString(PyExc_TypeError
,"null reference");
2784 arg2
= (int) SWIG_AsInt(obj1
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2801 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2803 PyObject
*arg1
= (PyObject
*) 0 ;
2805 PyObject
* obj0
= 0 ;
2807 (char *) "listOfStrings", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2826 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 PyObject
*arg1
= (PyObject
*) 0 ;
2831 int arg4
= (int) 1 ;
2833 PyObject
* obj0
= 0 ;
2834 PyObject
* obj1
= 0 ;
2835 PyObject
* obj2
= 0 ;
2836 PyObject
* obj3
= 0 ;
2838 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2843 arg2
= (int) SWIG_AsInt(obj1
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2845 arg3
= (int) SWIG_AsInt(obj2
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2848 arg4
= (int) SWIG_AsInt(obj3
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) SWIG_fail
;
2858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2865 static PyObject
*_wrap_new_EmptyBitmap__SWIG_0(PyObject
*self
, PyObject
*args
) {
2866 PyObject
*resultobj
;
2869 int arg3
= (int) -1 ;
2871 PyObject
* obj0
= 0 ;
2872 PyObject
* obj1
= 0 ;
2873 PyObject
* obj2
= 0 ;
2875 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_EmptyBitmap",&obj0
,&obj1
,&obj2
)) goto fail
;
2876 arg1
= (int) SWIG_AsInt(obj0
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2878 arg2
= (int) SWIG_AsInt(obj1
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2881 arg3
= (int) SWIG_AsInt(obj2
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 result
= (wxBitmap
*)new_wxBitmap__SWIG_0(arg1
,arg2
,arg3
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2898 static PyObject
*_wrap_new_EmptyBitmap__SWIG_1(PyObject
*self
, PyObject
*args
) {
2899 PyObject
*resultobj
;
2901 int arg2
= (int) -1 ;
2904 PyObject
* obj0
= 0 ;
2905 PyObject
* obj1
= 0 ;
2907 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_EmptyBitmap",&obj0
,&obj1
)) goto fail
;
2910 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
2913 arg2
= (int) SWIG_AsInt(obj1
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 result
= (wxBitmap
*)new_wxBitmap__SWIG_1((wxSize
const &)*arg1
,arg2
);
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2930 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
) {
2935 argc
= PyObject_Length(args
);
2936 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2937 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2939 if ((argc
>= 1) && (argc
<= 2)) {
2942 _v
= wxPySimple_typecheck(argv
[0], wxT("wxSize"), 2);
2946 return _wrap_new_EmptyBitmap__SWIG_1(self
,args
);
2948 _v
= SWIG_CheckInt(argv
[1]);
2950 return _wrap_new_EmptyBitmap__SWIG_1(self
,args
);
2954 if ((argc
>= 2) && (argc
<= 3)) {
2956 _v
= SWIG_CheckInt(argv
[0]);
2958 _v
= SWIG_CheckInt(argv
[1]);
2961 return _wrap_new_EmptyBitmap__SWIG_0(self
,args
);
2963 _v
= SWIG_CheckInt(argv
[2]);
2965 return _wrap_new_EmptyBitmap__SWIG_0(self
,args
);
2971 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_EmptyBitmap'");
2976 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2980 PyObject
* obj0
= 0 ;
2982 (char *) "self", NULL
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2990 result
= (bool)(arg1
)->Ok();
2992 wxPyEndAllowThreads(__tstate
);
2993 if (PyErr_Occurred()) SWIG_fail
;
2996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3004 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3006 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3008 PyObject
* obj0
= 0 ;
3010 (char *) "self", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 result
= (int)(arg1
)->GetWidth();
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3023 resultobj
= SWIG_FromInt((int)result
);
3030 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3032 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3034 PyObject
* obj0
= 0 ;
3036 (char *) "self", NULL
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= (int)(arg1
)->GetHeight();
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3049 resultobj
= SWIG_FromInt((int)result
);
3056 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3060 PyObject
* obj0
= 0 ;
3062 (char *) "self", NULL
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 result
= (int)(arg1
)->GetDepth();
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3075 resultobj
= SWIG_FromInt((int)result
);
3082 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
*resultobj
;
3084 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3086 PyObject
* obj0
= 0 ;
3088 (char *) "self", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 result
= wxBitmap_GetSize(arg1
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3103 resultptr
= new wxSize((wxSize
&) result
);
3104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3112 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
*resultobj
;
3114 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3115 SwigValueWrapper
< wxImage
> result
;
3116 PyObject
* obj0
= 0 ;
3118 (char *) "self", NULL
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3132 wxImage
* resultptr
;
3133 resultptr
= new wxImage((wxImage
&) result
);
3134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3142 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
*resultobj
;
3144 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3146 PyObject
* obj0
= 0 ;
3148 (char *) "self", NULL
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3168 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
*resultobj
;
3170 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3171 wxMask
*arg2
= (wxMask
*) 0 ;
3172 PyObject
* obj0
= 0 ;
3173 PyObject
* obj1
= 0 ;
3175 (char *) "self",(char *) "mask", NULL
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 (arg1
)->SetMask(arg2
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3190 Py_INCREF(Py_None
); resultobj
= Py_None
;
3197 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
*resultobj
;
3199 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3200 wxColour
*arg2
= 0 ;
3202 PyObject
* obj0
= 0 ;
3203 PyObject
* obj1
= 0 ;
3205 (char *) "self",(char *) "colour", NULL
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",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 ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 Py_INCREF(Py_None
); resultobj
= Py_None
;
3229 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3233 SwigValueWrapper
< wxBitmap
> result
;
3235 PyObject
* obj0
= 0 ;
3236 PyObject
* obj1
= 0 ;
3238 (char *) "self",(char *) "rect", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3246 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3256 wxBitmap
* resultptr
;
3257 resultptr
= new wxBitmap((wxBitmap
&) result
);
3258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3266 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
;
3268 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3269 wxString
*arg2
= 0 ;
3271 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3273 bool temp2
= False
;
3274 PyObject
* obj0
= 0 ;
3275 PyObject
* obj1
= 0 ;
3276 PyObject
* obj2
= 0 ;
3277 PyObject
* obj3
= 0 ;
3279 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3286 arg2
= wxString_in_helper(obj1
);
3287 if (arg2
== NULL
) SWIG_fail
;
3290 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3293 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3320 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
*resultobj
;
3322 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3323 wxString
*arg2
= 0 ;
3326 bool temp2
= False
;
3327 PyObject
* obj0
= 0 ;
3328 PyObject
* obj1
= 0 ;
3329 PyObject
* obj2
= 0 ;
3331 (char *) "self",(char *) "name",(char *) "type", NULL
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3338 arg2
= wxString_in_helper(obj1
);
3339 if (arg2
== NULL
) SWIG_fail
;
3342 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3368 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3373 PyObject
* obj0
= 0 ;
3374 PyObject
* obj1
= 0 ;
3376 (char *) "self",(char *) "icon", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3386 PyErr_SetString(PyExc_TypeError
,"null reference");
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3405 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3409 PyObject
* obj0
= 0 ;
3410 PyObject
* obj1
= 0 ;
3412 (char *) "self",(char *) "height", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3418 arg2
= (int) SWIG_AsInt(obj1
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 (arg1
)->SetHeight(arg2
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 Py_INCREF(Py_None
); resultobj
= Py_None
;
3434 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3441 (char *) "self",(char *) "width", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3447 arg2
= (int) SWIG_AsInt(obj1
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 (arg1
)->SetWidth(arg2
);
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3456 Py_INCREF(Py_None
); resultobj
= Py_None
;
3463 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
;
3465 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3467 PyObject
* obj0
= 0 ;
3468 PyObject
* obj1
= 0 ;
3470 (char *) "self",(char *) "depth", NULL
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3476 arg2
= (int) SWIG_AsInt(obj1
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 (arg1
)->SetDepth(arg2
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 Py_INCREF(Py_None
); resultobj
= Py_None
;
3492 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
;
3494 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3497 PyObject
* obj0
= 0 ;
3498 PyObject
* obj1
= 0 ;
3500 (char *) "self",(char *) "size", NULL
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3508 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3517 Py_INCREF(Py_None
); resultobj
= Py_None
;
3524 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3527 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3529 PyObject
* obj0
= 0 ;
3530 PyObject
* obj1
= 0 ;
3532 (char *) "self",(char *) "other", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3556 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3559 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3562 PyObject
* obj1
= 0 ;
3564 (char *) "self",(char *) "other", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3588 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3591 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3593 return Py_BuildValue((char *)"");
3595 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxBitmap
*arg1
= 0 ;
3598 wxColour
const &arg2_defvalue
= wxNullColour
;
3599 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3602 PyObject
* obj0
= 0 ;
3603 PyObject
* obj1
= 0 ;
3605 (char *) "bitmap",(char *) "colour", NULL
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3613 PyErr_SetString(PyExc_TypeError
,"null reference");
3619 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3636 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3639 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3641 return Py_BuildValue((char *)"");
3643 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 wxString
*arg1
= 0 ;
3647 int arg3
= (int) -1 ;
3648 int arg4
= (int) -1 ;
3650 bool temp1
= False
;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3653 PyObject
* obj2
= 0 ;
3654 PyObject
* obj3
= 0 ;
3656 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3661 arg1
= wxString_in_helper(obj0
);
3662 if (arg1
== NULL
) SWIG_fail
;
3665 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 arg3
= (int) SWIG_AsInt(obj2
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3672 arg4
= (int) SWIG_AsInt(obj3
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3697 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxIcon
*arg1
= (wxIcon
*) 0 ;
3700 PyObject
* obj0
= 0 ;
3702 (char *) "self", NULL
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3715 Py_INCREF(Py_None
); resultobj
= Py_None
;
3722 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= (wxIcon
*)new wxIcon();
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3744 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
;
3746 wxIconLocation
*arg1
= 0 ;
3748 PyObject
* obj0
= 0 ;
3750 (char *) "loc", NULL
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3758 PyErr_SetString(PyExc_TypeError
,"null reference");
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3775 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 wxBitmap
*arg1
= 0 ;
3779 PyObject
* obj0
= 0 ;
3781 (char *) "bmp", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3789 PyErr_SetString(PyExc_TypeError
,"null reference");
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3806 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
*resultobj
;
3808 PyObject
*arg1
= (PyObject
*) 0 ;
3810 PyObject
* obj0
= 0 ;
3812 (char *) "listOfStrings", NULL
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 result
= (wxIcon
*)new_wxIcon(arg1
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3831 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 wxIcon
*arg1
= (wxIcon
*) 0 ;
3835 PyObject
* obj0
= 0 ;
3837 (char *) "self", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (bool)(arg1
)->Ok();
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3859 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxIcon
*arg1
= (wxIcon
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (int)(arg1
)->GetWidth();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= SWIG_FromInt((int)result
);
3885 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxIcon
*arg1
= (wxIcon
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3891 (char *) "self", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 result
= (int)(arg1
)->GetHeight();
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= SWIG_FromInt((int)result
);
3911 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3913 wxIcon
*arg1
= (wxIcon
*) 0 ;
3915 PyObject
* obj0
= 0 ;
3917 (char *) "self", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (int)(arg1
)->GetDepth();
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= SWIG_FromInt((int)result
);
3937 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxIcon
*arg1
= (wxIcon
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3944 (char *) "self",(char *) "w", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 arg2
= (int) SWIG_AsInt(obj1
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 (arg1
)->SetWidth(arg2
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 Py_INCREF(Py_None
); resultobj
= Py_None
;
3966 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxIcon
*arg1
= (wxIcon
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3971 PyObject
* obj1
= 0 ;
3973 (char *) "self",(char *) "h", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 arg2
= (int) SWIG_AsInt(obj1
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 (arg1
)->SetHeight(arg2
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3995 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxIcon
*arg1
= (wxIcon
*) 0 ;
3999 PyObject
* obj0
= 0 ;
4000 PyObject
* obj1
= 0 ;
4002 (char *) "self",(char *) "d", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4008 arg2
= (int) SWIG_AsInt(obj1
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 (arg1
)->SetDepth(arg2
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 Py_INCREF(Py_None
); resultobj
= Py_None
;
4024 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
;
4026 wxIcon
*arg1
= (wxIcon
*) 0 ;
4027 wxBitmap
*arg2
= 0 ;
4028 PyObject
* obj0
= 0 ;
4029 PyObject
* obj1
= 0 ;
4031 (char *) "self",(char *) "bmp", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4041 PyErr_SetString(PyExc_TypeError
,"null reference");
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4051 Py_INCREF(Py_None
); resultobj
= Py_None
;
4058 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4061 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4063 return Py_BuildValue((char *)"");
4065 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4068 int arg2
= (int) 0 ;
4069 wxIconLocation
*result
;
4070 bool temp1
= False
;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4074 (char *) "filename",(char *) "num", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4080 arg1
= wxString_in_helper(obj0
);
4081 if (arg1
== NULL
) SWIG_fail
;
4086 arg2
= (int) SWIG_AsInt(obj1
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4111 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4114 PyObject
* obj0
= 0 ;
4116 (char *) "self", NULL
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4140 PyObject
* obj0
= 0 ;
4142 (char *) "self", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4164 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4167 wxString
*arg2
= 0 ;
4168 bool temp2
= False
;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4172 (char *) "self",(char *) "filename", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4179 arg2
= wxString_in_helper(obj1
);
4180 if (arg2
== NULL
) SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 (arg1
)->SetFileName((wxString
const &)*arg2
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 Py_INCREF(Py_None
); resultobj
= Py_None
;
4205 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4207 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4209 PyObject
* obj0
= 0 ;
4211 (char *) "self", NULL
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4221 result
= (wxString
*) &_result_ref
;
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4231 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4240 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4247 (char *) "self",(char *) "num", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4253 arg2
= (int) SWIG_AsInt(obj1
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 wxIconLocation_SetIndex(arg1
,arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 Py_INCREF(Py_None
); resultobj
= Py_None
;
4269 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4273 PyObject
* obj0
= 0 ;
4275 (char *) "self", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (int)wxIconLocation_GetIndex(arg1
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 resultobj
= SWIG_FromInt((int)result
);
4295 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4298 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4300 return Py_BuildValue((char *)"");
4302 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
;
4304 wxIconBundle
*result
;
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (wxIconBundle
*)new wxIconBundle();
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4324 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
;
4326 wxString
*arg1
= 0 ;
4328 wxIconBundle
*result
;
4329 bool temp1
= False
;
4330 PyObject
* obj0
= 0 ;
4331 PyObject
* obj1
= 0 ;
4333 (char *) "file",(char *) "type", NULL
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4338 arg1
= wxString_in_helper(obj0
);
4339 if (arg1
== NULL
) SWIG_fail
;
4342 arg2
= (long) SWIG_AsLong(obj1
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4366 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4369 wxIconBundle
*result
;
4370 PyObject
* obj0
= 0 ;
4372 (char *) "icon", NULL
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4380 PyErr_SetString(PyExc_TypeError
,"null reference");
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4397 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4402 (char *) "self", NULL
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 Py_INCREF(Py_None
); resultobj
= Py_None
;
4422 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4426 PyObject
* obj0
= 0 ;
4427 PyObject
* obj1
= 0 ;
4429 (char *) "self",(char *) "icon", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4439 PyErr_SetString(PyExc_TypeError
,"null reference");
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 Py_INCREF(Py_None
); resultobj
= Py_None
;
4456 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4459 wxString
*arg2
= 0 ;
4461 bool temp2
= False
;
4462 PyObject
* obj0
= 0 ;
4463 PyObject
* obj1
= 0 ;
4464 PyObject
* obj2
= 0 ;
4466 (char *) "self",(char *) "file",(char *) "type", NULL
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4473 arg2
= wxString_in_helper(obj1
);
4474 if (arg2
== NULL
) SWIG_fail
;
4477 arg3
= (long) SWIG_AsLong(obj2
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 Py_INCREF(Py_None
); resultobj
= Py_None
;
4501 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4510 (char *) "self",(char *) "size", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4518 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4524 result
= (wxIcon
*) &_result_ref
;
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 wxIcon
* resultptr
= new wxIcon(*result
);
4532 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4540 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4543 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4545 return Py_BuildValue((char *)"");
4547 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
;
4549 wxString
*arg1
= (wxString
*) 0 ;
4551 int arg3
= (int) 0 ;
4552 int arg4
= (int) 0 ;
4554 bool temp1
= False
;
4555 PyObject
* obj0
= 0 ;
4556 PyObject
* obj1
= 0 ;
4557 PyObject
* obj2
= 0 ;
4558 PyObject
* obj3
= 0 ;
4560 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4565 arg1
= wxString_in_helper(obj0
);
4566 if (arg1
== NULL
) SWIG_fail
;
4569 arg2
= (long) SWIG_AsLong(obj1
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 arg3
= (int) SWIG_AsInt(obj2
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4576 arg4
= (int) SWIG_AsInt(obj3
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4601 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxCursor
*arg1
= (wxCursor
*) 0 ;
4604 PyObject
* obj0
= 0 ;
4606 (char *) "self", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 Py_INCREF(Py_None
); resultobj
= Py_None
;
4626 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4630 PyObject
* obj0
= 0 ;
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4636 arg1
= (int) SWIG_AsInt(obj0
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 result
= (wxCursor
*)new wxCursor(arg1
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4652 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4656 PyObject
* obj0
= 0 ;
4658 (char *) "image", NULL
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4666 PyErr_SetString(PyExc_TypeError
,"null reference");
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4683 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4685 wxCursor
*arg1
= (wxCursor
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4689 (char *) "self", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 result
= (bool)(arg1
)->Ok();
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4711 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4714 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4716 return Py_BuildValue((char *)"");
4718 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 int arg1
= (int) 0 ;
4721 int arg2
= (int) 0 ;
4722 int arg3
= (int) 0 ;
4723 int arg4
= (int) 0 ;
4725 PyObject
* obj0
= 0 ;
4726 PyObject
* obj1
= 0 ;
4727 PyObject
* obj2
= 0 ;
4728 PyObject
* obj3
= 0 ;
4730 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4735 arg1
= (int) SWIG_AsInt(obj0
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4739 arg2
= (int) SWIG_AsInt(obj1
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4743 arg3
= (int) SWIG_AsInt(obj2
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4747 arg4
= (int) SWIG_AsInt(obj3
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4764 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
*resultobj
;
4766 wxBitmap
*arg1
= 0 ;
4767 wxColour
const &arg2_defvalue
= wxNullColour
;
4768 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4769 int arg3
= (int) 0 ;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4774 PyObject
* obj2
= 0 ;
4776 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4784 PyErr_SetString(PyExc_TypeError
,"null reference");
4790 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4794 arg3
= (int) SWIG_AsInt(obj2
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4811 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4814 wxPoint
*arg2
= (wxPoint
*) 0 ;
4815 int arg3
= (int) wxWINDING_RULE
;
4817 PyObject
* obj0
= 0 ;
4818 PyObject
* obj1
= 0 ;
4820 (char *) "points",(char *) "fillStyle", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4825 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4826 if (arg2
== NULL
) SWIG_fail
;
4829 arg3
= (int) SWIG_AsInt(obj1
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4841 if (arg2
) delete [] arg2
;
4846 if (arg2
) delete [] arg2
;
4852 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxRegion
*arg1
= (wxRegion
*) 0 ;
4855 PyObject
* obj0
= 0 ;
4857 (char *) "self", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 Py_INCREF(Py_None
); resultobj
= Py_None
;
4877 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
;
4879 wxRegion
*arg1
= (wxRegion
*) 0 ;
4880 PyObject
* obj0
= 0 ;
4882 (char *) "self", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 Py_INCREF(Py_None
); resultobj
= Py_None
;
4902 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxRegion
*arg1
= (wxRegion
*) 0 ;
4908 PyObject
* obj0
= 0 ;
4909 PyObject
* obj1
= 0 ;
4910 PyObject
* obj2
= 0 ;
4912 (char *) "self",(char *) "x",(char *) "y", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4918 arg2
= (int) SWIG_AsInt(obj1
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4920 arg3
= (int) SWIG_AsInt(obj2
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 resultobj
= SWIG_FromInt((int)result
);
4936 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
;
4938 wxRegion
*arg1
= (wxRegion
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4945 (char *) "self",(char *) "pt", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= SWIG_FromInt((int)result
);
4969 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxRegion
*arg1
= (wxRegion
*) 0 ;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj1
= 0 ;
4978 (char *) "self",(char *) "rect", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4986 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 resultobj
= SWIG_FromInt((int)result
);
5002 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxRegion
*arg1
= (wxRegion
*) 0 ;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5012 PyObject
* obj2
= 0 ;
5013 PyObject
* obj3
= 0 ;
5014 PyObject
* obj4
= 0 ;
5016 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5022 arg2
= (int) SWIG_AsInt(obj1
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5024 arg3
= (int) SWIG_AsInt(obj2
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5026 arg4
= (int) SWIG_AsInt(obj3
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5028 arg5
= (int) SWIG_AsInt(obj4
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 resultobj
= SWIG_FromInt((int)result
);
5044 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
;
5046 wxRegion
*arg1
= (wxRegion
*) 0 ;
5048 PyObject
* obj0
= 0 ;
5050 (char *) "self", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 result
= (arg1
)->GetBox();
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5065 resultptr
= new wxRect((wxRect
&) result
);
5066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5074 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxRegion
*arg1
= (wxRegion
*) 0 ;
5082 PyObject
* obj0
= 0 ;
5083 PyObject
* obj1
= 0 ;
5084 PyObject
* obj2
= 0 ;
5085 PyObject
* obj3
= 0 ;
5086 PyObject
* obj4
= 0 ;
5088 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5094 arg2
= (int) SWIG_AsInt(obj1
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5096 arg3
= (int) SWIG_AsInt(obj2
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5098 arg4
= (int) SWIG_AsInt(obj3
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5100 arg5
= (int) SWIG_AsInt(obj4
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5118 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxRegion
*arg1
= (wxRegion
*) 0 ;
5124 PyObject
* obj0
= 0 ;
5125 PyObject
* obj1
= 0 ;
5127 (char *) "self",(char *) "rect", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5135 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5153 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxRegion
*arg1
= (wxRegion
*) 0 ;
5156 wxRegion
*arg2
= 0 ;
5158 PyObject
* obj0
= 0 ;
5159 PyObject
* obj1
= 0 ;
5161 (char *) "self",(char *) "region", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5171 PyErr_SetString(PyExc_TypeError
,"null reference");
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5190 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxRegion
*arg1
= (wxRegion
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (bool)(arg1
)->IsEmpty();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5218 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxRegion
*arg1
= (wxRegion
*) 0 ;
5226 PyObject
* obj0
= 0 ;
5227 PyObject
* obj1
= 0 ;
5228 PyObject
* obj2
= 0 ;
5229 PyObject
* obj3
= 0 ;
5230 PyObject
* obj4
= 0 ;
5232 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5238 arg2
= (int) SWIG_AsInt(obj1
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5240 arg3
= (int) SWIG_AsInt(obj2
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5242 arg4
= (int) SWIG_AsInt(obj3
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5244 arg5
= (int) SWIG_AsInt(obj4
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5262 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxRegion
*arg1
= (wxRegion
*) 0 ;
5268 PyObject
* obj0
= 0 ;
5269 PyObject
* obj1
= 0 ;
5271 (char *) "self",(char *) "rect", NULL
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5279 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5297 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxRegion
*arg1
= (wxRegion
*) 0 ;
5300 wxRegion
*arg2
= 0 ;
5302 PyObject
* obj0
= 0 ;
5303 PyObject
* obj1
= 0 ;
5305 (char *) "self",(char *) "region", NULL
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5315 PyErr_SetString(PyExc_TypeError
,"null reference");
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5334 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxRegion
*arg1
= (wxRegion
*) 0 ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5344 PyObject
* obj2
= 0 ;
5345 PyObject
* obj3
= 0 ;
5346 PyObject
* obj4
= 0 ;
5348 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5354 arg2
= (int) SWIG_AsInt(obj1
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5356 arg3
= (int) SWIG_AsInt(obj2
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5358 arg4
= (int) SWIG_AsInt(obj3
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5360 arg5
= (int) SWIG_AsInt(obj4
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5378 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxRegion
*arg1
= (wxRegion
*) 0 ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5387 (char *) "self",(char *) "rect", NULL
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5395 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5413 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxRegion
*arg1
= (wxRegion
*) 0 ;
5416 wxRegion
*arg2
= 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5421 (char *) "self",(char *) "region", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5431 PyErr_SetString(PyExc_TypeError
,"null reference");
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5450 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxRegion
*arg1
= (wxRegion
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5460 PyObject
* obj2
= 0 ;
5461 PyObject
* obj3
= 0 ;
5462 PyObject
* obj4
= 0 ;
5464 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 arg2
= (int) SWIG_AsInt(obj1
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5472 arg3
= (int) SWIG_AsInt(obj2
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5474 arg4
= (int) SWIG_AsInt(obj3
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5476 arg5
= (int) SWIG_AsInt(obj4
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5494 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxRegion
*arg1
= (wxRegion
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5503 (char *) "self",(char *) "rect", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5511 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5529 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxRegion
*arg1
= (wxRegion
*) 0 ;
5532 wxRegion
*arg2
= 0 ;
5534 PyObject
* obj0
= 0 ;
5535 PyObject
* obj1
= 0 ;
5537 (char *) "self",(char *) "region", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5547 PyErr_SetString(PyExc_TypeError
,"null reference");
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5566 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxRegion
*arg1
= (wxRegion
*) 0 ;
5569 SwigValueWrapper
< wxBitmap
> result
;
5570 PyObject
* obj0
= 0 ;
5572 (char *) "self", NULL
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 result
= (arg1
)->ConvertToBitmap();
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5586 wxBitmap
* resultptr
;
5587 resultptr
= new wxBitmap((wxBitmap
&) result
);
5588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5596 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxRegion
*arg1
= (wxRegion
*) 0 ;
5599 wxBitmap
*arg2
= 0 ;
5600 wxColour
const &arg3_defvalue
= wxNullColour
;
5601 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5602 int arg4
= (int) 0 ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5607 PyObject
* obj2
= 0 ;
5608 PyObject
* obj3
= 0 ;
5610 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5620 PyErr_SetString(PyExc_TypeError
,"null reference");
5626 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5630 arg4
= (int) SWIG_AsInt(obj3
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5649 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5652 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5654 return Py_BuildValue((char *)"");
5656 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxRegion
*arg1
= 0 ;
5659 wxRegionIterator
*result
;
5660 PyObject
* obj0
= 0 ;
5662 (char *) "region", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5670 PyErr_SetString(PyExc_TypeError
,"null reference");
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5687 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 Py_INCREF(Py_None
); resultobj
= Py_None
;
5712 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5716 PyObject
* obj0
= 0 ;
5718 (char *) "self", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (int)(arg1
)->GetX();
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5731 resultobj
= SWIG_FromInt((int)result
);
5738 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
;
5740 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5744 (char *) "self", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 result
= (int)(arg1
)->GetY();
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= SWIG_FromInt((int)result
);
5764 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
;
5766 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5768 PyObject
* obj0
= 0 ;
5770 (char *) "self", NULL
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 result
= (int)(arg1
)->GetW();
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= SWIG_FromInt((int)result
);
5790 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5796 (char *) "self", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 result
= (int)(arg1
)->GetWidth();
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5809 resultobj
= SWIG_FromInt((int)result
);
5816 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5820 PyObject
* obj0
= 0 ;
5822 (char *) "self", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (int)(arg1
)->GetH();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= SWIG_FromInt((int)result
);
5842 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5848 (char *) "self", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 result
= (int)(arg1
)->GetHeight();
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 resultobj
= SWIG_FromInt((int)result
);
5868 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5872 PyObject
* obj0
= 0 ;
5874 (char *) "self", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (arg1
)->GetRect();
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5889 resultptr
= new wxRect((wxRect
&) result
);
5890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5898 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5904 (char *) "self", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (bool)(arg1
)->HaveRects();
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5926 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5931 (char *) "self", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 Py_INCREF(Py_None
); resultobj
= Py_None
;
5951 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5954 PyObject
* obj0
= 0 ;
5956 (char *) "self", NULL
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 wxRegionIterator_Next(arg1
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5969 Py_INCREF(Py_None
); resultobj
= Py_None
;
5976 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
*resultobj
;
5978 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5980 PyObject
* obj0
= 0 ;
5982 (char *) "self", NULL
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6004 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6007 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6009 return Py_BuildValue((char *)"");
6011 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxNativeFontInfo
*result
;
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6033 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6038 (char *) "self", NULL
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 Py_INCREF(Py_None
); resultobj
= Py_None
;
6058 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6063 (char *) "self", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 Py_INCREF(Py_None
); resultobj
= Py_None
;
6083 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6087 PyObject
* obj0
= 0 ;
6088 PyObject
* obj1
= 0 ;
6090 (char *) "self",(char *) "font", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6100 PyErr_SetString(PyExc_TypeError
,"null reference");
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 Py_INCREF(Py_None
); resultobj
= Py_None
;
6117 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6119 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6123 (char *) "self", NULL
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= SWIG_FromInt((int)result
);
6143 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6147 PyObject
* obj0
= 0 ;
6149 (char *) "self", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_FromInt((int)result
);
6169 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6175 (char *) "self", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_FromInt((int)result
);
6195 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "self", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6223 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6229 (char *) "self", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6255 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 resultobj
= SWIG_FromInt((int)result
);
6281 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6287 (char *) "self", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_FromInt((int)result
);
6307 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6311 PyObject
* obj0
= 0 ;
6312 PyObject
* obj1
= 0 ;
6314 (char *) "self",(char *) "pointsize", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6320 arg2
= (int) SWIG_AsInt(obj1
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 (arg1
)->SetPointSize(arg2
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 Py_INCREF(Py_None
); resultobj
= Py_None
;
6336 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
;
6338 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6340 PyObject
* obj0
= 0 ;
6341 PyObject
* obj1
= 0 ;
6343 (char *) "self",(char *) "style", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6349 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 Py_INCREF(Py_None
); resultobj
= Py_None
;
6365 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6372 (char *) "self",(char *) "weight", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6378 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 Py_INCREF(Py_None
); resultobj
= Py_None
;
6394 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
*resultobj
;
6396 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6398 PyObject
* obj0
= 0 ;
6399 PyObject
* obj1
= 0 ;
6401 (char *) "self",(char *) "underlined", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6407 arg2
= (bool) SWIG_AsBool(obj1
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 (arg1
)->SetUnderlined(arg2
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 Py_INCREF(Py_None
); resultobj
= Py_None
;
6423 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6427 PyObject
* obj0
= 0 ;
6428 PyObject
* obj1
= 0 ;
6430 (char *) "self",(char *) "facename", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6437 wxString
* sptr
= wxString_in_helper(obj1
);
6438 if (sptr
== NULL
) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 (arg1
)->SetFaceName(arg2
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 Py_INCREF(Py_None
); resultobj
= Py_None
;
6456 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6463 (char *) "self",(char *) "family", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6469 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 Py_INCREF(Py_None
); resultobj
= Py_None
;
6485 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6489 PyObject
* obj0
= 0 ;
6490 PyObject
* obj1
= 0 ;
6492 (char *) "self",(char *) "encoding", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6498 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 Py_INCREF(Py_None
); resultobj
= Py_None
;
6514 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6517 wxString
*arg2
= 0 ;
6519 bool temp2
= False
;
6520 PyObject
* obj0
= 0 ;
6521 PyObject
* obj1
= 0 ;
6523 (char *) "self",(char *) "s", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6530 arg2
= wxString_in_helper(obj1
);
6531 if (arg2
== NULL
) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6558 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6562 PyObject
* obj0
= 0 ;
6564 (char *) "self", NULL
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6590 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
;
6592 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6594 PyObject
* obj0
= 0 ;
6596 (char *) "self", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 result
= wxNativeFontInfo___str__(arg1
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6622 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
;
6624 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6625 wxString
*arg2
= 0 ;
6627 bool temp2
= False
;
6628 PyObject
* obj0
= 0 ;
6629 PyObject
* obj1
= 0 ;
6631 (char *) "self",(char *) "s", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6638 arg2
= wxString_in_helper(obj1
);
6639 if (arg2
== NULL
) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6666 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
;
6668 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6670 PyObject
* obj0
= 0 ;
6672 (char *) "self", NULL
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6698 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6701 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6703 return Py_BuildValue((char *)"");
6705 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6708 wxString
*arg2
= (wxString
*) 0 ;
6709 bool temp2
= False
;
6710 PyObject
* obj0
= 0 ;
6711 PyObject
* obj1
= 0 ;
6713 (char *) "self",(char *) "facename", NULL
6716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6720 arg2
= wxString_in_helper(obj1
);
6721 if (arg2
== NULL
) SWIG_fail
;
6724 if (arg1
) (arg1
)->facename
= *arg2
;
6726 Py_INCREF(Py_None
); resultobj
= Py_None
;
6741 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6743 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6747 (char *) "self", NULL
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6753 result
= (wxString
*)& ((arg1
)->facename
);
6757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6768 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6772 PyObject
* obj0
= 0 ;
6773 PyObject
* obj1
= 0 ;
6775 (char *) "self",(char *) "encoding", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6781 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6783 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6785 Py_INCREF(Py_None
); resultobj
= Py_None
;
6792 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6796 PyObject
* obj0
= 0 ;
6798 (char *) "self", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6804 result
= (int) ((arg1
)->encoding
);
6806 resultobj
= SWIG_FromInt((int)result
);
6813 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6815 wxNativeEncodingInfo
*result
;
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6835 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
;
6837 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6838 PyObject
* obj0
= 0 ;
6840 (char *) "self", NULL
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 Py_INCREF(Py_None
); resultobj
= Py_None
;
6860 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6863 wxString
*arg2
= 0 ;
6865 bool temp2
= False
;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6869 (char *) "self",(char *) "s", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6876 arg2
= wxString_in_helper(obj1
);
6877 if (arg2
== NULL
) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6904 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6906 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6908 PyObject
* obj0
= 0 ;
6910 (char *) "self", NULL
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6936 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6939 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6941 return Py_BuildValue((char *)"");
6943 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6946 wxNativeEncodingInfo
*result
;
6947 PyObject
* obj0
= 0 ;
6949 (char *) "encoding", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6953 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6969 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
;
6971 wxNativeEncodingInfo
*arg1
= 0 ;
6973 PyObject
* obj0
= 0 ;
6975 (char *) "info", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6983 PyErr_SetString(PyExc_TypeError
,"null reference");
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7002 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxFontMapper
*result
;
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 result
= (wxFontMapper
*)new wxFontMapper();
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7024 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
;
7026 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7029 (char *) "self", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 Py_INCREF(Py_None
); resultobj
= Py_None
;
7049 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxFontMapper
*result
;
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 result
= (wxFontMapper
*)wxFontMapper::Get();
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7071 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
;
7073 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7074 wxFontMapper
*result
;
7075 PyObject
* obj0
= 0 ;
7077 (char *) "mapper", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7097 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7100 wxString
*arg2
= 0 ;
7101 bool arg3
= (bool) True
;
7103 bool temp2
= False
;
7104 PyObject
* obj0
= 0 ;
7105 PyObject
* obj1
= 0 ;
7106 PyObject
* obj2
= 0 ;
7108 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7115 arg2
= wxString_in_helper(obj1
);
7116 if (arg2
== NULL
) SWIG_fail
;
7120 arg3
= (bool) SWIG_AsBool(obj2
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= SWIG_FromInt((int)result
);
7145 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
;
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7167 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7171 PyObject
* obj0
= 0 ;
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7177 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (int)wxFontMapper::GetEncoding(arg1
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= SWIG_FromInt((int)result
);
7193 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7197 PyObject
* obj0
= 0 ;
7199 (char *) "encoding", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7203 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7225 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7229 PyObject
* obj0
= 0 ;
7231 (char *) "encoding", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7235 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7257 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxString
*arg1
= 0 ;
7261 bool temp1
= False
;
7262 PyObject
* obj0
= 0 ;
7264 (char *) "name", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7269 arg1
= wxString_in_helper(obj0
);
7270 if (arg1
== NULL
) SWIG_fail
;
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 resultobj
= SWIG_FromInt((int)result
);
7295 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7298 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7302 (char *) "self",(char *) "config", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 (arg1
)->SetConfig(arg2
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 Py_INCREF(Py_None
); resultobj
= Py_None
;
7324 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7327 wxString
*arg2
= 0 ;
7328 bool temp2
= False
;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7332 (char *) "self",(char *) "prefix", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7339 arg2
= wxString_in_helper(obj1
);
7340 if (arg2
== NULL
) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 Py_INCREF(Py_None
); resultobj
= Py_None
;
7365 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= wxFontMapper::GetDefaultConfigPath();
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7393 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
*resultobj
;
7395 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7397 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7398 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7399 bool arg4
= (bool) True
;
7401 bool temp3
= False
;
7402 PyObject
* obj0
= 0 ;
7403 PyObject
* obj1
= 0 ;
7404 PyObject
* obj2
= 0 ;
7405 PyObject
* obj3
= 0 ;
7407 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7413 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7417 arg3
= wxString_in_helper(obj2
);
7418 if (arg3
== NULL
) SWIG_fail
;
7423 arg4
= (bool) SWIG_AsBool(obj3
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7448 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7452 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7453 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7455 bool temp3
= False
;
7456 PyObject
* obj0
= 0 ;
7457 PyObject
* obj1
= 0 ;
7458 PyObject
* obj2
= 0 ;
7460 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7466 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7470 arg3
= wxString_in_helper(obj2
);
7471 if (arg3
== NULL
) SWIG_fail
;
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7499 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
;
7501 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7502 wxWindow
*arg2
= (wxWindow
*) 0 ;
7503 PyObject
* obj0
= 0 ;
7504 PyObject
* obj1
= 0 ;
7506 (char *) "self",(char *) "parent", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 (arg1
)->SetDialogParent(arg2
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 Py_INCREF(Py_None
); resultobj
= Py_None
;
7528 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7531 wxString
*arg2
= 0 ;
7532 bool temp2
= False
;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7536 (char *) "self",(char *) "title", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7543 arg2
= wxString_in_helper(obj1
);
7544 if (arg2
== NULL
) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 Py_INCREF(Py_None
); resultobj
= Py_None
;
7569 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7572 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7574 return Py_BuildValue((char *)"");
7576 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7582 bool arg5
= (bool) False
;
7583 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7584 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7585 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7587 bool temp6
= False
;
7588 PyObject
* obj0
= 0 ;
7589 PyObject
* obj1
= 0 ;
7590 PyObject
* obj2
= 0 ;
7591 PyObject
* obj3
= 0 ;
7592 PyObject
* obj4
= 0 ;
7593 PyObject
* obj5
= 0 ;
7594 PyObject
* obj6
= 0 ;
7596 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7600 arg1
= (int) SWIG_AsInt(obj0
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7602 arg2
= (int) SWIG_AsInt(obj1
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7604 arg3
= (int) SWIG_AsInt(obj2
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7606 arg4
= (int) SWIG_AsInt(obj3
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 arg5
= (bool) SWIG_AsBool(obj4
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7614 arg6
= wxString_in_helper(obj5
);
7615 if (arg6
== NULL
) SWIG_fail
;
7620 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7645 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxFont
*arg1
= (wxFont
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "self", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxNativeFontInfo
*arg1
= 0 ;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "info", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7684 PyErr_SetString(PyExc_TypeError
,"null reference");
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7701 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
;
7703 wxString
*arg1
= 0 ;
7705 bool temp1
= False
;
7706 PyObject
* obj0
= 0 ;
7708 (char *) "info", NULL
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7713 arg1
= wxString_in_helper(obj0
);
7714 if (arg1
== NULL
) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7739 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7743 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7744 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7745 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7746 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7748 bool temp4
= False
;
7749 PyObject
* obj0
= 0 ;
7750 PyObject
* obj1
= 0 ;
7751 PyObject
* obj2
= 0 ;
7752 PyObject
* obj3
= 0 ;
7753 PyObject
* obj4
= 0 ;
7755 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7759 arg1
= (int) SWIG_AsInt(obj0
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7761 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 arg3
= (int) SWIG_AsInt(obj2
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7769 arg4
= wxString_in_helper(obj3
);
7770 if (arg4
== NULL
) SWIG_fail
;
7775 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7800 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxFont
*arg1
= (wxFont
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7806 (char *) "self", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (bool)((wxFont
const *)arg1
)->Ok();
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7828 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
;
7830 wxFont
*arg1
= (wxFont
*) 0 ;
7831 wxFont
*arg2
= (wxFont
*) 0 ;
7833 PyObject
* obj0
= 0 ;
7834 PyObject
* obj1
= 0 ;
7836 (char *) "self",(char *) "other", NULL
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7860 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxFont
*arg1
= (wxFont
*) 0 ;
7863 wxFont
*arg2
= (wxFont
*) 0 ;
7865 PyObject
* obj0
= 0 ;
7866 PyObject
* obj1
= 0 ;
7868 (char *) "self",(char *) "other", NULL
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7892 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxFont
*arg1
= (wxFont
*) 0 ;
7896 PyObject
* obj0
= 0 ;
7898 (char *) "self", NULL
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_FromInt((int)result
);
7918 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxFont
*arg1
= (wxFont
*) 0 ;
7922 PyObject
* obj0
= 0 ;
7924 (char *) "self", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 resultobj
= SWIG_FromInt((int)result
);
7944 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
;
7946 wxFont
*arg1
= (wxFont
*) 0 ;
7948 PyObject
* obj0
= 0 ;
7950 (char *) "self", NULL
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= SWIG_FromInt((int)result
);
7970 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxFont
*arg1
= (wxFont
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7976 (char *) "self", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_FromInt((int)result
);
7996 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxFont
*arg1
= (wxFont
*) 0 ;
8000 PyObject
* obj0
= 0 ;
8002 (char *) "self", NULL
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8024 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxFont
*arg1
= (wxFont
*) 0 ;
8028 PyObject
* obj0
= 0 ;
8030 (char *) "self", NULL
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= ((wxFont
const *)arg1
)->GetFaceName();
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8056 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxFont
*arg1
= (wxFont
*) 0 ;
8060 PyObject
* obj0
= 0 ;
8062 (char *) "self", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 resultobj
= SWIG_FromInt((int)result
);
8082 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxFont
*arg1
= (wxFont
*) 0 ;
8085 wxNativeFontInfo
*result
;
8086 PyObject
* obj0
= 0 ;
8088 (char *) "self", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8108 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxFont
*arg1
= (wxFont
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8114 (char *) "self", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8136 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxFont
*arg1
= (wxFont
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8142 (char *) "self", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8168 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 wxFont
*arg1
= (wxFont
*) 0 ;
8172 PyObject
* obj0
= 0 ;
8174 (char *) "self", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8200 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxFont
*arg1
= (wxFont
*) 0 ;
8204 PyObject
* obj0
= 0 ;
8205 PyObject
* obj1
= 0 ;
8207 (char *) "self",(char *) "pointSize", NULL
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8213 arg2
= (int) SWIG_AsInt(obj1
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 (arg1
)->SetPointSize(arg2
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 Py_INCREF(Py_None
); resultobj
= Py_None
;
8229 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxFont
*arg1
= (wxFont
*) 0 ;
8233 PyObject
* obj0
= 0 ;
8234 PyObject
* obj1
= 0 ;
8236 (char *) "self",(char *) "family", NULL
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8242 arg2
= (int) SWIG_AsInt(obj1
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 (arg1
)->SetFamily(arg2
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 Py_INCREF(Py_None
); resultobj
= Py_None
;
8258 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxFont
*arg1
= (wxFont
*) 0 ;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8265 (char *) "self",(char *) "style", NULL
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8271 arg2
= (int) SWIG_AsInt(obj1
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 (arg1
)->SetStyle(arg2
);
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 Py_INCREF(Py_None
); resultobj
= Py_None
;
8287 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxFont
*arg1
= (wxFont
*) 0 ;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8294 (char *) "self",(char *) "weight", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8300 arg2
= (int) SWIG_AsInt(obj1
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 (arg1
)->SetWeight(arg2
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxFont
*arg1
= (wxFont
*) 0 ;
8319 wxString
*arg2
= 0 ;
8320 bool temp2
= False
;
8321 PyObject
* obj0
= 0 ;
8322 PyObject
* obj1
= 0 ;
8324 (char *) "self",(char *) "faceName", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8331 arg2
= wxString_in_helper(obj1
);
8332 if (arg2
== NULL
) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 Py_INCREF(Py_None
); resultobj
= Py_None
;
8357 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
;
8359 wxFont
*arg1
= (wxFont
*) 0 ;
8361 PyObject
* obj0
= 0 ;
8362 PyObject
* obj1
= 0 ;
8364 (char *) "self",(char *) "underlined", NULL
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8370 arg2
= (bool) SWIG_AsBool(obj1
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 (arg1
)->SetUnderlined(arg2
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 Py_INCREF(Py_None
); resultobj
= Py_None
;
8386 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
;
8388 wxFont
*arg1
= (wxFont
*) 0 ;
8390 PyObject
* obj0
= 0 ;
8391 PyObject
* obj1
= 0 ;
8393 (char *) "self",(char *) "encoding", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8399 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 Py_INCREF(Py_None
); resultobj
= Py_None
;
8415 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
;
8417 wxFont
*arg1
= (wxFont
*) 0 ;
8418 wxNativeFontInfo
*arg2
= 0 ;
8419 PyObject
* obj0
= 0 ;
8420 PyObject
* obj1
= 0 ;
8422 (char *) "self",(char *) "info", NULL
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8432 PyErr_SetString(PyExc_TypeError
,"null reference");
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 Py_INCREF(Py_None
); resultobj
= Py_None
;
8449 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxFont
*arg1
= (wxFont
*) 0 ;
8452 wxString
*arg2
= 0 ;
8453 bool temp2
= False
;
8454 PyObject
* obj0
= 0 ;
8455 PyObject
* obj1
= 0 ;
8457 (char *) "self",(char *) "info", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8464 arg2
= wxString_in_helper(obj1
);
8465 if (arg2
== NULL
) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 Py_INCREF(Py_None
); resultobj
= Py_None
;
8490 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxFont
*arg1
= (wxFont
*) 0 ;
8493 wxString
*arg2
= 0 ;
8494 bool temp2
= False
;
8495 PyObject
* obj0
= 0 ;
8496 PyObject
* obj1
= 0 ;
8498 (char *) "self",(char *) "info", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8505 arg2
= wxString_in_helper(obj1
);
8506 if (arg2
== NULL
) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 Py_INCREF(Py_None
); resultobj
= Py_None
;
8531 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8532 PyObject
*resultobj
;
8533 wxFont
*arg1
= (wxFont
*) 0 ;
8535 PyObject
* obj0
= 0 ;
8537 (char *) "self", NULL
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8563 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxFont
*arg1
= (wxFont
*) 0 ;
8567 PyObject
* obj0
= 0 ;
8569 (char *) "self", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= ((wxFont
const *)arg1
)->GetStyleString();
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8595 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxFont
*arg1
= (wxFont
*) 0 ;
8599 PyObject
* obj0
= 0 ;
8601 (char *) "self", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 result
= ((wxFont
const *)arg1
)->GetWeightString();
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8627 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxFont
*arg1
= (wxFont
*) 0 ;
8630 bool arg2
= (bool) True
;
8631 PyObject
* obj0
= 0 ;
8632 PyObject
* obj1
= 0 ;
8634 (char *) "self",(char *) "no", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8641 arg2
= (bool) SWIG_AsBool(obj1
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 (arg1
)->SetNoAntiAliasing(arg2
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8651 Py_INCREF(Py_None
); resultobj
= Py_None
;
8658 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
*resultobj
;
8660 wxFont
*arg1
= (wxFont
*) 0 ;
8662 PyObject
* obj0
= 0 ;
8664 (char *) "self", NULL
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 result
= (bool)(arg1
)->GetNoAntiAliasing();
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8686 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 result
= (int)wxFont::GetDefaultEncoding();
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_FromInt((int)result
);
8708 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8711 PyObject
* obj0
= 0 ;
8713 (char *) "encoding", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8717 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 Py_INCREF(Py_None
); resultobj
= Py_None
;
8733 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8736 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8738 return Py_BuildValue((char *)"");
8740 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
*resultobj
;
8742 wxPyFontEnumerator
*result
;
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8762 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8765 PyObject
* obj0
= 0 ;
8767 (char *) "self", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 Py_INCREF(Py_None
); resultobj
= Py_None
;
8787 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8790 PyObject
*arg2
= (PyObject
*) 0 ;
8791 PyObject
*arg3
= (PyObject
*) 0 ;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8795 PyObject
* obj2
= 0 ;
8796 PyObject
* obj3
= 0 ;
8798 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8806 arg4
= (bool) SWIG_AsBool(obj3
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 Py_INCREF(Py_None
); resultobj
= Py_None
;
8822 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8825 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8826 bool arg3
= (bool) False
;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8830 PyObject
* obj2
= 0 ;
8832 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8839 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8843 arg3
= (bool) SWIG_AsBool(obj2
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8862 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8865 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8866 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8868 bool temp2
= False
;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8872 (char *) "self",(char *) "facename", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8880 arg2
= wxString_in_helper(obj1
);
8881 if (arg2
== NULL
) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8909 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8915 (char *) "self", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8935 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
;
8937 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8939 PyObject
* obj0
= 0 ;
8941 (char *) "self", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8961 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8964 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8966 return Py_BuildValue((char *)"");
8968 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8975 (char *) "self",(char *) "Language", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8981 arg2
= (int) SWIG_AsInt(obj1
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8983 if (arg1
) (arg1
)->Language
= arg2
;
8985 Py_INCREF(Py_None
); resultobj
= Py_None
;
8992 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8994 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8996 PyObject
* obj0
= 0 ;
8998 (char *) "self", NULL
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9004 result
= (int) ((arg1
)->Language
);
9006 resultobj
= SWIG_FromInt((int)result
);
9013 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9016 wxString
*arg2
= (wxString
*) 0 ;
9017 bool temp2
= False
;
9018 PyObject
* obj0
= 0 ;
9019 PyObject
* obj1
= 0 ;
9021 (char *) "self",(char *) "CanonicalName", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9028 arg2
= wxString_in_helper(obj1
);
9029 if (arg2
== NULL
) SWIG_fail
;
9032 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9049 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9053 PyObject
* obj0
= 0 ;
9055 (char *) "self", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9061 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9065 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9067 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9076 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
;
9078 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9079 wxString
*arg2
= (wxString
*) 0 ;
9080 bool temp2
= False
;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9084 (char *) "self",(char *) "Description", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9091 arg2
= wxString_in_helper(obj1
);
9092 if (arg2
== NULL
) SWIG_fail
;
9095 if (arg1
) (arg1
)->Description
= *arg2
;
9097 Py_INCREF(Py_None
); resultobj
= Py_None
;
9112 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9114 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9118 (char *) "self", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9124 result
= (wxString
*)& ((arg1
)->Description
);
9128 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9130 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9139 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9142 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9144 return Py_BuildValue((char *)"");
9146 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
;
9148 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9149 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9154 (char *) "language",(char *) "flags", NULL
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9159 arg1
= (int) SWIG_AsInt(obj0
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 arg2
= (int) SWIG_AsInt(obj1
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9180 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxLocale
*arg1
= (wxLocale
*) 0 ;
9183 PyObject
* obj0
= 0 ;
9185 (char *) "self", NULL
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 Py_INCREF(Py_None
); resultobj
= Py_None
;
9205 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9207 wxLocale
*arg1
= (wxLocale
*) 0 ;
9208 wxString
*arg2
= 0 ;
9209 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9210 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9211 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9212 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9213 bool arg5
= (bool) True
;
9214 bool arg6
= (bool) False
;
9216 bool temp2
= False
;
9217 bool temp3
= False
;
9218 bool temp4
= False
;
9219 PyObject
* obj0
= 0 ;
9220 PyObject
* obj1
= 0 ;
9221 PyObject
* obj2
= 0 ;
9222 PyObject
* obj3
= 0 ;
9223 PyObject
* obj4
= 0 ;
9224 PyObject
* obj5
= 0 ;
9226 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9233 arg2
= wxString_in_helper(obj1
);
9234 if (arg2
== NULL
) SWIG_fail
;
9239 arg3
= wxString_in_helper(obj2
);
9240 if (arg3
== NULL
) SWIG_fail
;
9246 arg4
= wxString_in_helper(obj3
);
9247 if (arg4
== NULL
) SWIG_fail
;
9252 arg5
= (bool) SWIG_AsBool(obj4
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9256 arg6
= (bool) SWIG_AsBool(obj5
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9299 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxLocale
*arg1
= (wxLocale
*) 0 ;
9302 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9303 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9305 PyObject
* obj0
= 0 ;
9306 PyObject
* obj1
= 0 ;
9307 PyObject
* obj2
= 0 ;
9309 (char *) "self",(char *) "language",(char *) "flags", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 arg2
= (int) SWIG_AsInt(obj1
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9320 arg3
= (int) SWIG_AsInt(obj2
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9339 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (int)wxLocale::GetSystemLanguage();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_FromInt((int)result
);
9361 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (int)wxLocale::GetSystemEncoding();
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= SWIG_FromInt((int)result
);
9383 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
;
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= wxLocale::GetSystemEncodingName();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9411 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
;
9413 wxLocale
*arg1
= (wxLocale
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9417 (char *) "self", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9439 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 wxLocale
*arg1
= (wxLocale
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "self", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 result
= ((wxLocale
const *)arg1
)->GetLocale();
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9471 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxLocale
*arg1
= (wxLocale
*) 0 ;
9475 PyObject
* obj0
= 0 ;
9477 (char *) "self", NULL
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_FromInt((int)result
);
9497 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxLocale
*arg1
= (wxLocale
*) 0 ;
9501 PyObject
* obj0
= 0 ;
9503 (char *) "self", NULL
9506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= ((wxLocale
const *)arg1
)->GetSysName();
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9529 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxLocale
*arg1
= (wxLocale
*) 0 ;
9533 PyObject
* obj0
= 0 ;
9535 (char *) "self", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9561 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxString
*arg1
= 0 ;
9564 bool temp1
= False
;
9565 PyObject
* obj0
= 0 ;
9567 (char *) "prefix", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9572 arg1
= wxString_in_helper(obj0
);
9573 if (arg1
== NULL
) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 Py_INCREF(Py_None
); resultobj
= Py_None
;
9598 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxLocale
*arg1
= (wxLocale
*) 0 ;
9601 wxString
*arg2
= 0 ;
9603 bool temp2
= False
;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9607 (char *) "self",(char *) "szDomain", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9614 arg2
= wxString_in_helper(obj1
);
9615 if (arg2
== NULL
) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9642 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9644 wxLocale
*arg1
= (wxLocale
*) 0 ;
9645 wxString
*arg2
= 0 ;
9647 bool temp2
= False
;
9648 PyObject
* obj0
= 0 ;
9649 PyObject
* obj1
= 0 ;
9651 (char *) "self",(char *) "szDomain", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9658 arg2
= wxString_in_helper(obj1
);
9659 if (arg2
== NULL
) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9686 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9689 wxLanguageInfo
*result
;
9690 PyObject
* obj0
= 0 ;
9692 (char *) "lang", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9696 arg1
= (int) SWIG_AsInt(obj0
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9712 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9716 PyObject
* obj0
= 0 ;
9718 (char *) "lang", NULL
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9722 arg1
= (int) SWIG_AsInt(obj0
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 result
= wxLocale::GetLanguageName(arg1
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9744 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxString
*arg1
= 0 ;
9747 wxLanguageInfo
*result
;
9748 bool temp1
= False
;
9749 PyObject
* obj0
= 0 ;
9751 (char *) "locale", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9756 arg1
= wxString_in_helper(obj0
);
9757 if (arg1
== NULL
) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9782 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxLanguageInfo
*arg1
= 0 ;
9785 PyObject
* obj0
= 0 ;
9787 (char *) "info", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9795 PyErr_SetString(PyExc_TypeError
,"null reference");
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 Py_INCREF(Py_None
); resultobj
= Py_None
;
9812 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxLocale
*arg1
= (wxLocale
*) 0 ;
9815 wxString
*arg2
= 0 ;
9816 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9817 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9819 bool temp2
= False
;
9820 bool temp3
= False
;
9821 PyObject
* obj0
= 0 ;
9822 PyObject
* obj1
= 0 ;
9823 PyObject
* obj2
= 0 ;
9825 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9832 arg2
= wxString_in_helper(obj1
);
9833 if (arg2
== NULL
) SWIG_fail
;
9838 arg3
= wxString_in_helper(obj2
);
9839 if (arg3
== NULL
) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9879 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxLocale
*arg1
= (wxLocale
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9885 (char *) "self", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9895 result
= (wxString
*) &_result_ref
;
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9905 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9914 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9917 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9919 return Py_BuildValue((char *)"");
9921 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (wxLocale
*)wxGetLocale();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9943 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9944 PyObject
*resultobj
;
9945 wxString
*arg1
= 0 ;
9947 bool temp1
= False
;
9948 PyObject
* obj0
= 0 ;
9950 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9952 arg1
= wxString_in_helper(obj0
);
9953 if (arg1
== NULL
) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= wxGetTranslation((wxString
const &)*arg1
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9984 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9985 PyObject
*resultobj
;
9986 wxString
*arg1
= 0 ;
9987 wxString
*arg2
= 0 ;
9990 bool temp1
= False
;
9991 bool temp2
= False
;
9992 PyObject
* obj0
= 0 ;
9993 PyObject
* obj1
= 0 ;
9994 PyObject
* obj2
= 0 ;
9996 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9998 arg1
= wxString_in_helper(obj0
);
9999 if (arg1
== NULL
) SWIG_fail
;
10003 arg2
= wxString_in_helper(obj1
);
10004 if (arg2
== NULL
) SWIG_fail
;
10007 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10045 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10050 argc
= PyObject_Length(args
);
10051 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10052 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10057 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10060 return _wrap_GetTranslation__SWIG_0(self
,args
);
10066 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10070 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10073 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10075 return _wrap_GetTranslation__SWIG_1(self
,args
);
10081 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10086 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxEncodingConverter
*result
;
10089 char *kwnames
[] = {
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10108 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10111 PyObject
* obj0
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "self", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 Py_INCREF(Py_None
); resultobj
= Py_None
;
10133 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10138 int arg4
= (int) wxCONVERT_STRICT
;
10140 PyObject
* obj0
= 0 ;
10141 PyObject
* obj1
= 0 ;
10142 PyObject
* obj2
= 0 ;
10143 PyObject
* obj3
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10151 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10153 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 arg4
= (int) SWIG_AsInt(obj3
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10175 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10178 wxString
*arg2
= 0 ;
10180 bool temp2
= False
;
10181 PyObject
* obj0
= 0 ;
10182 PyObject
* obj1
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self",(char *) "input", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10191 arg2
= wxString_in_helper(obj1
);
10192 if (arg2
== NULL
) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10223 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
;
10226 int arg2
= (int) wxPLATFORM_CURRENT
;
10227 wxFontEncodingArray result
;
10228 PyObject
* obj0
= 0 ;
10229 PyObject
* obj1
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "enc",(char *) "platform", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10235 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 arg2
= (int) SWIG_AsInt(obj1
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= PyList_New(0);
10250 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10251 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10252 PyList_Append(resultobj
, number
);
10262 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10265 wxFontEncodingArray result
;
10266 PyObject
* obj0
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "enc", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10272 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= PyList_New(0);
10283 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10284 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10285 PyList_Append(resultobj
, number
);
10295 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "encIn",(char *) "encOut", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10307 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10309 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10327 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10330 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10332 return Py_BuildValue((char *)"");
10334 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxDC
*arg1
= (wxDC
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 Py_INCREF(Py_None
); resultobj
= Py_None
;
10359 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxDC
*arg1
= (wxDC
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 (arg1
)->BeginDrawing();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 Py_INCREF(Py_None
); resultobj
= Py_None
;
10384 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxDC
*arg1
= (wxDC
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 (arg1
)->EndDrawing();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 Py_INCREF(Py_None
); resultobj
= Py_None
;
10409 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxDC
*arg1
= (wxDC
*) 0 ;
10414 wxColour
*arg4
= 0 ;
10415 int arg5
= (int) wxFLOOD_SURFACE
;
10418 PyObject
* obj0
= 0 ;
10419 PyObject
* obj1
= 0 ;
10420 PyObject
* obj2
= 0 ;
10421 PyObject
* obj3
= 0 ;
10422 PyObject
* obj4
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10430 arg2
= (int) SWIG_AsInt(obj1
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10432 arg3
= (int) SWIG_AsInt(obj2
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10436 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10439 arg5
= (int) SWIG_AsInt(obj4
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10458 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxDC
*arg1
= (wxDC
*) 0 ;
10461 wxPoint
*arg2
= 0 ;
10462 wxColour
*arg3
= 0 ;
10463 int arg4
= (int) wxFLOOD_SURFACE
;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 PyObject
* obj3
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10480 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10484 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10487 arg4
= (int) SWIG_AsInt(obj3
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10506 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
;
10508 wxDC
*arg1
= (wxDC
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 PyObject
* obj1
= 0 ;
10514 PyObject
* obj2
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self",(char *) "x",(char *) "y", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 arg2
= (int) SWIG_AsInt(obj1
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10524 arg3
= (int) SWIG_AsInt(obj2
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10534 wxColour
* resultptr
;
10535 resultptr
= new wxColour((wxColour
&) result
);
10536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10544 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxDC
*arg1
= (wxDC
*) 0 ;
10547 wxPoint
*arg2
= 0 ;
10550 PyObject
* obj0
= 0 ;
10551 PyObject
* obj1
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "self",(char *) "pt", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 wxColour
* resultptr
;
10572 resultptr
= new wxColour((wxColour
&) result
);
10573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10581 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxDC
*arg1
= (wxDC
*) 0 ;
10588 PyObject
* obj0
= 0 ;
10589 PyObject
* obj1
= 0 ;
10590 PyObject
* obj2
= 0 ;
10591 PyObject
* obj3
= 0 ;
10592 PyObject
* obj4
= 0 ;
10593 char *kwnames
[] = {
10594 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10600 arg2
= (int) SWIG_AsInt(obj1
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10602 arg3
= (int) SWIG_AsInt(obj2
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10604 arg4
= (int) SWIG_AsInt(obj3
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10606 arg5
= (int) SWIG_AsInt(obj4
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 Py_INCREF(Py_None
); resultobj
= Py_None
;
10622 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxDC
*arg1
= (wxDC
*) 0 ;
10625 wxPoint
*arg2
= 0 ;
10626 wxPoint
*arg3
= 0 ;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 PyObject
* obj2
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 Py_INCREF(Py_None
); resultobj
= Py_None
;
10661 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxDC
*arg1
= (wxDC
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 PyObject
* obj2
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self",(char *) "x",(char *) "y", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10676 arg2
= (int) SWIG_AsInt(obj1
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10678 arg3
= (int) SWIG_AsInt(obj2
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 (arg1
)->CrossHair(arg2
,arg3
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 Py_INCREF(Py_None
); resultobj
= Py_None
;
10694 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxDC
*arg1
= (wxDC
*) 0 ;
10697 wxPoint
*arg2
= 0 ;
10699 PyObject
* obj0
= 0 ;
10700 PyObject
* obj1
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self",(char *) "pt", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10710 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 Py_INCREF(Py_None
); resultobj
= Py_None
;
10726 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxDC
*arg1
= (wxDC
*) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 PyObject
* obj2
= 0 ;
10738 PyObject
* obj3
= 0 ;
10739 PyObject
* obj4
= 0 ;
10740 PyObject
* obj5
= 0 ;
10741 PyObject
* obj6
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10749 arg2
= (int) SWIG_AsInt(obj1
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10751 arg3
= (int) SWIG_AsInt(obj2
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10753 arg4
= (int) SWIG_AsInt(obj3
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10755 arg5
= (int) SWIG_AsInt(obj4
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10757 arg6
= (int) SWIG_AsInt(obj5
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10759 arg7
= (int) SWIG_AsInt(obj6
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 Py_INCREF(Py_None
); resultobj
= Py_None
;
10775 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxDC
*arg1
= (wxDC
*) 0 ;
10778 wxPoint
*arg2
= 0 ;
10779 wxPoint
*arg3
= 0 ;
10780 wxPoint
*arg4
= 0 ;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 PyObject
* obj2
= 0 ;
10787 PyObject
* obj3
= 0 ;
10788 char *kwnames
[] = {
10789 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10801 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10805 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 Py_INCREF(Py_None
); resultobj
= Py_None
;
10821 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxDC
*arg1
= (wxDC
*) 0 ;
10828 PyObject
* obj0
= 0 ;
10829 PyObject
* obj1
= 0 ;
10830 PyObject
* obj2
= 0 ;
10831 PyObject
* obj3
= 0 ;
10832 PyObject
* obj4
= 0 ;
10833 char *kwnames
[] = {
10834 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10840 arg2
= (int) SWIG_AsInt(obj1
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10842 arg3
= (int) SWIG_AsInt(obj2
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10844 arg4
= (int) SWIG_AsInt(obj3
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10846 arg5
= (int) SWIG_AsInt(obj4
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 Py_INCREF(Py_None
); resultobj
= Py_None
;
10862 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxDC
*arg1
= (wxDC
*) 0 ;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self",(char *) "rect", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10878 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10884 wxPyEndAllowThreads(__tstate
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10887 Py_INCREF(Py_None
); resultobj
= Py_None
;
10894 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
;
10896 wxDC
*arg1
= (wxDC
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 PyObject
* obj2
= 0 ;
10906 PyObject
* obj3
= 0 ;
10907 PyObject
* obj4
= 0 ;
10908 PyObject
* obj5
= 0 ;
10909 PyObject
* obj6
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10917 arg2
= (int) SWIG_AsInt(obj1
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10919 arg3
= (int) SWIG_AsInt(obj2
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10921 arg4
= (int) SWIG_AsInt(obj3
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10923 arg5
= (int) SWIG_AsInt(obj4
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10925 arg6
= (double) SWIG_AsDouble(obj5
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10927 arg7
= (double) SWIG_AsDouble(obj6
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxDC
*arg1
= (wxDC
*) 0 ;
10946 wxPoint
*arg2
= 0 ;
10952 PyObject
* obj0
= 0 ;
10953 PyObject
* obj1
= 0 ;
10954 PyObject
* obj2
= 0 ;
10955 PyObject
* obj3
= 0 ;
10956 PyObject
* obj4
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10966 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10970 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10972 arg4
= (double) SWIG_AsDouble(obj3
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10974 arg5
= (double) SWIG_AsDouble(obj4
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 Py_INCREF(Py_None
); resultobj
= Py_None
;
10990 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxDC
*arg1
= (wxDC
*) 0 ;
10995 PyObject
* obj0
= 0 ;
10996 PyObject
* obj1
= 0 ;
10997 PyObject
* obj2
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "self",(char *) "x",(char *) "y", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11005 arg2
= (int) SWIG_AsInt(obj1
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11007 arg3
= (int) SWIG_AsInt(obj2
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 (arg1
)->DrawPoint(arg2
,arg3
);
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 Py_INCREF(Py_None
); resultobj
= Py_None
;
11023 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxDC
*arg1
= (wxDC
*) 0 ;
11026 wxPoint
*arg2
= 0 ;
11028 PyObject
* obj0
= 0 ;
11029 PyObject
* obj1
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self",(char *) "pt", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 Py_INCREF(Py_None
); resultobj
= Py_None
;
11055 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
*resultobj
;
11057 wxDC
*arg1
= (wxDC
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 PyObject
* obj2
= 0 ;
11065 PyObject
* obj3
= 0 ;
11066 PyObject
* obj4
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11074 arg2
= (int) SWIG_AsInt(obj1
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11076 arg3
= (int) SWIG_AsInt(obj2
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11078 arg4
= (int) SWIG_AsInt(obj3
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11080 arg5
= (int) SWIG_AsInt(obj4
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 Py_INCREF(Py_None
); resultobj
= Py_None
;
11096 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxDC
*arg1
= (wxDC
*) 0 ;
11099 wxPoint
*arg2
= 0 ;
11103 PyObject
* obj0
= 0 ;
11104 PyObject
* obj1
= 0 ;
11105 PyObject
* obj2
= 0 ;
11106 char *kwnames
[] = {
11107 (char *) "self",(char *) "pt",(char *) "sz", NULL
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11115 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11119 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 Py_INCREF(Py_None
); resultobj
= Py_None
;
11135 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxDC
*arg1
= (wxDC
*) 0 ;
11140 PyObject
* obj0
= 0 ;
11141 PyObject
* obj1
= 0 ;
11142 char *kwnames
[] = {
11143 (char *) "self",(char *) "rect", NULL
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11151 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11160 Py_INCREF(Py_None
); resultobj
= Py_None
;
11167 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
;
11169 wxDC
*arg1
= (wxDC
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 PyObject
* obj1
= 0 ;
11177 PyObject
* obj2
= 0 ;
11178 PyObject
* obj3
= 0 ;
11179 PyObject
* obj4
= 0 ;
11180 PyObject
* obj5
= 0 ;
11181 char *kwnames
[] = {
11182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11188 arg2
= (int) SWIG_AsInt(obj1
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11190 arg3
= (int) SWIG_AsInt(obj2
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11192 arg4
= (int) SWIG_AsInt(obj3
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11194 arg5
= (int) SWIG_AsInt(obj4
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11196 arg6
= (double) SWIG_AsDouble(obj5
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 Py_INCREF(Py_None
); resultobj
= Py_None
;
11212 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
;
11214 wxDC
*arg1
= (wxDC
*) 0 ;
11215 wxPoint
*arg2
= 0 ;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 PyObject
* obj2
= 0 ;
11223 PyObject
* obj3
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11233 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11237 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11239 arg4
= (double) SWIG_AsDouble(obj3
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 Py_INCREF(Py_None
); resultobj
= Py_None
;
11255 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxDC
*arg1
= (wxDC
*) 0 ;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 PyObject
* obj2
= 0 ;
11264 char *kwnames
[] = {
11265 (char *) "self",(char *) "r",(char *) "radius", NULL
11268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11273 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11275 arg3
= (double) SWIG_AsDouble(obj2
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 Py_INCREF(Py_None
); resultobj
= Py_None
;
11291 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
;
11293 wxDC
*arg1
= (wxDC
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 PyObject
* obj2
= 0 ;
11300 PyObject
* obj3
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11308 arg2
= (int) SWIG_AsInt(obj1
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11310 arg3
= (int) SWIG_AsInt(obj2
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11312 arg4
= (int) SWIG_AsInt(obj3
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxDC
*arg1
= (wxDC
*) 0 ;
11331 wxPoint
*arg2
= 0 ;
11334 PyObject
* obj0
= 0 ;
11335 PyObject
* obj1
= 0 ;
11336 PyObject
* obj2
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self",(char *) "pt",(char *) "radius", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11348 arg3
= (int) SWIG_AsInt(obj2
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 Py_INCREF(Py_None
); resultobj
= Py_None
;
11364 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxDC
*arg1
= (wxDC
*) 0 ;
11371 PyObject
* obj0
= 0 ;
11372 PyObject
* obj1
= 0 ;
11373 PyObject
* obj2
= 0 ;
11374 PyObject
* obj3
= 0 ;
11375 PyObject
* obj4
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11383 arg2
= (int) SWIG_AsInt(obj1
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11385 arg3
= (int) SWIG_AsInt(obj2
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11387 arg4
= (int) SWIG_AsInt(obj3
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11389 arg5
= (int) SWIG_AsInt(obj4
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 Py_INCREF(Py_None
); resultobj
= Py_None
;
11405 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
;
11407 wxDC
*arg1
= (wxDC
*) 0 ;
11408 wxPoint
*arg2
= 0 ;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 PyObject
* obj2
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "self",(char *) "pt",(char *) "sz", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11424 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11428 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 Py_INCREF(Py_None
); resultobj
= Py_None
;
11444 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
;
11446 wxDC
*arg1
= (wxDC
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 PyObject
* obj1
= 0 ;
11451 char *kwnames
[] = {
11452 (char *) "self",(char *) "rect", NULL
11455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11460 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11469 Py_INCREF(Py_None
); resultobj
= Py_None
;
11476 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11477 PyObject
*resultobj
;
11478 wxDC
*arg1
= (wxDC
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 PyObject
* obj2
= 0 ;
11485 PyObject
* obj3
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11496 if (arg2
== NULL
) {
11497 PyErr_SetString(PyExc_TypeError
,"null reference");
11500 arg3
= (int) SWIG_AsInt(obj2
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11502 arg4
= (int) SWIG_AsInt(obj3
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 Py_INCREF(Py_None
); resultobj
= Py_None
;
11518 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxDC
*arg1
= (wxDC
*) 0 ;
11522 wxPoint
*arg3
= 0 ;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 PyObject
* obj2
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "self",(char *) "icon",(char *) "pt", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11537 if (arg2
== NULL
) {
11538 PyErr_SetString(PyExc_TypeError
,"null reference");
11543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 Py_INCREF(Py_None
); resultobj
= Py_None
;
11559 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxDC
*arg1
= (wxDC
*) 0 ;
11562 wxBitmap
*arg2
= 0 ;
11565 bool arg5
= (bool) False
;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 PyObject
* obj2
= 0 ;
11569 PyObject
* obj3
= 0 ;
11570 PyObject
* obj4
= 0 ;
11571 char *kwnames
[] = {
11572 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11581 if (arg2
== NULL
) {
11582 PyErr_SetString(PyExc_TypeError
,"null reference");
11585 arg3
= (int) SWIG_AsInt(obj2
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11587 arg4
= (int) SWIG_AsInt(obj3
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 arg5
= (bool) SWIG_AsBool(obj4
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 Py_INCREF(Py_None
); resultobj
= Py_None
;
11607 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
;
11609 wxDC
*arg1
= (wxDC
*) 0 ;
11610 wxBitmap
*arg2
= 0 ;
11611 wxPoint
*arg3
= 0 ;
11612 bool arg4
= (bool) False
;
11614 PyObject
* obj0
= 0 ;
11615 PyObject
* obj1
= 0 ;
11616 PyObject
* obj2
= 0 ;
11617 PyObject
* obj3
= 0 ;
11618 char *kwnames
[] = {
11619 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11628 if (arg2
== NULL
) {
11629 PyErr_SetString(PyExc_TypeError
,"null reference");
11634 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11637 arg4
= (bool) SWIG_AsBool(obj3
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 Py_INCREF(Py_None
); resultobj
= Py_None
;
11654 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxDC
*arg1
= (wxDC
*) 0 ;
11657 wxString
*arg2
= 0 ;
11660 bool temp2
= False
;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 PyObject
* obj2
= 0 ;
11664 PyObject
* obj3
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11673 arg2
= wxString_in_helper(obj1
);
11674 if (arg2
== NULL
) SWIG_fail
;
11677 arg3
= (int) SWIG_AsInt(obj2
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11679 arg4
= (int) SWIG_AsInt(obj3
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11703 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxDC
*arg1
= (wxDC
*) 0 ;
11706 wxString
*arg2
= 0 ;
11707 wxPoint
*arg3
= 0 ;
11708 bool temp2
= False
;
11710 PyObject
* obj0
= 0 ;
11711 PyObject
* obj1
= 0 ;
11712 PyObject
* obj2
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "self",(char *) "text",(char *) "pt", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 Py_INCREF(Py_None
); resultobj
= Py_None
;
11751 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxDC
*arg1
= (wxDC
*) 0 ;
11754 wxString
*arg2
= 0 ;
11758 bool temp2
= False
;
11759 PyObject
* obj0
= 0 ;
11760 PyObject
* obj1
= 0 ;
11761 PyObject
* obj2
= 0 ;
11762 PyObject
* obj3
= 0 ;
11763 PyObject
* obj4
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11772 arg2
= wxString_in_helper(obj1
);
11773 if (arg2
== NULL
) SWIG_fail
;
11776 arg3
= (int) SWIG_AsInt(obj2
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11778 arg4
= (int) SWIG_AsInt(obj3
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11780 arg5
= (double) SWIG_AsDouble(obj4
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 Py_INCREF(Py_None
); resultobj
= Py_None
;
11804 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11805 PyObject
*resultobj
;
11806 wxDC
*arg1
= (wxDC
*) 0 ;
11807 wxString
*arg2
= 0 ;
11808 wxPoint
*arg3
= 0 ;
11810 bool temp2
= False
;
11812 PyObject
* obj0
= 0 ;
11813 PyObject
* obj1
= 0 ;
11814 PyObject
* obj2
= 0 ;
11815 PyObject
* obj3
= 0 ;
11816 char *kwnames
[] = {
11817 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11824 arg2
= wxString_in_helper(obj1
);
11825 if (arg2
== NULL
) SWIG_fail
;
11830 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11832 arg4
= (double) SWIG_AsDouble(obj3
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 Py_INCREF(Py_None
); resultobj
= Py_None
;
11856 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxDC
*arg1
= (wxDC
*) 0 ;
11863 wxDC
*arg6
= (wxDC
*) 0 ;
11866 int arg9
= (int) wxCOPY
;
11867 bool arg10
= (bool) False
;
11868 int arg11
= (int) -1 ;
11869 int arg12
= (int) -1 ;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 PyObject
* obj3
= 0 ;
11875 PyObject
* obj4
= 0 ;
11876 PyObject
* obj5
= 0 ;
11877 PyObject
* obj6
= 0 ;
11878 PyObject
* obj7
= 0 ;
11879 PyObject
* obj8
= 0 ;
11880 PyObject
* obj9
= 0 ;
11881 PyObject
* obj10
= 0 ;
11882 PyObject
* obj11
= 0 ;
11883 char *kwnames
[] = {
11884 (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
11887 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
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 arg2
= (int) SWIG_AsInt(obj1
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11892 arg3
= (int) SWIG_AsInt(obj2
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11894 arg4
= (int) SWIG_AsInt(obj3
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11896 arg5
= (int) SWIG_AsInt(obj4
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11898 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11900 arg7
= (int) SWIG_AsInt(obj6
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11902 arg8
= (int) SWIG_AsInt(obj7
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 arg9
= (int) SWIG_AsInt(obj8
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11909 arg10
= (bool) SWIG_AsBool(obj9
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 arg11
= (int) SWIG_AsInt(obj10
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11917 arg12
= (int) SWIG_AsInt(obj11
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11936 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
;
11938 wxDC
*arg1
= (wxDC
*) 0 ;
11939 wxPoint
*arg2
= 0 ;
11941 wxDC
*arg4
= (wxDC
*) 0 ;
11942 wxPoint
*arg5
= 0 ;
11943 int arg6
= (int) wxCOPY
;
11944 bool arg7
= (bool) False
;
11945 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11946 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 PyObject
* obj2
= 0 ;
11955 PyObject
* obj3
= 0 ;
11956 PyObject
* obj4
= 0 ;
11957 PyObject
* obj5
= 0 ;
11958 PyObject
* obj6
= 0 ;
11959 PyObject
* obj7
= 0 ;
11960 char *kwnames
[] = {
11961 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11969 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11973 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11975 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11979 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11982 arg6
= (int) SWIG_AsInt(obj5
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11986 arg7
= (bool) SWIG_AsBool(obj6
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11992 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12011 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxDC
*arg1
= (wxDC
*) 0 ;
12015 wxPoint
*arg3
= (wxPoint
*) 0 ;
12016 int arg4
= (int) 0 ;
12017 int arg5
= (int) 0 ;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 PyObject
* obj2
= 0 ;
12021 PyObject
* obj3
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12030 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12031 if (arg3
== NULL
) SWIG_fail
;
12034 arg4
= (int) SWIG_AsInt(obj2
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12038 arg5
= (int) SWIG_AsInt(obj3
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 Py_INCREF(Py_None
); resultobj
= Py_None
;
12050 if (arg3
) delete [] arg3
;
12055 if (arg3
) delete [] arg3
;
12061 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxDC
*arg1
= (wxDC
*) 0 ;
12065 wxPoint
*arg3
= (wxPoint
*) 0 ;
12066 int arg4
= (int) 0 ;
12067 int arg5
= (int) 0 ;
12068 int arg6
= (int) wxODDEVEN_RULE
;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 PyObject
* obj2
= 0 ;
12072 PyObject
* obj3
= 0 ;
12073 PyObject
* obj4
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12082 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12083 if (arg3
== NULL
) SWIG_fail
;
12086 arg4
= (int) SWIG_AsInt(obj2
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12090 arg5
= (int) SWIG_AsInt(obj3
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12094 arg6
= (int) SWIG_AsInt(obj4
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 Py_INCREF(Py_None
); resultobj
= Py_None
;
12106 if (arg3
) delete [] arg3
;
12111 if (arg3
) delete [] arg3
;
12117 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxDC
*arg1
= (wxDC
*) 0 ;
12120 wxString
*arg2
= 0 ;
12122 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12123 int arg5
= (int) -1 ;
12124 bool temp2
= False
;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 PyObject
* obj2
= 0 ;
12129 PyObject
* obj3
= 0 ;
12130 PyObject
* obj4
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12139 arg2
= wxString_in_helper(obj1
);
12140 if (arg2
== NULL
) SWIG_fail
;
12145 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12148 arg4
= (int) SWIG_AsInt(obj3
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12152 arg5
= (int) SWIG_AsInt(obj4
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 Py_INCREF(Py_None
); resultobj
= Py_None
;
12177 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxDC
*arg1
= (wxDC
*) 0 ;
12180 wxString
*arg2
= 0 ;
12181 wxBitmap
*arg3
= 0 ;
12183 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12184 int arg6
= (int) -1 ;
12186 bool temp2
= False
;
12188 PyObject
* obj0
= 0 ;
12189 PyObject
* obj1
= 0 ;
12190 PyObject
* obj2
= 0 ;
12191 PyObject
* obj3
= 0 ;
12192 PyObject
* obj4
= 0 ;
12193 PyObject
* obj5
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12202 arg2
= wxString_in_helper(obj1
);
12203 if (arg2
== NULL
) SWIG_fail
;
12206 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12209 if (arg3
== NULL
) {
12210 PyErr_SetString(PyExc_TypeError
,"null reference");
12215 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12218 arg5
= (int) SWIG_AsInt(obj4
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12222 arg6
= (int) SWIG_AsInt(obj5
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12233 wxRect
* resultptr
;
12234 resultptr
= new wxRect((wxRect
&) result
);
12235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12251 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxDC
*arg1
= (wxDC
*) 0 ;
12255 wxPoint
*arg3
= (wxPoint
*) 0 ;
12256 PyObject
* obj0
= 0 ;
12257 PyObject
* obj1
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self",(char *) "points", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12266 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12267 if (arg3
== NULL
) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 (arg1
)->DrawSpline(arg2
,arg3
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 Py_INCREF(Py_None
); resultobj
= Py_None
;
12278 if (arg3
) delete [] arg3
;
12283 if (arg3
) delete [] arg3
;
12289 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxDC
*arg1
= (wxDC
*) 0 ;
12292 PyObject
* obj0
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 Py_INCREF(Py_None
); resultobj
= Py_None
;
12314 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxDC
*arg1
= (wxDC
*) 0 ;
12317 wxString
*arg2
= 0 ;
12319 bool temp2
= False
;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self",(char *) "message", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12330 arg2
= wxString_in_helper(obj1
);
12331 if (arg2
== NULL
) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12358 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxDC
*arg1
= (wxDC
*) 0 ;
12361 PyObject
* obj0
= 0 ;
12362 char *kwnames
[] = {
12363 (char *) "self", NULL
12366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 Py_INCREF(Py_None
); resultobj
= Py_None
;
12383 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxDC
*arg1
= (wxDC
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "self", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->StartPage();
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 Py_INCREF(Py_None
); resultobj
= Py_None
;
12408 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxDC
*arg1
= (wxDC
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 Py_INCREF(Py_None
); resultobj
= Py_None
;
12433 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxDC
*arg1
= (wxDC
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 PyObject
* obj1
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self",(char *) "font", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12449 if (arg2
== NULL
) {
12450 PyErr_SetString(PyExc_TypeError
,"null reference");
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 (arg1
)->SetFont((wxFont
const &)*arg2
);
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 Py_INCREF(Py_None
); resultobj
= Py_None
;
12467 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
;
12469 wxDC
*arg1
= (wxDC
*) 0 ;
12471 PyObject
* obj0
= 0 ;
12472 PyObject
* obj1
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self",(char *) "pen", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12483 if (arg2
== NULL
) {
12484 PyErr_SetString(PyExc_TypeError
,"null reference");
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 (arg1
)->SetPen((wxPen
const &)*arg2
);
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 Py_INCREF(Py_None
); resultobj
= Py_None
;
12501 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
;
12503 wxDC
*arg1
= (wxDC
*) 0 ;
12504 wxBrush
*arg2
= 0 ;
12505 PyObject
* obj0
= 0 ;
12506 PyObject
* obj1
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "self",(char *) "brush", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12517 if (arg2
== NULL
) {
12518 PyErr_SetString(PyExc_TypeError
,"null reference");
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 Py_INCREF(Py_None
); resultobj
= Py_None
;
12535 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxDC
*arg1
= (wxDC
*) 0 ;
12538 wxBrush
*arg2
= 0 ;
12539 PyObject
* obj0
= 0 ;
12540 PyObject
* obj1
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self",(char *) "brush", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12551 if (arg2
== NULL
) {
12552 PyErr_SetString(PyExc_TypeError
,"null reference");
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 Py_INCREF(Py_None
); resultobj
= Py_None
;
12569 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxDC
*arg1
= (wxDC
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self",(char *) "mode", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12582 arg2
= (int) SWIG_AsInt(obj1
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 (arg1
)->SetBackgroundMode(arg2
);
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 Py_INCREF(Py_None
); resultobj
= Py_None
;
12598 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxDC
*arg1
= (wxDC
*) 0 ;
12601 wxPalette
*arg2
= 0 ;
12602 PyObject
* obj0
= 0 ;
12603 PyObject
* obj1
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self",(char *) "palette", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12614 if (arg2
== NULL
) {
12615 PyErr_SetString(PyExc_TypeError
,"null reference");
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 Py_INCREF(Py_None
); resultobj
= Py_None
;
12632 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
*resultobj
;
12634 wxDC
*arg1
= (wxDC
*) 0 ;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 PyObject
* obj2
= 0 ;
12642 PyObject
* obj3
= 0 ;
12643 PyObject
* obj4
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12651 arg2
= (int) SWIG_AsInt(obj1
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12653 arg3
= (int) SWIG_AsInt(obj2
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12655 arg4
= (int) SWIG_AsInt(obj3
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12657 arg5
= (int) SWIG_AsInt(obj4
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 Py_INCREF(Py_None
); resultobj
= Py_None
;
12673 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxDC
*arg1
= (wxDC
*) 0 ;
12676 wxPoint
*arg2
= 0 ;
12680 PyObject
* obj0
= 0 ;
12681 PyObject
* obj1
= 0 ;
12682 PyObject
* obj2
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self",(char *) "pt",(char *) "sz", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12692 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12696 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 Py_INCREF(Py_None
); resultobj
= Py_None
;
12712 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxDC
*arg1
= (wxDC
*) 0 ;
12717 PyObject
* obj0
= 0 ;
12718 PyObject
* obj1
= 0 ;
12719 char *kwnames
[] = {
12720 (char *) "self",(char *) "rect", NULL
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12728 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 Py_INCREF(Py_None
); resultobj
= Py_None
;
12744 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxDC
*arg1
= (wxDC
*) 0 ;
12747 wxRegion
*arg2
= 0 ;
12748 PyObject
* obj0
= 0 ;
12749 PyObject
* obj1
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self",(char *) "region", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12760 if (arg2
== NULL
) {
12761 PyErr_SetString(PyExc_TypeError
,"null reference");
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 Py_INCREF(Py_None
); resultobj
= Py_None
;
12778 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12780 wxDC
*arg1
= (wxDC
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "self", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 (arg1
)->DestroyClippingRegion();
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 Py_INCREF(Py_None
); resultobj
= Py_None
;
12803 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxDC
*arg1
= (wxDC
*) 0 ;
12806 int *arg2
= (int *) 0 ;
12807 int *arg3
= (int *) 0 ;
12808 int *arg4
= (int *) 0 ;
12809 int *arg5
= (int *) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 Py_INCREF(Py_None
); resultobj
= Py_None
;
12835 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12836 resultobj
= t_output_helper(resultobj
,o
);
12839 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12840 resultobj
= t_output_helper(resultobj
,o
);
12843 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12844 resultobj
= t_output_helper(resultobj
,o
);
12847 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12848 resultobj
= t_output_helper(resultobj
,o
);
12856 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxDC
*arg1
= (wxDC
*) 0 ;
12860 PyObject
* obj0
= 0 ;
12861 char *kwnames
[] = {
12862 (char *) "self", NULL
12865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= wxDC_GetClippingRect(arg1
);
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12876 wxRect
* resultptr
;
12877 resultptr
= new wxRect((wxRect
&) result
);
12878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12886 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxDC
*arg1
= (wxDC
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 char *kwnames
[] = {
12892 (char *) "self", NULL
12895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= SWIG_FromInt((int)result
);
12912 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxDC
*arg1
= (wxDC
*) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= SWIG_FromInt((int)result
);
12938 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxDC
*arg1
= (wxDC
*) 0 ;
12941 wxString
*arg2
= 0 ;
12942 int *arg3
= (int *) 0 ;
12943 int *arg4
= (int *) 0 ;
12944 bool temp2
= False
;
12947 PyObject
* obj0
= 0 ;
12948 PyObject
* obj1
= 0 ;
12949 char *kwnames
[] = {
12950 (char *) "self",(char *) "string", NULL
12955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12959 arg2
= wxString_in_helper(obj1
);
12960 if (arg2
== NULL
) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 Py_INCREF(Py_None
); resultobj
= Py_None
;
12972 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12973 resultobj
= t_output_helper(resultobj
,o
);
12976 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12977 resultobj
= t_output_helper(resultobj
,o
);
12993 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
;
12995 wxDC
*arg1
= (wxDC
*) 0 ;
12996 wxString
*arg2
= 0 ;
12997 int *arg3
= (int *) 0 ;
12998 int *arg4
= (int *) 0 ;
12999 int *arg5
= (int *) 0 ;
13000 int *arg6
= (int *) 0 ;
13001 wxFont
*arg7
= (wxFont
*) NULL
;
13002 bool temp2
= False
;
13007 PyObject
* obj0
= 0 ;
13008 PyObject
* obj1
= 0 ;
13009 PyObject
* obj2
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "self",(char *) "string",(char *) "font", NULL
13018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13022 arg2
= wxString_in_helper(obj1
);
13023 if (arg2
== NULL
) SWIG_fail
;
13027 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 Py_INCREF(Py_None
); resultobj
= Py_None
;
13039 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13040 resultobj
= t_output_helper(resultobj
,o
);
13043 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13044 resultobj
= t_output_helper(resultobj
,o
);
13047 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13048 resultobj
= t_output_helper(resultobj
,o
);
13051 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13052 resultobj
= t_output_helper(resultobj
,o
);
13068 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxDC
*arg1
= (wxDC
*) 0 ;
13071 wxString
*arg2
= 0 ;
13072 int *arg3
= (int *) 0 ;
13073 int *arg4
= (int *) 0 ;
13074 int *arg5
= (int *) 0 ;
13075 wxFont
*arg6
= (wxFont
*) NULL
;
13076 bool temp2
= False
;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 PyObject
* obj2
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self",(char *) "text",(char *) "font", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13094 arg2
= wxString_in_helper(obj1
);
13095 if (arg2
== NULL
) SWIG_fail
;
13099 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 Py_INCREF(Py_None
); resultobj
= Py_None
;
13111 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13112 resultobj
= t_output_helper(resultobj
,o
);
13115 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13116 resultobj
= t_output_helper(resultobj
,o
);
13119 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13120 resultobj
= t_output_helper(resultobj
,o
);
13136 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxDC
*arg1
= (wxDC
*) 0 ;
13139 wxString
*arg2
= 0 ;
13141 bool temp2
= False
;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self",(char *) "text", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13152 arg2
= wxString_in_helper(obj1
);
13153 if (arg2
== NULL
) SWIG_fail
;
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= PyList_New(0);
13166 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13167 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13168 PyList_Append(resultobj
, val
);
13186 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxDC
*arg1
= (wxDC
*) 0 ;
13190 PyObject
* obj0
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 result
= (arg1
)->GetSize();
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13206 wxSize
* resultptr
;
13207 resultptr
= new wxSize((wxSize
&) result
);
13208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13216 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxDC
*arg1
= (wxDC
*) 0 ;
13219 int *arg2
= (int *) 0 ;
13220 int *arg3
= (int *) 0 ;
13223 PyObject
* obj0
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 (arg1
)->GetSize(arg2
,arg3
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 Py_INCREF(Py_None
); resultobj
= Py_None
;
13242 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13243 resultobj
= t_output_helper(resultobj
,o
);
13246 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13247 resultobj
= t_output_helper(resultobj
,o
);
13255 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxDC
*arg1
= (wxDC
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13275 wxSize
* resultptr
;
13276 resultptr
= new wxSize((wxSize
&) result
);
13277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13285 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
;
13287 wxDC
*arg1
= (wxDC
*) 0 ;
13288 int *arg2
= (int *) 0 ;
13289 int *arg3
= (int *) 0 ;
13292 PyObject
* obj0
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 Py_INCREF(Py_None
); resultobj
= Py_None
;
13311 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13312 resultobj
= t_output_helper(resultobj
,o
);
13315 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13316 resultobj
= t_output_helper(resultobj
,o
);
13324 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
;
13326 wxDC
*arg1
= (wxDC
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 PyObject
* obj1
= 0 ;
13331 char *kwnames
[] = {
13332 (char *) "self",(char *) "x", NULL
13335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13338 arg2
= (int) SWIG_AsInt(obj1
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_FromInt((int)result
);
13354 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxDC
*arg1
= (wxDC
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self",(char *) "y", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13368 arg2
= (int) SWIG_AsInt(obj1
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= SWIG_FromInt((int)result
);
13384 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxDC
*arg1
= (wxDC
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "self",(char *) "x", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13398 arg2
= (int) SWIG_AsInt(obj1
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= SWIG_FromInt((int)result
);
13414 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxDC
*arg1
= (wxDC
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self",(char *) "y", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13428 arg2
= (int) SWIG_AsInt(obj1
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_FromInt((int)result
);
13444 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxDC
*arg1
= (wxDC
*) 0 ;
13449 PyObject
* obj0
= 0 ;
13450 PyObject
* obj1
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self",(char *) "x", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13458 arg2
= (int) SWIG_AsInt(obj1
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_FromInt((int)result
);
13474 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxDC
*arg1
= (wxDC
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 PyObject
* obj1
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self",(char *) "y", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 arg2
= (int) SWIG_AsInt(obj1
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= SWIG_FromInt((int)result
);
13504 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxDC
*arg1
= (wxDC
*) 0 ;
13509 PyObject
* obj0
= 0 ;
13510 PyObject
* obj1
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self",(char *) "x", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13518 arg2
= (int) SWIG_AsInt(obj1
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13527 resultobj
= SWIG_FromInt((int)result
);
13534 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxDC
*arg1
= (wxDC
*) 0 ;
13539 PyObject
* obj0
= 0 ;
13540 PyObject
* obj1
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self",(char *) "y", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13548 arg2
= (int) SWIG_AsInt(obj1
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_FromInt((int)result
);
13564 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxDC
*arg1
= (wxDC
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13592 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxDC
*arg1
= (wxDC
*) 0 ;
13596 PyObject
* obj0
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13620 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxDC
*arg1
= (wxDC
*) 0 ;
13624 PyObject
* obj0
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= SWIG_FromInt((int)result
);
13646 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxDC
*arg1
= (wxDC
*) 0 ;
13650 PyObject
* obj0
= 0 ;
13651 char *kwnames
[] = {
13652 (char *) "self", NULL
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 result
= ((wxDC
const *)arg1
)->GetPPI();
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13666 wxSize
* resultptr
;
13667 resultptr
= new wxSize((wxSize
&) result
);
13668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13676 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxDC
*arg1
= (wxDC
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "self", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (bool)((wxDC
const *)arg1
)->Ok();
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13704 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxDC
*arg1
= (wxDC
*) 0 ;
13708 PyObject
* obj0
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= SWIG_FromInt((int)result
);
13730 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxDC
*arg1
= (wxDC
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13746 result
= (wxBrush
*) &_result_ref
;
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13753 wxBrush
* resultptr
= new wxBrush(*result
);
13754 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13762 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxDC
*arg1
= (wxDC
*) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13778 result
= (wxBrush
*) &_result_ref
;
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13785 wxBrush
* resultptr
= new wxBrush(*result
);
13786 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13794 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
;
13796 wxDC
*arg1
= (wxDC
*) 0 ;
13798 PyObject
* obj0
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13810 result
= (wxFont
*) &_result_ref
;
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13817 wxFont
* resultptr
= new wxFont(*result
);
13818 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13826 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxDC
*arg1
= (wxDC
*) 0 ;
13830 PyObject
* obj0
= 0 ;
13831 char *kwnames
[] = {
13832 (char *) "self", NULL
13835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13842 result
= (wxPen
*) &_result_ref
;
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13849 wxPen
* resultptr
= new wxPen(*result
);
13850 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13858 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxDC
*arg1
= (wxDC
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13874 result
= (wxColour
*) &_result_ref
;
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13887 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
;
13889 wxDC
*arg1
= (wxDC
*) 0 ;
13891 PyObject
* obj0
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13903 result
= (wxColour
*) &_result_ref
;
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13916 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxDC
*arg1
= (wxDC
*) 0 ;
13919 wxColour
*arg2
= 0 ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 char *kwnames
[] = {
13924 (char *) "self",(char *) "colour", NULL
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13932 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 Py_INCREF(Py_None
); resultobj
= Py_None
;
13948 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
;
13950 wxDC
*arg1
= (wxDC
*) 0 ;
13951 wxColour
*arg2
= 0 ;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj1
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self",(char *) "colour", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13964 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 Py_INCREF(Py_None
); resultobj
= Py_None
;
13980 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13981 PyObject
*resultobj
;
13982 wxDC
*arg1
= (wxDC
*) 0 ;
13984 PyObject
* obj0
= 0 ;
13985 char *kwnames
[] = {
13986 (char *) "self", NULL
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_FromInt((int)result
);
14006 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 wxDC
*arg1
= (wxDC
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "mode", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14019 arg2
= (int) SWIG_AsInt(obj1
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 (arg1
)->SetMapMode(arg2
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxDC
*arg1
= (wxDC
*) 0 ;
14038 double *arg2
= (double *) 0 ;
14039 double *arg3
= (double *) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 char *kwnames
[] = {
14044 (char *) "self", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 Py_INCREF(Py_None
); resultobj
= Py_None
;
14061 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14062 resultobj
= t_output_helper(resultobj
,o
);
14065 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14066 resultobj
= t_output_helper(resultobj
,o
);
14074 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxDC
*arg1
= (wxDC
*) 0 ;
14079 PyObject
* obj0
= 0 ;
14080 PyObject
* obj1
= 0 ;
14081 PyObject
* obj2
= 0 ;
14082 char *kwnames
[] = {
14083 (char *) "self",(char *) "x",(char *) "y", NULL
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14089 arg2
= (double) SWIG_AsDouble(obj1
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14091 arg3
= (double) SWIG_AsDouble(obj2
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 (arg1
)->SetUserScale(arg2
,arg3
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 Py_INCREF(Py_None
); resultobj
= Py_None
;
14107 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxDC
*arg1
= (wxDC
*) 0 ;
14110 double *arg2
= (double *) 0 ;
14111 double *arg3
= (double *) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 (arg1
)->GetLogicalScale(arg2
,arg3
);
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 Py_INCREF(Py_None
); resultobj
= Py_None
;
14133 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14134 resultobj
= t_output_helper(resultobj
,o
);
14137 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14138 resultobj
= t_output_helper(resultobj
,o
);
14146 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxDC
*arg1
= (wxDC
*) 0 ;
14151 PyObject
* obj0
= 0 ;
14152 PyObject
* obj1
= 0 ;
14153 PyObject
* obj2
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self",(char *) "x",(char *) "y", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14161 arg2
= (double) SWIG_AsDouble(obj1
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14163 arg3
= (double) SWIG_AsDouble(obj2
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 (arg1
)->SetLogicalScale(arg2
,arg3
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 Py_INCREF(Py_None
); resultobj
= Py_None
;
14179 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxDC
*arg1
= (wxDC
*) 0 ;
14183 PyObject
* obj0
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14199 wxPoint
* resultptr
;
14200 resultptr
= new wxPoint((wxPoint
&) result
);
14201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14209 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxDC
*arg1
= (wxDC
*) 0 ;
14212 int *arg2
= (int *) 0 ;
14213 int *arg3
= (int *) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 char *kwnames
[] = {
14218 (char *) "self", NULL
14223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14233 Py_INCREF(Py_None
); resultobj
= Py_None
;
14235 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14236 resultobj
= t_output_helper(resultobj
,o
);
14239 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14240 resultobj
= t_output_helper(resultobj
,o
);
14248 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxDC
*arg1
= (wxDC
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 PyObject
* obj1
= 0 ;
14255 PyObject
* obj2
= 0 ;
14256 char *kwnames
[] = {
14257 (char *) "self",(char *) "x",(char *) "y", NULL
14260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14263 arg2
= (int) SWIG_AsInt(obj1
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14265 arg3
= (int) SWIG_AsInt(obj2
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 Py_INCREF(Py_None
); resultobj
= Py_None
;
14281 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxDC
*arg1
= (wxDC
*) 0 ;
14285 PyObject
* obj0
= 0 ;
14286 char *kwnames
[] = {
14287 (char *) "self", NULL
14290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14301 wxPoint
* resultptr
;
14302 resultptr
= new wxPoint((wxPoint
&) result
);
14303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14311 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxDC
*arg1
= (wxDC
*) 0 ;
14314 int *arg2
= (int *) 0 ;
14315 int *arg3
= (int *) 0 ;
14318 PyObject
* obj0
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "self", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 Py_INCREF(Py_None
); resultobj
= Py_None
;
14337 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14338 resultobj
= t_output_helper(resultobj
,o
);
14341 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14342 resultobj
= t_output_helper(resultobj
,o
);
14350 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxDC
*arg1
= (wxDC
*) 0 ;
14355 PyObject
* obj0
= 0 ;
14356 PyObject
* obj1
= 0 ;
14357 PyObject
* obj2
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self",(char *) "x",(char *) "y", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14365 arg2
= (int) SWIG_AsInt(obj1
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14367 arg3
= (int) SWIG_AsInt(obj2
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 Py_INCREF(Py_None
); resultobj
= Py_None
;
14383 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxDC
*arg1
= (wxDC
*) 0 ;
14388 PyObject
* obj0
= 0 ;
14389 PyObject
* obj1
= 0 ;
14390 PyObject
* obj2
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14398 arg2
= (bool) SWIG_AsBool(obj1
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14400 arg3
= (bool) SWIG_AsBool(obj2
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 Py_INCREF(Py_None
); resultobj
= Py_None
;
14416 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxDC
*arg1
= (wxDC
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= SWIG_FromInt((int)result
);
14442 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxDC
*arg1
= (wxDC
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 PyObject
* obj1
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self",(char *) "function", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 arg2
= (int) SWIG_AsInt(obj1
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 (arg1
)->SetLogicalFunction(arg2
);
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14464 Py_INCREF(Py_None
); resultobj
= Py_None
;
14471 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxDC
*arg1
= (wxDC
*) 0 ;
14475 PyObject
* obj0
= 0 ;
14476 PyObject
* obj1
= 0 ;
14477 char *kwnames
[] = {
14478 (char *) "self",(char *) "opt", NULL
14481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14484 arg2
= (bool) SWIG_AsBool(obj1
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14488 (arg1
)->SetOptimization(arg2
);
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 Py_INCREF(Py_None
); resultobj
= Py_None
;
14500 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14501 PyObject
*resultobj
;
14502 wxDC
*arg1
= (wxDC
*) 0 ;
14504 PyObject
* obj0
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (bool)(arg1
)->GetOptimization();
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14528 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxDC
*arg1
= (wxDC
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 PyObject
* obj1
= 0 ;
14535 PyObject
* obj2
= 0 ;
14536 char *kwnames
[] = {
14537 (char *) "self",(char *) "x",(char *) "y", NULL
14540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14543 arg2
= (int) SWIG_AsInt(obj1
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14545 arg3
= (int) SWIG_AsInt(obj2
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 Py_INCREF(Py_None
); resultobj
= Py_None
;
14561 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxDC
*arg1
= (wxDC
*) 0 ;
14564 PyObject
* obj0
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->ResetBoundingBox();
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 Py_INCREF(Py_None
); resultobj
= Py_None
;
14586 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxDC
*arg1
= (wxDC
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (int)((wxDC
const *)arg1
)->MinX();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14605 resultobj
= SWIG_FromInt((int)result
);
14612 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxDC
*arg1
= (wxDC
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= (int)((wxDC
const *)arg1
)->MaxX();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= SWIG_FromInt((int)result
);
14638 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxDC
*arg1
= (wxDC
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (int)((wxDC
const *)arg1
)->MinY();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= SWIG_FromInt((int)result
);
14664 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxDC
*arg1
= (wxDC
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (int)((wxDC
const *)arg1
)->MaxY();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_FromInt((int)result
);
14690 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxDC
*arg1
= (wxDC
*) 0 ;
14693 int *arg2
= (int *) 0 ;
14694 int *arg3
= (int *) 0 ;
14695 int *arg4
= (int *) 0 ;
14696 int *arg5
= (int *) 0 ;
14701 PyObject
* obj0
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "self", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 Py_INCREF(Py_None
); resultobj
= Py_None
;
14722 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14723 resultobj
= t_output_helper(resultobj
,o
);
14726 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14727 resultobj
= t_output_helper(resultobj
,o
);
14730 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14731 resultobj
= t_output_helper(resultobj
,o
);
14734 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14735 resultobj
= t_output_helper(resultobj
,o
);
14743 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxDC
*arg1
= (wxDC
*) 0 ;
14746 PyObject
*arg2
= (PyObject
*) 0 ;
14747 PyObject
*arg3
= (PyObject
*) 0 ;
14748 PyObject
*arg4
= (PyObject
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 PyObject
* obj1
= 0 ;
14752 PyObject
* obj2
= 0 ;
14753 PyObject
* obj3
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= result
;
14778 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxDC
*arg1
= (wxDC
*) 0 ;
14781 PyObject
*arg2
= (PyObject
*) 0 ;
14782 PyObject
*arg3
= (PyObject
*) 0 ;
14783 PyObject
*arg4
= (PyObject
*) 0 ;
14785 PyObject
* obj0
= 0 ;
14786 PyObject
* obj1
= 0 ;
14787 PyObject
* obj2
= 0 ;
14788 PyObject
* obj3
= 0 ;
14789 char *kwnames
[] = {
14790 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= result
;
14813 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxDC
*arg1
= (wxDC
*) 0 ;
14816 PyObject
*arg2
= (PyObject
*) 0 ;
14817 PyObject
*arg3
= (PyObject
*) 0 ;
14818 PyObject
*arg4
= (PyObject
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 PyObject
* obj2
= 0 ;
14823 PyObject
* obj3
= 0 ;
14824 char *kwnames
[] = {
14825 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14841 resultobj
= result
;
14848 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxDC
*arg1
= (wxDC
*) 0 ;
14851 PyObject
*arg2
= (PyObject
*) 0 ;
14852 PyObject
*arg3
= (PyObject
*) 0 ;
14853 PyObject
*arg4
= (PyObject
*) 0 ;
14855 PyObject
* obj0
= 0 ;
14856 PyObject
* obj1
= 0 ;
14857 PyObject
* obj2
= 0 ;
14858 PyObject
* obj3
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= result
;
14883 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
;
14885 wxDC
*arg1
= (wxDC
*) 0 ;
14886 PyObject
*arg2
= (PyObject
*) 0 ;
14887 PyObject
*arg3
= (PyObject
*) 0 ;
14888 PyObject
*arg4
= (PyObject
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 PyObject
* obj2
= 0 ;
14893 PyObject
* obj3
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= result
;
14918 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
;
14920 wxDC
*arg1
= (wxDC
*) 0 ;
14921 PyObject
*arg2
= (PyObject
*) 0 ;
14922 PyObject
*arg3
= (PyObject
*) 0 ;
14923 PyObject
*arg4
= (PyObject
*) 0 ;
14924 PyObject
*arg5
= (PyObject
*) 0 ;
14926 PyObject
* obj0
= 0 ;
14927 PyObject
* obj1
= 0 ;
14928 PyObject
* obj2
= 0 ;
14929 PyObject
* obj3
= 0 ;
14930 PyObject
* obj4
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= result
;
14956 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14959 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14961 return Py_BuildValue((char *)"");
14963 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
;
14965 wxMemoryDC
*result
;
14966 char *kwnames
[] = {
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (wxMemoryDC
*)new wxMemoryDC();
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14985 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxDC
*arg1
= (wxDC
*) 0 ;
14988 wxMemoryDC
*result
;
14989 PyObject
* obj0
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "oldDC", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15011 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15014 wxBitmap
*arg2
= 0 ;
15015 PyObject
* obj0
= 0 ;
15016 PyObject
* obj1
= 0 ;
15017 char *kwnames
[] = {
15018 (char *) "self",(char *) "bitmap", NULL
15021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15027 if (arg2
== NULL
) {
15028 PyErr_SetString(PyExc_TypeError
,"null reference");
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 Py_INCREF(Py_None
); resultobj
= Py_None
;
15045 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15048 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15050 return Py_BuildValue((char *)"");
15052 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15053 PyObject
*resultobj
;
15054 wxDC
*arg1
= (wxDC
*) 0 ;
15055 wxBitmap
*arg2
= 0 ;
15056 wxBufferedDC
*result
;
15057 PyObject
* obj0
= 0 ;
15058 PyObject
* obj1
= 0 ;
15060 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15066 if (arg2
== NULL
) {
15067 PyErr_SetString(PyExc_TypeError
,"null reference");
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15084 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15085 PyObject
*resultobj
;
15086 wxDC
*arg1
= (wxDC
*) 0 ;
15088 wxBufferedDC
*result
;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15093 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15098 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15114 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15119 argc
= PyObject_Length(args
);
15120 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15121 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15127 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15137 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15145 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15153 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15162 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15165 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15170 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15175 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15176 PyObject
*resultobj
;
15177 wxDC
*arg1
= (wxDC
*) 0 ;
15179 wxBufferedDC
*result
;
15181 PyObject
* obj0
= 0 ;
15182 PyObject
* obj1
= 0 ;
15184 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15189 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15205 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
;
15207 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15223 Py_INCREF(Py_None
); resultobj
= Py_None
;
15230 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15231 PyObject
*resultobj
;
15232 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15233 PyObject
* obj0
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "self", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 Py_INCREF(Py_None
); resultobj
= Py_None
;
15255 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15258 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15260 return Py_BuildValue((char *)"");
15262 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxWindow
*arg1
= (wxWindow
*) 0 ;
15265 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15266 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15267 wxBufferedPaintDC
*result
;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "window",(char *) "buffer", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15281 if (arg2
== NULL
) {
15282 PyErr_SetString(PyExc_TypeError
,"null reference");
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15300 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15303 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15305 return Py_BuildValue((char *)"");
15307 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxScreenDC
*result
;
15310 char *kwnames
[] = {
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (wxScreenDC
*)new wxScreenDC();
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15329 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15332 wxWindow
*arg2
= (wxWindow
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self",(char *) "window", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15361 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15364 wxRect
*arg2
= (wxRect
*) NULL
;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self",(char *) "rect", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15395 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15396 PyObject
*resultobj
;
15397 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15399 PyObject
* obj0
= 0 ;
15400 char *kwnames
[] = {
15401 (char *) "self", NULL
15404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= (bool)(arg1
)->EndDrawingOnTop();
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15423 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15426 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15428 return Py_BuildValue((char *)"");
15430 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxWindow
*arg1
= (wxWindow
*) 0 ;
15433 wxClientDC
*result
;
15434 PyObject
* obj0
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "win", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= (wxClientDC
*)new wxClientDC(arg1
);
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15456 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15459 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15461 return Py_BuildValue((char *)"");
15463 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
;
15465 wxWindow
*arg1
= (wxWindow
*) 0 ;
15467 PyObject
* obj0
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "win", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15489 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15492 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15494 return Py_BuildValue((char *)"");
15496 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxWindow
*arg1
= (wxWindow
*) 0 ;
15499 wxWindowDC
*result
;
15500 PyObject
* obj0
= 0 ;
15501 char *kwnames
[] = {
15502 (char *) "win", NULL
15505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15522 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15525 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15527 return Py_BuildValue((char *)"");
15529 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15533 wxMirrorDC
*result
;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "dc",(char *) "mirror", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15544 if (arg1
== NULL
) {
15545 PyErr_SetString(PyExc_TypeError
,"null reference");
15548 arg2
= (bool) SWIG_AsBool(obj1
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15564 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15567 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15569 return Py_BuildValue((char *)"");
15571 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxPrintData
*arg1
= 0 ;
15574 wxPostScriptDC
*result
;
15575 PyObject
* obj0
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "printData", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15584 if (arg1
== NULL
) {
15585 PyErr_SetString(PyExc_TypeError
,"null reference");
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15602 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15605 wxPrintData
*result
;
15606 PyObject
* obj0
= 0 ;
15607 char *kwnames
[] = {
15608 (char *) "self", NULL
15611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15618 result
= (wxPrintData
*) &_result_ref
;
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15631 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15634 wxPrintData
*arg2
= 0 ;
15635 PyObject
* obj0
= 0 ;
15636 PyObject
* obj1
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self",(char *) "data", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15647 if (arg2
== NULL
) {
15648 PyErr_SetString(PyExc_TypeError
,"null reference");
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 Py_INCREF(Py_None
); resultobj
= Py_None
;
15665 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15668 PyObject
* obj0
= 0 ;
15669 char *kwnames
[] = {
15670 (char *) "ppi", NULL
15673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15674 arg1
= (int) SWIG_AsInt(obj0
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 wxPostScriptDC::SetResolution(arg1
);
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 Py_INCREF(Py_None
); resultobj
= Py_None
;
15690 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15693 char *kwnames
[] = {
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= (int)wxPostScriptDC::GetResolution();
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_FromInt((int)result
);
15712 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15715 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15717 return Py_BuildValue((char *)"");
15719 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15721 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15722 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15723 wxMetaFile
*result
;
15724 bool temp1
= False
;
15725 PyObject
* obj0
= 0 ;
15726 char *kwnames
[] = {
15727 (char *) "filename", NULL
15730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15733 arg1
= wxString_in_helper(obj0
);
15734 if (arg1
== NULL
) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15760 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
;
15762 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15763 PyObject
* obj0
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "self", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 Py_INCREF(Py_None
); resultobj
= Py_None
;
15785 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15789 PyObject
* obj0
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "self", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 result
= (bool)(arg1
)->Ok();
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15813 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15816 int arg2
= (int) 0 ;
15817 int arg3
= (int) 0 ;
15819 PyObject
* obj0
= 0 ;
15820 PyObject
* obj1
= 0 ;
15821 PyObject
* obj2
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self",(char *) "width",(char *) "height", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15830 arg2
= (int) SWIG_AsInt(obj1
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15834 arg3
= (int) SWIG_AsInt(obj2
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15853 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
;
15855 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15857 PyObject
* obj0
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "self", NULL
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
15863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= (arg1
)->GetSize();
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15873 wxSize
* resultptr
;
15874 resultptr
= new wxSize((wxSize
&) result
);
15875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15883 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15887 PyObject
* obj0
= 0 ;
15888 char *kwnames
[] = {
15889 (char *) "self", NULL
15892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
15893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (int)(arg1
)->GetWidth();
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 resultobj
= SWIG_FromInt((int)result
);
15909 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (int)(arg1
)->GetHeight();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_FromInt((int)result
);
15935 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15938 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15940 return Py_BuildValue((char *)"");
15942 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
;
15944 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15945 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15946 int arg2
= (int) 0 ;
15947 int arg3
= (int) 0 ;
15948 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15949 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15950 wxMetaFileDC
*result
;
15951 bool temp1
= False
;
15952 bool temp4
= False
;
15953 PyObject
* obj0
= 0 ;
15954 PyObject
* obj1
= 0 ;
15955 PyObject
* obj2
= 0 ;
15956 PyObject
* obj3
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15964 arg1
= wxString_in_helper(obj0
);
15965 if (arg1
== NULL
) SWIG_fail
;
15970 arg2
= (int) SWIG_AsInt(obj1
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 arg3
= (int) SWIG_AsInt(obj2
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15979 arg4
= wxString_in_helper(obj3
);
15980 if (arg4
== NULL
) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16014 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16017 wxMetaFile
*result
;
16018 PyObject
* obj0
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (wxMetaFile
*)(arg1
)->Close();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16040 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16043 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16045 return Py_BuildValue((char *)"");
16047 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
;
16049 wxPrintData
*arg1
= 0 ;
16050 wxPrinterDC
*result
;
16051 PyObject
* obj0
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "printData", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16060 if (arg1
== NULL
) {
16061 PyErr_SetString(PyExc_TypeError
,"null reference");
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16078 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16081 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16083 return Py_BuildValue((char *)"");
16085 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
;
16089 int arg3
= (int) True
;
16090 int arg4
= (int) 1 ;
16091 wxImageList
*result
;
16092 PyObject
* obj0
= 0 ;
16093 PyObject
* obj1
= 0 ;
16094 PyObject
* obj2
= 0 ;
16095 PyObject
* obj3
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16101 arg1
= (int) SWIG_AsInt(obj0
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16103 arg2
= (int) SWIG_AsInt(obj1
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 arg3
= (int) SWIG_AsInt(obj2
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16110 arg4
= (int) SWIG_AsInt(obj3
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16121 resultobj
= wxPyMake_wxObject(result
);
16129 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 wxImageList
*arg1
= (wxImageList
*) 0 ;
16132 PyObject
* obj0
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 Py_INCREF(Py_None
); resultobj
= Py_None
;
16154 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
;
16156 wxImageList
*arg1
= (wxImageList
*) 0 ;
16157 wxBitmap
*arg2
= 0 ;
16158 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16159 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16161 PyObject
* obj0
= 0 ;
16162 PyObject
* obj1
= 0 ;
16163 PyObject
* obj2
= 0 ;
16164 char *kwnames
[] = {
16165 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16174 if (arg2
== NULL
) {
16175 PyErr_SetString(PyExc_TypeError
,"null reference");
16179 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16182 if (arg3
== NULL
) {
16183 PyErr_SetString(PyExc_TypeError
,"null reference");
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= SWIG_FromInt((int)result
);
16201 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxImageList
*arg1
= (wxImageList
*) 0 ;
16204 wxBitmap
*arg2
= 0 ;
16205 wxColour
*arg3
= 0 ;
16208 PyObject
* obj0
= 0 ;
16209 PyObject
* obj1
= 0 ;
16210 PyObject
* obj2
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16221 if (arg2
== NULL
) {
16222 PyErr_SetString(PyExc_TypeError
,"null reference");
16227 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= SWIG_FromInt((int)result
);
16243 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxImageList
*arg1
= (wxImageList
*) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 PyObject
* obj1
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self",(char *) "icon", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16260 if (arg2
== NULL
) {
16261 PyErr_SetString(PyExc_TypeError
,"null reference");
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16271 resultobj
= SWIG_FromInt((int)result
);
16278 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxImageList
*arg1
= (wxImageList
*) 0 ;
16282 wxBitmap
*arg3
= 0 ;
16284 PyObject
* obj0
= 0 ;
16285 PyObject
* obj1
= 0 ;
16286 PyObject
* obj2
= 0 ;
16287 char *kwnames
[] = {
16288 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16294 arg2
= (int) SWIG_AsInt(obj1
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16296 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16299 if (arg3
== NULL
) {
16300 PyErr_SetString(PyExc_TypeError
,"null reference");
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16319 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxImageList
*arg1
= (wxImageList
*) 0 ;
16326 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16327 bool arg7
= (bool) (bool)False
;
16329 PyObject
* obj0
= 0 ;
16330 PyObject
* obj1
= 0 ;
16331 PyObject
* obj2
= 0 ;
16332 PyObject
* obj3
= 0 ;
16333 PyObject
* obj4
= 0 ;
16334 PyObject
* obj5
= 0 ;
16335 PyObject
* obj6
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16343 arg2
= (int) SWIG_AsInt(obj1
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16345 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16348 if (arg3
== NULL
) {
16349 PyErr_SetString(PyExc_TypeError
,"null reference");
16352 arg4
= (int) SWIG_AsInt(obj3
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16354 arg5
= (int) SWIG_AsInt(obj4
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 arg6
= (int) SWIG_AsInt(obj5
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16361 arg7
= (bool const) SWIG_AsBool(obj6
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16380 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxImageList
*arg1
= (wxImageList
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (int)(arg1
)->GetImageCount();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= SWIG_FromInt((int)result
);
16406 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxImageList
*arg1
= (wxImageList
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "self",(char *) "index", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16420 arg2
= (int) SWIG_AsInt(obj1
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= (bool)(arg1
)->Remove(arg2
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16438 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxImageList
*arg1
= (wxImageList
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 result
= (bool)(arg1
)->RemoveAll();
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16466 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 wxImageList
*arg1
= (wxImageList
*) 0 ;
16474 PyObject
* obj0
= 0 ;
16475 PyObject
* obj1
= 0 ;
16476 char *kwnames
[] = {
16477 (char *) "self",(char *) "index", NULL
16482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16485 arg2
= (int) SWIG_AsInt(obj1
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 Py_INCREF(Py_None
); resultobj
= Py_None
;
16496 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16497 resultobj
= t_output_helper(resultobj
,o
);
16500 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16501 resultobj
= t_output_helper(resultobj
,o
);
16509 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16512 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16514 return Py_BuildValue((char *)"");
16516 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16517 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16522 static PyObject
*_wrap_NORMAL_FONT_get() {
16525 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16530 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16531 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16536 static PyObject
*_wrap_SMALL_FONT_get() {
16539 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16544 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16545 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16550 static PyObject
*_wrap_ITALIC_FONT_get() {
16553 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16558 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16559 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16564 static PyObject
*_wrap_SWISS_FONT_get() {
16567 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16572 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16573 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16578 static PyObject
*_wrap_RED_PEN_get() {
16581 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16586 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16587 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16592 static PyObject
*_wrap_CYAN_PEN_get() {
16595 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16600 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16601 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16606 static PyObject
*_wrap_GREEN_PEN_get() {
16609 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16614 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16615 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16620 static PyObject
*_wrap_BLACK_PEN_get() {
16623 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16628 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16629 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16634 static PyObject
*_wrap_WHITE_PEN_get() {
16637 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16642 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16643 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16648 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16651 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16656 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16657 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16662 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16665 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16670 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16671 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16676 static PyObject
*_wrap_GREY_PEN_get() {
16679 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16684 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16685 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16690 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16693 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16698 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16699 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16704 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16707 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16712 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16713 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16718 static PyObject
*_wrap_BLUE_BRUSH_get() {
16721 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16726 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16727 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16732 static PyObject
*_wrap_GREEN_BRUSH_get() {
16735 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16740 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16741 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16746 static PyObject
*_wrap_WHITE_BRUSH_get() {
16749 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16754 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16755 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16760 static PyObject
*_wrap_BLACK_BRUSH_get() {
16763 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16768 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16769 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16774 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16777 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16782 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16783 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16788 static PyObject
*_wrap_CYAN_BRUSH_get() {
16791 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16796 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16797 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16802 static PyObject
*_wrap_RED_BRUSH_get() {
16805 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16810 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16811 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16816 static PyObject
*_wrap_GREY_BRUSH_get() {
16819 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16824 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16825 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16830 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16833 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16838 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16839 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16844 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16847 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16852 static int _wrap_BLACK_set(PyObject
*_val
) {
16853 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16858 static PyObject
*_wrap_BLACK_get() {
16861 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16866 static int _wrap_WHITE_set(PyObject
*_val
) {
16867 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16872 static PyObject
*_wrap_WHITE_get() {
16875 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16880 static int _wrap_RED_set(PyObject
*_val
) {
16881 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16886 static PyObject
*_wrap_RED_get() {
16889 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16894 static int _wrap_BLUE_set(PyObject
*_val
) {
16895 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16900 static PyObject
*_wrap_BLUE_get() {
16903 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16908 static int _wrap_GREEN_set(PyObject
*_val
) {
16909 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16914 static PyObject
*_wrap_GREEN_get() {
16917 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16922 static int _wrap_CYAN_set(PyObject
*_val
) {
16923 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16928 static PyObject
*_wrap_CYAN_get() {
16931 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16936 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16937 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16942 static PyObject
*_wrap_LIGHT_GREY_get() {
16945 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16950 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16951 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16956 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16959 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16964 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16965 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16970 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16973 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16978 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16979 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16984 static PyObject
*_wrap_CROSS_CURSOR_get() {
16987 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16992 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16993 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16998 static PyObject
*_wrap_NullBitmap_get() {
17001 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17006 static int _wrap_NullIcon_set(PyObject
*_val
) {
17007 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17012 static PyObject
*_wrap_NullIcon_get() {
17015 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17020 static int _wrap_NullCursor_set(PyObject
*_val
) {
17021 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17026 static PyObject
*_wrap_NullCursor_get() {
17029 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17034 static int _wrap_NullPen_set(PyObject
*_val
) {
17035 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17040 static PyObject
*_wrap_NullPen_get() {
17043 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17048 static int _wrap_NullBrush_set(PyObject
*_val
) {
17049 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17054 static PyObject
*_wrap_NullBrush_get() {
17057 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17062 static int _wrap_NullPalette_set(PyObject
*_val
) {
17063 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17068 static PyObject
*_wrap_NullPalette_get() {
17071 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17076 static int _wrap_NullFont_set(PyObject
*_val
) {
17077 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17082 static PyObject
*_wrap_NullFont_get() {
17085 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17090 static int _wrap_NullColour_set(PyObject
*_val
) {
17091 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17096 static PyObject
*_wrap_NullColour_get() {
17099 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17104 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxPenList
*arg1
= (wxPenList
*) 0 ;
17107 wxPen
*arg2
= (wxPen
*) 0 ;
17108 PyObject
* obj0
= 0 ;
17109 PyObject
* obj1
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "self",(char *) "pen", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 (arg1
)->AddPen(arg2
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 Py_INCREF(Py_None
); resultobj
= Py_None
;
17133 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxPenList
*arg1
= (wxPenList
*) 0 ;
17136 wxColour
*arg2
= 0 ;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 PyObject
* obj2
= 0 ;
17144 PyObject
* obj3
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17154 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17156 arg3
= (int) SWIG_AsInt(obj2
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17158 arg4
= (int) SWIG_AsInt(obj3
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17174 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxPenList
*arg1
= (wxPenList
*) 0 ;
17177 wxPen
*arg2
= (wxPen
*) 0 ;
17178 PyObject
* obj0
= 0 ;
17179 PyObject
* obj1
= 0 ;
17180 char *kwnames
[] = {
17181 (char *) "self",(char *) "pen", NULL
17184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 (arg1
)->RemovePen(arg2
);
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17196 Py_INCREF(Py_None
); resultobj
= Py_None
;
17203 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxPenList
*arg1
= (wxPenList
*) 0 ;
17207 PyObject
* obj0
= 0 ;
17208 char *kwnames
[] = {
17209 (char *) "self", NULL
17212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (int)(arg1
)->GetCount();
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= SWIG_FromInt((int)result
);
17229 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17232 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17234 return Py_BuildValue((char *)"");
17236 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
;
17238 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17239 wxBrush
*arg2
= (wxBrush
*) 0 ;
17240 PyObject
* obj0
= 0 ;
17241 PyObject
* obj1
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self",(char *) "brush", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 (arg1
)->AddBrush(arg2
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 Py_INCREF(Py_None
); resultobj
= Py_None
;
17265 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17268 wxColour
*arg2
= 0 ;
17272 PyObject
* obj0
= 0 ;
17273 PyObject
* obj1
= 0 ;
17274 PyObject
* obj2
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self",(char *) "colour",(char *) "style", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17284 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17286 arg3
= (int) SWIG_AsInt(obj2
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17302 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17304 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17305 wxBrush
*arg2
= (wxBrush
*) 0 ;
17306 PyObject
* obj0
= 0 ;
17307 PyObject
* obj1
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self",(char *) "brush", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 (arg1
)->RemoveBrush(arg2
);
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17324 Py_INCREF(Py_None
); resultobj
= Py_None
;
17331 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
;
17333 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17335 PyObject
* obj0
= 0 ;
17336 char *kwnames
[] = {
17337 (char *) "self", NULL
17340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 result
= (int)(arg1
)->GetCount();
17347 wxPyEndAllowThreads(__tstate
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17350 resultobj
= SWIG_FromInt((int)result
);
17357 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17360 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17362 return Py_BuildValue((char *)"");
17364 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17365 PyObject
*resultobj
;
17366 wxColourDatabase
*result
;
17367 char *kwnames
[] = {
17371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 result
= (wxColourDatabase
*)new wxColourDatabase();
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17386 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
;
17388 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 Py_INCREF(Py_None
); resultobj
= Py_None
;
17411 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17414 wxString
*arg2
= 0 ;
17416 bool temp2
= False
;
17417 PyObject
* obj0
= 0 ;
17418 PyObject
* obj1
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self",(char *) "name", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17427 arg2
= wxString_in_helper(obj1
);
17428 if (arg2
== NULL
) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 wxColour
* resultptr
;
17440 resultptr
= new wxColour((wxColour
&) result
);
17441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17457 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17460 wxColour
*arg2
= 0 ;
17463 PyObject
* obj0
= 0 ;
17464 PyObject
* obj1
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "self",(char *) "colour", NULL
17469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17474 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17496 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17499 wxString
*arg2
= 0 ;
17500 wxColour
*arg3
= 0 ;
17501 bool temp2
= False
;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 PyObject
* obj2
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self",(char *) "name",(char *) "colour", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17514 arg2
= wxString_in_helper(obj1
);
17515 if (arg2
== NULL
) SWIG_fail
;
17520 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 Py_INCREF(Py_None
); resultobj
= Py_None
;
17544 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17547 wxString
*arg2
= 0 ;
17551 bool temp2
= False
;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 PyObject
* obj2
= 0 ;
17555 PyObject
* obj3
= 0 ;
17556 PyObject
* obj4
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17565 arg2
= wxString_in_helper(obj1
);
17566 if (arg2
== NULL
) SWIG_fail
;
17569 arg3
= (int) SWIG_AsInt(obj2
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17571 arg4
= (int) SWIG_AsInt(obj3
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17573 arg5
= (int) SWIG_AsInt(obj4
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 Py_INCREF(Py_None
); resultobj
= Py_None
;
17597 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17600 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17602 return Py_BuildValue((char *)"");
17604 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17606 wxFontList
*arg1
= (wxFontList
*) 0 ;
17607 wxFont
*arg2
= (wxFont
*) 0 ;
17608 PyObject
* obj0
= 0 ;
17609 PyObject
* obj1
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self",(char *) "font", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 (arg1
)->AddFont(arg2
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 Py_INCREF(Py_None
); resultobj
= Py_None
;
17633 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxFontList
*arg1
= (wxFontList
*) 0 ;
17640 bool arg6
= (bool) False
;
17641 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17642 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17643 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17645 bool temp7
= False
;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 PyObject
* obj2
= 0 ;
17649 PyObject
* obj3
= 0 ;
17650 PyObject
* obj4
= 0 ;
17651 PyObject
* obj5
= 0 ;
17652 PyObject
* obj6
= 0 ;
17653 PyObject
* obj7
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17661 arg2
= (int) SWIG_AsInt(obj1
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17663 arg3
= (int) SWIG_AsInt(obj2
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17665 arg4
= (int) SWIG_AsInt(obj3
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17667 arg5
= (int) SWIG_AsInt(obj4
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 arg6
= (bool) SWIG_AsBool(obj5
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17675 arg7
= wxString_in_helper(obj6
);
17676 if (arg7
== NULL
) SWIG_fail
;
17681 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17706 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxFontList
*arg1
= (wxFontList
*) 0 ;
17709 wxFont
*arg2
= (wxFont
*) 0 ;
17710 PyObject
* obj0
= 0 ;
17711 PyObject
* obj1
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self",(char *) "font", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 (arg1
)->RemoveFont(arg2
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 Py_INCREF(Py_None
); resultobj
= Py_None
;
17735 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxFontList
*arg1
= (wxFontList
*) 0 ;
17739 PyObject
* obj0
= 0 ;
17740 char *kwnames
[] = {
17741 (char *) "self", NULL
17744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 result
= (int)(arg1
)->GetCount();
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= SWIG_FromInt((int)result
);
17761 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17764 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17766 return Py_BuildValue((char *)"");
17768 static int _wrap_TheFontList_set(PyObject
*_val
) {
17769 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17774 static PyObject
*_wrap_TheFontList_get() {
17777 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17782 static int _wrap_ThePenList_set(PyObject
*_val
) {
17783 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17788 static PyObject
*_wrap_ThePenList_get() {
17791 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17796 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17797 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17802 static PyObject
*_wrap_TheBrushList_get() {
17805 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17810 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17811 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17816 static PyObject
*_wrap_TheColourDatabase_get() {
17819 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17824 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17827 char *kwnames
[] = {
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= (wxEffects
*)new wxEffects();
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17846 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxEffects
*arg1
= (wxEffects
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17866 wxColour
* resultptr
;
17867 resultptr
= new wxColour((wxColour
&) result
);
17868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17876 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxEffects
*arg1
= (wxEffects
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17896 wxColour
* resultptr
;
17897 resultptr
= new wxColour((wxColour
&) result
);
17898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17906 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxEffects
*arg1
= (wxEffects
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17926 wxColour
* resultptr
;
17927 resultptr
= new wxColour((wxColour
&) result
);
17928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17936 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
;
17938 wxEffects
*arg1
= (wxEffects
*) 0 ;
17940 PyObject
* obj0
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17956 wxColour
* resultptr
;
17957 resultptr
= new wxColour((wxColour
&) result
);
17958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17966 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
;
17968 wxEffects
*arg1
= (wxEffects
*) 0 ;
17970 PyObject
* obj0
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17986 wxColour
* resultptr
;
17987 resultptr
= new wxColour((wxColour
&) result
);
17988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17996 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxEffects
*arg1
= (wxEffects
*) 0 ;
17999 wxColour
*arg2
= 0 ;
18001 PyObject
* obj0
= 0 ;
18002 PyObject
* obj1
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self",(char *) "c", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18012 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 Py_INCREF(Py_None
); resultobj
= Py_None
;
18028 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18030 wxEffects
*arg1
= (wxEffects
*) 0 ;
18031 wxColour
*arg2
= 0 ;
18033 PyObject
* obj0
= 0 ;
18034 PyObject
* obj1
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self",(char *) "c", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 Py_INCREF(Py_None
); resultobj
= Py_None
;
18060 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18062 wxEffects
*arg1
= (wxEffects
*) 0 ;
18063 wxColour
*arg2
= 0 ;
18065 PyObject
* obj0
= 0 ;
18066 PyObject
* obj1
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self",(char *) "c", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18076 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18085 Py_INCREF(Py_None
); resultobj
= Py_None
;
18092 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
;
18094 wxEffects
*arg1
= (wxEffects
*) 0 ;
18095 wxColour
*arg2
= 0 ;
18097 PyObject
* obj0
= 0 ;
18098 PyObject
* obj1
= 0 ;
18099 char *kwnames
[] = {
18100 (char *) "self",(char *) "c", NULL
18103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18108 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18112 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 Py_INCREF(Py_None
); resultobj
= Py_None
;
18124 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
;
18126 wxEffects
*arg1
= (wxEffects
*) 0 ;
18127 wxColour
*arg2
= 0 ;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 char *kwnames
[] = {
18132 (char *) "self",(char *) "c", NULL
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18140 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 Py_INCREF(Py_None
); resultobj
= Py_None
;
18156 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 wxEffects
*arg1
= (wxEffects
*) 0 ;
18159 wxColour
*arg2
= 0 ;
18160 wxColour
*arg3
= 0 ;
18161 wxColour
*arg4
= 0 ;
18162 wxColour
*arg5
= 0 ;
18163 wxColour
*arg6
= 0 ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 PyObject
* obj2
= 0 ;
18172 PyObject
* obj3
= 0 ;
18173 PyObject
* obj4
= 0 ;
18174 PyObject
* obj5
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18188 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18192 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18196 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18200 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 Py_INCREF(Py_None
); resultobj
= Py_None
;
18216 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxEffects
*arg1
= (wxEffects
*) 0 ;
18221 int arg4
= (int) 1 ;
18223 PyObject
* obj0
= 0 ;
18224 PyObject
* obj1
= 0 ;
18225 PyObject
* obj2
= 0 ;
18226 PyObject
* obj3
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18237 if (arg2
== NULL
) {
18238 PyErr_SetString(PyExc_TypeError
,"null reference");
18243 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18246 arg4
= (int) SWIG_AsInt(obj3
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 Py_INCREF(Py_None
); resultobj
= Py_None
;
18263 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxEffects
*arg1
= (wxEffects
*) 0 ;
18268 wxBitmap
*arg4
= 0 ;
18271 PyObject
* obj0
= 0 ;
18272 PyObject
* obj1
= 0 ;
18273 PyObject
* obj2
= 0 ;
18274 PyObject
* obj3
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18284 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18286 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18289 if (arg3
== NULL
) {
18290 PyErr_SetString(PyExc_TypeError
,"null reference");
18293 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18294 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18296 if (arg4
== NULL
) {
18297 PyErr_SetString(PyExc_TypeError
,"null reference");
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18316 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18319 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18321 return Py_BuildValue((char *)"");
18323 static PyMethodDef SwigMethods
[] = {
18324 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18329 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18330 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18347 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18348 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18353 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18356 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18358 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18366 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18371 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
18375 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18387 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"new_EmptyBitmap", _wrap_new_EmptyBitmap
, METH_VARARGS
},
18394 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18414 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18416 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18429 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18431 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18439 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18447 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18453 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18479 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18493 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18517 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18526 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18546 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18583 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18591 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18598 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18620 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18622 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18630 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18659 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18675 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18690 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18691 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18692 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18693 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18698 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18699 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18701 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18703 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18704 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18705 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18708 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18710 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18712 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18714 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18718 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18719 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18724 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18728 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18730 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18732 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18737 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18740 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18751 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18755 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18756 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18757 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18758 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18759 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18760 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18761 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18762 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18763 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18764 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18765 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18766 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18767 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18768 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18769 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18770 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18771 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18772 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18773 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18774 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18775 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18776 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18777 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18778 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18779 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18780 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18781 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18782 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18783 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18784 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18785 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18786 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18787 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18788 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18789 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
18790 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18791 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18792 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18793 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18794 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18795 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
18796 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18797 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18798 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18799 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18800 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18801 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18802 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18803 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18804 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18805 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18806 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18807 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18808 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18809 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18810 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18811 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18812 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18813 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18814 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18815 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18816 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18817 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18818 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18819 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18820 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18821 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18822 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18823 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18824 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18825 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18826 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18827 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18828 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18829 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18830 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18831 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18832 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18833 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18834 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18835 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18836 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18837 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18838 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18839 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18840 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18841 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18842 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18843 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18844 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18845 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18846 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18847 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18852 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18854 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18855 return (void *)((wxWindow
*) ((wxControl
*) x
));
18857 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18858 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18860 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18861 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18863 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18864 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18866 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18867 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18869 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18870 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18872 static void *_p_wxPenTo_p_wxObject(void *x
) {
18873 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18875 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18876 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18878 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18879 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18881 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18882 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18884 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18885 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18887 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18888 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18890 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18891 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18893 static void *_p_wxIconTo_p_wxObject(void *x
) {
18894 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18896 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18897 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18899 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18900 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18902 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18903 return (void *)((wxObject
*) ((wxSizer
*) x
));
18905 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18906 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18908 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18909 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18911 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18912 return (void *)((wxObject
*) ((wxPenList
*) x
));
18914 static void *_p_wxEventTo_p_wxObject(void *x
) {
18915 return (void *)((wxObject
*) ((wxEvent
*) x
));
18917 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18918 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18920 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18921 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18923 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18924 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18926 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18927 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18929 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18930 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18932 static void *_p_wxDCTo_p_wxObject(void *x
) {
18933 return (void *)((wxObject
*) ((wxDC
*) x
));
18935 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18936 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18938 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18939 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18941 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18942 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18944 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18945 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18947 static void *_p_wxControlTo_p_wxObject(void *x
) {
18948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18950 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18951 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18953 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18954 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18956 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18957 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18959 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18960 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18962 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18963 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18965 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18966 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18968 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18969 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18971 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18972 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18974 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18975 return (void *)((wxObject
*) ((wxEffects
*) x
));
18977 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18978 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18980 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18983 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18984 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18986 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18987 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18989 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18990 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18992 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18993 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18995 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18998 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18999 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19001 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19002 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19004 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19005 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19007 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19008 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19010 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19011 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19013 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19014 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19016 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19017 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19019 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19020 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19022 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19023 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19025 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19026 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19028 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19029 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19031 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19032 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19034 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19035 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19037 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19038 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19040 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19041 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19043 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19044 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19046 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19047 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19049 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19050 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19052 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19053 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19055 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19056 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19058 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19059 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19061 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19062 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19064 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19065 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19067 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19068 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19070 static void *_p_wxImageTo_p_wxObject(void *x
) {
19071 return (void *)((wxObject
*) ((wxImage
*) x
));
19073 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19074 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19076 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19077 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19079 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19080 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19082 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19083 return (void *)((wxObject
*) ((wxImageList
*) x
));
19085 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19086 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19088 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19089 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19091 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19092 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19094 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19095 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19097 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19098 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19100 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19101 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19103 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19104 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19106 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19107 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19109 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19112 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19113 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19115 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19116 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19118 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
19119 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
19121 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19122 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19124 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19125 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19127 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19128 return (void *)((wxObject
*) ((wxMask
*) x
));
19130 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19133 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19134 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19136 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19137 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19139 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19140 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19142 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19143 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19145 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19146 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19148 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19149 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19151 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19152 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19154 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19155 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19157 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19158 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19160 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19161 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19163 static void *_p_wxFontTo_p_wxObject(void *x
) {
19164 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19166 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19167 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19169 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19170 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19172 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19175 static void *_p_wxColourTo_p_wxObject(void *x
) {
19176 return (void *)((wxObject
*) ((wxColour
*) x
));
19178 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19179 return (void *)((wxObject
*) ((wxFontList
*) x
));
19181 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19184 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19185 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19187 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19188 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19190 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19191 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19193 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19194 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19196 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19197 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19199 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19200 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19202 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19203 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19205 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19206 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19208 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19209 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19211 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19212 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19214 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19215 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19217 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19218 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19220 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19221 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19223 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
19224 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
19226 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19227 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19229 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19230 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19232 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19233 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19235 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19236 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19238 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19239 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19241 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19242 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19244 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19245 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19247 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19248 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19250 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
19251 return (void *)((wxPen
*) ((wxPyPen
*) x
));
19253 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}};
19254 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}};
19255 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}};
19256 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}};
19257 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}};
19258 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}};
19259 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}};
19260 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}};
19261 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}};
19262 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}};
19263 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}};
19264 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}};
19265 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}};
19266 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}};
19267 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}};
19268 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}};
19269 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}};
19270 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}};
19271 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}};
19272 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}};
19273 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}};
19274 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}};
19275 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}};
19276 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}};
19277 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}};
19278 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}};
19279 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}};
19280 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}};
19281 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}};
19282 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}};
19283 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}};
19284 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}};
19285 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}};
19286 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}};
19287 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}};
19288 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}};
19289 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}};
19290 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}};
19291 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}};
19292 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}};
19293 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}};
19294 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}};
19295 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}};
19296 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}};
19297 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}};
19298 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}};
19299 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}};
19300 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}};
19301 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}};
19302 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}};
19303 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}};
19304 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}};
19305 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}};
19306 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}};
19307 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}};
19308 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}};
19310 static swig_type_info
*swig_types_initial
[] = {
19311 _swigt__p_wxPostScriptDC
,
19313 _swigt__p_wxColour
,
19315 _swigt__p_wxMirrorDC
,
19317 _swigt__p_wxPyFontEnumerator
,
19319 _swigt__p_wxIconLocation
,
19321 _swigt__p_wxMetaFileDC
,
19325 _swigt__p_wxWindow
,
19327 _swigt__p_wxMemoryDC
,
19328 _swigt__p_wxFontMapper
,
19329 _swigt__p_wxEffects
,
19330 _swigt__p_wxNativeEncodingInfo
,
19331 _swigt__p_wxPalette
,
19332 _swigt__p_wxBitmap
,
19333 _swigt__p_wxObject
,
19334 _swigt__p_wxRegionIterator
,
19336 _swigt__p_wxString
,
19337 _swigt__p_wxPrinterDC
,
19338 _swigt__p_wxIconBundle
,
19341 _swigt__p_wxScreenDC
,
19342 _swigt__p_wxCursor
,
19343 _swigt__p_wxClientDC
,
19344 _swigt__p_wxBufferedDC
,
19345 _swigt__p_wxImageList
,
19346 _swigt__p_unsigned_char
,
19347 _swigt__p_wxGDIObject
,
19349 _swigt__p_wxLocale
,
19350 _swigt__p_wxRegion
,
19351 _swigt__p_wxConfigBase
,
19352 _swigt__p_wxLanguageInfo
,
19353 _swigt__p_wxWindowDC
,
19354 _swigt__p_wxPrintData
,
19355 _swigt__p_wxBrushList
,
19356 _swigt__p_wxFontList
,
19358 _swigt__p_wxBufferedPaintDC
,
19359 _swigt__p_wxPaintDC
,
19360 _swigt__p_wxPenList
,
19363 _swigt__p_wxMetaFile
,
19364 _swigt__p_wxNativeFontInfo
,
19365 _swigt__p_wxEncodingConverter
,
19366 _swigt__p_wxColourDatabase
,
19371 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19373 static swig_const_info swig_const_table
[] = {
19383 SWIGEXPORT(void) SWIG_init(void) {
19384 static PyObject
*SWIG_globals
= 0;
19385 static int typeinit
= 0;
19388 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19389 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19390 d
= PyModule_GetDict(m
);
19393 for (i
= 0; swig_types_initial
[i
]; i
++) {
19394 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19398 SWIG_InstallConstants(d
,swig_const_table
);
19400 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19401 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19402 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19403 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19404 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19405 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19406 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19407 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19408 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19409 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19410 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19411 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19412 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19413 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19414 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19415 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19416 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19417 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19418 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19419 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19420 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19421 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19422 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19423 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19424 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19425 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19426 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19427 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19428 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19429 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19430 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19431 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19432 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19433 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19434 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19435 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19436 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19437 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19438 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19439 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19440 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19441 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19442 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19443 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19444 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19445 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19446 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19447 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19448 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19449 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19450 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19451 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19452 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19453 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19454 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19455 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19456 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19457 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19458 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19459 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19460 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19461 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19462 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19463 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19464 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19465 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19466 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19467 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19468 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19469 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19470 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19471 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19472 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19473 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19474 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19475 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19476 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19477 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19478 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19479 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19480 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19481 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19482 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19483 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19484 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19485 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19486 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19487 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19488 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19489 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19490 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19491 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19492 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19493 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19494 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19495 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19496 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19497 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19498 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19499 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19500 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19501 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19502 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19503 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19504 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19505 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19506 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19507 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19508 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19509 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19510 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19511 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19512 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19513 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19514 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19515 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19516 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19517 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19518 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19519 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19520 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19521 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19522 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19523 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19524 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19525 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19526 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19528 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19530 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19531 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19532 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19533 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19534 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19535 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19536 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19537 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19538 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19539 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19540 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19541 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19542 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19543 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19544 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19545 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19546 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19547 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19548 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19549 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19550 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19551 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19552 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19553 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19554 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19555 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19556 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19557 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19558 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19559 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19560 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19561 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19562 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19563 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19564 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19565 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19566 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19567 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19568 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19569 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19570 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19571 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19572 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19573 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19574 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19575 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19576 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19577 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19578 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19579 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19580 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19581 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19582 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19583 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19584 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19585 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19586 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19587 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19588 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19589 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19590 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19591 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19592 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19593 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19594 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19595 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19596 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19597 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19598 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19599 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19600 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19601 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19602 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19603 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19604 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19605 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19606 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19607 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19608 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19609 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19610 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19611 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19612 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19613 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19614 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19615 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19616 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19617 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19618 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19619 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19620 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19621 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19622 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19623 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19624 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19625 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19626 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19627 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19628 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19629 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19630 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19631 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19632 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19633 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19634 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19635 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19636 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19637 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19638 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19639 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19640 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19641 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19642 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19643 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19644 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19645 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19646 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19647 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19648 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19649 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19650 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19651 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19652 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19653 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19654 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19655 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19656 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19657 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19658 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19659 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19660 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19661 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19662 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19663 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19664 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19665 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19666 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19667 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19668 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19669 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19670 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19671 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19672 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19673 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19674 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19675 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19676 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19677 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19678 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19679 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19680 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19681 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19682 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19683 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19684 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19685 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19686 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19687 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19688 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19689 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19690 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19691 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19692 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19693 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19694 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19695 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19696 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19697 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19698 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19699 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19700 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19701 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19702 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19703 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19704 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19705 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19706 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19707 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19708 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19709 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19710 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19711 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19712 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19713 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19714 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19715 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19716 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19717 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19718 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19719 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19720 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19721 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19722 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19723 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19724 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19725 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19726 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19727 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19728 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19729 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19730 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19731 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19732 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19733 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19734 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19735 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19736 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19737 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19738 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19739 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19740 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19741 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19742 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19743 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19744 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19745 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19746 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19747 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19748 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19749 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19750 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19751 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19752 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19753 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19754 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19755 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19756 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19757 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19758 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19759 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19760 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19761 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19762 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19763 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19764 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19765 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19766 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19767 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19768 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19769 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19770 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19771 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19772 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19773 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19774 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19775 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19776 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19777 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19778 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19779 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19780 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19781 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19782 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19783 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19784 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19785 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19786 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19787 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19788 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19789 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19790 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19791 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19792 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19793 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19794 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19795 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19796 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19797 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19798 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19799 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19800 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19801 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19802 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19803 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19804 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19805 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19806 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19807 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19808 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19809 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19810 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19811 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19812 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19813 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19814 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19815 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19816 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19817 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19818 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19819 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19820 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19821 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19822 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19823 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19824 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19825 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19826 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19827 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19828 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19829 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19831 // Work around a chicken/egg problem in drawlist.cpp
19832 wxPyDrawList_SetAPIPtr();