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 #include <wx/image.h>
567 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
568 char** cArray
= NULL
;
571 if (!PyList_Check(listOfStrings
)) {
572 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
575 count
= PyList_Size(listOfStrings
);
576 cArray
= new char*[count
];
578 for(int x
=0; x
<count
; x
++) {
579 // TODO: Need some validation and error checking here
580 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
586 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
587 char** cArray
= NULL
;
590 cArray
= ConvertListOfStrings(listOfStrings
);
593 bmp
= new wxBitmap(cArray
);
597 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
600 PyString_AsStringAndSize(bits
, &buf
, &length
);
601 return new wxBitmap(buf
, width
, height
, depth
);
603 wxBitmap
*new_wxBitmap__SWIG_0(int width
,int height
,int depth
){
604 return new wxBitmap(width
, height
, depth
);
606 wxBitmap
*new_wxBitmap__SWIG_1(wxSize
const &size
,int depth
){
607 return new wxBitmap(size
.x
, size
.y
, depth
);
609 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
610 wxSize
size(self
->GetWidth(), self
->GetHeight());
613 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
614 wxMask
*mask
= new wxMask(*self
, colour
);
617 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
618 self
->SetWidth(size
.x
);
619 self
->SetHeight(size
.y
);
621 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
622 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
623 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
625 return new wxMask(bitmap
, *wxBLACK
);
627 return new wxMask(bitmap
, colour
);
630 #include <wx/iconbndl.h>
632 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
633 wxIcon
* icon
= new wxIcon();
634 icon
->CopyFromBitmap(bmp
);
637 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
638 char** cArray
= NULL
;
641 cArray
= ConvertListOfStrings(listOfStrings
);
644 icon
= new wxIcon(cArray
);
648 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
652 return new wxIconLocation(*filename
);
655 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
662 int wxIconLocation_GetIndex(wxIconLocation
*self
){
670 SWIGSTATICINLINE(int)
671 SWIG_CheckLong(PyObject
* obj
)
674 if (PyErr_Occurred()) {
682 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
684 wxCHECK_MSG(False
, NULL
,
685 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
687 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
692 void wxRegionIterator_Next(wxRegionIterator
*self
){
695 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
696 return self
->operator bool();
699 #include <wx/fontutil.h>
700 #include <wx/fontmap.h>
701 #include <wx/fontenum.h>
703 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
704 return self
->ToString();
707 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
708 static wxNativeEncodingInfo info
;
709 if ( wxGetNativeFontEncoding(encoding
, &info
) )
715 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
716 wxFontEncoding alt_enc
;
717 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
718 return PyInt_FromLong(alt_enc
);
724 wxFont
*new_wxFont(wxString
const &info
){
725 wxNativeFontInfo nfi
;
726 nfi
.FromString(info
);
727 return new wxFont(nfi
);
729 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
730 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
732 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
733 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
735 class wxPyFontEnumerator
: public wxFontEnumerator
{
737 wxPyFontEnumerator() {}
738 ~wxPyFontEnumerator() {}
740 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
741 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
746 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
747 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
750 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
751 wxArrayString
* arr
= self
->GetEncodings();
752 return wxArrayString2PyList_helper(*arr
);
754 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
755 wxArrayString
* arr
= self
->GetFacenames();
756 return wxArrayString2PyList_helper(*arr
);
761 #include "wx/wxPython/pydrawxxx.h"
763 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
765 self
->GetPixel(x
, y
, &col
);
768 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
770 self
->GetPixel(pt
, &col
);
774 SWIGSTATICINLINE(double)
775 SWIG_AsDouble(PyObject
*obj
)
777 if (PyNumber_Check(obj
))
778 return PyFloat_AsDouble(obj
);
780 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
781 obj
->ob_type
->tp_name
);
782 PyErr_SetObject(PyExc_TypeError
, errmsg
);
789 SWIGSTATICINLINE(int)
790 SWIG_CheckDouble(PyObject
* obj
)
793 if (PyErr_Occurred()) {
801 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
803 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
806 wxRect
wxDC_GetClippingRect(wxDC
*self
){
808 self
->GetClippingBox(rect
);
811 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
813 self
->GetPartialTextExtents(text
, widths
);
816 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
817 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
819 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
820 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
822 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
823 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
825 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
826 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
828 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
829 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
831 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
832 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
835 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
843 #include <wx/dcbuffer.h>
849 class wxMetaFile
: public wxObject
{
851 wxMetaFile(const wxString
&)
852 { wxPyRaiseNotImplemented(); }
855 class wxMetaFileDC
: public wxClientDC
{
857 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
858 { wxPyRaiseNotImplemented(); }
863 class wxPrinterDC
: public wxClientDC
{
865 wxPrinterDC(const wxPrintData
&)
866 { wxPyRaiseNotImplemented(); }
868 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
869 // { wxPyRaiseNotImplemented(); }
874 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
875 self
->AddColour(name
, wxColour(red
, green
, blue
));
878 #include <wx/effects.h>
883 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
893 result
= (wxGDIObject
*)new wxGDIObject();
895 wxPyEndAllowThreads(__tstate
);
896 if (PyErr_Occurred()) SWIG_fail
;
898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
905 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
908 PyObject
* obj0
= 0 ;
910 (char *) "self", NULL
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
920 wxPyEndAllowThreads(__tstate
);
921 if (PyErr_Occurred()) SWIG_fail
;
923 Py_INCREF(Py_None
); resultobj
= Py_None
;
930 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
934 PyObject
* obj0
= 0 ;
936 (char *) "self", NULL
939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
944 result
= (bool)(arg1
)->GetVisible();
946 wxPyEndAllowThreads(__tstate
);
947 if (PyErr_Occurred()) SWIG_fail
;
950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
958 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
962 PyObject
* obj0
= 0 ;
963 PyObject
* obj1
= 0 ;
965 (char *) "self",(char *) "visible", NULL
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
971 arg2
= (bool) SWIG_AsBool(obj1
);
972 if (PyErr_Occurred()) SWIG_fail
;
974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
975 (arg1
)->SetVisible(arg2
);
977 wxPyEndAllowThreads(__tstate
);
978 if (PyErr_Occurred()) SWIG_fail
;
980 Py_INCREF(Py_None
); resultobj
= Py_None
;
987 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
991 PyObject
* obj0
= 0 ;
993 (char *) "self", NULL
996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1001 result
= (bool)(arg1
)->IsNull();
1003 wxPyEndAllowThreads(__tstate
);
1004 if (PyErr_Occurred()) SWIG_fail
;
1007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1015 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1018 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1020 return Py_BuildValue((char *)"");
1022 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1023 PyObject
*resultobj
;
1024 unsigned char arg1
= (unsigned char) 0 ;
1025 unsigned char arg2
= (unsigned char) 0 ;
1026 unsigned char arg3
= (unsigned char) 0 ;
1028 PyObject
* obj0
= 0 ;
1029 PyObject
* obj1
= 0 ;
1030 PyObject
* obj2
= 0 ;
1032 (char *) "red",(char *) "green",(char *) "blue", NULL
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1037 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1038 if (PyErr_Occurred()) SWIG_fail
;
1041 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1042 if (PyErr_Occurred()) SWIG_fail
;
1045 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1046 if (PyErr_Occurred()) SWIG_fail
;
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1050 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) SWIG_fail
;
1055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1062 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1063 PyObject
*resultobj
;
1064 wxString
*arg1
= 0 ;
1066 bool temp1
= False
;
1067 PyObject
* obj0
= 0 ;
1069 (char *) "colorName", NULL
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1074 arg1
= wxString_in_helper(obj0
);
1075 if (arg1
== NULL
) SWIG_fail
;
1079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1080 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1082 wxPyEndAllowThreads(__tstate
);
1083 if (PyErr_Occurred()) SWIG_fail
;
1085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1100 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
*resultobj
;
1102 unsigned long arg1
;
1104 PyObject
* obj0
= 0 ;
1106 (char *) "colRGB", NULL
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1110 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1111 if (PyErr_Occurred()) SWIG_fail
;
1113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1114 result
= (wxColour
*)new wxColour(arg1
);
1116 wxPyEndAllowThreads(__tstate
);
1117 if (PyErr_Occurred()) SWIG_fail
;
1119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1126 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
*resultobj
;
1128 wxColour
*arg1
= (wxColour
*) 0 ;
1129 PyObject
* obj0
= 0 ;
1131 (char *) "self", NULL
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) SWIG_fail
;
1144 Py_INCREF(Py_None
); resultobj
= Py_None
;
1151 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
*resultobj
;
1153 wxColour
*arg1
= (wxColour
*) 0 ;
1154 unsigned char result
;
1155 PyObject
* obj0
= 0 ;
1157 (char *) "self", NULL
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1165 result
= (unsigned char)(arg1
)->Red();
1167 wxPyEndAllowThreads(__tstate
);
1168 if (PyErr_Occurred()) SWIG_fail
;
1170 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1177 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
*resultobj
;
1179 wxColour
*arg1
= (wxColour
*) 0 ;
1180 unsigned char result
;
1181 PyObject
* obj0
= 0 ;
1183 (char *) "self", NULL
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 result
= (unsigned char)(arg1
)->Green();
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) SWIG_fail
;
1196 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1203 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
*resultobj
;
1205 wxColour
*arg1
= (wxColour
*) 0 ;
1206 unsigned char result
;
1207 PyObject
* obj0
= 0 ;
1209 (char *) "self", NULL
1212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 result
= (unsigned char)(arg1
)->Blue();
1219 wxPyEndAllowThreads(__tstate
);
1220 if (PyErr_Occurred()) SWIG_fail
;
1222 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1229 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
*resultobj
;
1231 wxColour
*arg1
= (wxColour
*) 0 ;
1233 PyObject
* obj0
= 0 ;
1235 (char *) "self", NULL
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1243 result
= (bool)(arg1
)->Ok();
1245 wxPyEndAllowThreads(__tstate
);
1246 if (PyErr_Occurred()) SWIG_fail
;
1249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1257 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
*resultobj
;
1259 wxColour
*arg1
= (wxColour
*) 0 ;
1260 unsigned char arg2
;
1261 unsigned char arg3
;
1262 unsigned char arg4
;
1263 PyObject
* obj0
= 0 ;
1264 PyObject
* obj1
= 0 ;
1265 PyObject
* obj2
= 0 ;
1266 PyObject
* obj3
= 0 ;
1268 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1274 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1275 if (PyErr_Occurred()) SWIG_fail
;
1276 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1277 if (PyErr_Occurred()) SWIG_fail
;
1278 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1279 if (PyErr_Occurred()) SWIG_fail
;
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 (arg1
)->Set(arg2
,arg3
,arg4
);
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) SWIG_fail
;
1287 Py_INCREF(Py_None
); resultobj
= Py_None
;
1294 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
*resultobj
;
1296 wxColour
*arg1
= (wxColour
*) 0 ;
1297 unsigned long arg2
;
1298 PyObject
* obj0
= 0 ;
1299 PyObject
* obj1
= 0 ;
1301 (char *) "self",(char *) "colRGB", NULL
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1307 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1308 if (PyErr_Occurred()) SWIG_fail
;
1310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 wxPyEndAllowThreads(__tstate
);
1314 if (PyErr_Occurred()) SWIG_fail
;
1316 Py_INCREF(Py_None
); resultobj
= Py_None
;
1323 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
*resultobj
;
1325 wxColour
*arg1
= (wxColour
*) 0 ;
1326 wxString
*arg2
= 0 ;
1327 bool temp2
= False
;
1328 PyObject
* obj0
= 0 ;
1329 PyObject
* obj1
= 0 ;
1331 (char *) "self",(char *) "colourName", NULL
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1338 arg2
= wxString_in_helper(obj1
);
1339 if (arg2
== NULL
) SWIG_fail
;
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 (arg1
)->InitFromName((wxString
const &)*arg2
);
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) SWIG_fail
;
1349 Py_INCREF(Py_None
); resultobj
= Py_None
;
1364 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
*resultobj
;
1366 wxColour
*arg1
= (wxColour
*) 0 ;
1368 PyObject
* obj0
= 0 ;
1370 (char *) "self", NULL
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1378 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1380 wxPyEndAllowThreads(__tstate
);
1381 if (PyErr_Occurred()) SWIG_fail
;
1383 resultobj
= SWIG_FromLong((long)result
);
1390 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
*resultobj
;
1392 wxColour
*arg1
= (wxColour
*) 0 ;
1393 wxColour
*arg2
= 0 ;
1396 PyObject
* obj0
= 0 ;
1397 PyObject
* obj1
= 0 ;
1399 (char *) "self",(char *) "colour", NULL
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1407 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1413 wxPyEndAllowThreads(__tstate
);
1414 if (PyErr_Occurred()) SWIG_fail
;
1417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1425 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
*resultobj
;
1427 wxColour
*arg1
= (wxColour
*) 0 ;
1428 wxColour
*arg2
= 0 ;
1431 PyObject
* obj0
= 0 ;
1432 PyObject
* obj1
= 0 ;
1434 (char *) "self",(char *) "colour", NULL
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1442 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) SWIG_fail
;
1452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1460 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
*resultobj
;
1462 wxColour
*arg1
= (wxColour
*) 0 ;
1464 PyObject
* obj0
= 0 ;
1466 (char *) "self", NULL
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 result
= (PyObject
*)wxColour_Get(arg1
);
1476 wxPyEndAllowThreads(__tstate
);
1477 if (PyErr_Occurred()) SWIG_fail
;
1486 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
*resultobj
;
1488 wxColour
*arg1
= (wxColour
*) 0 ;
1489 unsigned long result
;
1490 PyObject
* obj0
= 0 ;
1492 (char *) "self", NULL
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1500 result
= (unsigned long)wxColour_GetRGB(arg1
);
1502 wxPyEndAllowThreads(__tstate
);
1503 if (PyErr_Occurred()) SWIG_fail
;
1505 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1512 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1515 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1517 return Py_BuildValue((char *)"");
1519 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
*resultobj
;
1522 unsigned char *arg2
= (unsigned char *) 0 ;
1523 unsigned char *arg3
= (unsigned char *) 0 ;
1524 unsigned char *arg4
= (unsigned char *) 0 ;
1526 PyObject
* obj0
= 0 ;
1527 PyObject
* obj1
= 0 ;
1528 PyObject
* obj2
= 0 ;
1529 PyObject
* obj3
= 0 ;
1531 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1535 arg1
= (int) SWIG_AsInt(obj0
);
1536 if (PyErr_Occurred()) SWIG_fail
;
1537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1539 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1541 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1547 wxPyEndAllowThreads(__tstate
);
1548 if (PyErr_Occurred()) SWIG_fail
;
1550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1557 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
*resultobj
;
1559 wxPalette
*arg1
= (wxPalette
*) 0 ;
1560 PyObject
* obj0
= 0 ;
1562 (char *) "self", NULL
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 wxPyEndAllowThreads(__tstate
);
1573 if (PyErr_Occurred()) SWIG_fail
;
1575 Py_INCREF(Py_None
); resultobj
= Py_None
;
1582 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
*resultobj
;
1584 wxPalette
*arg1
= (wxPalette
*) 0 ;
1589 PyObject
* obj0
= 0 ;
1590 PyObject
* obj1
= 0 ;
1591 PyObject
* obj2
= 0 ;
1592 PyObject
* obj3
= 0 ;
1594 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1600 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1602 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1604 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1605 if (PyErr_Occurred()) SWIG_fail
;
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) SWIG_fail
;
1613 resultobj
= SWIG_FromInt((int)result
);
1620 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxPalette
*arg1
= (wxPalette
*) 0 ;
1624 byte
*arg3
= (byte
*) 0 ;
1625 byte
*arg4
= (byte
*) 0 ;
1626 byte
*arg5
= (byte
*) 0 ;
1631 PyObject
* obj0
= 0 ;
1632 PyObject
* obj1
= 0 ;
1634 (char *) "self",(char *) "pixel", NULL
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1643 arg2
= (int) SWIG_AsInt(obj1
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) SWIG_fail
;
1653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1656 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1657 resultobj
= t_output_helper(resultobj
,o
);
1660 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1661 resultobj
= t_output_helper(resultobj
,o
);
1664 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1665 resultobj
= t_output_helper(resultobj
,o
);
1673 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
*resultobj
;
1675 wxPalette
*arg1
= (wxPalette
*) 0 ;
1677 PyObject
* obj0
= 0 ;
1679 (char *) "self", NULL
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 result
= (bool)(arg1
)->Ok();
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) SWIG_fail
;
1693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1701 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1704 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1706 return Py_BuildValue((char *)"");
1708 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
*resultobj
;
1710 wxColour
*arg1
= 0 ;
1711 int arg2
= (int) 1 ;
1712 int arg3
= (int) wxSOLID
;
1715 PyObject
* obj0
= 0 ;
1716 PyObject
* obj1
= 0 ;
1717 PyObject
* obj2
= 0 ;
1719 (char *) "colour",(char *) "width",(char *) "style", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1725 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1728 arg2
= (int) SWIG_AsInt(obj1
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1732 arg3
= (int) SWIG_AsInt(obj2
);
1733 if (PyErr_Occurred()) SWIG_fail
;
1736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1737 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1739 wxPyEndAllowThreads(__tstate
);
1740 if (PyErr_Occurred()) SWIG_fail
;
1742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1749 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1750 PyObject
*resultobj
;
1751 wxPen
*arg1
= (wxPen
*) 0 ;
1752 PyObject
* obj0
= 0 ;
1754 (char *) "self", NULL
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1767 Py_INCREF(Py_None
); resultobj
= Py_None
;
1774 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxPen
*arg1
= (wxPen
*) 0 ;
1778 PyObject
* obj0
= 0 ;
1780 (char *) "self", NULL
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 result
= (int)(arg1
)->GetCap();
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1793 resultobj
= SWIG_FromInt((int)result
);
1800 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
*resultobj
;
1802 wxPen
*arg1
= (wxPen
*) 0 ;
1804 PyObject
* obj0
= 0 ;
1806 (char *) "self", NULL
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1814 result
= (arg1
)->GetColour();
1816 wxPyEndAllowThreads(__tstate
);
1817 if (PyErr_Occurred()) SWIG_fail
;
1820 wxColour
* resultptr
;
1821 resultptr
= new wxColour((wxColour
&) result
);
1822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1830 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
*resultobj
;
1832 wxPen
*arg1
= (wxPen
*) 0 ;
1834 PyObject
* obj0
= 0 ;
1836 (char *) "self", NULL
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 result
= (int)(arg1
)->GetJoin();
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 resultobj
= SWIG_FromInt((int)result
);
1856 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
*resultobj
;
1858 wxPen
*arg1
= (wxPen
*) 0 ;
1860 PyObject
* obj0
= 0 ;
1862 (char *) "self", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 result
= (int)(arg1
)->GetStyle();
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) SWIG_fail
;
1875 resultobj
= SWIG_FromInt((int)result
);
1882 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
*resultobj
;
1884 wxPen
*arg1
= (wxPen
*) 0 ;
1886 PyObject
* obj0
= 0 ;
1888 (char *) "self", NULL
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 result
= (int)(arg1
)->GetWidth();
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1901 resultobj
= SWIG_FromInt((int)result
);
1908 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxPen
*arg1
= (wxPen
*) 0 ;
1912 PyObject
* obj0
= 0 ;
1914 (char *) "self", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (bool)(arg1
)->Ok();
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1936 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
*resultobj
;
1938 wxPen
*arg1
= (wxPen
*) 0 ;
1940 PyObject
* obj0
= 0 ;
1941 PyObject
* obj1
= 0 ;
1943 (char *) "self",(char *) "cap_style", NULL
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1949 arg2
= (int) SWIG_AsInt(obj1
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 (arg1
)->SetCap(arg2
);
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1958 Py_INCREF(Py_None
); resultobj
= Py_None
;
1965 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
*resultobj
;
1967 wxPen
*arg1
= (wxPen
*) 0 ;
1968 wxColour
*arg2
= 0 ;
1970 PyObject
* obj0
= 0 ;
1971 PyObject
* obj1
= 0 ;
1973 (char *) "self",(char *) "colour", NULL
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1981 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 (arg1
)->SetColour(*arg2
);
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 Py_INCREF(Py_None
); resultobj
= Py_None
;
1997 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
*resultobj
;
1999 wxPen
*arg1
= (wxPen
*) 0 ;
2001 PyObject
* obj0
= 0 ;
2002 PyObject
* obj1
= 0 ;
2004 (char *) "self",(char *) "join_style", NULL
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2010 arg2
= (int) SWIG_AsInt(obj1
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 (arg1
)->SetJoin(arg2
);
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 Py_INCREF(Py_None
); resultobj
= Py_None
;
2026 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
*resultobj
;
2028 wxPen
*arg1
= (wxPen
*) 0 ;
2030 PyObject
* obj0
= 0 ;
2031 PyObject
* obj1
= 0 ;
2033 (char *) "self",(char *) "style", NULL
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2039 arg2
= (int) SWIG_AsInt(obj1
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 (arg1
)->SetStyle(arg2
);
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) SWIG_fail
;
2048 Py_INCREF(Py_None
); resultobj
= Py_None
;
2055 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
*resultobj
;
2057 wxPen
*arg1
= (wxPen
*) 0 ;
2059 PyObject
* obj0
= 0 ;
2060 PyObject
* obj1
= 0 ;
2062 (char *) "self",(char *) "width", NULL
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2068 arg2
= (int) SWIG_AsInt(obj1
);
2069 if (PyErr_Occurred()) SWIG_fail
;
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 (arg1
)->SetWidth(arg2
);
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) SWIG_fail
;
2077 Py_INCREF(Py_None
); resultobj
= Py_None
;
2084 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
*resultobj
;
2086 wxPen
*arg1
= (wxPen
*) 0 ;
2088 wxDash
*arg3
= (wxDash
*) 0 ;
2089 PyObject
* obj0
= 0 ;
2090 PyObject
* obj1
= 0 ;
2092 (char *) "self",(char *) "dashes", NULL
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2099 arg2
= PyList_Size(obj1
);
2100 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2101 if (arg3
== NULL
) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 (arg1
)->SetDashes(arg2
,arg3
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 Py_INCREF(Py_None
); resultobj
= Py_None
;
2112 if (arg3
) delete [] arg3
;
2117 if (arg3
) delete [] arg3
;
2123 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
*resultobj
;
2125 wxPen
*arg1
= (wxPen
*) 0 ;
2127 PyObject
* obj0
= 0 ;
2129 (char *) "self", NULL
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2149 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
*resultobj
;
2151 wxPen
*arg1
= (wxPen
*) 0 ;
2152 wxPen
*arg2
= (wxPen
*) 0 ;
2154 PyObject
* obj0
= 0 ;
2155 PyObject
* obj1
= 0 ;
2157 (char *) "self",(char *) "other", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2181 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2183 wxPen
*arg1
= (wxPen
*) 0 ;
2184 wxPen
*arg2
= (wxPen
*) 0 ;
2186 PyObject
* obj0
= 0 ;
2187 PyObject
* obj1
= 0 ;
2189 (char *) "self",(char *) "other", NULL
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2213 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
*resultobj
;
2215 wxPen
*arg1
= (wxPen
*) 0 ;
2217 PyObject
* obj0
= 0 ;
2219 (char *) "self", NULL
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 resultobj
= SWIG_FromInt((int)result
);
2239 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2242 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2244 return Py_BuildValue((char *)"");
2246 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
*resultobj
;
2248 wxColour
*arg1
= 0 ;
2249 int arg2
= (int) 1 ;
2250 int arg3
= (int) wxSOLID
;
2253 PyObject
* obj0
= 0 ;
2254 PyObject
* obj1
= 0 ;
2255 PyObject
* obj2
= 0 ;
2257 (char *) "colour",(char *) "width",(char *) "style", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2263 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2266 arg2
= (int) SWIG_AsInt(obj1
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2270 arg3
= (int) SWIG_AsInt(obj2
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) SWIG_fail
;
2280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2287 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
*resultobj
;
2289 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2290 PyObject
* obj0
= 0 ;
2292 (char *) "self", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 wxPyEndAllowThreads(__tstate
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2305 Py_INCREF(Py_None
); resultobj
= Py_None
;
2312 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
*resultobj
;
2314 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2316 wxDash
*arg3
= (wxDash
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2318 PyObject
* obj1
= 0 ;
2320 (char *) "self",(char *) "dashes", NULL
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2327 arg2
= PyList_Size(obj1
);
2328 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2329 if (arg3
== NULL
) SWIG_fail
;
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 (arg1
)->SetDashes(arg2
,arg3
);
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2338 Py_INCREF(Py_None
); resultobj
= Py_None
;
2340 if (arg3
) delete [] arg3
;
2345 if (arg3
) delete [] arg3
;
2351 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2354 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2356 return Py_BuildValue((char *)"");
2358 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
*resultobj
;
2360 wxColour
*arg1
= 0 ;
2361 int arg2
= (int) wxSOLID
;
2364 PyObject
* obj0
= 0 ;
2365 PyObject
* obj1
= 0 ;
2367 (char *) "colour",(char *) "style", NULL
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2373 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2376 arg2
= (int) SWIG_AsInt(obj1
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2393 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxBrush
*arg1
= (wxBrush
*) 0 ;
2396 PyObject
* obj0
= 0 ;
2398 (char *) "self", NULL
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 Py_INCREF(Py_None
); resultobj
= Py_None
;
2418 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxBrush
*arg1
= (wxBrush
*) 0 ;
2421 wxColour
*arg2
= 0 ;
2423 PyObject
* obj0
= 0 ;
2424 PyObject
* obj1
= 0 ;
2426 (char *) "self",(char *) "col", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2434 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2438 (arg1
)->SetColour((wxColour
const &)*arg2
);
2440 wxPyEndAllowThreads(__tstate
);
2441 if (PyErr_Occurred()) SWIG_fail
;
2443 Py_INCREF(Py_None
); resultobj
= Py_None
;
2450 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2452 wxBrush
*arg1
= (wxBrush
*) 0 ;
2454 PyObject
* obj0
= 0 ;
2455 PyObject
* obj1
= 0 ;
2457 (char *) "self",(char *) "style", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2463 arg2
= (int) SWIG_AsInt(obj1
);
2464 if (PyErr_Occurred()) SWIG_fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 (arg1
)->SetStyle(arg2
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 Py_INCREF(Py_None
); resultobj
= Py_None
;
2479 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxBrush
*arg1
= (wxBrush
*) 0 ;
2482 wxBitmap
*arg2
= 0 ;
2483 PyObject
* obj0
= 0 ;
2484 PyObject
* obj1
= 0 ;
2486 (char *) "self",(char *) "stipple", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2493 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2496 PyErr_SetString(PyExc_TypeError
,"null reference");
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2506 Py_INCREF(Py_None
); resultobj
= Py_None
;
2513 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2515 wxBrush
*arg1
= (wxBrush
*) 0 ;
2517 PyObject
* obj0
= 0 ;
2519 (char *) "self", NULL
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 result
= ((wxBrush
const *)arg1
)->GetColour();
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) SWIG_fail
;
2533 wxColour
* resultptr
;
2534 resultptr
= new wxColour((wxColour
&) result
);
2535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2543 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
*resultobj
;
2545 wxBrush
*arg1
= (wxBrush
*) 0 ;
2547 PyObject
* obj0
= 0 ;
2549 (char *) "self", NULL
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2562 resultobj
= SWIG_FromInt((int)result
);
2569 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
*resultobj
;
2571 wxBrush
*arg1
= (wxBrush
*) 0 ;
2573 PyObject
* obj0
= 0 ;
2575 (char *) "self", NULL
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2583 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2585 wxPyEndAllowThreads(__tstate
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2595 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
*resultobj
;
2597 wxBrush
*arg1
= (wxBrush
*) 0 ;
2599 PyObject
* obj0
= 0 ;
2601 (char *) "self", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 result
= (bool)(arg1
)->Ok();
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2623 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2626 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2628 return Py_BuildValue((char *)"");
2630 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2632 wxString
*arg1
= 0 ;
2633 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2635 bool temp1
= False
;
2636 PyObject
* obj0
= 0 ;
2637 PyObject
* obj1
= 0 ;
2639 (char *) "name",(char *) "type", NULL
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2644 arg1
= wxString_in_helper(obj0
);
2645 if (arg1
== NULL
) SWIG_fail
;
2649 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2674 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2677 PyObject
* obj0
= 0 ;
2679 (char *) "self", NULL
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 Py_INCREF(Py_None
); resultobj
= Py_None
;
2699 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2703 PyObject
* obj0
= 0 ;
2705 (char *) "icon", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2713 PyErr_SetString(PyExc_TypeError
,"null reference");
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2730 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2733 int arg2
= (int) -1 ;
2735 PyObject
* obj0
= 0 ;
2736 PyObject
* obj1
= 0 ;
2738 (char *) "image",(char *) "depth", NULL
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2746 PyErr_SetString(PyExc_TypeError
,"null reference");
2750 arg2
= (int) SWIG_AsInt(obj1
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2767 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
*resultobj
;
2769 PyObject
*arg1
= (PyObject
*) 0 ;
2771 PyObject
* obj0
= 0 ;
2773 (char *) "listOfStrings", NULL
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2792 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
*resultobj
;
2794 PyObject
*arg1
= (PyObject
*) 0 ;
2797 int arg4
= (int) 1 ;
2799 PyObject
* obj0
= 0 ;
2800 PyObject
* obj1
= 0 ;
2801 PyObject
* obj2
= 0 ;
2802 PyObject
* obj3
= 0 ;
2804 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2809 arg2
= (int) SWIG_AsInt(obj1
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2811 arg3
= (int) SWIG_AsInt(obj2
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2814 arg4
= (int) SWIG_AsInt(obj3
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2831 static PyObject
*_wrap_new_EmptyBitmap__SWIG_0(PyObject
*self
, PyObject
*args
) {
2832 PyObject
*resultobj
;
2835 int arg3
= (int) -1 ;
2837 PyObject
* obj0
= 0 ;
2838 PyObject
* obj1
= 0 ;
2839 PyObject
* obj2
= 0 ;
2841 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_EmptyBitmap",&obj0
,&obj1
,&obj2
)) goto fail
;
2842 arg1
= (int) SWIG_AsInt(obj0
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2844 arg2
= (int) SWIG_AsInt(obj1
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2847 arg3
= (int) SWIG_AsInt(obj2
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 result
= (wxBitmap
*)new_wxBitmap__SWIG_0(arg1
,arg2
,arg3
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2864 static PyObject
*_wrap_new_EmptyBitmap__SWIG_1(PyObject
*self
, PyObject
*args
) {
2865 PyObject
*resultobj
;
2867 int arg2
= (int) -1 ;
2870 PyObject
* obj0
= 0 ;
2871 PyObject
* obj1
= 0 ;
2873 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_EmptyBitmap",&obj0
,&obj1
)) goto fail
;
2876 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
2879 arg2
= (int) SWIG_AsInt(obj1
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 result
= (wxBitmap
*)new_wxBitmap__SWIG_1((wxSize
const &)*arg1
,arg2
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2896 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
) {
2901 argc
= PyObject_Length(args
);
2902 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2903 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2905 if ((argc
>= 1) && (argc
<= 2)) {
2908 _v
= wxPySimple_typecheck(argv
[0], wxT("wxSize"), 2);
2912 return _wrap_new_EmptyBitmap__SWIG_1(self
,args
);
2914 _v
= SWIG_CheckInt(argv
[1]);
2916 return _wrap_new_EmptyBitmap__SWIG_1(self
,args
);
2920 if ((argc
>= 2) && (argc
<= 3)) {
2922 _v
= SWIG_CheckInt(argv
[0]);
2924 _v
= SWIG_CheckInt(argv
[1]);
2927 return _wrap_new_EmptyBitmap__SWIG_0(self
,args
);
2929 _v
= SWIG_CheckInt(argv
[2]);
2931 return _wrap_new_EmptyBitmap__SWIG_0(self
,args
);
2937 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_EmptyBitmap'");
2942 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2946 PyObject
* obj0
= 0 ;
2948 (char *) "self", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 result
= (bool)(arg1
)->Ok();
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2970 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
*resultobj
;
2972 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2974 PyObject
* obj0
= 0 ;
2976 (char *) "self", NULL
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 result
= (int)(arg1
)->GetWidth();
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2989 resultobj
= SWIG_FromInt((int)result
);
2996 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
*resultobj
;
2998 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3000 PyObject
* obj0
= 0 ;
3002 (char *) "self", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 result
= (int)(arg1
)->GetHeight();
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3015 resultobj
= SWIG_FromInt((int)result
);
3022 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
*resultobj
;
3024 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3026 PyObject
* obj0
= 0 ;
3028 (char *) "self", NULL
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 result
= (int)(arg1
)->GetDepth();
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3041 resultobj
= SWIG_FromInt((int)result
);
3048 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3052 PyObject
* obj0
= 0 ;
3054 (char *) "self", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 result
= wxBitmap_GetSize(arg1
);
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3069 resultptr
= new wxSize((wxSize
&) result
);
3070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3078 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
*resultobj
;
3080 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3081 SwigValueWrapper
< wxImage
> result
;
3082 PyObject
* obj0
= 0 ;
3084 (char *) "self", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3098 wxImage
* resultptr
;
3099 resultptr
= new wxImage((wxImage
&) result
);
3100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3108 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3112 PyObject
* obj0
= 0 ;
3114 (char *) "self", NULL
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3134 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3137 wxMask
*arg2
= (wxMask
*) 0 ;
3138 PyObject
* obj0
= 0 ;
3139 PyObject
* obj1
= 0 ;
3141 (char *) "self",(char *) "mask", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 (arg1
)->SetMask(arg2
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 Py_INCREF(Py_None
); resultobj
= Py_None
;
3163 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3166 wxColour
*arg2
= 0 ;
3168 PyObject
* obj0
= 0 ;
3169 PyObject
* obj1
= 0 ;
3171 (char *) "self",(char *) "colour", NULL
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3179 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3188 Py_INCREF(Py_None
); resultobj
= Py_None
;
3195 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
*resultobj
;
3197 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3199 SwigValueWrapper
< wxBitmap
> result
;
3201 PyObject
* obj0
= 0 ;
3202 PyObject
* obj1
= 0 ;
3204 (char *) "self",(char *) "rect", NULL
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3212 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3222 wxBitmap
* resultptr
;
3223 resultptr
= new wxBitmap((wxBitmap
&) result
);
3224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3232 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3235 wxString
*arg2
= 0 ;
3237 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3239 bool temp2
= False
;
3240 PyObject
* obj0
= 0 ;
3241 PyObject
* obj1
= 0 ;
3242 PyObject
* obj2
= 0 ;
3243 PyObject
* obj3
= 0 ;
3245 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3252 arg2
= wxString_in_helper(obj1
);
3253 if (arg2
== NULL
) SWIG_fail
;
3256 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3259 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3286 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3289 wxString
*arg2
= 0 ;
3292 bool temp2
= False
;
3293 PyObject
* obj0
= 0 ;
3294 PyObject
* obj1
= 0 ;
3295 PyObject
* obj2
= 0 ;
3297 (char *) "self",(char *) "name",(char *) "type", NULL
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3304 arg2
= wxString_in_helper(obj1
);
3305 if (arg2
== NULL
) SWIG_fail
;
3308 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3334 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
*resultobj
;
3336 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3342 (char *) "self",(char *) "icon", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3352 PyErr_SetString(PyExc_TypeError
,"null reference");
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3371 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3375 PyObject
* obj0
= 0 ;
3376 PyObject
* obj1
= 0 ;
3378 (char *) "self",(char *) "height", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3384 arg2
= (int) SWIG_AsInt(obj1
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 (arg1
)->SetHeight(arg2
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3393 Py_INCREF(Py_None
); resultobj
= Py_None
;
3400 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3404 PyObject
* obj0
= 0 ;
3405 PyObject
* obj1
= 0 ;
3407 (char *) "self",(char *) "width", NULL
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3413 arg2
= (int) SWIG_AsInt(obj1
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 (arg1
)->SetWidth(arg2
);
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 Py_INCREF(Py_None
); resultobj
= Py_None
;
3429 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3431 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3433 PyObject
* obj0
= 0 ;
3434 PyObject
* obj1
= 0 ;
3436 (char *) "self",(char *) "depth", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3442 arg2
= (int) SWIG_AsInt(obj1
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 (arg1
)->SetDepth(arg2
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3451 Py_INCREF(Py_None
); resultobj
= Py_None
;
3458 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
*resultobj
;
3460 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3463 PyObject
* obj0
= 0 ;
3464 PyObject
* obj1
= 0 ;
3466 (char *) "self",(char *) "size", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3474 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3483 Py_INCREF(Py_None
); resultobj
= Py_None
;
3490 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3493 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3498 (char *) "self",(char *) "other", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3522 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3525 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3527 PyObject
* obj0
= 0 ;
3528 PyObject
* obj1
= 0 ;
3530 (char *) "self",(char *) "other", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3554 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3557 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3559 return Py_BuildValue((char *)"");
3561 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxBitmap
*arg1
= 0 ;
3564 wxColour
const &arg2_defvalue
= wxNullColour
;
3565 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3568 PyObject
* obj0
= 0 ;
3569 PyObject
* obj1
= 0 ;
3571 (char *) "bitmap",(char *) "colour", NULL
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3579 PyErr_SetString(PyExc_TypeError
,"null reference");
3585 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3602 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3605 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3607 return Py_BuildValue((char *)"");
3609 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3611 wxString
*arg1
= 0 ;
3613 int arg3
= (int) -1 ;
3614 int arg4
= (int) -1 ;
3616 bool temp1
= False
;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3619 PyObject
* obj2
= 0 ;
3620 PyObject
* obj3
= 0 ;
3622 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3627 arg1
= wxString_in_helper(obj0
);
3628 if (arg1
== NULL
) SWIG_fail
;
3631 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3634 arg3
= (int) SWIG_AsInt(obj2
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3638 arg4
= (int) SWIG_AsInt(obj3
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3663 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxIcon
*arg1
= (wxIcon
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3668 (char *) "self", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 result
= (wxIcon
*)new wxIcon();
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3710 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxIconLocation
*arg1
= 0 ;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "loc", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3724 PyErr_SetString(PyExc_TypeError
,"null reference");
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3741 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxBitmap
*arg1
= 0 ;
3745 PyObject
* obj0
= 0 ;
3747 (char *) "bmp", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3755 PyErr_SetString(PyExc_TypeError
,"null reference");
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3772 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 PyObject
*arg1
= (PyObject
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3778 (char *) "listOfStrings", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (wxIcon
*)new_wxIcon(arg1
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3797 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxIcon
*arg1
= (wxIcon
*) 0 ;
3800 wxString
*arg2
= 0 ;
3803 bool temp2
= False
;
3804 PyObject
* obj0
= 0 ;
3805 PyObject
* obj1
= 0 ;
3806 PyObject
* obj2
= 0 ;
3808 (char *) "self",(char *) "name",(char *) "type", NULL
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3815 arg2
= wxString_in_helper(obj1
);
3816 if (arg2
== NULL
) SWIG_fail
;
3819 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3845 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 wxIcon
*arg1
= (wxIcon
*) 0 ;
3849 PyObject
* obj0
= 0 ;
3851 (char *) "self", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (bool)(arg1
)->Ok();
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3873 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxIcon
*arg1
= (wxIcon
*) 0 ;
3877 PyObject
* obj0
= 0 ;
3879 (char *) "self", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (int)(arg1
)->GetWidth();
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3892 resultobj
= SWIG_FromInt((int)result
);
3899 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxIcon
*arg1
= (wxIcon
*) 0 ;
3903 PyObject
* obj0
= 0 ;
3905 (char *) "self", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 result
= (int)(arg1
)->GetHeight();
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 resultobj
= SWIG_FromInt((int)result
);
3925 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxIcon
*arg1
= (wxIcon
*) 0 ;
3929 PyObject
* obj0
= 0 ;
3931 (char *) "self", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= (int)(arg1
)->GetDepth();
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3944 resultobj
= SWIG_FromInt((int)result
);
3951 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
*resultobj
;
3953 wxIcon
*arg1
= (wxIcon
*) 0 ;
3955 PyObject
* obj0
= 0 ;
3956 PyObject
* obj1
= 0 ;
3958 (char *) "self",(char *) "w", NULL
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3964 arg2
= (int) SWIG_AsInt(obj1
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 (arg1
)->SetWidth(arg2
);
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) SWIG_fail
;
3973 Py_INCREF(Py_None
); resultobj
= Py_None
;
3980 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
;
3982 wxIcon
*arg1
= (wxIcon
*) 0 ;
3984 PyObject
* obj0
= 0 ;
3985 PyObject
* obj1
= 0 ;
3987 (char *) "self",(char *) "h", NULL
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3993 arg2
= (int) SWIG_AsInt(obj1
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 (arg1
)->SetHeight(arg2
);
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4002 Py_INCREF(Py_None
); resultobj
= Py_None
;
4009 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
;
4011 wxIcon
*arg1
= (wxIcon
*) 0 ;
4013 PyObject
* obj0
= 0 ;
4014 PyObject
* obj1
= 0 ;
4016 (char *) "self",(char *) "d", NULL
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4022 arg2
= (int) SWIG_AsInt(obj1
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 (arg1
)->SetDepth(arg2
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 Py_INCREF(Py_None
); resultobj
= Py_None
;
4038 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
*resultobj
;
4040 wxIcon
*arg1
= (wxIcon
*) 0 ;
4041 wxBitmap
*arg2
= 0 ;
4042 PyObject
* obj0
= 0 ;
4043 PyObject
* obj1
= 0 ;
4045 (char *) "self",(char *) "bmp", NULL
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4055 PyErr_SetString(PyExc_TypeError
,"null reference");
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 Py_INCREF(Py_None
); resultobj
= Py_None
;
4072 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4075 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4077 return Py_BuildValue((char *)"");
4079 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4082 int arg2
= (int) 0 ;
4083 wxIconLocation
*result
;
4084 bool temp1
= False
;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4088 (char *) "filename",(char *) "num", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4094 arg1
= wxString_in_helper(obj0
);
4095 if (arg1
== NULL
) SWIG_fail
;
4100 arg2
= (int) SWIG_AsInt(obj1
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4125 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
;
4127 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4128 PyObject
* obj0
= 0 ;
4130 (char *) "self", NULL
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 Py_INCREF(Py_None
); resultobj
= Py_None
;
4150 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
;
4152 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4154 PyObject
* obj0
= 0 ;
4156 (char *) "self", NULL
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4178 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
;
4180 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4181 wxString
*arg2
= 0 ;
4182 bool temp2
= False
;
4183 PyObject
* obj0
= 0 ;
4184 PyObject
* obj1
= 0 ;
4186 (char *) "self",(char *) "filename", NULL
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4193 arg2
= wxString_in_helper(obj1
);
4194 if (arg2
== NULL
) SWIG_fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 (arg1
)->SetFileName((wxString
const &)*arg2
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4204 Py_INCREF(Py_None
); resultobj
= Py_None
;
4219 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4223 PyObject
* obj0
= 0 ;
4225 (char *) "self", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4235 result
= (wxString
*) &_result_ref
;
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4243 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4245 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4254 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4256 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4258 PyObject
* obj0
= 0 ;
4259 PyObject
* obj1
= 0 ;
4261 (char *) "self",(char *) "num", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4267 arg2
= (int) SWIG_AsInt(obj1
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 wxIconLocation_SetIndex(arg1
,arg2
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 Py_INCREF(Py_None
); resultobj
= Py_None
;
4283 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4287 PyObject
* obj0
= 0 ;
4289 (char *) "self", NULL
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (int)wxIconLocation_GetIndex(arg1
);
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= SWIG_FromInt((int)result
);
4309 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4312 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4314 return Py_BuildValue((char *)"");
4316 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4318 wxIconBundle
*result
;
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (wxIconBundle
*)new wxIconBundle();
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4338 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
;
4340 wxString
*arg1
= 0 ;
4342 wxIconBundle
*result
;
4343 bool temp1
= False
;
4344 PyObject
* obj0
= 0 ;
4345 PyObject
* obj1
= 0 ;
4347 (char *) "file",(char *) "type", NULL
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4352 arg1
= wxString_in_helper(obj0
);
4353 if (arg1
== NULL
) SWIG_fail
;
4356 arg2
= (long) SWIG_AsLong(obj1
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4380 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4383 wxIconBundle
*result
;
4384 PyObject
* obj0
= 0 ;
4386 (char *) "icon", NULL
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4394 PyErr_SetString(PyExc_TypeError
,"null reference");
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4411 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
;
4413 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4414 PyObject
* obj0
= 0 ;
4416 (char *) "self", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 Py_INCREF(Py_None
); resultobj
= Py_None
;
4436 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
;
4438 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4443 (char *) "self",(char *) "icon", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4453 PyErr_SetString(PyExc_TypeError
,"null reference");
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 Py_INCREF(Py_None
); resultobj
= Py_None
;
4470 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
;
4472 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4473 wxString
*arg2
= 0 ;
4475 bool temp2
= False
;
4476 PyObject
* obj0
= 0 ;
4477 PyObject
* obj1
= 0 ;
4478 PyObject
* obj2
= 0 ;
4480 (char *) "self",(char *) "file",(char *) "type", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4487 arg2
= wxString_in_helper(obj1
);
4488 if (arg2
== NULL
) SWIG_fail
;
4491 arg3
= (long) SWIG_AsLong(obj2
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 Py_INCREF(Py_None
); resultobj
= Py_None
;
4515 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4517 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4524 (char *) "self",(char *) "size", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4532 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4538 result
= (wxIcon
*) &_result_ref
;
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4545 wxIcon
* resultptr
= new wxIcon(*result
);
4546 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4554 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4557 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4559 return Py_BuildValue((char *)"");
4561 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxString
*arg1
= (wxString
*) 0 ;
4565 int arg3
= (int) 0 ;
4566 int arg4
= (int) 0 ;
4568 bool temp1
= False
;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4571 PyObject
* obj2
= 0 ;
4572 PyObject
* obj3
= 0 ;
4574 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4579 arg1
= wxString_in_helper(obj0
);
4580 if (arg1
== NULL
) SWIG_fail
;
4583 arg2
= (long) SWIG_AsLong(obj1
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 arg3
= (int) SWIG_AsInt(obj2
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 arg4
= (int) SWIG_AsInt(obj3
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4615 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxCursor
*arg1
= (wxCursor
*) 0 ;
4618 PyObject
* obj0
= 0 ;
4620 (char *) "self", NULL
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4633 Py_INCREF(Py_None
); resultobj
= Py_None
;
4640 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4644 PyObject
* obj0
= 0 ;
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4650 arg1
= (int) SWIG_AsInt(obj0
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxCursor
*)new wxCursor(arg1
);
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4666 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4670 PyObject
* obj0
= 0 ;
4672 (char *) "image", NULL
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4680 PyErr_SetString(PyExc_TypeError
,"null reference");
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4697 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4699 wxCursor
*arg1
= (wxCursor
*) 0 ;
4701 PyObject
* obj0
= 0 ;
4703 (char *) "self", NULL
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (bool)(arg1
)->Ok();
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4725 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4728 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4730 return Py_BuildValue((char *)"");
4732 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 int arg1
= (int) 0 ;
4735 int arg2
= (int) 0 ;
4736 int arg3
= (int) 0 ;
4737 int arg4
= (int) 0 ;
4739 PyObject
* obj0
= 0 ;
4740 PyObject
* obj1
= 0 ;
4741 PyObject
* obj2
= 0 ;
4742 PyObject
* obj3
= 0 ;
4744 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4749 arg1
= (int) SWIG_AsInt(obj0
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4753 arg2
= (int) SWIG_AsInt(obj1
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4757 arg3
= (int) SWIG_AsInt(obj2
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4761 arg4
= (int) SWIG_AsInt(obj3
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4778 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxBitmap
*arg1
= 0 ;
4781 wxColour
const &arg2_defvalue
= wxNullColour
;
4782 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4783 int arg3
= (int) 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4788 PyObject
* obj2
= 0 ;
4790 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4798 PyErr_SetString(PyExc_TypeError
,"null reference");
4804 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4808 arg3
= (int) SWIG_AsInt(obj2
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4825 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4828 wxPoint
*arg2
= (wxPoint
*) 0 ;
4829 int arg3
= (int) wxWINDING_RULE
;
4831 PyObject
* obj0
= 0 ;
4832 PyObject
* obj1
= 0 ;
4834 (char *) "points",(char *) "fillStyle", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4839 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4840 if (arg2
== NULL
) SWIG_fail
;
4843 arg3
= (int) SWIG_AsInt(obj1
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4855 if (arg2
) delete [] arg2
;
4860 if (arg2
) delete [] arg2
;
4866 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4868 wxRegion
*arg1
= (wxRegion
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4871 (char *) "self", NULL
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 Py_INCREF(Py_None
); resultobj
= Py_None
;
4891 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxRegion
*arg1
= (wxRegion
*) 0 ;
4894 PyObject
* obj0
= 0 ;
4896 (char *) "self", NULL
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 Py_INCREF(Py_None
); resultobj
= Py_None
;
4916 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxRegion
*arg1
= (wxRegion
*) 0 ;
4922 PyObject
* obj0
= 0 ;
4923 PyObject
* obj1
= 0 ;
4924 PyObject
* obj2
= 0 ;
4926 (char *) "self",(char *) "x",(char *) "y", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4932 arg2
= (int) SWIG_AsInt(obj1
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4934 arg3
= (int) SWIG_AsInt(obj2
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4952 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxRegion
*arg1
= (wxRegion
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4959 PyObject
* obj1
= 0 ;
4960 PyObject
* obj2
= 0 ;
4962 (char *) "self",(char *) "x",(char *) "y", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4968 arg2
= (int) SWIG_AsInt(obj1
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4970 arg3
= (int) SWIG_AsInt(obj2
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= SWIG_FromInt((int)result
);
4986 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
;
4988 wxRegion
*arg1
= (wxRegion
*) 0 ;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4995 (char *) "self",(char *) "pt", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_FromInt((int)result
);
5019 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxRegion
*arg1
= (wxRegion
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5026 PyObject
* obj1
= 0 ;
5028 (char *) "self",(char *) "rect", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5036 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= SWIG_FromInt((int)result
);
5052 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
;
5054 wxRegion
*arg1
= (wxRegion
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5061 PyObject
* obj1
= 0 ;
5062 PyObject
* obj2
= 0 ;
5063 PyObject
* obj3
= 0 ;
5064 PyObject
* obj4
= 0 ;
5066 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5072 arg2
= (int) SWIG_AsInt(obj1
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5074 arg3
= (int) SWIG_AsInt(obj2
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5076 arg4
= (int) SWIG_AsInt(obj3
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5078 arg5
= (int) SWIG_AsInt(obj4
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 resultobj
= SWIG_FromInt((int)result
);
5094 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
;
5096 wxRegion
*arg1
= (wxRegion
*) 0 ;
5098 PyObject
* obj0
= 0 ;
5100 (char *) "self", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= (arg1
)->GetBox();
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5115 resultptr
= new wxRect((wxRect
&) result
);
5116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5124 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxRegion
*arg1
= (wxRegion
*) 0 ;
5132 PyObject
* obj0
= 0 ;
5133 PyObject
* obj1
= 0 ;
5134 PyObject
* obj2
= 0 ;
5135 PyObject
* obj3
= 0 ;
5136 PyObject
* obj4
= 0 ;
5138 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5144 arg2
= (int) SWIG_AsInt(obj1
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5146 arg3
= (int) SWIG_AsInt(obj2
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5148 arg4
= (int) SWIG_AsInt(obj3
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5150 arg5
= (int) SWIG_AsInt(obj4
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5168 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
;
5170 wxRegion
*arg1
= (wxRegion
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5175 PyObject
* obj1
= 0 ;
5177 (char *) "self",(char *) "rect", NULL
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5185 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5203 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxRegion
*arg1
= (wxRegion
*) 0 ;
5206 wxRegion
*arg2
= 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5211 (char *) "self",(char *) "region", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5221 PyErr_SetString(PyExc_TypeError
,"null reference");
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5240 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
;
5242 wxRegion
*arg1
= (wxRegion
*) 0 ;
5244 PyObject
* obj0
= 0 ;
5246 (char *) "self", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 result
= (bool)(arg1
)->IsEmpty();
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5268 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
*resultobj
;
5270 wxRegion
*arg1
= (wxRegion
*) 0 ;
5276 PyObject
* obj0
= 0 ;
5277 PyObject
* obj1
= 0 ;
5278 PyObject
* obj2
= 0 ;
5279 PyObject
* obj3
= 0 ;
5280 PyObject
* obj4
= 0 ;
5282 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5288 arg2
= (int) SWIG_AsInt(obj1
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5290 arg3
= (int) SWIG_AsInt(obj2
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5292 arg4
= (int) SWIG_AsInt(obj3
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5294 arg5
= (int) SWIG_AsInt(obj4
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5312 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 wxRegion
*arg1
= (wxRegion
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5319 PyObject
* obj1
= 0 ;
5321 (char *) "self",(char *) "rect", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5329 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5347 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxRegion
*arg1
= (wxRegion
*) 0 ;
5350 wxRegion
*arg2
= 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5355 (char *) "self",(char *) "region", NULL
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5365 PyErr_SetString(PyExc_TypeError
,"null reference");
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5384 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxRegion
*arg1
= (wxRegion
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5393 PyObject
* obj1
= 0 ;
5394 PyObject
* obj2
= 0 ;
5395 PyObject
* obj3
= 0 ;
5396 PyObject
* obj4
= 0 ;
5398 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5404 arg2
= (int) SWIG_AsInt(obj1
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5406 arg3
= (int) SWIG_AsInt(obj2
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5408 arg4
= (int) SWIG_AsInt(obj3
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5410 arg5
= (int) SWIG_AsInt(obj4
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5428 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
;
5430 wxRegion
*arg1
= (wxRegion
*) 0 ;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5437 (char *) "self",(char *) "rect", NULL
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5445 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5463 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
;
5465 wxRegion
*arg1
= (wxRegion
*) 0 ;
5466 wxRegion
*arg2
= 0 ;
5468 PyObject
* obj0
= 0 ;
5469 PyObject
* obj1
= 0 ;
5471 (char *) "self",(char *) "region", NULL
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5481 PyErr_SetString(PyExc_TypeError
,"null reference");
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5500 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxRegion
*arg1
= (wxRegion
*) 0 ;
5508 PyObject
* obj0
= 0 ;
5509 PyObject
* obj1
= 0 ;
5510 PyObject
* obj2
= 0 ;
5511 PyObject
* obj3
= 0 ;
5512 PyObject
* obj4
= 0 ;
5514 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5520 arg2
= (int) SWIG_AsInt(obj1
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5522 arg3
= (int) SWIG_AsInt(obj2
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5524 arg4
= (int) SWIG_AsInt(obj3
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5526 arg5
= (int) SWIG_AsInt(obj4
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5544 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxRegion
*arg1
= (wxRegion
*) 0 ;
5550 PyObject
* obj0
= 0 ;
5551 PyObject
* obj1
= 0 ;
5553 (char *) "self",(char *) "rect", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5561 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5579 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxRegion
*arg1
= (wxRegion
*) 0 ;
5582 wxRegion
*arg2
= 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5587 (char *) "self",(char *) "region", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5597 PyErr_SetString(PyExc_TypeError
,"null reference");
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5616 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxRegion
*arg1
= (wxRegion
*) 0 ;
5619 SwigValueWrapper
< wxBitmap
> result
;
5620 PyObject
* obj0
= 0 ;
5622 (char *) "self", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (arg1
)->ConvertToBitmap();
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5636 wxBitmap
* resultptr
;
5637 resultptr
= new wxBitmap((wxBitmap
&) result
);
5638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5646 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
;
5648 wxRegion
*arg1
= (wxRegion
*) 0 ;
5649 wxBitmap
*arg2
= 0 ;
5650 wxColour
const &arg3_defvalue
= wxNullColour
;
5651 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5652 int arg4
= (int) 0 ;
5655 PyObject
* obj0
= 0 ;
5656 PyObject
* obj1
= 0 ;
5657 PyObject
* obj2
= 0 ;
5658 PyObject
* obj3
= 0 ;
5660 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5670 PyErr_SetString(PyExc_TypeError
,"null reference");
5676 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5680 arg4
= (int) SWIG_AsInt(obj3
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5699 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5702 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5704 return Py_BuildValue((char *)"");
5706 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxRegion
*arg1
= 0 ;
5709 wxRegionIterator
*result
;
5710 PyObject
* obj0
= 0 ;
5712 (char *) "region", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5720 PyErr_SetString(PyExc_TypeError
,"null reference");
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5737 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5740 PyObject
* obj0
= 0 ;
5742 (char *) "self", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 Py_INCREF(Py_None
); resultobj
= Py_None
;
5762 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
;
5764 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5766 PyObject
* obj0
= 0 ;
5768 (char *) "self", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 result
= (int)(arg1
)->GetX();
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 resultobj
= SWIG_FromInt((int)result
);
5788 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
;
5790 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5794 (char *) "self", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (int)(arg1
)->GetY();
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 resultobj
= SWIG_FromInt((int)result
);
5814 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5820 (char *) "self", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 result
= (int)(arg1
)->GetW();
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= SWIG_FromInt((int)result
);
5840 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5846 (char *) "self", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (int)(arg1
)->GetWidth();
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= SWIG_FromInt((int)result
);
5866 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5870 PyObject
* obj0
= 0 ;
5872 (char *) "self", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 result
= (int)(arg1
)->GetH();
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_FromInt((int)result
);
5892 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5898 (char *) "self", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (int)(arg1
)->GetHeight();
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= SWIG_FromInt((int)result
);
5918 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5924 (char *) "self", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (arg1
)->GetRect();
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5939 resultptr
= new wxRect((wxRect
&) result
);
5940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5948 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5952 PyObject
* obj0
= 0 ;
5954 (char *) "self", NULL
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 result
= (bool)(arg1
)->HaveRects();
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5976 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
*resultobj
;
5978 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5981 (char *) "self", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 Py_INCREF(Py_None
); resultobj
= Py_None
;
6001 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6004 PyObject
* obj0
= 0 ;
6006 (char *) "self", NULL
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 wxRegionIterator_Next(arg1
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6019 Py_INCREF(Py_None
); resultobj
= Py_None
;
6026 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
*resultobj
;
6028 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6030 PyObject
* obj0
= 0 ;
6032 (char *) "self", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6054 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6057 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6059 return Py_BuildValue((char *)"");
6061 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
;
6063 wxNativeFontInfo
*result
;
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6083 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6086 PyObject
* obj0
= 0 ;
6088 (char *) "self", NULL
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 Py_INCREF(Py_None
); resultobj
= Py_None
;
6108 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
;
6110 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6111 PyObject
* obj0
= 0 ;
6113 (char *) "self", NULL
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 Py_INCREF(Py_None
); resultobj
= Py_None
;
6133 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6140 (char *) "self",(char *) "font", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6150 PyErr_SetString(PyExc_TypeError
,"null reference");
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 Py_INCREF(Py_None
); resultobj
= Py_None
;
6167 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6171 PyObject
* obj0
= 0 ;
6173 (char *) "self", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= SWIG_FromInt((int)result
);
6193 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6199 (char *) "self", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_FromInt((int)result
);
6219 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6225 (char *) "self", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= SWIG_FromInt((int)result
);
6245 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6249 PyObject
* obj0
= 0 ;
6251 (char *) "self", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6273 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6279 (char *) "self", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6305 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6309 PyObject
* obj0
= 0 ;
6311 (char *) "self", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_FromInt((int)result
);
6331 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6337 (char *) "self", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= SWIG_FromInt((int)result
);
6357 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6361 PyObject
* obj0
= 0 ;
6362 PyObject
* obj1
= 0 ;
6364 (char *) "self",(char *) "pointsize", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6370 arg2
= (int) SWIG_AsInt(obj1
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 (arg1
)->SetPointSize(arg2
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 Py_INCREF(Py_None
); resultobj
= Py_None
;
6386 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6390 PyObject
* obj0
= 0 ;
6391 PyObject
* obj1
= 0 ;
6393 (char *) "self",(char *) "style", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6399 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 Py_INCREF(Py_None
); resultobj
= Py_None
;
6415 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6419 PyObject
* obj0
= 0 ;
6420 PyObject
* obj1
= 0 ;
6422 (char *) "self",(char *) "weight", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6428 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6437 Py_INCREF(Py_None
); resultobj
= Py_None
;
6444 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6448 PyObject
* obj0
= 0 ;
6449 PyObject
* obj1
= 0 ;
6451 (char *) "self",(char *) "underlined", NULL
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6457 arg2
= (bool) SWIG_AsBool(obj1
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 (arg1
)->SetUnderlined(arg2
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 Py_INCREF(Py_None
); resultobj
= Py_None
;
6473 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6477 PyObject
* obj0
= 0 ;
6478 PyObject
* obj1
= 0 ;
6480 (char *) "self",(char *) "facename", NULL
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6487 wxString
* sptr
= wxString_in_helper(obj1
);
6488 if (sptr
== NULL
) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 (arg1
)->SetFaceName(arg2
);
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6499 Py_INCREF(Py_None
); resultobj
= Py_None
;
6506 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
*resultobj
;
6508 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6510 PyObject
* obj0
= 0 ;
6511 PyObject
* obj1
= 0 ;
6513 (char *) "self",(char *) "family", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6519 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 Py_INCREF(Py_None
); resultobj
= Py_None
;
6535 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6542 (char *) "self",(char *) "encoding", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6548 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 Py_INCREF(Py_None
); resultobj
= Py_None
;
6564 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6567 wxString
*arg2
= 0 ;
6569 bool temp2
= False
;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6573 (char *) "self",(char *) "s", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6580 arg2
= wxString_in_helper(obj1
);
6581 if (arg2
== NULL
) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6608 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6614 (char *) "self", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6640 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "self", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= wxNativeFontInfo___str__(arg1
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6672 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6675 wxString
*arg2
= 0 ;
6677 bool temp2
= False
;
6678 PyObject
* obj0
= 0 ;
6679 PyObject
* obj1
= 0 ;
6681 (char *) "self",(char *) "s", NULL
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6688 arg2
= wxString_in_helper(obj1
);
6689 if (arg2
== NULL
) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6716 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6718 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6720 PyObject
* obj0
= 0 ;
6722 (char *) "self", NULL
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6748 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6751 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6753 return Py_BuildValue((char *)"");
6755 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
;
6757 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6758 wxString
*arg2
= (wxString
*) 0 ;
6759 bool temp2
= False
;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6763 (char *) "self",(char *) "facename", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6770 arg2
= wxString_in_helper(obj1
);
6771 if (arg2
== NULL
) SWIG_fail
;
6774 if (arg1
) (arg1
)->facename
= *arg2
;
6776 Py_INCREF(Py_None
); resultobj
= Py_None
;
6791 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6795 PyObject
* obj0
= 0 ;
6797 (char *) "self", NULL
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6803 result
= (wxString
*)& ((arg1
)->facename
);
6807 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6809 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6818 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6822 PyObject
* obj0
= 0 ;
6823 PyObject
* obj1
= 0 ;
6825 (char *) "self",(char *) "encoding", NULL
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6831 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6833 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6835 Py_INCREF(Py_None
); resultobj
= Py_None
;
6842 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6846 PyObject
* obj0
= 0 ;
6848 (char *) "self", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6854 result
= (int) ((arg1
)->encoding
);
6856 resultobj
= SWIG_FromInt((int)result
);
6863 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
;
6865 wxNativeEncodingInfo
*result
;
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6885 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 Py_INCREF(Py_None
); resultobj
= Py_None
;
6910 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6913 wxString
*arg2
= 0 ;
6915 bool temp2
= False
;
6916 PyObject
* obj0
= 0 ;
6917 PyObject
* obj1
= 0 ;
6919 (char *) "self",(char *) "s", NULL
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6926 arg2
= wxString_in_helper(obj1
);
6927 if (arg2
== NULL
) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6954 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6958 PyObject
* obj0
= 0 ;
6960 (char *) "self", NULL
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6986 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6989 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6991 return Py_BuildValue((char *)"");
6993 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6996 wxNativeEncodingInfo
*result
;
6997 PyObject
* obj0
= 0 ;
6999 (char *) "encoding", NULL
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7003 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7019 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
;
7021 wxNativeEncodingInfo
*arg1
= 0 ;
7023 PyObject
* obj0
= 0 ;
7025 (char *) "info", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7033 PyErr_SetString(PyExc_TypeError
,"null reference");
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7052 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxFontMapper
*result
;
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (wxFontMapper
*)new wxFontMapper();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7074 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7077 PyObject
* obj0
= 0 ;
7079 (char *) "self", NULL
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 Py_INCREF(Py_None
); resultobj
= Py_None
;
7099 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
;
7101 wxFontMapper
*result
;
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 result
= (wxFontMapper
*)wxFontMapper::Get();
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7121 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7124 wxFontMapper
*result
;
7125 PyObject
* obj0
= 0 ;
7127 (char *) "mapper", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7147 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7150 wxString
*arg2
= 0 ;
7151 bool arg3
= (bool) True
;
7153 bool temp2
= False
;
7154 PyObject
* obj0
= 0 ;
7155 PyObject
* obj1
= 0 ;
7156 PyObject
* obj2
= 0 ;
7158 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7165 arg2
= wxString_in_helper(obj1
);
7166 if (arg2
== NULL
) SWIG_fail
;
7170 arg3
= (bool) SWIG_AsBool(obj2
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7177 wxPyEndAllowThreads(__tstate
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7180 resultobj
= SWIG_FromInt((int)result
);
7195 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7217 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7221 PyObject
* obj0
= 0 ;
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7227 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 result
= (int)wxFontMapper::GetEncoding(arg1
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 resultobj
= SWIG_FromInt((int)result
);
7243 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7247 PyObject
* obj0
= 0 ;
7249 (char *) "encoding", NULL
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7253 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7275 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7279 PyObject
* obj0
= 0 ;
7281 (char *) "encoding", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7285 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7307 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxString
*arg1
= 0 ;
7311 bool temp1
= False
;
7312 PyObject
* obj0
= 0 ;
7314 (char *) "name", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7319 arg1
= wxString_in_helper(obj0
);
7320 if (arg1
== NULL
) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= SWIG_FromInt((int)result
);
7345 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7348 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7352 (char *) "self",(char *) "config", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 (arg1
)->SetConfig(arg2
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 Py_INCREF(Py_None
); resultobj
= Py_None
;
7374 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7377 wxString
*arg2
= 0 ;
7378 bool temp2
= False
;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7382 (char *) "self",(char *) "prefix", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7389 arg2
= wxString_in_helper(obj1
);
7390 if (arg2
== NULL
) SWIG_fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7400 Py_INCREF(Py_None
); resultobj
= Py_None
;
7415 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
;
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 result
= wxFontMapper::GetDefaultConfigPath();
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7443 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
;
7445 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7447 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7448 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7449 bool arg4
= (bool) True
;
7451 bool temp3
= False
;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7454 PyObject
* obj2
= 0 ;
7455 PyObject
* obj3
= 0 ;
7457 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7463 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 arg3
= wxString_in_helper(obj2
);
7468 if (arg3
== NULL
) SWIG_fail
;
7473 arg4
= (bool) SWIG_AsBool(obj3
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7498 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7502 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7503 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7505 bool temp3
= False
;
7506 PyObject
* obj0
= 0 ;
7507 PyObject
* obj1
= 0 ;
7508 PyObject
* obj2
= 0 ;
7510 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7516 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7520 arg3
= wxString_in_helper(obj2
);
7521 if (arg3
== NULL
) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7549 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7552 wxWindow
*arg2
= (wxWindow
*) 0 ;
7553 PyObject
* obj0
= 0 ;
7554 PyObject
* obj1
= 0 ;
7556 (char *) "self",(char *) "parent", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 (arg1
)->SetDialogParent(arg2
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 Py_INCREF(Py_None
); resultobj
= Py_None
;
7578 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7581 wxString
*arg2
= 0 ;
7582 bool temp2
= False
;
7583 PyObject
* obj0
= 0 ;
7584 PyObject
* obj1
= 0 ;
7586 (char *) "self",(char *) "title", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 arg2
= wxString_in_helper(obj1
);
7594 if (arg2
== NULL
) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 Py_INCREF(Py_None
); resultobj
= Py_None
;
7619 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7622 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7624 return Py_BuildValue((char *)"");
7626 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7632 bool arg5
= (bool) False
;
7633 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7634 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7635 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7637 bool temp6
= False
;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7640 PyObject
* obj2
= 0 ;
7641 PyObject
* obj3
= 0 ;
7642 PyObject
* obj4
= 0 ;
7643 PyObject
* obj5
= 0 ;
7644 PyObject
* obj6
= 0 ;
7646 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7650 arg1
= (int) SWIG_AsInt(obj0
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7652 arg2
= (int) SWIG_AsInt(obj1
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7654 arg3
= (int) SWIG_AsInt(obj2
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7656 arg4
= (int) SWIG_AsInt(obj3
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 arg5
= (bool) SWIG_AsBool(obj4
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7664 arg6
= wxString_in_helper(obj5
);
7665 if (arg6
== NULL
) SWIG_fail
;
7670 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7695 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxFont
*arg1
= (wxFont
*) 0 ;
7698 PyObject
* obj0
= 0 ;
7700 (char *) "self", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 Py_INCREF(Py_None
); resultobj
= Py_None
;
7720 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxNativeFontInfo
*arg1
= 0 ;
7724 PyObject
* obj0
= 0 ;
7726 (char *) "info", NULL
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7734 PyErr_SetString(PyExc_TypeError
,"null reference");
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7751 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxString
*arg1
= 0 ;
7755 bool temp1
= False
;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "info", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7763 arg1
= wxString_in_helper(obj0
);
7764 if (arg1
== NULL
) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7789 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
;
7793 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7794 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7795 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7796 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7798 bool temp4
= False
;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 PyObject
* obj2
= 0 ;
7802 PyObject
* obj3
= 0 ;
7803 PyObject
* obj4
= 0 ;
7805 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7809 arg1
= (int) SWIG_AsInt(obj0
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7811 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 arg3
= (int) SWIG_AsInt(obj2
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7819 arg4
= wxString_in_helper(obj3
);
7820 if (arg4
== NULL
) SWIG_fail
;
7825 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7850 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxFont
*arg1
= (wxFont
*) 0 ;
7854 PyObject
* obj0
= 0 ;
7856 (char *) "self", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (bool)((wxFont
const *)arg1
)->Ok();
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7878 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxFont
*arg1
= (wxFont
*) 0 ;
7881 wxFont
*arg2
= (wxFont
*) 0 ;
7883 PyObject
* obj0
= 0 ;
7884 PyObject
* obj1
= 0 ;
7886 (char *) "self",(char *) "other", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7910 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxFont
*arg1
= (wxFont
*) 0 ;
7913 wxFont
*arg2
= (wxFont
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7916 PyObject
* obj1
= 0 ;
7918 (char *) "self",(char *) "other", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7942 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
;
7944 wxFont
*arg1
= (wxFont
*) 0 ;
7946 PyObject
* obj0
= 0 ;
7948 (char *) "self", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= SWIG_FromInt((int)result
);
7968 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
;
7970 wxFont
*arg1
= (wxFont
*) 0 ;
7972 PyObject
* obj0
= 0 ;
7974 (char *) "self", NULL
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_FromInt((int)result
);
7994 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxFont
*arg1
= (wxFont
*) 0 ;
7998 PyObject
* obj0
= 0 ;
8000 (char *) "self", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= SWIG_FromInt((int)result
);
8020 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxFont
*arg1
= (wxFont
*) 0 ;
8024 PyObject
* obj0
= 0 ;
8026 (char *) "self", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= SWIG_FromInt((int)result
);
8046 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxFont
*arg1
= (wxFont
*) 0 ;
8050 PyObject
* obj0
= 0 ;
8052 (char *) "self", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8074 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxFont
*arg1
= (wxFont
*) 0 ;
8078 PyObject
* obj0
= 0 ;
8080 (char *) "self", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 result
= ((wxFont
const *)arg1
)->GetFaceName();
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8106 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxFont
*arg1
= (wxFont
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= SWIG_FromInt((int)result
);
8132 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxFont
*arg1
= (wxFont
*) 0 ;
8135 wxNativeFontInfo
*result
;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "self", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8158 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxFont
*arg1
= (wxFont
*) 0 ;
8162 PyObject
* obj0
= 0 ;
8164 (char *) "self", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8186 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxFont
*arg1
= (wxFont
*) 0 ;
8190 PyObject
* obj0
= 0 ;
8192 (char *) "self", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8218 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
;
8220 wxFont
*arg1
= (wxFont
*) 0 ;
8222 PyObject
* obj0
= 0 ;
8224 (char *) "self", NULL
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8250 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxFont
*arg1
= (wxFont
*) 0 ;
8254 PyObject
* obj0
= 0 ;
8255 PyObject
* obj1
= 0 ;
8257 (char *) "self",(char *) "pointSize", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8263 arg2
= (int) SWIG_AsInt(obj1
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 (arg1
)->SetPointSize(arg2
);
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8272 Py_INCREF(Py_None
); resultobj
= Py_None
;
8279 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxFont
*arg1
= (wxFont
*) 0 ;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8286 (char *) "self",(char *) "family", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8292 arg2
= (int) SWIG_AsInt(obj1
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 (arg1
)->SetFamily(arg2
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 Py_INCREF(Py_None
); resultobj
= Py_None
;
8308 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxFont
*arg1
= (wxFont
*) 0 ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8315 (char *) "self",(char *) "style", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8321 arg2
= (int) SWIG_AsInt(obj1
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 (arg1
)->SetStyle(arg2
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 Py_INCREF(Py_None
); resultobj
= Py_None
;
8337 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxFont
*arg1
= (wxFont
*) 0 ;
8341 PyObject
* obj0
= 0 ;
8342 PyObject
* obj1
= 0 ;
8344 (char *) "self",(char *) "weight", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8350 arg2
= (int) SWIG_AsInt(obj1
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 (arg1
)->SetWeight(arg2
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 Py_INCREF(Py_None
); resultobj
= Py_None
;
8366 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
*resultobj
;
8368 wxFont
*arg1
= (wxFont
*) 0 ;
8369 wxString
*arg2
= 0 ;
8370 bool temp2
= False
;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8374 (char *) "self",(char *) "faceName", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8381 arg2
= wxString_in_helper(obj1
);
8382 if (arg2
== NULL
) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxFont
*arg1
= (wxFont
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8414 (char *) "self",(char *) "underlined", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8420 arg2
= (bool) SWIG_AsBool(obj1
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 (arg1
)->SetUnderlined(arg2
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 Py_INCREF(Py_None
); resultobj
= Py_None
;
8436 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxFont
*arg1
= (wxFont
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8441 PyObject
* obj1
= 0 ;
8443 (char *) "self",(char *) "encoding", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8449 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 Py_INCREF(Py_None
); resultobj
= Py_None
;
8465 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxFont
*arg1
= (wxFont
*) 0 ;
8468 wxNativeFontInfo
*arg2
= 0 ;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8472 (char *) "self",(char *) "info", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8482 PyErr_SetString(PyExc_TypeError
,"null reference");
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8492 Py_INCREF(Py_None
); resultobj
= Py_None
;
8499 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 wxFont
*arg1
= (wxFont
*) 0 ;
8502 wxString
*arg2
= 0 ;
8503 bool temp2
= False
;
8504 PyObject
* obj0
= 0 ;
8505 PyObject
* obj1
= 0 ;
8507 (char *) "self",(char *) "info", NULL
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8514 arg2
= wxString_in_helper(obj1
);
8515 if (arg2
== NULL
) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 Py_INCREF(Py_None
); resultobj
= Py_None
;
8540 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxFont
*arg1
= (wxFont
*) 0 ;
8543 wxString
*arg2
= 0 ;
8544 bool temp2
= False
;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8548 (char *) "self",(char *) "info", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8555 arg2
= wxString_in_helper(obj1
);
8556 if (arg2
== NULL
) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 Py_INCREF(Py_None
); resultobj
= Py_None
;
8581 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxFont
*arg1
= (wxFont
*) 0 ;
8585 PyObject
* obj0
= 0 ;
8587 (char *) "self", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8613 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
*resultobj
;
8615 wxFont
*arg1
= (wxFont
*) 0 ;
8617 PyObject
* obj0
= 0 ;
8619 (char *) "self", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 result
= ((wxFont
const *)arg1
)->GetStyleString();
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8645 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8647 wxFont
*arg1
= (wxFont
*) 0 ;
8649 PyObject
* obj0
= 0 ;
8651 (char *) "self", NULL
8654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= ((wxFont
const *)arg1
)->GetWeightString();
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8677 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxFont
*arg1
= (wxFont
*) 0 ;
8680 bool arg2
= (bool) True
;
8681 PyObject
* obj0
= 0 ;
8682 PyObject
* obj1
= 0 ;
8684 (char *) "self",(char *) "no", NULL
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8691 arg2
= (bool) SWIG_AsBool(obj1
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->SetNoAntiAliasing(arg2
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 Py_INCREF(Py_None
); resultobj
= Py_None
;
8708 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxFont
*arg1
= (wxFont
*) 0 ;
8712 PyObject
* obj0
= 0 ;
8714 (char *) "self", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= (bool)(arg1
)->GetNoAntiAliasing();
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8736 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 result
= (int)wxFont::GetDefaultEncoding();
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= SWIG_FromInt((int)result
);
8758 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8761 PyObject
* obj0
= 0 ;
8763 (char *) "encoding", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8767 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8783 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8786 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8788 return Py_BuildValue((char *)"");
8790 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
*resultobj
;
8792 wxPyFontEnumerator
*result
;
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8812 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8815 PyObject
* obj0
= 0 ;
8817 (char *) "self", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 Py_INCREF(Py_None
); resultobj
= Py_None
;
8837 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8840 PyObject
*arg2
= (PyObject
*) 0 ;
8841 PyObject
*arg3
= (PyObject
*) 0 ;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8845 PyObject
* obj2
= 0 ;
8846 PyObject
* obj3
= 0 ;
8848 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8856 arg4
= (bool) SWIG_AsBool(obj3
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 Py_INCREF(Py_None
); resultobj
= Py_None
;
8872 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8875 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8876 bool arg3
= (bool) False
;
8878 PyObject
* obj0
= 0 ;
8879 PyObject
* obj1
= 0 ;
8880 PyObject
* obj2
= 0 ;
8882 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8889 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8893 arg3
= (bool) SWIG_AsBool(obj2
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8912 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8915 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8916 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8918 bool temp2
= False
;
8919 PyObject
* obj0
= 0 ;
8920 PyObject
* obj1
= 0 ;
8922 (char *) "self",(char *) "facename", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8930 arg2
= wxString_in_helper(obj1
);
8931 if (arg2
== NULL
) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8959 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
;
8961 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8963 PyObject
* obj0
= 0 ;
8965 (char *) "self", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8985 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
;
8987 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8989 PyObject
* obj0
= 0 ;
8991 (char *) "self", NULL
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9011 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
9013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9014 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9016 return Py_BuildValue((char *)"");
9018 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9022 PyObject
* obj0
= 0 ;
9023 PyObject
* obj1
= 0 ;
9025 (char *) "self",(char *) "Language", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9031 arg2
= (int) SWIG_AsInt(obj1
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9033 if (arg1
) (arg1
)->Language
= arg2
;
9035 Py_INCREF(Py_None
); resultobj
= Py_None
;
9042 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9046 PyObject
* obj0
= 0 ;
9048 (char *) "self", NULL
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9054 result
= (int) ((arg1
)->Language
);
9056 resultobj
= SWIG_FromInt((int)result
);
9063 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
;
9065 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9066 wxString
*arg2
= (wxString
*) 0 ;
9067 bool temp2
= False
;
9068 PyObject
* obj0
= 0 ;
9069 PyObject
* obj1
= 0 ;
9071 (char *) "self",(char *) "CanonicalName", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9078 arg2
= wxString_in_helper(obj1
);
9079 if (arg2
== NULL
) SWIG_fail
;
9082 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9084 Py_INCREF(Py_None
); resultobj
= Py_None
;
9099 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9103 PyObject
* obj0
= 0 ;
9105 (char *) "self", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9111 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9115 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9117 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9126 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9129 wxString
*arg2
= (wxString
*) 0 ;
9130 bool temp2
= False
;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9134 (char *) "self",(char *) "Description", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9141 arg2
= wxString_in_helper(obj1
);
9142 if (arg2
== NULL
) SWIG_fail
;
9145 if (arg1
) (arg1
)->Description
= *arg2
;
9147 Py_INCREF(Py_None
); resultobj
= Py_None
;
9162 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
;
9164 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9166 PyObject
* obj0
= 0 ;
9168 (char *) "self", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9174 result
= (wxString
*)& ((arg1
)->Description
);
9178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9189 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9192 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9194 return Py_BuildValue((char *)"");
9196 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9199 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9204 (char *) "language",(char *) "flags", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9209 arg1
= (int) SWIG_AsInt(obj0
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9213 arg2
= (int) SWIG_AsInt(obj1
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9230 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxLocale
*arg1
= (wxLocale
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9235 (char *) "self", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 Py_INCREF(Py_None
); resultobj
= Py_None
;
9255 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxLocale
*arg1
= (wxLocale
*) 0 ;
9258 wxString
*arg2
= 0 ;
9259 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9260 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9261 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9262 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9263 bool arg5
= (bool) True
;
9264 bool arg6
= (bool) False
;
9266 bool temp2
= False
;
9267 bool temp3
= False
;
9268 bool temp4
= False
;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 PyObject
* obj2
= 0 ;
9272 PyObject
* obj3
= 0 ;
9273 PyObject
* obj4
= 0 ;
9274 PyObject
* obj5
= 0 ;
9276 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 arg2
= wxString_in_helper(obj1
);
9284 if (arg2
== NULL
) SWIG_fail
;
9289 arg3
= wxString_in_helper(obj2
);
9290 if (arg3
== NULL
) SWIG_fail
;
9296 arg4
= wxString_in_helper(obj3
);
9297 if (arg4
== NULL
) SWIG_fail
;
9302 arg5
= (bool) SWIG_AsBool(obj4
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9306 arg6
= (bool) SWIG_AsBool(obj5
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9349 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
;
9351 wxLocale
*arg1
= (wxLocale
*) 0 ;
9352 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9353 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9355 PyObject
* obj0
= 0 ;
9356 PyObject
* obj1
= 0 ;
9357 PyObject
* obj2
= 0 ;
9359 (char *) "self",(char *) "language",(char *) "flags", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 arg2
= (int) SWIG_AsInt(obj1
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9370 arg3
= (int) SWIG_AsInt(obj2
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9389 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (int)wxLocale::GetSystemLanguage();
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= SWIG_FromInt((int)result
);
9411 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
;
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 result
= (int)wxLocale::GetSystemEncoding();
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= SWIG_FromInt((int)result
);
9433 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
;
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= wxLocale::GetSystemEncodingName();
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9461 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxLocale
*arg1
= (wxLocale
*) 0 ;
9465 PyObject
* obj0
= 0 ;
9467 (char *) "self", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9489 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxLocale
*arg1
= (wxLocale
*) 0 ;
9493 PyObject
* obj0
= 0 ;
9495 (char *) "self", NULL
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 result
= ((wxLocale
const *)arg1
)->GetLocale();
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9521 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxLocale
*arg1
= (wxLocale
*) 0 ;
9525 PyObject
* obj0
= 0 ;
9527 (char *) "self", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_FromInt((int)result
);
9547 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxLocale
*arg1
= (wxLocale
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9553 (char *) "self", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= ((wxLocale
const *)arg1
)->GetSysName();
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9579 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9581 wxLocale
*arg1
= (wxLocale
*) 0 ;
9583 PyObject
* obj0
= 0 ;
9585 (char *) "self", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9611 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
;
9613 wxString
*arg1
= 0 ;
9614 bool temp1
= False
;
9615 PyObject
* obj0
= 0 ;
9617 (char *) "prefix", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9622 arg1
= wxString_in_helper(obj0
);
9623 if (arg1
== NULL
) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 Py_INCREF(Py_None
); resultobj
= Py_None
;
9648 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
*resultobj
;
9650 wxLocale
*arg1
= (wxLocale
*) 0 ;
9651 wxString
*arg2
= 0 ;
9653 bool temp2
= False
;
9654 PyObject
* obj0
= 0 ;
9655 PyObject
* obj1
= 0 ;
9657 (char *) "self",(char *) "szDomain", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9664 arg2
= wxString_in_helper(obj1
);
9665 if (arg2
== NULL
) SWIG_fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9692 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxLocale
*arg1
= (wxLocale
*) 0 ;
9695 wxString
*arg2
= 0 ;
9697 bool temp2
= False
;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9701 (char *) "self",(char *) "szDomain", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9708 arg2
= wxString_in_helper(obj1
);
9709 if (arg2
== NULL
) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9736 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9739 wxLanguageInfo
*result
;
9740 PyObject
* obj0
= 0 ;
9742 (char *) "lang", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9746 arg1
= (int) SWIG_AsInt(obj0
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9762 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9766 PyObject
* obj0
= 0 ;
9768 (char *) "lang", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9772 arg1
= (int) SWIG_AsInt(obj0
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= wxLocale::GetLanguageName(arg1
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9794 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxString
*arg1
= 0 ;
9797 wxLanguageInfo
*result
;
9798 bool temp1
= False
;
9799 PyObject
* obj0
= 0 ;
9801 (char *) "locale", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9806 arg1
= wxString_in_helper(obj0
);
9807 if (arg1
== NULL
) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9832 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
;
9834 wxLanguageInfo
*arg1
= 0 ;
9835 PyObject
* obj0
= 0 ;
9837 (char *) "info", NULL
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9845 PyErr_SetString(PyExc_TypeError
,"null reference");
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 Py_INCREF(Py_None
); resultobj
= Py_None
;
9862 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxLocale
*arg1
= (wxLocale
*) 0 ;
9865 wxString
*arg2
= 0 ;
9866 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9867 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9869 bool temp2
= False
;
9870 bool temp3
= False
;
9871 PyObject
* obj0
= 0 ;
9872 PyObject
* obj1
= 0 ;
9873 PyObject
* obj2
= 0 ;
9875 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9882 arg2
= wxString_in_helper(obj1
);
9883 if (arg2
== NULL
) SWIG_fail
;
9888 arg3
= wxString_in_helper(obj2
);
9889 if (arg3
== NULL
) SWIG_fail
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9929 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxLocale
*arg1
= (wxLocale
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9935 (char *) "self", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9945 result
= (wxString
*) &_result_ref
;
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9955 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9964 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9967 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9969 return Py_BuildValue((char *)"");
9971 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
*resultobj
;
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (wxLocale
*)wxGetLocale();
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9993 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9994 PyObject
*resultobj
;
9995 wxString
*arg1
= 0 ;
9997 bool temp1
= False
;
9998 PyObject
* obj0
= 0 ;
10000 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10002 arg1
= wxString_in_helper(obj0
);
10003 if (arg1
== NULL
) SWIG_fail
;
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 result
= wxGetTranslation((wxString
const &)*arg1
);
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10034 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
10035 PyObject
*resultobj
;
10036 wxString
*arg1
= 0 ;
10037 wxString
*arg2
= 0 ;
10040 bool temp1
= False
;
10041 bool temp2
= False
;
10042 PyObject
* obj0
= 0 ;
10043 PyObject
* obj1
= 0 ;
10044 PyObject
* obj2
= 0 ;
10046 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10048 arg1
= wxString_in_helper(obj0
);
10049 if (arg1
== NULL
) SWIG_fail
;
10053 arg2
= wxString_in_helper(obj1
);
10054 if (arg2
== NULL
) SWIG_fail
;
10057 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10095 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10100 argc
= PyObject_Length(args
);
10101 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10102 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10107 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10110 return _wrap_GetTranslation__SWIG_0(self
,args
);
10116 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10120 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10123 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10125 return _wrap_GetTranslation__SWIG_1(self
,args
);
10131 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10136 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxEncodingConverter
*result
;
10139 char *kwnames
[] = {
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10158 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10161 PyObject
* obj0
= 0 ;
10162 char *kwnames
[] = {
10163 (char *) "self", NULL
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 Py_INCREF(Py_None
); resultobj
= Py_None
;
10183 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10188 int arg4
= (int) wxCONVERT_STRICT
;
10190 PyObject
* obj0
= 0 ;
10191 PyObject
* obj1
= 0 ;
10192 PyObject
* obj2
= 0 ;
10193 PyObject
* obj3
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10201 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10203 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 arg4
= (int) SWIG_AsInt(obj3
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10225 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
;
10227 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10228 wxString
*arg2
= 0 ;
10230 bool temp2
= False
;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj1
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self",(char *) "input", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10241 arg2
= wxString_in_helper(obj1
);
10242 if (arg2
== NULL
) SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10273 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10276 int arg2
= (int) wxPLATFORM_CURRENT
;
10277 wxFontEncodingArray result
;
10278 PyObject
* obj0
= 0 ;
10279 PyObject
* obj1
= 0 ;
10280 char *kwnames
[] = {
10281 (char *) "enc",(char *) "platform", NULL
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10285 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 arg2
= (int) SWIG_AsInt(obj1
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= PyList_New(0);
10300 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10301 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10302 PyList_Append(resultobj
, number
);
10312 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
;
10315 wxFontEncodingArray result
;
10316 PyObject
* obj0
= 0 ;
10317 char *kwnames
[] = {
10318 (char *) "enc", NULL
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10322 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= PyList_New(0);
10333 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10334 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10335 PyList_Append(resultobj
, number
);
10345 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "encIn",(char *) "encOut", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10357 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10359 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10377 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10380 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10382 return Py_BuildValue((char *)"");
10384 static PyObject
*_wrap_delete_DC(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:delete_DC",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();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 Py_INCREF(Py_None
); resultobj
= Py_None
;
10409 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxDC
*arg1
= (wxDC
*) 0 ;
10412 PyObject
* obj0
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "self", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 (arg1
)->BeginDrawing();
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10427 Py_INCREF(Py_None
); resultobj
= Py_None
;
10434 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
;
10436 wxDC
*arg1
= (wxDC
*) 0 ;
10437 PyObject
* obj0
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 (arg1
)->EndDrawing();
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10452 Py_INCREF(Py_None
); resultobj
= Py_None
;
10459 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10460 PyObject
*resultobj
;
10461 wxDC
*arg1
= (wxDC
*) 0 ;
10464 wxColour
*arg4
= 0 ;
10465 int arg5
= (int) wxFLOOD_SURFACE
;
10468 PyObject
* obj0
= 0 ;
10469 PyObject
* obj1
= 0 ;
10470 PyObject
* obj2
= 0 ;
10471 PyObject
* obj3
= 0 ;
10472 PyObject
* obj4
= 0 ;
10473 char *kwnames
[] = {
10474 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10480 arg2
= (int) SWIG_AsInt(obj1
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10482 arg3
= (int) SWIG_AsInt(obj2
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10486 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10489 arg5
= (int) SWIG_AsInt(obj4
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10508 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxDC
*arg1
= (wxDC
*) 0 ;
10511 wxPoint
*arg2
= 0 ;
10512 wxColour
*arg3
= 0 ;
10513 int arg4
= (int) wxFLOOD_SURFACE
;
10517 PyObject
* obj0
= 0 ;
10518 PyObject
* obj1
= 0 ;
10519 PyObject
* obj2
= 0 ;
10520 PyObject
* obj3
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10530 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10534 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10537 arg4
= (int) SWIG_AsInt(obj3
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10556 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxDC
*arg1
= (wxDC
*) 0 ;
10562 PyObject
* obj0
= 0 ;
10563 PyObject
* obj1
= 0 ;
10564 PyObject
* obj2
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self",(char *) "x",(char *) "y", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10572 arg2
= (int) SWIG_AsInt(obj1
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10574 arg3
= (int) SWIG_AsInt(obj2
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10584 wxColour
* resultptr
;
10585 resultptr
= new wxColour((wxColour
&) result
);
10586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10594 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
;
10596 wxDC
*arg1
= (wxDC
*) 0 ;
10597 wxPoint
*arg2
= 0 ;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self",(char *) "pt", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10611 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10621 wxColour
* resultptr
;
10622 resultptr
= new wxColour((wxColour
&) result
);
10623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10631 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10633 wxDC
*arg1
= (wxDC
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 PyObject
* obj2
= 0 ;
10641 PyObject
* obj3
= 0 ;
10642 PyObject
* obj4
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10650 arg2
= (int) SWIG_AsInt(obj1
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10652 arg3
= (int) SWIG_AsInt(obj2
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10654 arg4
= (int) SWIG_AsInt(obj3
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10656 arg5
= (int) SWIG_AsInt(obj4
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 Py_INCREF(Py_None
); resultobj
= Py_None
;
10672 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
;
10674 wxDC
*arg1
= (wxDC
*) 0 ;
10675 wxPoint
*arg2
= 0 ;
10676 wxPoint
*arg3
= 0 ;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 PyObject
* obj2
= 0 ;
10682 char *kwnames
[] = {
10683 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10691 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10695 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxDC
*arg1
= (wxDC
*) 0 ;
10716 PyObject
* obj0
= 0 ;
10717 PyObject
* obj1
= 0 ;
10718 PyObject
* obj2
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self",(char *) "x",(char *) "y", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10726 arg2
= (int) SWIG_AsInt(obj1
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10728 arg3
= (int) SWIG_AsInt(obj2
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 (arg1
)->CrossHair(arg2
,arg3
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 Py_INCREF(Py_None
); resultobj
= Py_None
;
10744 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxDC
*arg1
= (wxDC
*) 0 ;
10747 wxPoint
*arg2
= 0 ;
10749 PyObject
* obj0
= 0 ;
10750 PyObject
* obj1
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self",(char *) "pt", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10760 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 Py_INCREF(Py_None
); resultobj
= Py_None
;
10776 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxDC
*arg1
= (wxDC
*) 0 ;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 PyObject
* obj2
= 0 ;
10788 PyObject
* obj3
= 0 ;
10789 PyObject
* obj4
= 0 ;
10790 PyObject
* obj5
= 0 ;
10791 PyObject
* obj6
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 arg2
= (int) SWIG_AsInt(obj1
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10801 arg3
= (int) SWIG_AsInt(obj2
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10803 arg4
= (int) SWIG_AsInt(obj3
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10805 arg5
= (int) SWIG_AsInt(obj4
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10807 arg6
= (int) SWIG_AsInt(obj5
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10809 arg7
= (int) SWIG_AsInt(obj6
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxDC
*arg1
= (wxDC
*) 0 ;
10828 wxPoint
*arg2
= 0 ;
10829 wxPoint
*arg3
= 0 ;
10830 wxPoint
*arg4
= 0 ;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 PyObject
* obj2
= 0 ;
10837 PyObject
* obj3
= 0 ;
10838 char *kwnames
[] = {
10839 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10847 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10855 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10864 Py_INCREF(Py_None
); resultobj
= Py_None
;
10871 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
;
10873 wxDC
*arg1
= (wxDC
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj1
= 0 ;
10880 PyObject
* obj2
= 0 ;
10881 PyObject
* obj3
= 0 ;
10882 PyObject
* obj4
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10890 arg2
= (int) SWIG_AsInt(obj1
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10892 arg3
= (int) SWIG_AsInt(obj2
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10894 arg4
= (int) SWIG_AsInt(obj3
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10896 arg5
= (int) SWIG_AsInt(obj4
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 Py_INCREF(Py_None
); resultobj
= Py_None
;
10912 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
;
10914 wxDC
*arg1
= (wxDC
*) 0 ;
10917 PyObject
* obj0
= 0 ;
10918 PyObject
* obj1
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self",(char *) "rect", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10928 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 Py_INCREF(Py_None
); resultobj
= Py_None
;
10944 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxDC
*arg1
= (wxDC
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 PyObject
* obj2
= 0 ;
10956 PyObject
* obj3
= 0 ;
10957 PyObject
* obj4
= 0 ;
10958 PyObject
* obj5
= 0 ;
10959 PyObject
* obj6
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10967 arg2
= (int) SWIG_AsInt(obj1
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10969 arg3
= (int) SWIG_AsInt(obj2
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10971 arg4
= (int) SWIG_AsInt(obj3
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10973 arg5
= (int) SWIG_AsInt(obj4
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10975 arg6
= (double) SWIG_AsDouble(obj5
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10977 arg7
= (double) SWIG_AsDouble(obj6
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 Py_INCREF(Py_None
); resultobj
= Py_None
;
10993 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
;
10995 wxDC
*arg1
= (wxDC
*) 0 ;
10996 wxPoint
*arg2
= 0 ;
11002 PyObject
* obj0
= 0 ;
11003 PyObject
* obj1
= 0 ;
11004 PyObject
* obj2
= 0 ;
11005 PyObject
* obj3
= 0 ;
11006 PyObject
* obj4
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11016 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11020 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11022 arg4
= (double) SWIG_AsDouble(obj3
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11024 arg5
= (double) SWIG_AsDouble(obj4
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxDC
*arg1
= (wxDC
*) 0 ;
11045 PyObject
* obj0
= 0 ;
11046 PyObject
* obj1
= 0 ;
11047 PyObject
* obj2
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self",(char *) "x",(char *) "y", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11055 arg2
= (int) SWIG_AsInt(obj1
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11057 arg3
= (int) SWIG_AsInt(obj2
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 (arg1
)->DrawPoint(arg2
,arg3
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 Py_INCREF(Py_None
); resultobj
= Py_None
;
11073 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 wxDC
*arg1
= (wxDC
*) 0 ;
11076 wxPoint
*arg2
= 0 ;
11078 PyObject
* obj0
= 0 ;
11079 PyObject
* obj1
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "self",(char *) "pt", NULL
11084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 Py_INCREF(Py_None
); resultobj
= Py_None
;
11105 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxDC
*arg1
= (wxDC
*) 0 ;
11112 PyObject
* obj0
= 0 ;
11113 PyObject
* obj1
= 0 ;
11114 PyObject
* obj2
= 0 ;
11115 PyObject
* obj3
= 0 ;
11116 PyObject
* obj4
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11124 arg2
= (int) SWIG_AsInt(obj1
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11126 arg3
= (int) SWIG_AsInt(obj2
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11128 arg4
= (int) SWIG_AsInt(obj3
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11130 arg5
= (int) SWIG_AsInt(obj4
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 Py_INCREF(Py_None
); resultobj
= Py_None
;
11146 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxDC
*arg1
= (wxDC
*) 0 ;
11149 wxPoint
*arg2
= 0 ;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 PyObject
* obj2
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "self",(char *) "pt",(char *) "sz", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11169 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 Py_INCREF(Py_None
); resultobj
= Py_None
;
11185 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxDC
*arg1
= (wxDC
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self",(char *) "rect", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11201 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 Py_INCREF(Py_None
); resultobj
= Py_None
;
11217 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
;
11219 wxDC
*arg1
= (wxDC
*) 0 ;
11225 PyObject
* obj0
= 0 ;
11226 PyObject
* obj1
= 0 ;
11227 PyObject
* obj2
= 0 ;
11228 PyObject
* obj3
= 0 ;
11229 PyObject
* obj4
= 0 ;
11230 PyObject
* obj5
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11238 arg2
= (int) SWIG_AsInt(obj1
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11240 arg3
= (int) SWIG_AsInt(obj2
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11242 arg4
= (int) SWIG_AsInt(obj3
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11244 arg5
= (int) SWIG_AsInt(obj4
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11246 arg6
= (double) SWIG_AsDouble(obj5
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11255 Py_INCREF(Py_None
); resultobj
= Py_None
;
11262 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11263 PyObject
*resultobj
;
11264 wxDC
*arg1
= (wxDC
*) 0 ;
11265 wxPoint
*arg2
= 0 ;
11270 PyObject
* obj0
= 0 ;
11271 PyObject
* obj1
= 0 ;
11272 PyObject
* obj2
= 0 ;
11273 PyObject
* obj3
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11283 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11287 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11289 arg4
= (double) SWIG_AsDouble(obj3
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 Py_INCREF(Py_None
); resultobj
= Py_None
;
11305 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxDC
*arg1
= (wxDC
*) 0 ;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 PyObject
* obj2
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "r",(char *) "radius", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11323 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11325 arg3
= (double) SWIG_AsDouble(obj2
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 Py_INCREF(Py_None
); resultobj
= Py_None
;
11341 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
;
11343 wxDC
*arg1
= (wxDC
*) 0 ;
11347 PyObject
* obj0
= 0 ;
11348 PyObject
* obj1
= 0 ;
11349 PyObject
* obj2
= 0 ;
11350 PyObject
* obj3
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11358 arg2
= (int) SWIG_AsInt(obj1
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11360 arg3
= (int) SWIG_AsInt(obj2
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11362 arg4
= (int) SWIG_AsInt(obj3
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 Py_INCREF(Py_None
); resultobj
= Py_None
;
11378 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxDC
*arg1
= (wxDC
*) 0 ;
11381 wxPoint
*arg2
= 0 ;
11384 PyObject
* obj0
= 0 ;
11385 PyObject
* obj1
= 0 ;
11386 PyObject
* obj2
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "self",(char *) "pt",(char *) "radius", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11396 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11398 arg3
= (int) SWIG_AsInt(obj2
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 Py_INCREF(Py_None
); resultobj
= Py_None
;
11414 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxDC
*arg1
= (wxDC
*) 0 ;
11421 PyObject
* obj0
= 0 ;
11422 PyObject
* obj1
= 0 ;
11423 PyObject
* obj2
= 0 ;
11424 PyObject
* obj3
= 0 ;
11425 PyObject
* obj4
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11433 arg2
= (int) SWIG_AsInt(obj1
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11435 arg3
= (int) SWIG_AsInt(obj2
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11437 arg4
= (int) SWIG_AsInt(obj3
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11439 arg5
= (int) SWIG_AsInt(obj4
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 Py_INCREF(Py_None
); resultobj
= Py_None
;
11455 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 wxDC
*arg1
= (wxDC
*) 0 ;
11458 wxPoint
*arg2
= 0 ;
11462 PyObject
* obj0
= 0 ;
11463 PyObject
* obj1
= 0 ;
11464 PyObject
* obj2
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "pt",(char *) "sz", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11474 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11478 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 Py_INCREF(Py_None
); resultobj
= Py_None
;
11494 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxDC
*arg1
= (wxDC
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self",(char *) "rect", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11510 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 Py_INCREF(Py_None
); resultobj
= Py_None
;
11526 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxDC
*arg1
= (wxDC
*) 0 ;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 PyObject
* obj3
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11546 if (arg2
== NULL
) {
11547 PyErr_SetString(PyExc_TypeError
,"null reference");
11550 arg3
= (int) SWIG_AsInt(obj2
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11552 arg4
= (int) SWIG_AsInt(obj3
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 Py_INCREF(Py_None
); resultobj
= Py_None
;
11568 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxDC
*arg1
= (wxDC
*) 0 ;
11572 wxPoint
*arg3
= 0 ;
11574 PyObject
* obj0
= 0 ;
11575 PyObject
* obj1
= 0 ;
11576 PyObject
* obj2
= 0 ;
11577 char *kwnames
[] = {
11578 (char *) "self",(char *) "icon",(char *) "pt", NULL
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11587 if (arg2
== NULL
) {
11588 PyErr_SetString(PyExc_TypeError
,"null reference");
11593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 Py_INCREF(Py_None
); resultobj
= Py_None
;
11609 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxDC
*arg1
= (wxDC
*) 0 ;
11612 wxBitmap
*arg2
= 0 ;
11615 bool arg5
= (bool) False
;
11616 PyObject
* obj0
= 0 ;
11617 PyObject
* obj1
= 0 ;
11618 PyObject
* obj2
= 0 ;
11619 PyObject
* obj3
= 0 ;
11620 PyObject
* obj4
= 0 ;
11621 char *kwnames
[] = {
11622 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11631 if (arg2
== NULL
) {
11632 PyErr_SetString(PyExc_TypeError
,"null reference");
11635 arg3
= (int) SWIG_AsInt(obj2
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11637 arg4
= (int) SWIG_AsInt(obj3
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 arg5
= (bool) SWIG_AsBool(obj4
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11645 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11647 wxPyEndAllowThreads(__tstate
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11650 Py_INCREF(Py_None
); resultobj
= Py_None
;
11657 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
;
11659 wxDC
*arg1
= (wxDC
*) 0 ;
11660 wxBitmap
*arg2
= 0 ;
11661 wxPoint
*arg3
= 0 ;
11662 bool arg4
= (bool) False
;
11664 PyObject
* obj0
= 0 ;
11665 PyObject
* obj1
= 0 ;
11666 PyObject
* obj2
= 0 ;
11667 PyObject
* obj3
= 0 ;
11668 char *kwnames
[] = {
11669 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11678 if (arg2
== NULL
) {
11679 PyErr_SetString(PyExc_TypeError
,"null reference");
11684 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11687 arg4
= (bool) SWIG_AsBool(obj3
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 Py_INCREF(Py_None
); resultobj
= Py_None
;
11704 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
;
11706 wxDC
*arg1
= (wxDC
*) 0 ;
11707 wxString
*arg2
= 0 ;
11710 bool temp2
= False
;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11713 PyObject
* obj2
= 0 ;
11714 PyObject
* obj3
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11723 arg2
= wxString_in_helper(obj1
);
11724 if (arg2
== NULL
) SWIG_fail
;
11727 arg3
= (int) SWIG_AsInt(obj2
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11729 arg4
= (int) SWIG_AsInt(obj3
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 Py_INCREF(Py_None
); resultobj
= Py_None
;
11753 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
;
11755 wxDC
*arg1
= (wxDC
*) 0 ;
11756 wxString
*arg2
= 0 ;
11757 wxPoint
*arg3
= 0 ;
11758 bool temp2
= False
;
11760 PyObject
* obj0
= 0 ;
11761 PyObject
* obj1
= 0 ;
11762 PyObject
* obj2
= 0 ;
11763 char *kwnames
[] = {
11764 (char *) "self",(char *) "text",(char *) "pt", NULL
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11771 arg2
= wxString_in_helper(obj1
);
11772 if (arg2
== NULL
) SWIG_fail
;
11777 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 Py_INCREF(Py_None
); resultobj
= Py_None
;
11801 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxDC
*arg1
= (wxDC
*) 0 ;
11804 wxString
*arg2
= 0 ;
11808 bool temp2
= False
;
11809 PyObject
* obj0
= 0 ;
11810 PyObject
* obj1
= 0 ;
11811 PyObject
* obj2
= 0 ;
11812 PyObject
* obj3
= 0 ;
11813 PyObject
* obj4
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11822 arg2
= wxString_in_helper(obj1
);
11823 if (arg2
== NULL
) SWIG_fail
;
11826 arg3
= (int) SWIG_AsInt(obj2
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11828 arg4
= (int) SWIG_AsInt(obj3
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11830 arg5
= (double) SWIG_AsDouble(obj4
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 Py_INCREF(Py_None
); resultobj
= Py_None
;
11854 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
*resultobj
;
11856 wxDC
*arg1
= (wxDC
*) 0 ;
11857 wxString
*arg2
= 0 ;
11858 wxPoint
*arg3
= 0 ;
11860 bool temp2
= False
;
11862 PyObject
* obj0
= 0 ;
11863 PyObject
* obj1
= 0 ;
11864 PyObject
* obj2
= 0 ;
11865 PyObject
* obj3
= 0 ;
11866 char *kwnames
[] = {
11867 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11874 arg2
= wxString_in_helper(obj1
);
11875 if (arg2
== NULL
) SWIG_fail
;
11880 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11882 arg4
= (double) SWIG_AsDouble(obj3
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxDC
*arg1
= (wxDC
*) 0 ;
11913 wxDC
*arg6
= (wxDC
*) 0 ;
11916 int arg9
= (int) wxCOPY
;
11917 bool arg10
= (bool) False
;
11918 int arg11
= (int) -1 ;
11919 int arg12
= (int) -1 ;
11921 PyObject
* obj0
= 0 ;
11922 PyObject
* obj1
= 0 ;
11923 PyObject
* obj2
= 0 ;
11924 PyObject
* obj3
= 0 ;
11925 PyObject
* obj4
= 0 ;
11926 PyObject
* obj5
= 0 ;
11927 PyObject
* obj6
= 0 ;
11928 PyObject
* obj7
= 0 ;
11929 PyObject
* obj8
= 0 ;
11930 PyObject
* obj9
= 0 ;
11931 PyObject
* obj10
= 0 ;
11932 PyObject
* obj11
= 0 ;
11933 char *kwnames
[] = {
11934 (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
11937 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
;
11938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11940 arg2
= (int) SWIG_AsInt(obj1
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11942 arg3
= (int) SWIG_AsInt(obj2
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11944 arg4
= (int) SWIG_AsInt(obj3
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11946 arg5
= (int) SWIG_AsInt(obj4
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11948 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11950 arg7
= (int) SWIG_AsInt(obj6
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11952 arg8
= (int) SWIG_AsInt(obj7
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11955 arg9
= (int) SWIG_AsInt(obj8
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11959 arg10
= (bool) SWIG_AsBool(obj9
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11963 arg11
= (int) SWIG_AsInt(obj10
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11967 arg12
= (int) SWIG_AsInt(obj11
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11986 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
;
11988 wxDC
*arg1
= (wxDC
*) 0 ;
11989 wxPoint
*arg2
= 0 ;
11991 wxDC
*arg4
= (wxDC
*) 0 ;
11992 wxPoint
*arg5
= 0 ;
11993 int arg6
= (int) wxCOPY
;
11994 bool arg7
= (bool) False
;
11995 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11996 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 PyObject
* obj2
= 0 ;
12005 PyObject
* obj3
= 0 ;
12006 PyObject
* obj4
= 0 ;
12007 PyObject
* obj5
= 0 ;
12008 PyObject
* obj6
= 0 ;
12009 PyObject
* obj7
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12023 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12025 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12029 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12032 arg6
= (int) SWIG_AsInt(obj5
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12036 arg7
= (bool) SWIG_AsBool(obj6
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12042 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12061 static PyObject
*_wrap_DC_DrawLines(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 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 PyObject
* obj2
= 0 ;
12071 PyObject
* obj3
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12080 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12081 if (arg3
== NULL
) SWIG_fail
;
12084 arg4
= (int) SWIG_AsInt(obj2
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 arg5
= (int) SWIG_AsInt(obj3
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 Py_INCREF(Py_None
); resultobj
= Py_None
;
12100 if (arg3
) delete [] arg3
;
12105 if (arg3
) delete [] arg3
;
12111 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12112 PyObject
*resultobj
;
12113 wxDC
*arg1
= (wxDC
*) 0 ;
12115 wxPoint
*arg3
= (wxPoint
*) 0 ;
12116 int arg4
= (int) 0 ;
12117 int arg5
= (int) 0 ;
12118 int arg6
= (int) wxODDEVEN_RULE
;
12119 PyObject
* obj0
= 0 ;
12120 PyObject
* obj1
= 0 ;
12121 PyObject
* obj2
= 0 ;
12122 PyObject
* obj3
= 0 ;
12123 PyObject
* obj4
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12132 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12133 if (arg3
== NULL
) SWIG_fail
;
12136 arg4
= (int) SWIG_AsInt(obj2
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12140 arg5
= (int) SWIG_AsInt(obj3
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12144 arg6
= (int) SWIG_AsInt(obj4
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 Py_INCREF(Py_None
); resultobj
= Py_None
;
12156 if (arg3
) delete [] arg3
;
12161 if (arg3
) delete [] arg3
;
12167 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxDC
*arg1
= (wxDC
*) 0 ;
12170 wxString
*arg2
= 0 ;
12172 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12173 int arg5
= (int) -1 ;
12174 bool temp2
= False
;
12176 PyObject
* obj0
= 0 ;
12177 PyObject
* obj1
= 0 ;
12178 PyObject
* obj2
= 0 ;
12179 PyObject
* obj3
= 0 ;
12180 PyObject
* obj4
= 0 ;
12181 char *kwnames
[] = {
12182 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12189 arg2
= wxString_in_helper(obj1
);
12190 if (arg2
== NULL
) SWIG_fail
;
12195 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12198 arg4
= (int) SWIG_AsInt(obj3
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12202 arg5
= (int) SWIG_AsInt(obj4
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 Py_INCREF(Py_None
); resultobj
= Py_None
;
12227 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
;
12229 wxDC
*arg1
= (wxDC
*) 0 ;
12230 wxString
*arg2
= 0 ;
12231 wxBitmap
*arg3
= 0 ;
12233 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12234 int arg6
= (int) -1 ;
12236 bool temp2
= False
;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 PyObject
* obj2
= 0 ;
12241 PyObject
* obj3
= 0 ;
12242 PyObject
* obj4
= 0 ;
12243 PyObject
* obj5
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12252 arg2
= wxString_in_helper(obj1
);
12253 if (arg2
== NULL
) SWIG_fail
;
12256 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12257 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12259 if (arg3
== NULL
) {
12260 PyErr_SetString(PyExc_TypeError
,"null reference");
12265 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12268 arg5
= (int) SWIG_AsInt(obj4
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12272 arg6
= (int) SWIG_AsInt(obj5
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 wxRect
* resultptr
;
12284 resultptr
= new wxRect((wxRect
&) result
);
12285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12301 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxDC
*arg1
= (wxDC
*) 0 ;
12305 wxPoint
*arg3
= (wxPoint
*) 0 ;
12306 PyObject
* obj0
= 0 ;
12307 PyObject
* obj1
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self",(char *) "points", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12316 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12317 if (arg3
== NULL
) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 (arg1
)->DrawSpline(arg2
,arg3
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 Py_INCREF(Py_None
); resultobj
= Py_None
;
12328 if (arg3
) delete [] arg3
;
12333 if (arg3
) delete [] arg3
;
12339 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxDC
*arg1
= (wxDC
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 Py_INCREF(Py_None
); resultobj
= Py_None
;
12364 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxDC
*arg1
= (wxDC
*) 0 ;
12367 wxString
*arg2
= 0 ;
12369 bool temp2
= False
;
12370 PyObject
* obj0
= 0 ;
12371 PyObject
* obj1
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "self",(char *) "message", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12380 arg2
= wxString_in_helper(obj1
);
12381 if (arg2
== NULL
) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12408 static PyObject
*_wrap_DC_EndDoc(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_EndDoc",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_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxDC
*arg1
= (wxDC
*) 0 ;
12436 PyObject
* obj0
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 (arg1
)->StartPage();
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 Py_INCREF(Py_None
); resultobj
= Py_None
;
12458 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxDC
*arg1
= (wxDC
*) 0 ;
12461 PyObject
* obj0
= 0 ;
12462 char *kwnames
[] = {
12463 (char *) "self", NULL
12466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 Py_INCREF(Py_None
); resultobj
= Py_None
;
12483 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxDC
*arg1
= (wxDC
*) 0 ;
12487 PyObject
* obj0
= 0 ;
12488 PyObject
* obj1
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self",(char *) "font", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12499 if (arg2
== NULL
) {
12500 PyErr_SetString(PyExc_TypeError
,"null reference");
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 (arg1
)->SetFont((wxFont
const &)*arg2
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 Py_INCREF(Py_None
); resultobj
= Py_None
;
12517 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxDC
*arg1
= (wxDC
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 PyObject
* obj1
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "self",(char *) "pen", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12533 if (arg2
== NULL
) {
12534 PyErr_SetString(PyExc_TypeError
,"null reference");
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 (arg1
)->SetPen((wxPen
const &)*arg2
);
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 Py_INCREF(Py_None
); resultobj
= Py_None
;
12551 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxDC
*arg1
= (wxDC
*) 0 ;
12554 wxBrush
*arg2
= 0 ;
12555 PyObject
* obj0
= 0 ;
12556 PyObject
* obj1
= 0 ;
12557 char *kwnames
[] = {
12558 (char *) "self",(char *) "brush", NULL
12561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12567 if (arg2
== NULL
) {
12568 PyErr_SetString(PyExc_TypeError
,"null reference");
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 Py_INCREF(Py_None
); resultobj
= Py_None
;
12585 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxDC
*arg1
= (wxDC
*) 0 ;
12588 wxBrush
*arg2
= 0 ;
12589 PyObject
* obj0
= 0 ;
12590 PyObject
* obj1
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self",(char *) "brush", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12601 if (arg2
== NULL
) {
12602 PyErr_SetString(PyExc_TypeError
,"null reference");
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 Py_INCREF(Py_None
); resultobj
= Py_None
;
12619 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxDC
*arg1
= (wxDC
*) 0 ;
12623 PyObject
* obj0
= 0 ;
12624 PyObject
* obj1
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self",(char *) "mode", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12632 arg2
= (int) SWIG_AsInt(obj1
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 (arg1
)->SetBackgroundMode(arg2
);
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 Py_INCREF(Py_None
); resultobj
= Py_None
;
12648 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxDC
*arg1
= (wxDC
*) 0 ;
12651 wxPalette
*arg2
= 0 ;
12652 PyObject
* obj0
= 0 ;
12653 PyObject
* obj1
= 0 ;
12654 char *kwnames
[] = {
12655 (char *) "self",(char *) "palette", NULL
12658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12664 if (arg2
== NULL
) {
12665 PyErr_SetString(PyExc_TypeError
,"null reference");
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 Py_INCREF(Py_None
); resultobj
= Py_None
;
12682 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
;
12684 wxDC
*arg1
= (wxDC
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 PyObject
* obj2
= 0 ;
12692 PyObject
* obj3
= 0 ;
12693 PyObject
* obj4
= 0 ;
12694 char *kwnames
[] = {
12695 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12701 arg2
= (int) SWIG_AsInt(obj1
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12703 arg3
= (int) SWIG_AsInt(obj2
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12705 arg4
= (int) SWIG_AsInt(obj3
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12707 arg5
= (int) SWIG_AsInt(obj4
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 Py_INCREF(Py_None
); resultobj
= Py_None
;
12723 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxDC
*arg1
= (wxDC
*) 0 ;
12726 wxPoint
*arg2
= 0 ;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 PyObject
* obj2
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self",(char *) "pt",(char *) "sz", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12742 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12746 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12755 Py_INCREF(Py_None
); resultobj
= Py_None
;
12762 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
;
12764 wxDC
*arg1
= (wxDC
*) 0 ;
12767 PyObject
* obj0
= 0 ;
12768 PyObject
* obj1
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self",(char *) "rect", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12778 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 Py_INCREF(Py_None
); resultobj
= Py_None
;
12794 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
;
12796 wxDC
*arg1
= (wxDC
*) 0 ;
12797 wxRegion
*arg2
= 0 ;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "self",(char *) "region", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12810 if (arg2
== NULL
) {
12811 PyErr_SetString(PyExc_TypeError
,"null reference");
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 Py_INCREF(Py_None
); resultobj
= Py_None
;
12828 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxDC
*arg1
= (wxDC
*) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 char *kwnames
[] = {
12833 (char *) "self", NULL
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 (arg1
)->DestroyClippingRegion();
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 Py_INCREF(Py_None
); resultobj
= Py_None
;
12853 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxDC
*arg1
= (wxDC
*) 0 ;
12856 int *arg2
= (int *) 0 ;
12857 int *arg3
= (int *) 0 ;
12858 int *arg4
= (int *) 0 ;
12859 int *arg5
= (int *) 0 ;
12864 PyObject
* obj0
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12883 Py_INCREF(Py_None
); resultobj
= Py_None
;
12885 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12886 resultobj
= t_output_helper(resultobj
,o
);
12889 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12890 resultobj
= t_output_helper(resultobj
,o
);
12893 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12894 resultobj
= t_output_helper(resultobj
,o
);
12897 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12898 resultobj
= t_output_helper(resultobj
,o
);
12906 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
;
12908 wxDC
*arg1
= (wxDC
*) 0 ;
12910 PyObject
* obj0
= 0 ;
12911 char *kwnames
[] = {
12912 (char *) "self", NULL
12915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 result
= wxDC_GetClippingRect(arg1
);
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12926 wxRect
* resultptr
;
12927 resultptr
= new wxRect((wxRect
&) result
);
12928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12936 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
;
12938 wxDC
*arg1
= (wxDC
*) 0 ;
12940 PyObject
* obj0
= 0 ;
12941 char *kwnames
[] = {
12942 (char *) "self", NULL
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= SWIG_FromInt((int)result
);
12962 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxDC
*arg1
= (wxDC
*) 0 ;
12966 PyObject
* obj0
= 0 ;
12967 char *kwnames
[] = {
12968 (char *) "self", NULL
12971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_FromInt((int)result
);
12988 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
;
12990 wxDC
*arg1
= (wxDC
*) 0 ;
12991 wxString
*arg2
= 0 ;
12992 int *arg3
= (int *) 0 ;
12993 int *arg4
= (int *) 0 ;
12994 bool temp2
= False
;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self",(char *) "string", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13009 arg2
= wxString_in_helper(obj1
);
13010 if (arg2
== NULL
) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 Py_INCREF(Py_None
); resultobj
= Py_None
;
13022 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13023 resultobj
= t_output_helper(resultobj
,o
);
13026 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13027 resultobj
= t_output_helper(resultobj
,o
);
13043 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxDC
*arg1
= (wxDC
*) 0 ;
13046 wxString
*arg2
= 0 ;
13047 int *arg3
= (int *) 0 ;
13048 int *arg4
= (int *) 0 ;
13049 int *arg5
= (int *) 0 ;
13050 int *arg6
= (int *) 0 ;
13051 wxFont
*arg7
= (wxFont
*) NULL
;
13052 bool temp2
= False
;
13057 PyObject
* obj0
= 0 ;
13058 PyObject
* obj1
= 0 ;
13059 PyObject
* obj2
= 0 ;
13060 char *kwnames
[] = {
13061 (char *) "self",(char *) "string",(char *) "font", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13072 arg2
= wxString_in_helper(obj1
);
13073 if (arg2
== NULL
) SWIG_fail
;
13077 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13084 wxPyEndAllowThreads(__tstate
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13087 Py_INCREF(Py_None
); resultobj
= Py_None
;
13089 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13090 resultobj
= t_output_helper(resultobj
,o
);
13093 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13094 resultobj
= t_output_helper(resultobj
,o
);
13097 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13098 resultobj
= t_output_helper(resultobj
,o
);
13101 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13102 resultobj
= t_output_helper(resultobj
,o
);
13118 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxDC
*arg1
= (wxDC
*) 0 ;
13121 wxString
*arg2
= 0 ;
13122 int *arg3
= (int *) 0 ;
13123 int *arg4
= (int *) 0 ;
13124 int *arg5
= (int *) 0 ;
13125 wxFont
*arg6
= (wxFont
*) NULL
;
13126 bool temp2
= False
;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 PyObject
* obj2
= 0 ;
13133 char *kwnames
[] = {
13134 (char *) "self",(char *) "text",(char *) "font", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13144 arg2
= wxString_in_helper(obj1
);
13145 if (arg2
== NULL
) SWIG_fail
;
13149 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 Py_INCREF(Py_None
); resultobj
= Py_None
;
13161 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13162 resultobj
= t_output_helper(resultobj
,o
);
13165 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13166 resultobj
= t_output_helper(resultobj
,o
);
13169 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13170 resultobj
= t_output_helper(resultobj
,o
);
13186 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxDC
*arg1
= (wxDC
*) 0 ;
13189 wxString
*arg2
= 0 ;
13191 bool temp2
= False
;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "self",(char *) "text", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13202 arg2
= wxString_in_helper(obj1
);
13203 if (arg2
== NULL
) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= PyList_New(0);
13216 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13217 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13218 PyList_Append(resultobj
, val
);
13236 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxDC
*arg1
= (wxDC
*) 0 ;
13240 PyObject
* obj0
= 0 ;
13241 char *kwnames
[] = {
13242 (char *) "self", NULL
13245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 result
= (arg1
)->GetSize();
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13256 wxSize
* resultptr
;
13257 resultptr
= new wxSize((wxSize
&) result
);
13258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13266 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13268 wxDC
*arg1
= (wxDC
*) 0 ;
13269 int *arg2
= (int *) 0 ;
13270 int *arg3
= (int *) 0 ;
13273 PyObject
* obj0
= 0 ;
13274 char *kwnames
[] = {
13275 (char *) "self", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 (arg1
)->GetSize(arg2
,arg3
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 Py_INCREF(Py_None
); resultobj
= Py_None
;
13292 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13293 resultobj
= t_output_helper(resultobj
,o
);
13296 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13297 resultobj
= t_output_helper(resultobj
,o
);
13305 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
;
13307 wxDC
*arg1
= (wxDC
*) 0 ;
13309 PyObject
* obj0
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13325 wxSize
* resultptr
;
13326 resultptr
= new wxSize((wxSize
&) result
);
13327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13335 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxDC
*arg1
= (wxDC
*) 0 ;
13338 int *arg2
= (int *) 0 ;
13339 int *arg3
= (int *) 0 ;
13342 PyObject
* obj0
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13359 Py_INCREF(Py_None
); resultobj
= Py_None
;
13361 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13362 resultobj
= t_output_helper(resultobj
,o
);
13365 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13366 resultobj
= t_output_helper(resultobj
,o
);
13374 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxDC
*arg1
= (wxDC
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 PyObject
* obj1
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self",(char *) "x", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13388 arg2
= (int) SWIG_AsInt(obj1
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= SWIG_FromInt((int)result
);
13404 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
;
13406 wxDC
*arg1
= (wxDC
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 PyObject
* obj1
= 0 ;
13411 char *kwnames
[] = {
13412 (char *) "self",(char *) "y", NULL
13415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13418 arg2
= (int) SWIG_AsInt(obj1
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= SWIG_FromInt((int)result
);
13434 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxDC
*arg1
= (wxDC
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 PyObject
* obj1
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "self",(char *) "x", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13448 arg2
= (int) SWIG_AsInt(obj1
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= SWIG_FromInt((int)result
);
13464 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxDC
*arg1
= (wxDC
*) 0 ;
13469 PyObject
* obj0
= 0 ;
13470 PyObject
* obj1
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "self",(char *) "y", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13478 arg2
= (int) SWIG_AsInt(obj1
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= SWIG_FromInt((int)result
);
13494 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
;
13496 wxDC
*arg1
= (wxDC
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "x", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13508 arg2
= (int) SWIG_AsInt(obj1
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13517 resultobj
= SWIG_FromInt((int)result
);
13524 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxDC
*arg1
= (wxDC
*) 0 ;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self",(char *) "y", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13538 arg2
= (int) SWIG_AsInt(obj1
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13547 resultobj
= SWIG_FromInt((int)result
);
13554 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxDC
*arg1
= (wxDC
*) 0 ;
13559 PyObject
* obj0
= 0 ;
13560 PyObject
* obj1
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self",(char *) "x", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13568 arg2
= (int) SWIG_AsInt(obj1
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_FromInt((int)result
);
13584 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxDC
*arg1
= (wxDC
*) 0 ;
13589 PyObject
* obj0
= 0 ;
13590 PyObject
* obj1
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "self",(char *) "y", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13598 arg2
= (int) SWIG_AsInt(obj1
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 resultobj
= SWIG_FromInt((int)result
);
13614 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxDC
*arg1
= (wxDC
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13642 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxDC
*arg1
= (wxDC
*) 0 ;
13646 PyObject
* obj0
= 0 ;
13647 char *kwnames
[] = {
13648 (char *) "self", NULL
13651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13670 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxDC
*arg1
= (wxDC
*) 0 ;
13674 PyObject
* obj0
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "self", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= SWIG_FromInt((int)result
);
13696 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
;
13698 wxDC
*arg1
= (wxDC
*) 0 ;
13700 PyObject
* obj0
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "self", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= ((wxDC
const *)arg1
)->GetPPI();
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13716 wxSize
* resultptr
;
13717 resultptr
= new wxSize((wxSize
&) result
);
13718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13726 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxDC
*arg1
= (wxDC
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 result
= (bool)((wxDC
const *)arg1
)->Ok();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13754 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13755 PyObject
*resultobj
;
13756 wxDC
*arg1
= (wxDC
*) 0 ;
13758 PyObject
* obj0
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "self", NULL
13763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= SWIG_FromInt((int)result
);
13780 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxDC
*arg1
= (wxDC
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 char *kwnames
[] = {
13786 (char *) "self", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13796 result
= (wxBrush
*) &_result_ref
;
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13803 wxBrush
* resultptr
= new wxBrush(*result
);
13804 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13812 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxDC
*arg1
= (wxDC
*) 0 ;
13816 PyObject
* obj0
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13828 result
= (wxBrush
*) &_result_ref
;
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13835 wxBrush
* resultptr
= new wxBrush(*result
);
13836 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13844 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
;
13846 wxDC
*arg1
= (wxDC
*) 0 ;
13848 PyObject
* obj0
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13860 result
= (wxFont
*) &_result_ref
;
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13867 wxFont
* resultptr
= new wxFont(*result
);
13868 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13876 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxDC
*arg1
= (wxDC
*) 0 ;
13880 PyObject
* obj0
= 0 ;
13881 char *kwnames
[] = {
13882 (char *) "self", NULL
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13892 result
= (wxPen
*) &_result_ref
;
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13899 wxPen
* resultptr
= new wxPen(*result
);
13900 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13908 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
;
13910 wxDC
*arg1
= (wxDC
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 char *kwnames
[] = {
13914 (char *) "self", NULL
13917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13924 result
= (wxColour
*) &_result_ref
;
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13937 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxDC
*arg1
= (wxDC
*) 0 ;
13941 PyObject
* obj0
= 0 ;
13942 char *kwnames
[] = {
13943 (char *) "self", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13953 result
= (wxColour
*) &_result_ref
;
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13966 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
;
13968 wxDC
*arg1
= (wxDC
*) 0 ;
13969 wxColour
*arg2
= 0 ;
13971 PyObject
* obj0
= 0 ;
13972 PyObject
* obj1
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self",(char *) "colour", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13982 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 Py_INCREF(Py_None
); resultobj
= Py_None
;
13998 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxDC
*arg1
= (wxDC
*) 0 ;
14001 wxColour
*arg2
= 0 ;
14003 PyObject
* obj0
= 0 ;
14004 PyObject
* obj1
= 0 ;
14005 char *kwnames
[] = {
14006 (char *) "self",(char *) "colour", NULL
14009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14014 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 Py_INCREF(Py_None
); resultobj
= Py_None
;
14030 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 wxDC
*arg1
= (wxDC
*) 0 ;
14034 PyObject
* obj0
= 0 ;
14035 char *kwnames
[] = {
14036 (char *) "self", NULL
14039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 resultobj
= SWIG_FromInt((int)result
);
14056 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxDC
*arg1
= (wxDC
*) 0 ;
14060 PyObject
* obj0
= 0 ;
14061 PyObject
* obj1
= 0 ;
14062 char *kwnames
[] = {
14063 (char *) "self",(char *) "mode", NULL
14066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14069 arg2
= (int) SWIG_AsInt(obj1
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14073 (arg1
)->SetMapMode(arg2
);
14075 wxPyEndAllowThreads(__tstate
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14078 Py_INCREF(Py_None
); resultobj
= Py_None
;
14085 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14086 PyObject
*resultobj
;
14087 wxDC
*arg1
= (wxDC
*) 0 ;
14088 double *arg2
= (double *) 0 ;
14089 double *arg3
= (double *) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 Py_INCREF(Py_None
); resultobj
= Py_None
;
14111 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14112 resultobj
= t_output_helper(resultobj
,o
);
14115 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14116 resultobj
= t_output_helper(resultobj
,o
);
14124 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxDC
*arg1
= (wxDC
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 PyObject
* obj1
= 0 ;
14131 PyObject
* obj2
= 0 ;
14132 char *kwnames
[] = {
14133 (char *) "self",(char *) "x",(char *) "y", NULL
14136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14139 arg2
= (double) SWIG_AsDouble(obj1
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14141 arg3
= (double) SWIG_AsDouble(obj2
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 (arg1
)->SetUserScale(arg2
,arg3
);
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14150 Py_INCREF(Py_None
); resultobj
= Py_None
;
14157 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxDC
*arg1
= (wxDC
*) 0 ;
14160 double *arg2
= (double *) 0 ;
14161 double *arg3
= (double *) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 (arg1
)->GetLogicalScale(arg2
,arg3
);
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 Py_INCREF(Py_None
); resultobj
= Py_None
;
14183 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14184 resultobj
= t_output_helper(resultobj
,o
);
14187 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14188 resultobj
= t_output_helper(resultobj
,o
);
14196 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxDC
*arg1
= (wxDC
*) 0 ;
14201 PyObject
* obj0
= 0 ;
14202 PyObject
* obj1
= 0 ;
14203 PyObject
* obj2
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self",(char *) "x",(char *) "y", NULL
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14211 arg2
= (double) SWIG_AsDouble(obj1
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14213 arg3
= (double) SWIG_AsDouble(obj2
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 (arg1
)->SetLogicalScale(arg2
,arg3
);
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14222 Py_INCREF(Py_None
); resultobj
= Py_None
;
14229 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxDC
*arg1
= (wxDC
*) 0 ;
14233 PyObject
* obj0
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14245 wxPyEndAllowThreads(__tstate
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14249 wxPoint
* resultptr
;
14250 resultptr
= new wxPoint((wxPoint
&) result
);
14251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14259 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxDC
*arg1
= (wxDC
*) 0 ;
14262 int *arg2
= (int *) 0 ;
14263 int *arg3
= (int *) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 Py_INCREF(Py_None
); resultobj
= Py_None
;
14285 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14286 resultobj
= t_output_helper(resultobj
,o
);
14289 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14290 resultobj
= t_output_helper(resultobj
,o
);
14298 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
;
14300 wxDC
*arg1
= (wxDC
*) 0 ;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 PyObject
* obj2
= 0 ;
14306 char *kwnames
[] = {
14307 (char *) "self",(char *) "x",(char *) "y", NULL
14310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14313 arg2
= (int) SWIG_AsInt(obj1
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14315 arg3
= (int) SWIG_AsInt(obj2
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 Py_INCREF(Py_None
); resultobj
= Py_None
;
14331 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxDC
*arg1
= (wxDC
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14351 wxPoint
* resultptr
;
14352 resultptr
= new wxPoint((wxPoint
&) result
);
14353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14361 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
;
14363 wxDC
*arg1
= (wxDC
*) 0 ;
14364 int *arg2
= (int *) 0 ;
14365 int *arg3
= (int *) 0 ;
14368 PyObject
* obj0
= 0 ;
14369 char *kwnames
[] = {
14370 (char *) "self", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 Py_INCREF(Py_None
); resultobj
= Py_None
;
14387 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14388 resultobj
= t_output_helper(resultobj
,o
);
14391 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14392 resultobj
= t_output_helper(resultobj
,o
);
14400 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxDC
*arg1
= (wxDC
*) 0 ;
14405 PyObject
* obj0
= 0 ;
14406 PyObject
* obj1
= 0 ;
14407 PyObject
* obj2
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self",(char *) "x",(char *) "y", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14415 arg2
= (int) SWIG_AsInt(obj1
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14417 arg3
= (int) SWIG_AsInt(obj2
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 Py_INCREF(Py_None
); resultobj
= Py_None
;
14433 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxDC
*arg1
= (wxDC
*) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 PyObject
* obj1
= 0 ;
14440 PyObject
* obj2
= 0 ;
14441 char *kwnames
[] = {
14442 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14448 arg2
= (bool) SWIG_AsBool(obj1
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14450 arg3
= (bool) SWIG_AsBool(obj2
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 Py_INCREF(Py_None
); resultobj
= Py_None
;
14466 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxDC
*arg1
= (wxDC
*) 0 ;
14470 PyObject
* obj0
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= SWIG_FromInt((int)result
);
14492 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
;
14494 wxDC
*arg1
= (wxDC
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 PyObject
* obj1
= 0 ;
14498 char *kwnames
[] = {
14499 (char *) "self",(char *) "function", NULL
14502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14505 arg2
= (int) SWIG_AsInt(obj1
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 (arg1
)->SetLogicalFunction(arg2
);
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14514 Py_INCREF(Py_None
); resultobj
= Py_None
;
14521 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
;
14523 wxDC
*arg1
= (wxDC
*) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 PyObject
* obj1
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self",(char *) "opt", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14534 arg2
= (bool) SWIG_AsBool(obj1
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 (arg1
)->SetOptimization(arg2
);
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 Py_INCREF(Py_None
); resultobj
= Py_None
;
14550 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxDC
*arg1
= (wxDC
*) 0 ;
14554 PyObject
* obj0
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (bool)(arg1
)->GetOptimization();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14578 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxDC
*arg1
= (wxDC
*) 0 ;
14583 PyObject
* obj0
= 0 ;
14584 PyObject
* obj1
= 0 ;
14585 PyObject
* obj2
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self",(char *) "x",(char *) "y", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 arg2
= (int) SWIG_AsInt(obj1
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14595 arg3
= (int) SWIG_AsInt(obj2
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 Py_INCREF(Py_None
); resultobj
= Py_None
;
14611 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxDC
*arg1
= (wxDC
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 (arg1
)->ResetBoundingBox();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 Py_INCREF(Py_None
); resultobj
= Py_None
;
14636 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxDC
*arg1
= (wxDC
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (int)((wxDC
const *)arg1
)->MinX();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= SWIG_FromInt((int)result
);
14662 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxDC
*arg1
= (wxDC
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= (int)((wxDC
const *)arg1
)->MaxX();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= SWIG_FromInt((int)result
);
14688 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxDC
*arg1
= (wxDC
*) 0 ;
14692 PyObject
* obj0
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 result
= (int)((wxDC
const *)arg1
)->MinY();
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_FromInt((int)result
);
14714 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 wxDC
*arg1
= (wxDC
*) 0 ;
14718 PyObject
* obj0
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 result
= (int)((wxDC
const *)arg1
)->MaxY();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= SWIG_FromInt((int)result
);
14740 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxDC
*arg1
= (wxDC
*) 0 ;
14743 int *arg2
= (int *) 0 ;
14744 int *arg3
= (int *) 0 ;
14745 int *arg4
= (int *) 0 ;
14746 int *arg5
= (int *) 0 ;
14751 PyObject
* obj0
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 Py_INCREF(Py_None
); resultobj
= Py_None
;
14772 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14773 resultobj
= t_output_helper(resultobj
,o
);
14776 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14777 resultobj
= t_output_helper(resultobj
,o
);
14780 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14781 resultobj
= t_output_helper(resultobj
,o
);
14784 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14785 resultobj
= t_output_helper(resultobj
,o
);
14793 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxDC
*arg1
= (wxDC
*) 0 ;
14796 PyObject
*arg2
= (PyObject
*) 0 ;
14797 PyObject
*arg3
= (PyObject
*) 0 ;
14798 PyObject
*arg4
= (PyObject
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 PyObject
* obj1
= 0 ;
14802 PyObject
* obj2
= 0 ;
14803 PyObject
* obj3
= 0 ;
14804 char *kwnames
[] = {
14805 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= result
;
14828 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxDC
*arg1
= (wxDC
*) 0 ;
14831 PyObject
*arg2
= (PyObject
*) 0 ;
14832 PyObject
*arg3
= (PyObject
*) 0 ;
14833 PyObject
*arg4
= (PyObject
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 PyObject
* obj1
= 0 ;
14837 PyObject
* obj2
= 0 ;
14838 PyObject
* obj3
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= result
;
14863 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxDC
*arg1
= (wxDC
*) 0 ;
14866 PyObject
*arg2
= (PyObject
*) 0 ;
14867 PyObject
*arg3
= (PyObject
*) 0 ;
14868 PyObject
*arg4
= (PyObject
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 PyObject
* obj2
= 0 ;
14873 PyObject
* obj3
= 0 ;
14874 char *kwnames
[] = {
14875 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= result
;
14898 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxDC
*arg1
= (wxDC
*) 0 ;
14901 PyObject
*arg2
= (PyObject
*) 0 ;
14902 PyObject
*arg3
= (PyObject
*) 0 ;
14903 PyObject
*arg4
= (PyObject
*) 0 ;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 PyObject
* obj2
= 0 ;
14908 PyObject
* obj3
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 resultobj
= result
;
14933 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxDC
*arg1
= (wxDC
*) 0 ;
14936 PyObject
*arg2
= (PyObject
*) 0 ;
14937 PyObject
*arg3
= (PyObject
*) 0 ;
14938 PyObject
*arg4
= (PyObject
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 PyObject
* obj1
= 0 ;
14942 PyObject
* obj2
= 0 ;
14943 PyObject
* obj3
= 0 ;
14944 char *kwnames
[] = {
14945 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= result
;
14968 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
;
14970 wxDC
*arg1
= (wxDC
*) 0 ;
14971 PyObject
*arg2
= (PyObject
*) 0 ;
14972 PyObject
*arg3
= (PyObject
*) 0 ;
14973 PyObject
*arg4
= (PyObject
*) 0 ;
14974 PyObject
*arg5
= (PyObject
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 PyObject
* obj2
= 0 ;
14979 PyObject
* obj3
= 0 ;
14980 PyObject
* obj4
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 resultobj
= result
;
15006 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15009 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15011 return Py_BuildValue((char *)"");
15013 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxMemoryDC
*result
;
15016 char *kwnames
[] = {
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= (wxMemoryDC
*)new wxMemoryDC();
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15035 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxDC
*arg1
= (wxDC
*) 0 ;
15038 wxMemoryDC
*result
;
15039 PyObject
* obj0
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "oldDC", NULL
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15061 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15064 wxBitmap
*arg2
= 0 ;
15065 PyObject
* obj0
= 0 ;
15066 PyObject
* obj1
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self",(char *) "bitmap", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15077 if (arg2
== NULL
) {
15078 PyErr_SetString(PyExc_TypeError
,"null reference");
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 Py_INCREF(Py_None
); resultobj
= Py_None
;
15095 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15098 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15100 return Py_BuildValue((char *)"");
15102 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15103 PyObject
*resultobj
;
15104 wxDC
*arg1
= (wxDC
*) 0 ;
15105 wxBitmap
*arg2
= 0 ;
15106 wxBufferedDC
*result
;
15107 PyObject
* obj0
= 0 ;
15108 PyObject
* obj1
= 0 ;
15110 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15116 if (arg2
== NULL
) {
15117 PyErr_SetString(PyExc_TypeError
,"null reference");
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15134 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15135 PyObject
*resultobj
;
15136 wxDC
*arg1
= (wxDC
*) 0 ;
15138 wxBufferedDC
*result
;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15143 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15148 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15164 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15169 argc
= PyObject_Length(args
);
15170 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15171 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15177 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15187 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15195 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15203 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15212 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15215 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15220 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15225 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15226 PyObject
*resultobj
;
15227 wxDC
*arg1
= (wxDC
*) 0 ;
15229 wxBufferedDC
*result
;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15234 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15239 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15255 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
;
15257 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15258 PyObject
* obj0
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "self", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 Py_INCREF(Py_None
); resultobj
= Py_None
;
15280 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
;
15282 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 Py_INCREF(Py_None
); resultobj
= Py_None
;
15305 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15308 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15310 return Py_BuildValue((char *)"");
15312 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxWindow
*arg1
= (wxWindow
*) 0 ;
15315 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15316 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15317 wxBufferedPaintDC
*result
;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "window",(char *) "buffer", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15331 if (arg2
== NULL
) {
15332 PyErr_SetString(PyExc_TypeError
,"null reference");
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15350 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15353 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15355 return Py_BuildValue((char *)"");
15357 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
;
15359 wxScreenDC
*result
;
15360 char *kwnames
[] = {
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (wxScreenDC
*)new wxScreenDC();
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15379 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15382 wxWindow
*arg2
= (wxWindow
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 PyObject
* obj1
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self",(char *) "window", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15411 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15414 wxRect
*arg2
= (wxRect
*) NULL
;
15416 PyObject
* obj0
= 0 ;
15417 PyObject
* obj1
= 0 ;
15418 char *kwnames
[] = {
15419 (char *) "self",(char *) "rect", NULL
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15445 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15446 PyObject
*resultobj
;
15447 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15449 PyObject
* obj0
= 0 ;
15450 char *kwnames
[] = {
15451 (char *) "self", NULL
15454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= (bool)(arg1
)->EndDrawingOnTop();
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15473 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15476 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15478 return Py_BuildValue((char *)"");
15480 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15482 wxWindow
*arg1
= (wxWindow
*) 0 ;
15483 wxClientDC
*result
;
15484 PyObject
* obj0
= 0 ;
15485 char *kwnames
[] = {
15486 (char *) "win", NULL
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= (wxClientDC
*)new wxClientDC(arg1
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15506 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15509 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15511 return Py_BuildValue((char *)"");
15513 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
;
15515 wxWindow
*arg1
= (wxWindow
*) 0 ;
15517 PyObject
* obj0
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "win", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15539 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15542 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15544 return Py_BuildValue((char *)"");
15546 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
;
15548 wxWindow
*arg1
= (wxWindow
*) 0 ;
15549 wxWindowDC
*result
;
15550 PyObject
* obj0
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "win", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15572 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15575 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15577 return Py_BuildValue((char *)"");
15579 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15583 wxMirrorDC
*result
;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "dc",(char *) "mirror", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15594 if (arg1
== NULL
) {
15595 PyErr_SetString(PyExc_TypeError
,"null reference");
15598 arg2
= (bool) SWIG_AsBool(obj1
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15614 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15617 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15619 return Py_BuildValue((char *)"");
15621 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
;
15623 wxPrintData
*arg1
= 0 ;
15624 wxPostScriptDC
*result
;
15625 PyObject
* obj0
= 0 ;
15626 char *kwnames
[] = {
15627 (char *) "printData", NULL
15630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15634 if (arg1
== NULL
) {
15635 PyErr_SetString(PyExc_TypeError
,"null reference");
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15652 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15655 wxPrintData
*result
;
15656 PyObject
* obj0
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15668 result
= (wxPrintData
*) &_result_ref
;
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15681 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15684 wxPrintData
*arg2
= 0 ;
15685 PyObject
* obj0
= 0 ;
15686 PyObject
* obj1
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "self",(char *) "data", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15697 if (arg2
== NULL
) {
15698 PyErr_SetString(PyExc_TypeError
,"null reference");
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 Py_INCREF(Py_None
); resultobj
= Py_None
;
15715 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15718 PyObject
* obj0
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "ppi", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15724 arg1
= (int) SWIG_AsInt(obj0
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 wxPostScriptDC::SetResolution(arg1
);
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 Py_INCREF(Py_None
); resultobj
= Py_None
;
15740 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
;
15743 char *kwnames
[] = {
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 result
= (int)wxPostScriptDC::GetResolution();
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_FromInt((int)result
);
15762 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15765 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15767 return Py_BuildValue((char *)"");
15769 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15772 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15773 wxMetaFile
*result
;
15774 bool temp1
= False
;
15775 PyObject
* obj0
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "filename", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15783 arg1
= wxString_in_helper(obj0
);
15784 if (arg1
== NULL
) SWIG_fail
;
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15810 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15813 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15815 return Py_BuildValue((char *)"");
15817 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
;
15819 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15820 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15821 int arg2
= (int) 0 ;
15822 int arg3
= (int) 0 ;
15823 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15824 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15825 wxMetaFileDC
*result
;
15826 bool temp1
= False
;
15827 bool temp4
= False
;
15828 PyObject
* obj0
= 0 ;
15829 PyObject
* obj1
= 0 ;
15830 PyObject
* obj2
= 0 ;
15831 PyObject
* obj3
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15839 arg1
= wxString_in_helper(obj0
);
15840 if (arg1
== NULL
) SWIG_fail
;
15845 arg2
= (int) SWIG_AsInt(obj1
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15849 arg3
= (int) SWIG_AsInt(obj2
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15854 arg4
= wxString_in_helper(obj3
);
15855 if (arg4
== NULL
) SWIG_fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15889 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15892 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15894 return Py_BuildValue((char *)"");
15896 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxPrintData
*arg1
= 0 ;
15899 wxPrinterDC
*result
;
15900 PyObject
* obj0
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "printData", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15909 if (arg1
== NULL
) {
15910 PyErr_SetString(PyExc_TypeError
,"null reference");
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15927 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15930 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15932 return Py_BuildValue((char *)"");
15934 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15938 int arg3
= (int) True
;
15939 int arg4
= (int) 1 ;
15940 wxImageList
*result
;
15941 PyObject
* obj0
= 0 ;
15942 PyObject
* obj1
= 0 ;
15943 PyObject
* obj2
= 0 ;
15944 PyObject
* obj3
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15950 arg1
= (int) SWIG_AsInt(obj0
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15952 arg2
= (int) SWIG_AsInt(obj1
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 arg3
= (int) SWIG_AsInt(obj2
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 arg4
= (int) SWIG_AsInt(obj3
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= wxPyMake_wxObject(result
);
15978 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxImageList
*arg1
= (wxImageList
*) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15996 Py_INCREF(Py_None
); resultobj
= Py_None
;
16003 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxImageList
*arg1
= (wxImageList
*) 0 ;
16006 wxBitmap
*arg2
= 0 ;
16007 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16008 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 PyObject
* obj2
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16023 if (arg2
== NULL
) {
16024 PyErr_SetString(PyExc_TypeError
,"null reference");
16028 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16031 if (arg3
== NULL
) {
16032 PyErr_SetString(PyExc_TypeError
,"null reference");
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16040 wxPyEndAllowThreads(__tstate
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16043 resultobj
= SWIG_FromInt((int)result
);
16050 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16051 PyObject
*resultobj
;
16052 wxImageList
*arg1
= (wxImageList
*) 0 ;
16053 wxBitmap
*arg2
= 0 ;
16054 wxColour
*arg3
= 0 ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 PyObject
* obj2
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16070 if (arg2
== NULL
) {
16071 PyErr_SetString(PyExc_TypeError
,"null reference");
16076 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 resultobj
= SWIG_FromInt((int)result
);
16092 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
;
16094 wxImageList
*arg1
= (wxImageList
*) 0 ;
16097 PyObject
* obj0
= 0 ;
16098 PyObject
* obj1
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self",(char *) "icon", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16109 if (arg2
== NULL
) {
16110 PyErr_SetString(PyExc_TypeError
,"null reference");
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= SWIG_FromInt((int)result
);
16127 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 wxImageList
*arg1
= (wxImageList
*) 0 ;
16131 wxBitmap
*arg3
= 0 ;
16133 PyObject
* obj0
= 0 ;
16134 PyObject
* obj1
= 0 ;
16135 PyObject
* obj2
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16143 arg2
= (int) SWIG_AsInt(obj1
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16145 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16148 if (arg3
== NULL
) {
16149 PyErr_SetString(PyExc_TypeError
,"null reference");
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16168 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxImageList
*arg1
= (wxImageList
*) 0 ;
16175 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16176 bool arg7
= (bool) (bool)False
;
16178 PyObject
* obj0
= 0 ;
16179 PyObject
* obj1
= 0 ;
16180 PyObject
* obj2
= 0 ;
16181 PyObject
* obj3
= 0 ;
16182 PyObject
* obj4
= 0 ;
16183 PyObject
* obj5
= 0 ;
16184 PyObject
* obj6
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16192 arg2
= (int) SWIG_AsInt(obj1
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16194 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16197 if (arg3
== NULL
) {
16198 PyErr_SetString(PyExc_TypeError
,"null reference");
16201 arg4
= (int) SWIG_AsInt(obj3
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16203 arg5
= (int) SWIG_AsInt(obj4
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 arg6
= (int) SWIG_AsInt(obj5
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16210 arg7
= (bool const) SWIG_AsBool(obj6
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16229 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxImageList
*arg1
= (wxImageList
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 result
= (int)(arg1
)->GetImageCount();
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= SWIG_FromInt((int)result
);
16255 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxImageList
*arg1
= (wxImageList
*) 0 ;
16260 PyObject
* obj0
= 0 ;
16261 PyObject
* obj1
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self",(char *) "index", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16269 arg2
= (int) SWIG_AsInt(obj1
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (bool)(arg1
)->Remove(arg2
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16287 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxImageList
*arg1
= (wxImageList
*) 0 ;
16291 PyObject
* obj0
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (bool)(arg1
)->RemoveAll();
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16315 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
;
16317 wxImageList
*arg1
= (wxImageList
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 PyObject
* obj1
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self",(char *) "index", NULL
16331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16334 arg2
= (int) SWIG_AsInt(obj1
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 Py_INCREF(Py_None
); resultobj
= Py_None
;
16345 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16346 resultobj
= t_output_helper(resultobj
,o
);
16349 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16350 resultobj
= t_output_helper(resultobj
,o
);
16358 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16361 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16363 return Py_BuildValue((char *)"");
16365 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16366 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16371 static PyObject
*_wrap_NORMAL_FONT_get() {
16374 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16379 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16380 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16385 static PyObject
*_wrap_SMALL_FONT_get() {
16388 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16393 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16394 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16399 static PyObject
*_wrap_ITALIC_FONT_get() {
16402 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16407 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16408 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16413 static PyObject
*_wrap_SWISS_FONT_get() {
16416 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16421 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16422 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16427 static PyObject
*_wrap_RED_PEN_get() {
16430 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16435 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16436 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16441 static PyObject
*_wrap_CYAN_PEN_get() {
16444 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16449 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16450 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16455 static PyObject
*_wrap_GREEN_PEN_get() {
16458 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16463 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16464 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16469 static PyObject
*_wrap_BLACK_PEN_get() {
16472 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16477 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16478 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16483 static PyObject
*_wrap_WHITE_PEN_get() {
16486 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16491 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16492 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16497 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16500 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16505 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16506 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16511 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16514 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16519 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16520 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16525 static PyObject
*_wrap_GREY_PEN_get() {
16528 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16533 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16534 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16539 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16542 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16547 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16548 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16553 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16556 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16561 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16562 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16567 static PyObject
*_wrap_BLUE_BRUSH_get() {
16570 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16575 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16576 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16581 static PyObject
*_wrap_GREEN_BRUSH_get() {
16584 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16589 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16590 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16595 static PyObject
*_wrap_WHITE_BRUSH_get() {
16598 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16603 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16604 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16609 static PyObject
*_wrap_BLACK_BRUSH_get() {
16612 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16617 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16618 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16623 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16626 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16631 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16632 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16637 static PyObject
*_wrap_CYAN_BRUSH_get() {
16640 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16645 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16646 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16651 static PyObject
*_wrap_RED_BRUSH_get() {
16654 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16659 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16660 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16665 static PyObject
*_wrap_GREY_BRUSH_get() {
16668 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16673 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16674 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16679 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16682 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16687 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16688 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16693 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16696 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16701 static int _wrap_BLACK_set(PyObject
*_val
) {
16702 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16707 static PyObject
*_wrap_BLACK_get() {
16710 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16715 static int _wrap_WHITE_set(PyObject
*_val
) {
16716 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16721 static PyObject
*_wrap_WHITE_get() {
16724 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16729 static int _wrap_RED_set(PyObject
*_val
) {
16730 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16735 static PyObject
*_wrap_RED_get() {
16738 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16743 static int _wrap_BLUE_set(PyObject
*_val
) {
16744 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16749 static PyObject
*_wrap_BLUE_get() {
16752 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16757 static int _wrap_GREEN_set(PyObject
*_val
) {
16758 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16763 static PyObject
*_wrap_GREEN_get() {
16766 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16771 static int _wrap_CYAN_set(PyObject
*_val
) {
16772 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16777 static PyObject
*_wrap_CYAN_get() {
16780 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16785 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16786 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16791 static PyObject
*_wrap_LIGHT_GREY_get() {
16794 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16799 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16800 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16805 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16808 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16813 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16814 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16819 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16822 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16827 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16828 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16833 static PyObject
*_wrap_CROSS_CURSOR_get() {
16836 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16841 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16842 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16847 static PyObject
*_wrap_NullBitmap_get() {
16850 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16855 static int _wrap_NullIcon_set(PyObject
*_val
) {
16856 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16861 static PyObject
*_wrap_NullIcon_get() {
16864 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16869 static int _wrap_NullCursor_set(PyObject
*_val
) {
16870 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16875 static PyObject
*_wrap_NullCursor_get() {
16878 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16883 static int _wrap_NullPen_set(PyObject
*_val
) {
16884 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16889 static PyObject
*_wrap_NullPen_get() {
16892 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16897 static int _wrap_NullBrush_set(PyObject
*_val
) {
16898 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16903 static PyObject
*_wrap_NullBrush_get() {
16906 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16911 static int _wrap_NullPalette_set(PyObject
*_val
) {
16912 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16917 static PyObject
*_wrap_NullPalette_get() {
16920 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16925 static int _wrap_NullFont_set(PyObject
*_val
) {
16926 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16931 static PyObject
*_wrap_NullFont_get() {
16934 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
16939 static int _wrap_NullColour_set(PyObject
*_val
) {
16940 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16945 static PyObject
*_wrap_NullColour_get() {
16948 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
16953 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxPenList
*arg1
= (wxPenList
*) 0 ;
16956 wxPen
*arg2
= (wxPen
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "self",(char *) "pen", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 (arg1
)->AddPen(arg2
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 Py_INCREF(Py_None
); resultobj
= Py_None
;
16982 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxPenList
*arg1
= (wxPenList
*) 0 ;
16985 wxColour
*arg2
= 0 ;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 PyObject
* obj2
= 0 ;
16993 PyObject
* obj3
= 0 ;
16994 char *kwnames
[] = {
16995 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17003 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17005 arg3
= (int) SWIG_AsInt(obj2
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17007 arg4
= (int) SWIG_AsInt(obj3
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17023 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxPenList
*arg1
= (wxPenList
*) 0 ;
17026 wxPen
*arg2
= (wxPen
*) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 PyObject
* obj1
= 0 ;
17029 char *kwnames
[] = {
17030 (char *) "self",(char *) "pen", NULL
17033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 (arg1
)->RemovePen(arg2
);
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17045 Py_INCREF(Py_None
); resultobj
= Py_None
;
17052 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxPenList
*arg1
= (wxPenList
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (int)(arg1
)->GetCount();
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= SWIG_FromInt((int)result
);
17078 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17081 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17083 return Py_BuildValue((char *)"");
17085 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17088 wxBrush
*arg2
= (wxBrush
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 PyObject
* obj1
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self",(char *) "brush", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 (arg1
)->AddBrush(arg2
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 Py_INCREF(Py_None
); resultobj
= Py_None
;
17114 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17117 wxColour
*arg2
= 0 ;
17121 PyObject
* obj0
= 0 ;
17122 PyObject
* obj1
= 0 ;
17123 PyObject
* obj2
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "self",(char *) "colour",(char *) "style", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17133 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17135 arg3
= (int) SWIG_AsInt(obj2
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17151 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
;
17153 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17154 wxBrush
*arg2
= (wxBrush
*) 0 ;
17155 PyObject
* obj0
= 0 ;
17156 PyObject
* obj1
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self",(char *) "brush", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 (arg1
)->RemoveBrush(arg2
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 Py_INCREF(Py_None
); resultobj
= Py_None
;
17180 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17184 PyObject
* obj0
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (int)(arg1
)->GetCount();
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= SWIG_FromInt((int)result
);
17206 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17209 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17211 return Py_BuildValue((char *)"");
17213 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxColourDatabase
*result
;
17216 char *kwnames
[] = {
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= (wxColourDatabase
*)new wxColourDatabase();
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17235 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17238 PyObject
* obj0
= 0 ;
17239 char *kwnames
[] = {
17240 (char *) "self", NULL
17243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 Py_INCREF(Py_None
); resultobj
= Py_None
;
17260 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
;
17262 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17263 wxString
*arg2
= 0 ;
17265 bool temp2
= False
;
17266 PyObject
* obj0
= 0 ;
17267 PyObject
* obj1
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self",(char *) "name", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17276 arg2
= wxString_in_helper(obj1
);
17277 if (arg2
== NULL
) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17288 wxColour
* resultptr
;
17289 resultptr
= new wxColour((wxColour
&) result
);
17290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17306 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17309 wxColour
*arg2
= 0 ;
17312 PyObject
* obj0
= 0 ;
17313 PyObject
* obj1
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self",(char *) "colour", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17323 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17345 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17348 wxString
*arg2
= 0 ;
17349 wxColour
*arg3
= 0 ;
17350 bool temp2
= False
;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 PyObject
* obj2
= 0 ;
17355 char *kwnames
[] = {
17356 (char *) "self",(char *) "name",(char *) "colour", NULL
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17363 arg2
= wxString_in_helper(obj1
);
17364 if (arg2
== NULL
) SWIG_fail
;
17369 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 Py_INCREF(Py_None
); resultobj
= Py_None
;
17393 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
;
17395 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17396 wxString
*arg2
= 0 ;
17400 bool temp2
= False
;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 PyObject
* obj2
= 0 ;
17404 PyObject
* obj3
= 0 ;
17405 PyObject
* obj4
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17414 arg2
= wxString_in_helper(obj1
);
17415 if (arg2
== NULL
) SWIG_fail
;
17418 arg3
= (int) SWIG_AsInt(obj2
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17420 arg4
= (int) SWIG_AsInt(obj3
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17422 arg5
= (int) SWIG_AsInt(obj4
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 Py_INCREF(Py_None
); resultobj
= Py_None
;
17446 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17449 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17451 return Py_BuildValue((char *)"");
17453 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxFontList
*arg1
= (wxFontList
*) 0 ;
17456 wxFont
*arg2
= (wxFont
*) 0 ;
17457 PyObject
* obj0
= 0 ;
17458 PyObject
* obj1
= 0 ;
17459 char *kwnames
[] = {
17460 (char *) "self",(char *) "font", NULL
17463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 (arg1
)->AddFont(arg2
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17475 Py_INCREF(Py_None
); resultobj
= Py_None
;
17482 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17484 wxFontList
*arg1
= (wxFontList
*) 0 ;
17489 bool arg6
= (bool) False
;
17490 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17491 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17492 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17494 bool temp7
= False
;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 PyObject
* obj2
= 0 ;
17498 PyObject
* obj3
= 0 ;
17499 PyObject
* obj4
= 0 ;
17500 PyObject
* obj5
= 0 ;
17501 PyObject
* obj6
= 0 ;
17502 PyObject
* obj7
= 0 ;
17503 char *kwnames
[] = {
17504 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17510 arg2
= (int) SWIG_AsInt(obj1
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17512 arg3
= (int) SWIG_AsInt(obj2
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17514 arg4
= (int) SWIG_AsInt(obj3
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17516 arg5
= (int) SWIG_AsInt(obj4
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 arg6
= (bool) SWIG_AsBool(obj5
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17524 arg7
= wxString_in_helper(obj6
);
17525 if (arg7
== NULL
) SWIG_fail
;
17530 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17555 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxFontList
*arg1
= (wxFontList
*) 0 ;
17558 wxFont
*arg2
= (wxFont
*) 0 ;
17559 PyObject
* obj0
= 0 ;
17560 PyObject
* obj1
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "self",(char *) "font", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 (arg1
)->RemoveFont(arg2
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 Py_INCREF(Py_None
); resultobj
= Py_None
;
17584 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17586 wxFontList
*arg1
= (wxFontList
*) 0 ;
17588 PyObject
* obj0
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (int)(arg1
)->GetCount();
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= SWIG_FromInt((int)result
);
17610 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17613 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17615 return Py_BuildValue((char *)"");
17617 static int _wrap_TheFontList_set(PyObject
*_val
) {
17618 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17623 static PyObject
*_wrap_TheFontList_get() {
17626 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17631 static int _wrap_ThePenList_set(PyObject
*_val
) {
17632 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17637 static PyObject
*_wrap_ThePenList_get() {
17640 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17645 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17646 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17651 static PyObject
*_wrap_TheBrushList_get() {
17654 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17659 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17660 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17665 static PyObject
*_wrap_TheColourDatabase_get() {
17668 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17673 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
;
17676 char *kwnames
[] = {
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 result
= (wxEffects
*)new wxEffects();
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17695 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
;
17697 wxEffects
*arg1
= (wxEffects
*) 0 ;
17699 PyObject
* obj0
= 0 ;
17700 char *kwnames
[] = {
17701 (char *) "self", NULL
17704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17715 wxColour
* resultptr
;
17716 resultptr
= new wxColour((wxColour
&) result
);
17717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17725 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxEffects
*arg1
= (wxEffects
*) 0 ;
17729 PyObject
* obj0
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "self", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17745 wxColour
* resultptr
;
17746 resultptr
= new wxColour((wxColour
&) result
);
17747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17755 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 wxEffects
*arg1
= (wxEffects
*) 0 ;
17759 PyObject
* obj0
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "self", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17775 wxColour
* resultptr
;
17776 resultptr
= new wxColour((wxColour
&) result
);
17777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17785 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17787 wxEffects
*arg1
= (wxEffects
*) 0 ;
17789 PyObject
* obj0
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17805 wxColour
* resultptr
;
17806 resultptr
= new wxColour((wxColour
&) result
);
17807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17815 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 wxEffects
*arg1
= (wxEffects
*) 0 ;
17819 PyObject
* obj0
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17835 wxColour
* resultptr
;
17836 resultptr
= new wxColour((wxColour
&) result
);
17837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17845 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17847 wxEffects
*arg1
= (wxEffects
*) 0 ;
17848 wxColour
*arg2
= 0 ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self",(char *) "c", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 Py_INCREF(Py_None
); resultobj
= Py_None
;
17877 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxEffects
*arg1
= (wxEffects
*) 0 ;
17880 wxColour
*arg2
= 0 ;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self",(char *) "c", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17893 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17902 Py_INCREF(Py_None
); resultobj
= Py_None
;
17909 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxEffects
*arg1
= (wxEffects
*) 0 ;
17912 wxColour
*arg2
= 0 ;
17914 PyObject
* obj0
= 0 ;
17915 PyObject
* obj1
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self",(char *) "c", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17925 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 Py_INCREF(Py_None
); resultobj
= Py_None
;
17941 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxEffects
*arg1
= (wxEffects
*) 0 ;
17944 wxColour
*arg2
= 0 ;
17946 PyObject
* obj0
= 0 ;
17947 PyObject
* obj1
= 0 ;
17948 char *kwnames
[] = {
17949 (char *) "self",(char *) "c", NULL
17952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17957 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 Py_INCREF(Py_None
); resultobj
= Py_None
;
17973 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxEffects
*arg1
= (wxEffects
*) 0 ;
17976 wxColour
*arg2
= 0 ;
17978 PyObject
* obj0
= 0 ;
17979 PyObject
* obj1
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self",(char *) "c", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17989 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 Py_INCREF(Py_None
); resultobj
= Py_None
;
18005 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxEffects
*arg1
= (wxEffects
*) 0 ;
18008 wxColour
*arg2
= 0 ;
18009 wxColour
*arg3
= 0 ;
18010 wxColour
*arg4
= 0 ;
18011 wxColour
*arg5
= 0 ;
18012 wxColour
*arg6
= 0 ;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 PyObject
* obj2
= 0 ;
18021 PyObject
* obj3
= 0 ;
18022 PyObject
* obj4
= 0 ;
18023 PyObject
* obj5
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18037 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18041 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18045 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18049 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18058 Py_INCREF(Py_None
); resultobj
= Py_None
;
18065 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxEffects
*arg1
= (wxEffects
*) 0 ;
18070 int arg4
= (int) 1 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 PyObject
* obj2
= 0 ;
18075 PyObject
* obj3
= 0 ;
18076 char *kwnames
[] = {
18077 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18086 if (arg2
== NULL
) {
18087 PyErr_SetString(PyExc_TypeError
,"null reference");
18092 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18095 arg4
= (int) SWIG_AsInt(obj3
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 Py_INCREF(Py_None
); resultobj
= Py_None
;
18112 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxEffects
*arg1
= (wxEffects
*) 0 ;
18117 wxBitmap
*arg4
= 0 ;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 PyObject
* obj2
= 0 ;
18123 PyObject
* obj3
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18133 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18135 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18138 if (arg3
== NULL
) {
18139 PyErr_SetString(PyExc_TypeError
,"null reference");
18142 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18145 if (arg4
== NULL
) {
18146 PyErr_SetString(PyExc_TypeError
,"null reference");
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18165 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18168 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18170 return Py_BuildValue((char *)"");
18172 static PyMethodDef SwigMethods
[] = {
18173 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18174 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18175 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18176 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18177 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18178 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18179 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18180 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18181 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18182 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18183 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18184 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18185 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18186 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18187 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18188 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18189 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18190 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18191 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18192 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18193 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18194 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18195 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18196 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18197 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18198 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18199 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18200 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18201 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18202 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18203 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18204 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18205 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18206 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18207 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18208 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18209 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18210 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18211 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18212 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18213 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18214 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18215 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18216 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18217 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18218 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18219 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18220 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18221 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18222 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18223 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18224 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
18225 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18226 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18227 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18228 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18229 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18230 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18231 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18232 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18233 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18234 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18235 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18236 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18237 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18238 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18239 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18240 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18241 { (char *)"new_EmptyBitmap", _wrap_new_EmptyBitmap
, METH_VARARGS
},
18242 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18243 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18244 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18245 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18246 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18247 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18248 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18249 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18250 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18251 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18252 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18253 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18254 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18255 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18256 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18257 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18258 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18259 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18260 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18261 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18262 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18263 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18264 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18265 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18266 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18267 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18268 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18269 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18270 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18272 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18273 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18274 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18275 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18276 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18280 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18282 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18283 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18284 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18285 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18287 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18288 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18289 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18290 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18292 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18293 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18294 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18295 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18296 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18297 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18298 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18299 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18302 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18305 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18307 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18311 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18313 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18315 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18316 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18321 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18322 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18323 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18324 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18329 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18343 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18347 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18348 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18353 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18356 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18358 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18366 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18367 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18371 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18376 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18387 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18396 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18429 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18433 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18441 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18448 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18470 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18472 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18480 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18606 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18610 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18611 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18612 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18615 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18617 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18622 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18624 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18626 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18628 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18630 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18636 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18638 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18640 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18642 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18654 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18659 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18664 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18671 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18675 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18676 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18690 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18695 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18697 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18698 return (void *)((wxWindow
*) ((wxControl
*) x
));
18700 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18701 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18703 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18704 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18706 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18707 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18709 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18710 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18712 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18713 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18715 static void *_p_wxPenTo_p_wxObject(void *x
) {
18716 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18718 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18719 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18721 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18722 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18724 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18725 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18727 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18728 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18730 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18731 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18733 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18734 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18736 static void *_p_wxIconTo_p_wxObject(void *x
) {
18737 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18739 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18740 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18742 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18743 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18745 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18746 return (void *)((wxObject
*) ((wxSizer
*) x
));
18748 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18749 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18751 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18754 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18755 return (void *)((wxObject
*) ((wxPenList
*) x
));
18757 static void *_p_wxEventTo_p_wxObject(void *x
) {
18758 return (void *)((wxObject
*) ((wxEvent
*) x
));
18760 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18761 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18763 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18764 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18766 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18767 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18769 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18770 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18772 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18773 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18775 static void *_p_wxDCTo_p_wxObject(void *x
) {
18776 return (void *)((wxObject
*) ((wxDC
*) x
));
18778 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18779 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18781 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18782 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18784 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18785 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18787 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18788 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18790 static void *_p_wxControlTo_p_wxObject(void *x
) {
18791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18793 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18794 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18796 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18797 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18799 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18800 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18802 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18803 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18805 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18806 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18808 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18809 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18811 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18812 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18814 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18815 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18817 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18818 return (void *)((wxObject
*) ((wxEffects
*) x
));
18820 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18821 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18823 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18824 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18826 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18827 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18829 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18830 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18832 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18833 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18835 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18836 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18838 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18841 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18842 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18844 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18845 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18847 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18848 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18850 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18851 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18853 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18854 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18856 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18857 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18859 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18860 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18862 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18863 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18865 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18866 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18868 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18869 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18871 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18872 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18874 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18875 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18877 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18878 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18880 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18881 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18883 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18884 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18886 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18887 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18889 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18890 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18892 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18893 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18895 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18896 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18898 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18899 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18901 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18902 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18904 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18905 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18907 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18908 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18910 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18911 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18913 static void *_p_wxImageTo_p_wxObject(void *x
) {
18914 return (void *)((wxObject
*) ((wxImage
*) x
));
18916 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18917 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18919 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18920 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18922 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18923 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18925 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18926 return (void *)((wxObject
*) ((wxImageList
*) x
));
18928 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18929 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18931 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18932 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18934 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18935 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18937 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18938 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18940 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18941 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18943 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18944 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18946 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18947 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18949 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18950 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18952 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18955 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18958 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18961 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
18964 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18967 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18970 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) ((wxMask
*) x
));
18973 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18976 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18979 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18982 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18985 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18988 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18991 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18994 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18997 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19000 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19003 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19004 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19006 static void *_p_wxFontTo_p_wxObject(void *x
) {
19007 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19009 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19010 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19012 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19013 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19015 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19018 static void *_p_wxColourTo_p_wxObject(void *x
) {
19019 return (void *)((wxObject
*) ((wxColour
*) x
));
19021 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19022 return (void *)((wxObject
*) ((wxFontList
*) x
));
19024 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19027 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19030 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19031 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19033 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19034 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19036 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19037 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19039 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19040 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19042 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19043 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19045 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19046 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19048 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19049 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19051 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19052 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19054 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19055 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19057 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19058 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19060 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19061 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19063 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19064 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19066 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
19067 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
19069 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19070 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19072 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19073 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19075 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19076 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19078 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19079 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19081 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19082 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19084 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19085 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19087 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19088 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19090 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19091 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19093 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
19094 return (void *)((wxPen
*) ((wxPyPen
*) x
));
19096 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}};
19097 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}};
19098 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}};
19099 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}};
19100 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}};
19101 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}};
19102 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}};
19103 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}};
19104 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}};
19105 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}};
19106 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}};
19107 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}};
19108 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}};
19109 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}};
19110 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}};
19111 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}};
19112 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}};
19113 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}};
19114 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}};
19115 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}};
19116 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}};
19117 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}};
19118 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}};
19119 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}};
19120 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}};
19121 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}};
19122 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}};
19123 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}};
19124 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}};
19125 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}};
19126 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}};
19127 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}};
19128 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}};
19129 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}};
19130 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}};
19131 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}};
19132 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}};
19133 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}};
19134 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}};
19135 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}};
19136 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}};
19137 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}};
19138 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}};
19139 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}};
19140 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}};
19141 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}};
19142 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}};
19143 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}};
19144 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}};
19145 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}};
19146 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}};
19147 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}};
19148 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}};
19149 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}};
19150 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}};
19151 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}};
19153 static swig_type_info
*swig_types_initial
[] = {
19154 _swigt__p_wxPostScriptDC
,
19156 _swigt__p_wxColour
,
19158 _swigt__p_wxMirrorDC
,
19160 _swigt__p_wxPyFontEnumerator
,
19162 _swigt__p_wxIconLocation
,
19164 _swigt__p_wxMetaFileDC
,
19168 _swigt__p_wxWindow
,
19170 _swigt__p_wxMemoryDC
,
19171 _swigt__p_wxFontMapper
,
19172 _swigt__p_wxEffects
,
19173 _swigt__p_wxNativeEncodingInfo
,
19174 _swigt__p_wxPalette
,
19175 _swigt__p_wxBitmap
,
19176 _swigt__p_wxObject
,
19177 _swigt__p_wxRegionIterator
,
19179 _swigt__p_wxString
,
19180 _swigt__p_wxPrinterDC
,
19181 _swigt__p_wxIconBundle
,
19184 _swigt__p_wxScreenDC
,
19185 _swigt__p_wxCursor
,
19186 _swigt__p_wxClientDC
,
19187 _swigt__p_wxBufferedDC
,
19188 _swigt__p_wxImageList
,
19189 _swigt__p_unsigned_char
,
19190 _swigt__p_wxGDIObject
,
19192 _swigt__p_wxLocale
,
19193 _swigt__p_wxRegion
,
19194 _swigt__p_wxConfigBase
,
19195 _swigt__p_wxLanguageInfo
,
19196 _swigt__p_wxWindowDC
,
19197 _swigt__p_wxPrintData
,
19198 _swigt__p_wxBrushList
,
19199 _swigt__p_wxFontList
,
19201 _swigt__p_wxBufferedPaintDC
,
19202 _swigt__p_wxPaintDC
,
19203 _swigt__p_wxPenList
,
19206 _swigt__p_wxMetaFile
,
19207 _swigt__p_wxNativeFontInfo
,
19208 _swigt__p_wxEncodingConverter
,
19209 _swigt__p_wxColourDatabase
,
19214 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19216 static swig_const_info swig_const_table
[] = {
19226 SWIGEXPORT(void) SWIG_init(void) {
19227 static PyObject
*SWIG_globals
= 0;
19228 static int typeinit
= 0;
19231 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19232 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19233 d
= PyModule_GetDict(m
);
19236 for (i
= 0; swig_types_initial
[i
]; i
++) {
19237 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19241 SWIG_InstallConstants(d
,swig_const_table
);
19243 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19244 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19245 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19246 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19247 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19248 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19249 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19250 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19251 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19252 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19253 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19254 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19255 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19256 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19257 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19258 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19259 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19260 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19261 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19262 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19263 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19264 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19265 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19266 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19267 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19268 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19269 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19270 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19271 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19272 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19273 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19274 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19275 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19276 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19277 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19278 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19279 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19280 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19281 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19282 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19283 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19284 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19285 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19286 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19287 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19288 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19289 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19290 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19291 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19292 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19293 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19294 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19295 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19296 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19297 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19298 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19299 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19300 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19301 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19302 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19303 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19304 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19305 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19306 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19307 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19308 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19309 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19310 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19311 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19312 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19313 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19314 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19315 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19316 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19317 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19318 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19319 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19320 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19321 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19322 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19323 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19324 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19325 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19326 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19327 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19328 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19329 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19330 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19331 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19332 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19333 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19334 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19335 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19336 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19337 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19338 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19339 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19340 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19341 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19342 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19343 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19344 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19345 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19346 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19347 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19348 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19349 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19350 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19351 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19352 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19353 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19354 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19355 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19356 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19357 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19358 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19359 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19360 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19361 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19362 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19363 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19364 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19365 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19366 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19367 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19368 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19369 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19371 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19373 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19374 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19375 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19376 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19377 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19378 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19379 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19380 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19381 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19382 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19383 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19384 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19385 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19386 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19387 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19388 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19389 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19390 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19391 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19392 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19393 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19394 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19395 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19396 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19397 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19398 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19399 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19400 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19401 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19402 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19403 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19404 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19405 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19406 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19407 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19408 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19409 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19410 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19411 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19412 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19413 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19414 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19415 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19416 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19417 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19418 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19419 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19420 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19421 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19422 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19423 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19424 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19425 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19426 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19427 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19428 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19429 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19430 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19431 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19432 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19433 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19434 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19435 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19436 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19437 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19438 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19439 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19440 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19441 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19442 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19443 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19444 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19445 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19446 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19447 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19448 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19449 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19450 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19451 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19452 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19453 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19454 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19455 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19456 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19457 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19458 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19459 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19460 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19461 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19462 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19463 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19464 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19465 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19466 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19467 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19468 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19469 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19470 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19471 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19472 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19473 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19474 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19475 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19476 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19477 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19478 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19479 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19480 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19481 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19482 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19483 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19484 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19485 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19486 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19487 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19488 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19489 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19490 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19491 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19492 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19493 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19494 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19495 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19496 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19497 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19498 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19499 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19500 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19501 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19502 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19503 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19504 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19505 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19506 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19507 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19508 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19509 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19510 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19511 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19512 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19513 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19514 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19515 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19516 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19517 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19518 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19519 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19520 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19521 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19522 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19523 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19524 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19525 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19526 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19527 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19528 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19529 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19530 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19531 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19532 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19533 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19534 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19535 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19536 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19537 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19538 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19539 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19540 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19541 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19542 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19543 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19544 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19545 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19546 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19547 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19548 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19549 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19550 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19551 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19552 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19553 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19554 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19555 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19556 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19557 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19558 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19559 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19560 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19561 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19562 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19563 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19564 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19565 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19566 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19567 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19568 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19569 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19570 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19571 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19572 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19573 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19574 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19575 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19576 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19577 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19578 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19579 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19580 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19581 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19582 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19583 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19584 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19585 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19586 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19587 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19588 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19589 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19590 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19591 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19592 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19593 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19594 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19595 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19596 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19597 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19598 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19599 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19600 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19601 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19602 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19603 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19604 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19605 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19606 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19607 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19608 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19609 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19610 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19611 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19612 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19613 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19614 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19615 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19616 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19617 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19618 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19619 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19620 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19621 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19622 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19623 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19624 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19625 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19626 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19627 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19628 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19629 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19630 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19631 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19632 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19633 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19634 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19635 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19636 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19637 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19638 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19639 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19640 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19641 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19642 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19643 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19644 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19645 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19646 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19647 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19648 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19649 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19650 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19651 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19652 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19653 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19654 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19655 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19656 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19657 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19658 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19659 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19660 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19661 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19662 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19663 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19664 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19665 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19666 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19667 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19668 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19669 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19670 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19671 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19672 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19674 // Work around a chicken/egg problem in drawlist.cpp
19675 wxPyDrawList_SetAPIPtr();