1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxWindow swig_types[13]
223 #define SWIGTYPE_p_wxSize swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250 #define SWIGTYPE_p_wxConfigBase swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_wxPyPen swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxMetaFile swig_types[52]
262 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
263 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
264 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
265 static swig_type_info
*swig_types
[57];
267 /* -------- TYPES TABLE (END) -------- */
270 /*-----------------------------------------------
272 ------------------------------------------------*/
273 #define SWIG_init init_gdi
275 #define SWIG_name "_gdi"
277 /* Auxiliar swig macros */
280 #define SWIGSTATICINLINE(a) static inline a
281 #define SWIGSTATIC(a) static a
282 #define swig_new_array(type, size) (new type[(size)])
283 #define swig_delete_array(cptr) delete[] cptr
284 #define swig_const_cast(type,a) const_cast<type>(a)
285 #define swig_static_cast(type,a) static_cast<type>(a)
286 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
288 #ifdef HAVE_NUMERIC_CAST
289 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
291 #define swig_numeric_cast(type,a) static_cast<type>(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
299 #define swig_delete_array(cptr) free((char*)cptr)
300 #define swig_const_cast(type,a) (type)(a)
301 #define swig_static_cast(type,a) (type)(a)
302 #define swig_reinterpret_cast(type,a) (type)(a)
303 #define swig_numeric_cast(type,a) (type)(a)
305 #endif /* __cplusplus */
308 #define SWIG_FromSignedChar PyInt_FromLong
309 #define SWIG_FromUnsignedChar PyInt_FromLong
310 #define SWIG_FromShort PyInt_FromLong
311 #define SWIG_FromUnsignedShort PyInt_FromLong
312 #define SWIG_FromInt PyInt_FromLong
313 #define SWIG_FromLong PyInt_FromLong
314 #define SWIG_FromFloat PyFloat_FromDouble
315 #define SWIG_FromDouble PyFloat_FromDouble
316 #define SWIG_FromFloat PyFloat_FromDouble
317 #define SWIG_FromDouble PyFloat_FromDouble
320 #include "wx/wxPython/wxPython.h"
321 #include "wx/wxPython/pyclasses.h"
324 static const wxString
wxPyEmptyString(wxEmptyString
);
326 SWIGSTATICINLINE(bool)
327 SWIG_AsBool(PyObject
*obj
)
329 return PyObject_IsTrue(obj
) ? true : false;
333 SWIGSTATICINLINE(int)
334 SWIG_CheckBool(PyObject
* obj
)
337 if (PyErr_Occurred()) {
349 SWIGSTATICINLINE(unsigned long)
350 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
351 unsigned long max_value
)
353 if (!PyErr_Occurred()) {
354 if (value
> max_value
) {
356 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
357 value
, type
, max_value
);
358 PyErr_SetObject(PyExc_OverflowError
, err
);
366 SWIGSTATICINLINE(unsigned long)
367 SWIG_AsUnsignedLong(PyObject
* obj
)
369 if (PyLong_Check(obj
)) {
370 return PyLong_AsUnsignedLong(obj
);
372 long i
= PyInt_AsLong(obj
);
373 if ( !PyErr_Occurred() && (i
< 0)) {
374 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
381 SWIGSTATICINLINE(unsigned char)
382 SWIG_AsUnsignedChar(PyObject
*obj
)
384 return swig_numeric_cast(unsigned char,
385 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
386 "unsigned char", UCHAR_MAX
));
390 SWIGSTATICINLINE(int)
391 SWIG_CheckUnsignedChar(PyObject
* obj
)
393 SWIG_AsUnsignedChar(obj
);
394 if (PyErr_Occurred()) {
403 SWIGSTATICINLINE(int)
404 SWIG_CheckUnsignedLong(PyObject
* obj
)
406 SWIG_AsUnsignedLong(obj
);
407 if (PyErr_Occurred()) {
415 PyObject
*wxColour_Get(wxColour
*self
){
416 PyObject
* rv
= PyTuple_New(3);
422 green
= self
->Green();
425 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
426 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
427 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
430 unsigned long wxColour_GetRGB(wxColour
*self
){
431 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
434 SWIGSTATICINLINE(PyObject
* )
435 SWIG_FromUnsignedLong(unsigned long value
)
437 return (value
> LONG_MAX
) ?
438 PyLong_FromUnsignedLong(value
)
439 : PyInt_FromLong(swig_numeric_cast(long,value
));
443 SWIGSTATICINLINE(long)
444 SWIG_CheckLongInRange(long value
, const char* type
,
445 long min_value
, long max_value
)
447 if (!PyErr_Occurred()) {
448 if (value
< min_value
) {
450 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
451 value
, type
, min_value
);
453 PyErr_SetObject(PyExc_OverflowError
, err
);
455 } else if (value
> max_value
) {
457 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
458 value
, type
, max_value
);
459 PyErr_SetObject(PyExc_OverflowError
, err
);
467 SWIGSTATICINLINE(long)
468 SWIG_AsLong(PyObject
* obj
)
470 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
474 #if INT_MAX != LONG_MAX
475 SWIGSTATICINLINE(int)
476 SWIG_AsInt(PyObject
*obj
)
478 return swig_numeric_cast(int,
479 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
480 "int", INT_MIN
, INT_MAX
));
483 #define SWIG_AsInt SWIG_AsLong
487 SWIGSTATICINLINE(int)
488 SWIG_CheckInt(PyObject
* obj
)
491 if (PyErr_Occurred()) {
500 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
506 } else if (target
== Py_None
) {
510 if (!PyTuple_Check(target
)) {
512 target
= PyTuple_New(1);
513 PyTuple_SetItem(target
, 0, o2
);
516 PyTuple_SetItem(o3
, 0, o
);
519 target
= PySequence_Concat(o2
, o3
);
526 PyObject
*wxPen_GetDashes(wxPen
*self
){
528 int count
= self
->GetDashes(&dashes
);
529 wxPyBeginBlockThreads();
530 PyObject
* retval
= PyList_New(0);
531 for (int x
=0; x
<count
; x
++)
532 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
533 wxPyEndBlockThreads();
536 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
537 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
545 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
549 m_dash
= new wxDash
[nb_dashes
];
550 for (int i
=0; i
<nb_dashes
; i
++) {
553 wxPen::SetDashes(nb_dashes
, m_dash
);
557 #include <wx/image.h>
559 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
560 char** cArray
= NULL
;
563 if (!PyList_Check(listOfStrings
)) {
564 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
567 count
= PyList_Size(listOfStrings
);
568 cArray
= new char*[count
];
570 for(int x
=0; x
<count
; x
++) {
571 // TODO: Need some validation and error checking here
572 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
578 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
579 char** cArray
= NULL
;
582 cArray
= ConvertListOfStrings(listOfStrings
);
585 bmp
= new wxBitmap(cArray
);
589 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
592 PyString_AsStringAndSize(bits
, &buf
, &length
);
593 return new wxBitmap(buf
, width
, height
, depth
);
596 SWIGSTATICINLINE(int)
597 SWIG_CheckLong(PyObject
* obj
)
600 if (PyErr_Occurred()) {
608 void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
609 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
610 wxMask
*mask
= new wxMask(*self
, colour
);
613 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
615 return new wxMask(bitmap
, *wxBLACK
);
617 return new wxMask(bitmap
, colour
);
620 #include <wx/iconbndl.h>
622 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
623 wxIcon
* icon
= new wxIcon();
624 icon
->CopyFromBitmap(bmp
);
627 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
628 char** cArray
= NULL
;
631 cArray
= ConvertListOfStrings(listOfStrings
);
634 icon
= new wxIcon(cArray
);
638 void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
639 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
641 return new wxIconLocation(*filename
, num
);
646 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
653 int wxIconLocation_GetIndex(wxIconLocation
*self
){
655 return self
->GetIndex();
660 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
662 wxCHECK_MSG(False
, NULL
,
663 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
665 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
668 void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
671 void wxRegionIterator_Next(wxRegionIterator
*self
){
674 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
675 return self
->operator bool();
678 #include <wx/fontutil.h>
679 #include <wx/fontmap.h>
680 #include <wx/fontenum.h>
682 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
683 return self
->ToString();
686 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
687 { wxPyRaiseNotImplemented(); return NULL
; }
689 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
690 { wxPyRaiseNotImplemented(); return False
; }
692 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
693 wxFontEncoding alt_enc
;
694 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
695 return PyInt_FromLong(alt_enc
);
701 wxFont
*new_wxFont(wxString
const &info
){
702 wxNativeFontInfo nfi
;
703 nfi
.FromString(info
);
704 return new wxFont(nfi
);
706 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
707 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
709 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
710 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
712 class wxPyFontEnumerator
: public wxFontEnumerator
{
714 wxPyFontEnumerator() {}
715 ~wxPyFontEnumerator() {}
717 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
718 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
723 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
724 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
727 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
728 wxArrayString
* arr
= self
->GetEncodings();
729 return wxArrayString2PyList_helper(*arr
);
731 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
732 wxArrayString
* arr
= self
->GetFacenames();
733 return wxArrayString2PyList_helper(*arr
);
738 #include "wx/wxPython/pydrawxxx.h"
740 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
742 self
->GetPixel(x
, y
, &col
);
745 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
747 self
->GetPixel(pt
, &col
);
751 SWIGSTATICINLINE(double)
752 SWIG_AsDouble(PyObject
*obj
)
754 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
756 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
758 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
760 if (PyErr_Occurred()) {
762 PyErr_SetString(PyExc_TypeError
, "a double is expected");
768 SWIGSTATICINLINE(int)
769 SWIG_CheckDouble(PyObject
* obj
)
772 if (PyErr_Occurred()) {
780 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
782 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
785 wxRect
wxDC_GetClippingRect(wxDC
*self
){
787 self
->GetClippingBox(rect
);
790 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
792 self
->GetPartialTextExtents(text
, widths
);
795 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
796 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
798 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
799 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
801 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
802 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
804 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
805 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
807 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
808 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
810 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
811 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
814 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
822 //-=-=-=-=-=-=-=-=-=-=-
825 // Use the standard wxBufferedDC
826 #include <wx/dcbuffer.h>
830 // Or, temporarily put a set of classes here similar to the old buffered DC
831 // classes until the real ones can be fixed to work "correctly" again.
833 class wxBufferedDC
: public wxMemoryDC
841 wxBufferedDC() : m_dc( 0 ) {}
843 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
844 : m_dc( dc
), m_buffer( buffer
)
846 SelectObject( m_buffer
);
849 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
850 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
852 SelectObject( m_buffer
);
861 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
862 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
863 _T("wxBufferedDC already initialised") );
866 SelectObject( m_buffer
);
869 void Init( wxDC
*dc
, const wxSize
&area
) {
870 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
871 _T("wxBufferedDC already initialised") );
873 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
874 SelectObject( m_buffer
);
878 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
879 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
885 class wxBufferedPaintDC
: public wxBufferedDC
891 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
892 : m_paintdc( window
)
894 window
->PrepareDC( m_paintdc
);
896 if( buffer
!= wxNullBitmap
)
897 Init( &m_paintdc
, buffer
);
899 Init( &m_paintdc
, window
->GetClientSize() );
902 ~wxBufferedPaintDC() {
908 //-=-=-=-=-=-=-=-=-=-=-
914 #include <wx/metafile.h>
918 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
919 self
->AddColour(name
, wxColour(red
, green
, blue
));
922 #include <wx/effects.h>
927 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
937 result
= (wxGDIObject
*)new wxGDIObject();
939 wxPyEndAllowThreads(__tstate
);
940 if (PyErr_Occurred()) SWIG_fail
;
942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
949 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
951 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
952 PyObject
* obj0
= 0 ;
954 (char *) "self", NULL
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
964 wxPyEndAllowThreads(__tstate
);
965 if (PyErr_Occurred()) SWIG_fail
;
967 Py_INCREF(Py_None
); resultobj
= Py_None
;
974 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
978 PyObject
* obj0
= 0 ;
980 (char *) "self", NULL
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
988 result
= (bool)(arg1
)->GetVisible();
990 wxPyEndAllowThreads(__tstate
);
991 if (PyErr_Occurred()) SWIG_fail
;
993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1000 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
*resultobj
;
1002 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1004 PyObject
* obj0
= 0 ;
1005 PyObject
* obj1
= 0 ;
1007 (char *) "self",(char *) "visible", NULL
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1013 arg2
= (bool) SWIG_AsBool(obj1
);
1014 if (PyErr_Occurred()) SWIG_fail
;
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 (arg1
)->SetVisible(arg2
);
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) SWIG_fail
;
1022 Py_INCREF(Py_None
); resultobj
= Py_None
;
1029 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
*resultobj
;
1031 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1033 PyObject
* obj0
= 0 ;
1035 (char *) "self", NULL
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1043 result
= (bool)(arg1
)->IsNull();
1045 wxPyEndAllowThreads(__tstate
);
1046 if (PyErr_Occurred()) SWIG_fail
;
1048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1055 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1058 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1060 return Py_BuildValue((char *)"");
1062 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1063 PyObject
*resultobj
;
1064 unsigned char arg1
= (unsigned char) 0 ;
1065 unsigned char arg2
= (unsigned char) 0 ;
1066 unsigned char arg3
= (unsigned char) 0 ;
1068 PyObject
* obj0
= 0 ;
1069 PyObject
* obj1
= 0 ;
1070 PyObject
* obj2
= 0 ;
1072 (char *) "red",(char *) "green",(char *) "blue", NULL
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1077 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1078 if (PyErr_Occurred()) SWIG_fail
;
1081 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1082 if (PyErr_Occurred()) SWIG_fail
;
1085 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1086 if (PyErr_Occurred()) SWIG_fail
;
1089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1090 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1092 wxPyEndAllowThreads(__tstate
);
1093 if (PyErr_Occurred()) SWIG_fail
;
1095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1102 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
*resultobj
;
1104 wxString
*arg1
= 0 ;
1106 bool temp1
= False
;
1107 PyObject
* obj0
= 0 ;
1109 (char *) "colorName", NULL
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1114 arg1
= wxString_in_helper(obj0
);
1115 if (arg1
== NULL
) SWIG_fail
;
1119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1120 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1122 wxPyEndAllowThreads(__tstate
);
1123 if (PyErr_Occurred()) SWIG_fail
;
1125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1140 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
*resultobj
;
1142 unsigned long arg1
;
1144 PyObject
* obj0
= 0 ;
1146 (char *) "colRGB", NULL
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1150 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1151 if (PyErr_Occurred()) SWIG_fail
;
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 result
= (wxColour
*)new wxColour(arg1
);
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) SWIG_fail
;
1159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1166 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
*resultobj
;
1168 wxColour
*arg1
= (wxColour
*) 0 ;
1169 PyObject
* obj0
= 0 ;
1171 (char *) "self", NULL
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1181 wxPyEndAllowThreads(__tstate
);
1182 if (PyErr_Occurred()) SWIG_fail
;
1184 Py_INCREF(Py_None
); resultobj
= Py_None
;
1191 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
*resultobj
;
1193 wxColour
*arg1
= (wxColour
*) 0 ;
1194 unsigned char result
;
1195 PyObject
* obj0
= 0 ;
1197 (char *) "self", NULL
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1205 result
= (unsigned char)(arg1
)->Red();
1207 wxPyEndAllowThreads(__tstate
);
1208 if (PyErr_Occurred()) SWIG_fail
;
1210 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1217 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
*resultobj
;
1219 wxColour
*arg1
= (wxColour
*) 0 ;
1220 unsigned char result
;
1221 PyObject
* obj0
= 0 ;
1223 (char *) "self", NULL
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 result
= (unsigned char)(arg1
)->Green();
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) SWIG_fail
;
1236 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1243 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
*resultobj
;
1245 wxColour
*arg1
= (wxColour
*) 0 ;
1246 unsigned char result
;
1247 PyObject
* obj0
= 0 ;
1249 (char *) "self", NULL
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 result
= (unsigned char)(arg1
)->Blue();
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1269 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
*resultobj
;
1271 wxColour
*arg1
= (wxColour
*) 0 ;
1273 PyObject
* obj0
= 0 ;
1275 (char *) "self", NULL
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1283 result
= (bool)(arg1
)->Ok();
1285 wxPyEndAllowThreads(__tstate
);
1286 if (PyErr_Occurred()) SWIG_fail
;
1288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1295 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
*resultobj
;
1297 wxColour
*arg1
= (wxColour
*) 0 ;
1298 unsigned char arg2
;
1299 unsigned char arg3
;
1300 unsigned char arg4
;
1301 PyObject
* obj0
= 0 ;
1302 PyObject
* obj1
= 0 ;
1303 PyObject
* obj2
= 0 ;
1304 PyObject
* obj3
= 0 ;
1306 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1312 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1313 if (PyErr_Occurred()) SWIG_fail
;
1314 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1315 if (PyErr_Occurred()) SWIG_fail
;
1316 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1317 if (PyErr_Occurred()) SWIG_fail
;
1319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1320 (arg1
)->Set(arg2
,arg3
,arg4
);
1322 wxPyEndAllowThreads(__tstate
);
1323 if (PyErr_Occurred()) SWIG_fail
;
1325 Py_INCREF(Py_None
); resultobj
= Py_None
;
1332 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
*resultobj
;
1334 wxColour
*arg1
= (wxColour
*) 0 ;
1335 unsigned long arg2
;
1336 PyObject
* obj0
= 0 ;
1337 PyObject
* obj1
= 0 ;
1339 (char *) "self",(char *) "colRGB", NULL
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1345 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1346 if (PyErr_Occurred()) SWIG_fail
;
1348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1351 wxPyEndAllowThreads(__tstate
);
1352 if (PyErr_Occurred()) SWIG_fail
;
1354 Py_INCREF(Py_None
); resultobj
= Py_None
;
1361 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
*resultobj
;
1363 wxColour
*arg1
= (wxColour
*) 0 ;
1364 wxString
*arg2
= 0 ;
1365 bool temp2
= False
;
1366 PyObject
* obj0
= 0 ;
1367 PyObject
* obj1
= 0 ;
1369 (char *) "self",(char *) "colourName", NULL
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1376 arg2
= wxString_in_helper(obj1
);
1377 if (arg2
== NULL
) SWIG_fail
;
1381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1382 (arg1
)->InitFromName((wxString
const &)*arg2
);
1384 wxPyEndAllowThreads(__tstate
);
1385 if (PyErr_Occurred()) SWIG_fail
;
1387 Py_INCREF(Py_None
); resultobj
= Py_None
;
1402 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
*resultobj
;
1404 wxColour
*arg1
= (wxColour
*) 0 ;
1406 PyObject
* obj0
= 0 ;
1408 (char *) "self", NULL
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1416 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1418 wxPyEndAllowThreads(__tstate
);
1419 if (PyErr_Occurred()) SWIG_fail
;
1421 resultobj
= SWIG_FromLong((long)result
);
1428 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
*resultobj
;
1430 wxColour
*arg1
= (wxColour
*) 0 ;
1431 wxColour
*arg2
= 0 ;
1434 PyObject
* obj0
= 0 ;
1435 PyObject
* obj1
= 0 ;
1437 (char *) "self",(char *) "colour", NULL
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1445 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1449 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1451 wxPyEndAllowThreads(__tstate
);
1452 if (PyErr_Occurred()) SWIG_fail
;
1454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1461 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
*resultobj
;
1463 wxColour
*arg1
= (wxColour
*) 0 ;
1464 wxColour
*arg2
= 0 ;
1467 PyObject
* obj0
= 0 ;
1468 PyObject
* obj1
= 0 ;
1470 (char *) "self",(char *) "colour", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1478 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) SWIG_fail
;
1487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1494 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
*resultobj
;
1496 wxColour
*arg1
= (wxColour
*) 0 ;
1498 PyObject
* obj0
= 0 ;
1500 (char *) "self", NULL
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1508 result
= (PyObject
*)wxColour_Get(arg1
);
1510 wxPyEndAllowThreads(__tstate
);
1511 if (PyErr_Occurred()) SWIG_fail
;
1520 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
*resultobj
;
1522 wxColour
*arg1
= (wxColour
*) 0 ;
1523 unsigned long result
;
1524 PyObject
* obj0
= 0 ;
1526 (char *) "self", NULL
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 result
= (unsigned long)wxColour_GetRGB(arg1
);
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) SWIG_fail
;
1539 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1546 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1549 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1551 return Py_BuildValue((char *)"");
1553 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
*resultobj
;
1556 unsigned char *arg2
= (unsigned char *) 0 ;
1557 unsigned char *arg3
= (unsigned char *) 0 ;
1558 unsigned char *arg4
= (unsigned char *) 0 ;
1560 PyObject
* obj0
= 0 ;
1561 PyObject
* obj1
= 0 ;
1562 PyObject
* obj2
= 0 ;
1563 PyObject
* obj3
= 0 ;
1565 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1569 arg1
= (int) SWIG_AsInt(obj0
);
1570 if (PyErr_Occurred()) SWIG_fail
;
1571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1573 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1575 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1591 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
*resultobj
;
1593 wxPalette
*arg1
= (wxPalette
*) 0 ;
1594 PyObject
* obj0
= 0 ;
1596 (char *) "self", NULL
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1609 Py_INCREF(Py_None
); resultobj
= Py_None
;
1616 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxPalette
*arg1
= (wxPalette
*) 0 ;
1623 PyObject
* obj0
= 0 ;
1624 PyObject
* obj1
= 0 ;
1625 PyObject
* obj2
= 0 ;
1626 PyObject
* obj3
= 0 ;
1628 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1634 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1636 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1638 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) SWIG_fail
;
1647 resultobj
= SWIG_FromInt((int)result
);
1654 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
*resultobj
;
1656 wxPalette
*arg1
= (wxPalette
*) 0 ;
1658 byte
*arg3
= (byte
*) 0 ;
1659 byte
*arg4
= (byte
*) 0 ;
1660 byte
*arg5
= (byte
*) 0 ;
1665 PyObject
* obj0
= 0 ;
1666 PyObject
* obj1
= 0 ;
1668 (char *) "self",(char *) "pixel", NULL
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1677 arg2
= (int) SWIG_AsInt(obj1
);
1678 if (PyErr_Occurred()) SWIG_fail
;
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1688 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1689 resultobj
= t_output_helper(resultobj
,o
);
1692 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1693 resultobj
= t_output_helper(resultobj
,o
);
1696 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1697 resultobj
= t_output_helper(resultobj
,o
);
1705 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
*resultobj
;
1707 wxPalette
*arg1
= (wxPalette
*) 0 ;
1709 PyObject
* obj0
= 0 ;
1711 (char *) "self", NULL
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 result
= (bool)(arg1
)->Ok();
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) SWIG_fail
;
1724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1731 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1734 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1736 return Py_BuildValue((char *)"");
1738 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
*resultobj
;
1740 wxColour
*arg1
= 0 ;
1741 int arg2
= (int) 1 ;
1742 int arg3
= (int) wxSOLID
;
1745 PyObject
* obj0
= 0 ;
1746 PyObject
* obj1
= 0 ;
1747 PyObject
* obj2
= 0 ;
1749 (char *) "colour",(char *) "width",(char *) "style", NULL
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1755 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1758 arg2
= (int) SWIG_AsInt(obj1
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1762 arg3
= (int) SWIG_AsInt(obj2
);
1763 if (PyErr_Occurred()) SWIG_fail
;
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1779 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1781 wxPen
*arg1
= (wxPen
*) 0 ;
1782 PyObject
* obj0
= 0 ;
1784 (char *) "self", NULL
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1797 Py_INCREF(Py_None
); resultobj
= Py_None
;
1804 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxPen
*arg1
= (wxPen
*) 0 ;
1808 PyObject
* obj0
= 0 ;
1810 (char *) "self", NULL
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 result
= (int)(arg1
)->GetCap();
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1823 resultobj
= SWIG_FromInt((int)result
);
1830 static PyObject
*_wrap_Pen_GetColour(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_GetColour",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
= (arg1
)->GetColour();
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1850 wxColour
* resultptr
;
1851 resultptr
= new wxColour((wxColour
&) result
);
1852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1860 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
*resultobj
;
1862 wxPen
*arg1
= (wxPen
*) 0 ;
1864 PyObject
* obj0
= 0 ;
1866 (char *) "self", NULL
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 result
= (int)(arg1
)->GetJoin();
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1879 resultobj
= SWIG_FromInt((int)result
);
1886 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
*resultobj
;
1888 wxPen
*arg1
= (wxPen
*) 0 ;
1890 PyObject
* obj0
= 0 ;
1892 (char *) "self", NULL
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 result
= (int)(arg1
)->GetStyle();
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1905 resultobj
= SWIG_FromInt((int)result
);
1912 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
*resultobj
;
1914 wxPen
*arg1
= (wxPen
*) 0 ;
1916 PyObject
* obj0
= 0 ;
1918 (char *) "self", NULL
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 result
= (int)(arg1
)->GetWidth();
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 resultobj
= SWIG_FromInt((int)result
);
1938 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
*resultobj
;
1940 wxPen
*arg1
= (wxPen
*) 0 ;
1942 PyObject
* obj0
= 0 ;
1944 (char *) "self", NULL
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1952 result
= (bool)(arg1
)->Ok();
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1964 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxPen
*arg1
= (wxPen
*) 0 ;
1968 PyObject
* obj0
= 0 ;
1969 PyObject
* obj1
= 0 ;
1971 (char *) "self",(char *) "cap_style", NULL
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1977 arg2
= (int) SWIG_AsInt(obj1
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1981 (arg1
)->SetCap(arg2
);
1983 wxPyEndAllowThreads(__tstate
);
1984 if (PyErr_Occurred()) SWIG_fail
;
1986 Py_INCREF(Py_None
); resultobj
= Py_None
;
1993 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
*resultobj
;
1995 wxPen
*arg1
= (wxPen
*) 0 ;
1996 wxColour
*arg2
= 0 ;
1998 PyObject
* obj0
= 0 ;
1999 PyObject
* obj1
= 0 ;
2001 (char *) "self",(char *) "colour", NULL
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2009 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 (arg1
)->SetColour(*arg2
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 Py_INCREF(Py_None
); resultobj
= Py_None
;
2025 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
*resultobj
;
2027 wxPen
*arg1
= (wxPen
*) 0 ;
2029 PyObject
* obj0
= 0 ;
2030 PyObject
* obj1
= 0 ;
2032 (char *) "self",(char *) "join_style", NULL
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2038 arg2
= (int) SWIG_AsInt(obj1
);
2039 if (PyErr_Occurred()) SWIG_fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 (arg1
)->SetJoin(arg2
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 Py_INCREF(Py_None
); resultobj
= Py_None
;
2054 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
*resultobj
;
2056 wxPen
*arg1
= (wxPen
*) 0 ;
2058 PyObject
* obj0
= 0 ;
2059 PyObject
* obj1
= 0 ;
2061 (char *) "self",(char *) "style", NULL
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2067 arg2
= (int) SWIG_AsInt(obj1
);
2068 if (PyErr_Occurred()) SWIG_fail
;
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 (arg1
)->SetStyle(arg2
);
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2076 Py_INCREF(Py_None
); resultobj
= Py_None
;
2083 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
*resultobj
;
2085 wxPen
*arg1
= (wxPen
*) 0 ;
2087 PyObject
* obj0
= 0 ;
2088 PyObject
* obj1
= 0 ;
2090 (char *) "self",(char *) "width", NULL
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2096 arg2
= (int) SWIG_AsInt(obj1
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 (arg1
)->SetWidth(arg2
);
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) SWIG_fail
;
2105 Py_INCREF(Py_None
); resultobj
= Py_None
;
2112 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
*resultobj
;
2114 wxPen
*arg1
= (wxPen
*) 0 ;
2116 wxDash
*arg3
= (wxDash
*) 0 ;
2117 PyObject
* obj0
= 0 ;
2118 PyObject
* obj1
= 0 ;
2120 (char *) "self",(char *) "dashes", NULL
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2127 arg2
= PyList_Size(obj1
);
2128 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2129 if (arg3
== NULL
) SWIG_fail
;
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 (arg1
)->SetDashes(arg2
,arg3
);
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) SWIG_fail
;
2138 Py_INCREF(Py_None
); resultobj
= Py_None
;
2140 if (arg3
) delete [] arg3
;
2145 if (arg3
) delete [] arg3
;
2151 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2153 wxPen
*arg1
= (wxPen
*) 0 ;
2155 PyObject
* obj0
= 0 ;
2157 (char *) "self", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2177 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
*resultobj
;
2179 wxPen
*arg1
= (wxPen
*) 0 ;
2180 wxPen
*arg2
= (wxPen
*) 0 ;
2182 PyObject
* obj0
= 0 ;
2183 PyObject
* obj1
= 0 ;
2185 (char *) "self",(char *) "other", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) SWIG_fail
;
2200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2207 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxPen
*arg1
= (wxPen
*) 0 ;
2210 wxPen
*arg2
= (wxPen
*) 0 ;
2212 PyObject
* obj0
= 0 ;
2213 PyObject
* obj1
= 0 ;
2215 (char *) "self",(char *) "other", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2237 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2239 wxPen
*arg1
= (wxPen
*) 0 ;
2241 PyObject
* obj0
= 0 ;
2243 (char *) "self", NULL
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2256 resultobj
= SWIG_FromInt((int)result
);
2263 static PyObject
*_wrap_Pen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
*resultobj
;
2265 wxPen
*arg1
= (wxPen
*) 0 ;
2267 PyObject
* obj0
= 0 ;
2269 (char *) "self", NULL
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
2273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 result
= (wxBitmap
*)(arg1
)->GetStipple();
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) SWIG_fail
;
2282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2289 static PyObject
*_wrap_Pen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
*resultobj
;
2291 wxPen
*arg1
= (wxPen
*) 0 ;
2292 wxBitmap
*arg2
= 0 ;
2293 PyObject
* obj0
= 0 ;
2294 PyObject
* obj1
= 0 ;
2296 (char *) "self",(char *) "stipple", NULL
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2306 PyErr_SetString(PyExc_TypeError
,"null reference");
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 (arg1
)->SetStipple(*arg2
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2316 Py_INCREF(Py_None
); resultobj
= Py_None
;
2323 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2326 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2328 return Py_BuildValue((char *)"");
2330 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
*resultobj
;
2332 wxColour
*arg1
= 0 ;
2333 int arg2
= (int) 1 ;
2334 int arg3
= (int) wxSOLID
;
2337 PyObject
* obj0
= 0 ;
2338 PyObject
* obj1
= 0 ;
2339 PyObject
* obj2
= 0 ;
2341 (char *) "colour",(char *) "width",(char *) "style", NULL
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2347 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2350 arg2
= (int) SWIG_AsInt(obj1
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2354 arg3
= (int) SWIG_AsInt(obj2
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2371 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2374 PyObject
* obj0
= 0 ;
2376 (char *) "self", NULL
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2389 Py_INCREF(Py_None
); resultobj
= Py_None
;
2396 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2400 wxDash
*arg3
= (wxDash
*) 0 ;
2401 PyObject
* obj0
= 0 ;
2402 PyObject
* obj1
= 0 ;
2404 (char *) "self",(char *) "dashes", NULL
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2411 arg2
= PyList_Size(obj1
);
2412 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2413 if (arg3
== NULL
) SWIG_fail
;
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 (arg1
)->SetDashes(arg2
,arg3
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2422 Py_INCREF(Py_None
); resultobj
= Py_None
;
2424 if (arg3
) delete [] arg3
;
2429 if (arg3
) delete [] arg3
;
2435 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2438 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2440 return Py_BuildValue((char *)"");
2442 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
*resultobj
;
2444 wxColour
*arg1
= 0 ;
2445 int arg2
= (int) wxSOLID
;
2448 PyObject
* obj0
= 0 ;
2449 PyObject
* obj1
= 0 ;
2451 (char *) "colour",(char *) "style", NULL
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2457 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2460 arg2
= (int) SWIG_AsInt(obj1
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2477 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
*resultobj
;
2479 wxBrush
*arg1
= (wxBrush
*) 0 ;
2480 PyObject
* obj0
= 0 ;
2482 (char *) "self", NULL
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2495 Py_INCREF(Py_None
); resultobj
= Py_None
;
2502 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
*resultobj
;
2504 wxBrush
*arg1
= (wxBrush
*) 0 ;
2505 wxColour
*arg2
= 0 ;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2510 (char *) "self",(char *) "col", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2518 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 (arg1
)->SetColour((wxColour
const &)*arg2
);
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2527 Py_INCREF(Py_None
); resultobj
= Py_None
;
2534 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
*resultobj
;
2536 wxBrush
*arg1
= (wxBrush
*) 0 ;
2538 PyObject
* obj0
= 0 ;
2539 PyObject
* obj1
= 0 ;
2541 (char *) "self",(char *) "style", NULL
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2547 arg2
= (int) SWIG_AsInt(obj1
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 (arg1
)->SetStyle(arg2
);
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2556 Py_INCREF(Py_None
); resultobj
= Py_None
;
2563 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
;
2565 wxBrush
*arg1
= (wxBrush
*) 0 ;
2566 wxBitmap
*arg2
= 0 ;
2567 PyObject
* obj0
= 0 ;
2568 PyObject
* obj1
= 0 ;
2570 (char *) "self",(char *) "stipple", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2580 PyErr_SetString(PyExc_TypeError
,"null reference");
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2590 Py_INCREF(Py_None
); resultobj
= Py_None
;
2597 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
*resultobj
;
2599 wxBrush
*arg1
= (wxBrush
*) 0 ;
2601 PyObject
* obj0
= 0 ;
2603 (char *) "self", NULL
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= ((wxBrush
const *)arg1
)->GetColour();
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2617 wxColour
* resultptr
;
2618 resultptr
= new wxColour((wxColour
&) result
);
2619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2627 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
*resultobj
;
2629 wxBrush
*arg1
= (wxBrush
*) 0 ;
2631 PyObject
* obj0
= 0 ;
2633 (char *) "self", NULL
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2646 resultobj
= SWIG_FromInt((int)result
);
2653 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
*resultobj
;
2655 wxBrush
*arg1
= (wxBrush
*) 0 ;
2657 PyObject
* obj0
= 0 ;
2659 (char *) "self", NULL
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2679 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxBrush
*arg1
= (wxBrush
*) 0 ;
2683 PyObject
* obj0
= 0 ;
2685 (char *) "self", NULL
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= (bool)(arg1
)->Ok();
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2705 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2708 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2710 return Py_BuildValue((char *)"");
2712 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2714 wxString
*arg1
= 0 ;
2715 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2717 bool temp1
= False
;
2718 PyObject
* obj0
= 0 ;
2719 PyObject
* obj1
= 0 ;
2721 (char *) "name",(char *) "type", NULL
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2726 arg1
= wxString_in_helper(obj0
);
2727 if (arg1
== NULL
) SWIG_fail
;
2731 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2756 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2758 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2759 PyObject
* obj0
= 0 ;
2761 (char *) "self", NULL
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2774 Py_INCREF(Py_None
); resultobj
= Py_None
;
2781 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2785 int arg3
= (int) -1 ;
2787 PyObject
* obj0
= 0 ;
2788 PyObject
* obj1
= 0 ;
2789 PyObject
* obj2
= 0 ;
2791 (char *) "width",(char *) "height",(char *) "depth", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2795 arg1
= (int) SWIG_AsInt(obj0
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2797 arg2
= (int) SWIG_AsInt(obj1
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2800 arg3
= (int) SWIG_AsInt(obj2
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2805 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2807 wxPyEndAllowThreads(__tstate
);
2808 if (PyErr_Occurred()) SWIG_fail
;
2810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2817 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2821 PyObject
* obj0
= 0 ;
2823 (char *) "icon", NULL
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2831 PyErr_SetString(PyExc_TypeError
,"null reference");
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2848 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
*resultobj
;
2851 int arg2
= (int) -1 ;
2853 PyObject
* obj0
= 0 ;
2854 PyObject
* obj1
= 0 ;
2856 (char *) "image",(char *) "depth", NULL
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2864 PyErr_SetString(PyExc_TypeError
,"null reference");
2868 arg2
= (int) SWIG_AsInt(obj1
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2875 wxPyEndAllowThreads(__tstate
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2885 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
*resultobj
;
2887 PyObject
*arg1
= (PyObject
*) 0 ;
2889 PyObject
* obj0
= 0 ;
2891 (char *) "listOfStrings", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2898 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2900 wxPyEndAllowThreads(__tstate
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2910 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
*resultobj
;
2912 PyObject
*arg1
= (PyObject
*) 0 ;
2915 int arg4
= (int) 1 ;
2917 PyObject
* obj0
= 0 ;
2918 PyObject
* obj1
= 0 ;
2919 PyObject
* obj2
= 0 ;
2920 PyObject
* obj3
= 0 ;
2922 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2927 arg2
= (int) SWIG_AsInt(obj1
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2929 arg3
= (int) SWIG_AsInt(obj2
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2932 arg4
= (int) SWIG_AsInt(obj3
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2949 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2952 wxPalette
*arg2
= 0 ;
2953 PyObject
* obj0
= 0 ;
2954 PyObject
* obj1
= 0 ;
2956 (char *) "self",(char *) "palette", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2966 PyErr_SetString(PyExc_TypeError
,"null reference");
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 (arg1
)->SetPalette(*arg2
);
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2976 Py_INCREF(Py_None
); resultobj
= Py_None
;
2983 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
*resultobj
;
2985 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2987 PyObject
* obj0
= 0 ;
2989 (char *) "self", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
2993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 result
= (long)(arg1
)->GetHandle();
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3002 resultobj
= SWIG_FromLong((long)result
);
3009 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
*resultobj
;
3011 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3013 PyObject
* obj0
= 0 ;
3014 PyObject
* obj1
= 0 ;
3016 (char *) "self",(char *) "handle", NULL
3019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3022 arg2
= (long) SWIG_AsLong(obj1
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 wxBitmap_SetHandle(arg1
,arg2
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3031 Py_INCREF(Py_None
); resultobj
= Py_None
;
3038 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
*resultobj
;
3040 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3042 PyObject
* obj0
= 0 ;
3044 (char *) "self", NULL
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 result
= (bool)(arg1
)->Ok();
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) SWIG_fail
;
3057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3064 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
*resultobj
;
3066 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3068 PyObject
* obj0
= 0 ;
3070 (char *) "self", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 result
= (int)(arg1
)->GetWidth();
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) SWIG_fail
;
3083 resultobj
= SWIG_FromInt((int)result
);
3090 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3094 PyObject
* obj0
= 0 ;
3096 (char *) "self", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= (int)(arg1
)->GetHeight();
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3109 resultobj
= SWIG_FromInt((int)result
);
3116 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
*resultobj
;
3118 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3120 PyObject
* obj0
= 0 ;
3122 (char *) "self", NULL
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 result
= (int)(arg1
)->GetDepth();
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) SWIG_fail
;
3135 resultobj
= SWIG_FromInt((int)result
);
3142 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
*resultobj
;
3144 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3145 SwigValueWrapper
< wxImage
> result
;
3146 PyObject
* obj0
= 0 ;
3148 (char *) "self", NULL
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3162 wxImage
* resultptr
;
3163 resultptr
= new wxImage((wxImage
&) result
);
3164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3172 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3176 PyObject
* obj0
= 0 ;
3178 (char *) "self", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3198 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
;
3200 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3201 wxMask
*arg2
= (wxMask
*) 0 ;
3202 PyObject
* obj0
= 0 ;
3203 PyObject
* obj1
= 0 ;
3205 (char *) "self",(char *) "mask", NULL
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 (arg1
)->SetMask(arg2
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3220 Py_INCREF(Py_None
); resultobj
= Py_None
;
3227 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3230 wxColour
*arg2
= 0 ;
3232 PyObject
* obj0
= 0 ;
3233 PyObject
* obj1
= 0 ;
3235 (char *) "self",(char *) "colour", NULL
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3243 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 Py_INCREF(Py_None
); resultobj
= Py_None
;
3259 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3263 SwigValueWrapper
< wxBitmap
> result
;
3265 PyObject
* obj0
= 0 ;
3266 PyObject
* obj1
= 0 ;
3268 (char *) "self",(char *) "rect", NULL
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3276 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3286 wxBitmap
* resultptr
;
3287 resultptr
= new wxBitmap((wxBitmap
&) result
);
3288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3296 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3299 wxString
*arg2
= 0 ;
3301 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3303 bool temp2
= False
;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3306 PyObject
* obj2
= 0 ;
3307 PyObject
* obj3
= 0 ;
3309 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3316 arg2
= wxString_in_helper(obj1
);
3317 if (arg2
== NULL
) SWIG_fail
;
3320 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3348 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3350 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3351 wxString
*arg2
= 0 ;
3354 bool temp2
= False
;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3357 PyObject
* obj2
= 0 ;
3359 (char *) "self",(char *) "name",(char *) "type", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3366 arg2
= wxString_in_helper(obj1
);
3367 if (arg2
== NULL
) SWIG_fail
;
3370 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3394 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3399 PyObject
* obj0
= 0 ;
3400 PyObject
* obj1
= 0 ;
3402 (char *) "self",(char *) "icon", NULL
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3412 PyErr_SetString(PyExc_TypeError
,"null reference");
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3429 static PyObject
*_wrap_Bitmap_SetHeight(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 *) "height", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",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
)->SetHeight(arg2
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3451 Py_INCREF(Py_None
); resultobj
= Py_None
;
3458 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
*resultobj
;
3460 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3462 PyObject
* obj0
= 0 ;
3463 PyObject
* obj1
= 0 ;
3465 (char *) "self",(char *) "width", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3471 arg2
= (int) SWIG_AsInt(obj1
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 (arg1
)->SetWidth(arg2
);
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3480 Py_INCREF(Py_None
); resultobj
= Py_None
;
3487 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
;
3489 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3491 PyObject
* obj0
= 0 ;
3492 PyObject
* obj1
= 0 ;
3494 (char *) "self",(char *) "depth", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3500 arg2
= (int) SWIG_AsInt(obj1
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 (arg1
)->SetDepth(arg2
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3509 Py_INCREF(Py_None
); resultobj
= Py_None
;
3516 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
;
3518 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3519 wxCursor
*arg2
= 0 ;
3521 PyObject
* obj0
= 0 ;
3522 PyObject
* obj1
= 0 ;
3524 (char *) "self",(char *) "cursor", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
3531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3534 PyErr_SetString(PyExc_TypeError
,"null reference");
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3551 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3555 PyObject
* obj0
= 0 ;
3557 (char *) "self", NULL
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 result
= (int)(arg1
)->GetQuality();
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3570 resultobj
= SWIG_FromInt((int)result
);
3577 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
*resultobj
;
3579 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3581 PyObject
* obj0
= 0 ;
3582 PyObject
* obj1
= 0 ;
3584 (char *) "self",(char *) "q", NULL
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3590 arg2
= (int) SWIG_AsInt(obj1
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 (arg1
)->SetQuality(arg2
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3599 Py_INCREF(Py_None
); resultobj
= Py_None
;
3606 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3609 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3611 return Py_BuildValue((char *)"");
3613 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxBitmap
*arg1
= 0 ;
3616 wxColour
const &arg2_defvalue
= wxNullColour
;
3617 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3620 PyObject
* obj0
= 0 ;
3621 PyObject
* obj1
= 0 ;
3623 (char *) "bitmap",(char *) "colour", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3631 PyErr_SetString(PyExc_TypeError
,"null reference");
3637 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3654 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3657 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3659 return Py_BuildValue((char *)"");
3661 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
*resultobj
;
3663 wxString
*arg1
= 0 ;
3665 int arg3
= (int) -1 ;
3666 int arg4
= (int) -1 ;
3668 bool temp1
= False
;
3669 PyObject
* obj0
= 0 ;
3670 PyObject
* obj1
= 0 ;
3671 PyObject
* obj2
= 0 ;
3672 PyObject
* obj3
= 0 ;
3674 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3679 arg1
= wxString_in_helper(obj0
);
3680 if (arg1
== NULL
) SWIG_fail
;
3683 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3686 arg3
= (int) SWIG_AsInt(obj2
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3690 arg4
= (int) SWIG_AsInt(obj3
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3715 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
;
3717 wxIcon
*arg1
= (wxIcon
*) 0 ;
3718 PyObject
* obj0
= 0 ;
3720 (char *) "self", NULL
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3733 Py_INCREF(Py_None
); resultobj
= Py_None
;
3740 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
;
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= (wxIcon
*)new wxIcon();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3762 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxIconLocation
*arg1
= 0 ;
3766 PyObject
* obj0
= 0 ;
3768 (char *) "loc", NULL
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3776 PyErr_SetString(PyExc_TypeError
,"null reference");
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3793 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3795 wxBitmap
*arg1
= 0 ;
3797 PyObject
* obj0
= 0 ;
3799 (char *) "bmp", NULL
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3807 PyErr_SetString(PyExc_TypeError
,"null reference");
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3824 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 PyObject
*arg1
= (PyObject
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3830 (char *) "listOfStrings", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 result
= (wxIcon
*)new_wxIcon(arg1
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3849 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
;
3851 wxIcon
*arg1
= (wxIcon
*) 0 ;
3852 wxString
*arg2
= 0 ;
3855 bool temp2
= False
;
3856 PyObject
* obj0
= 0 ;
3857 PyObject
* obj1
= 0 ;
3858 PyObject
* obj2
= 0 ;
3860 (char *) "self",(char *) "name",(char *) "type", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3867 arg2
= wxString_in_helper(obj1
);
3868 if (arg2
== NULL
) SWIG_fail
;
3871 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3895 static PyObject
*_wrap_Icon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 wxIcon
*arg1
= (wxIcon
*) 0 ;
3899 PyObject
* obj0
= 0 ;
3901 (char *) "self", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
3905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 result
= (long)(arg1
)->GetHandle();
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 resultobj
= SWIG_FromLong((long)result
);
3921 static PyObject
*_wrap_Icon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
;
3923 wxIcon
*arg1
= (wxIcon
*) 0 ;
3925 PyObject
* obj0
= 0 ;
3926 PyObject
* obj1
= 0 ;
3928 (char *) "self",(char *) "handle", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3934 arg2
= (long) SWIG_AsLong(obj1
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 wxIcon_SetHandle(arg1
,arg2
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 Py_INCREF(Py_None
); resultobj
= Py_None
;
3950 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
;
3952 wxIcon
*arg1
= (wxIcon
*) 0 ;
3954 PyObject
* obj0
= 0 ;
3956 (char *) "self", NULL
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 result
= (bool)(arg1
)->Ok();
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3976 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
*resultobj
;
3978 wxIcon
*arg1
= (wxIcon
*) 0 ;
3980 PyObject
* obj0
= 0 ;
3982 (char *) "self", NULL
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 result
= (int)(arg1
)->GetWidth();
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 resultobj
= SWIG_FromInt((int)result
);
4002 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
;
4004 wxIcon
*arg1
= (wxIcon
*) 0 ;
4006 PyObject
* obj0
= 0 ;
4008 (char *) "self", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 result
= (int)(arg1
)->GetHeight();
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4021 resultobj
= SWIG_FromInt((int)result
);
4028 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
;
4030 wxIcon
*arg1
= (wxIcon
*) 0 ;
4032 PyObject
* obj0
= 0 ;
4034 (char *) "self", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 result
= (int)(arg1
)->GetDepth();
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4047 resultobj
= SWIG_FromInt((int)result
);
4054 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
*resultobj
;
4056 wxIcon
*arg1
= (wxIcon
*) 0 ;
4058 PyObject
* obj0
= 0 ;
4059 PyObject
* obj1
= 0 ;
4061 (char *) "self",(char *) "w", NULL
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4067 arg2
= (int) SWIG_AsInt(obj1
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 (arg1
)->SetWidth(arg2
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 Py_INCREF(Py_None
); resultobj
= Py_None
;
4083 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
;
4085 wxIcon
*arg1
= (wxIcon
*) 0 ;
4087 PyObject
* obj0
= 0 ;
4088 PyObject
* obj1
= 0 ;
4090 (char *) "self",(char *) "h", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4096 arg2
= (int) SWIG_AsInt(obj1
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 (arg1
)->SetHeight(arg2
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 Py_INCREF(Py_None
); resultobj
= Py_None
;
4112 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxIcon
*arg1
= (wxIcon
*) 0 ;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4119 (char *) "self",(char *) "d", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4125 arg2
= (int) SWIG_AsInt(obj1
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 (arg1
)->SetDepth(arg2
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4141 static PyObject
*_wrap_Icon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxIcon
*arg1
= (wxIcon
*) 0 ;
4146 PyObject
* obj0
= 0 ;
4147 PyObject
* obj1
= 0 ;
4149 (char *) "self",(char *) "size", NULL
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4157 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 (arg1
)->SetSize((wxSize
const &)*arg2
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4166 Py_INCREF(Py_None
); resultobj
= Py_None
;
4173 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4175 wxIcon
*arg1
= (wxIcon
*) 0 ;
4176 wxBitmap
*arg2
= 0 ;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4180 (char *) "self",(char *) "bmp", NULL
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4190 PyErr_SetString(PyExc_TypeError
,"null reference");
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 Py_INCREF(Py_None
); resultobj
= Py_None
;
4207 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4210 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4212 return Py_BuildValue((char *)"");
4214 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4217 int arg2
= (int) 0 ;
4218 wxIconLocation
*result
;
4219 bool temp1
= False
;
4220 PyObject
* obj0
= 0 ;
4221 PyObject
* obj1
= 0 ;
4223 (char *) "filename",(char *) "num", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4229 arg1
= wxString_in_helper(obj0
);
4230 if (arg1
== NULL
) SWIG_fail
;
4235 arg2
= (int) SWIG_AsInt(obj1
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4260 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4263 PyObject
* obj0
= 0 ;
4265 (char *) "self", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 Py_INCREF(Py_None
); resultobj
= Py_None
;
4285 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4289 PyObject
* obj0
= 0 ;
4291 (char *) "self", NULL
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4311 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4314 wxString
*arg2
= 0 ;
4315 bool temp2
= False
;
4316 PyObject
* obj0
= 0 ;
4317 PyObject
* obj1
= 0 ;
4319 (char *) "self",(char *) "filename", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4326 arg2
= wxString_in_helper(obj1
);
4327 if (arg2
== NULL
) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 (arg1
)->SetFileName((wxString
const &)*arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 Py_INCREF(Py_None
); resultobj
= Py_None
;
4352 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
;
4354 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4358 (char *) "self", NULL
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4368 result
= (wxString
*) &_result_ref
;
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4378 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4387 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
;
4389 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4394 (char *) "self",(char *) "num", NULL
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4400 arg2
= (int) SWIG_AsInt(obj1
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 wxIconLocation_SetIndex(arg1
,arg2
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 Py_INCREF(Py_None
); resultobj
= Py_None
;
4416 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4420 PyObject
* obj0
= 0 ;
4422 (char *) "self", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= (int)wxIconLocation_GetIndex(arg1
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 resultobj
= SWIG_FromInt((int)result
);
4442 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4445 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4447 return Py_BuildValue((char *)"");
4449 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4451 wxIconBundle
*result
;
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (wxIconBundle
*)new wxIconBundle();
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4471 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxString
*arg1
= 0 ;
4475 wxIconBundle
*result
;
4476 bool temp1
= False
;
4477 PyObject
* obj0
= 0 ;
4478 PyObject
* obj1
= 0 ;
4480 (char *) "file",(char *) "type", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4485 arg1
= wxString_in_helper(obj0
);
4486 if (arg1
== NULL
) SWIG_fail
;
4489 arg2
= (long) SWIG_AsLong(obj1
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4513 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4516 wxIconBundle
*result
;
4517 PyObject
* obj0
= 0 ;
4519 (char *) "icon", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4527 PyErr_SetString(PyExc_TypeError
,"null reference");
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4544 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4546 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4547 PyObject
* obj0
= 0 ;
4549 (char *) "self", NULL
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 Py_INCREF(Py_None
); resultobj
= Py_None
;
4569 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
;
4571 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4576 (char *) "self",(char *) "icon", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4586 PyErr_SetString(PyExc_TypeError
,"null reference");
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 Py_INCREF(Py_None
); resultobj
= Py_None
;
4603 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4606 wxString
*arg2
= 0 ;
4608 bool temp2
= False
;
4609 PyObject
* obj0
= 0 ;
4610 PyObject
* obj1
= 0 ;
4611 PyObject
* obj2
= 0 ;
4613 (char *) "self",(char *) "file",(char *) "type", NULL
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4620 arg2
= wxString_in_helper(obj1
);
4621 if (arg2
== NULL
) SWIG_fail
;
4624 arg3
= (long) SWIG_AsLong(obj2
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4633 Py_INCREF(Py_None
); resultobj
= Py_None
;
4648 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4657 (char *) "self",(char *) "size", NULL
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4665 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4671 result
= (wxIcon
*) &_result_ref
;
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 0);
4684 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4687 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4689 return Py_BuildValue((char *)"");
4691 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxString
*arg1
= (wxString
*) 0 ;
4695 int arg3
= (int) 0 ;
4696 int arg4
= (int) 0 ;
4698 bool temp1
= False
;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4701 PyObject
* obj2
= 0 ;
4702 PyObject
* obj3
= 0 ;
4704 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4709 arg1
= wxString_in_helper(obj0
);
4710 if (arg1
== NULL
) SWIG_fail
;
4713 arg2
= (long) SWIG_AsLong(obj1
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 arg3
= (int) SWIG_AsInt(obj2
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4720 arg4
= (int) SWIG_AsInt(obj3
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4745 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxCursor
*arg1
= (wxCursor
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4750 (char *) "self", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 Py_INCREF(Py_None
); resultobj
= Py_None
;
4770 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4774 PyObject
* obj0
= 0 ;
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4780 arg1
= (int) SWIG_AsInt(obj0
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (wxCursor
*)new wxCursor(arg1
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4796 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4800 PyObject
* obj0
= 0 ;
4802 (char *) "image", NULL
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4810 PyErr_SetString(PyExc_TypeError
,"null reference");
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4827 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4829 wxCursor
*arg1
= (wxCursor
*) 0 ;
4831 PyObject
* obj0
= 0 ;
4833 (char *) "self", NULL
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
4837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (long)(arg1
)->GetHandle();
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= SWIG_FromLong((long)result
);
4853 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 wxCursor
*arg1
= (wxCursor
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4860 (char *) "self",(char *) "handle", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4866 arg2
= (long) SWIG_AsLong(obj1
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 wxCursor_SetHandle(arg1
,arg2
);
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4875 Py_INCREF(Py_None
); resultobj
= Py_None
;
4882 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
*resultobj
;
4884 wxCursor
*arg1
= (wxCursor
*) 0 ;
4886 PyObject
* obj0
= 0 ;
4888 (char *) "self", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (bool)(arg1
)->Ok();
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4908 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
;
4910 wxCursor
*arg1
= (wxCursor
*) 0 ;
4912 PyObject
* obj0
= 0 ;
4914 (char *) "self", NULL
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
4918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (int)(arg1
)->GetWidth();
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= SWIG_FromInt((int)result
);
4934 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxCursor
*arg1
= (wxCursor
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4940 (char *) "self", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
4944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 result
= (int)(arg1
)->GetHeight();
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_FromInt((int)result
);
4960 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxCursor
*arg1
= (wxCursor
*) 0 ;
4964 PyObject
* obj0
= 0 ;
4966 (char *) "self", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
4970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (int)(arg1
)->GetDepth();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= SWIG_FromInt((int)result
);
4986 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
;
4988 wxCursor
*arg1
= (wxCursor
*) 0 ;
4990 PyObject
* obj0
= 0 ;
4991 PyObject
* obj1
= 0 ;
4993 (char *) "self",(char *) "w", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4999 arg2
= (int) SWIG_AsInt(obj1
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 (arg1
)->SetWidth(arg2
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 Py_INCREF(Py_None
); resultobj
= Py_None
;
5015 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxCursor
*arg1
= (wxCursor
*) 0 ;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5022 (char *) "self",(char *) "h", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5028 arg2
= (int) SWIG_AsInt(obj1
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 (arg1
)->SetHeight(arg2
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 Py_INCREF(Py_None
); resultobj
= Py_None
;
5044 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
;
5046 wxCursor
*arg1
= (wxCursor
*) 0 ;
5048 PyObject
* obj0
= 0 ;
5049 PyObject
* obj1
= 0 ;
5051 (char *) "self",(char *) "d", NULL
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5057 arg2
= (int) SWIG_AsInt(obj1
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 (arg1
)->SetDepth(arg2
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 Py_INCREF(Py_None
); resultobj
= Py_None
;
5073 static PyObject
*_wrap_Cursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 wxCursor
*arg1
= (wxCursor
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5081 (char *) "self",(char *) "size", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5089 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 (arg1
)->SetSize((wxSize
const &)*arg2
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 Py_INCREF(Py_None
); resultobj
= Py_None
;
5105 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
5107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5108 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5110 return Py_BuildValue((char *)"");
5112 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 int arg1
= (int) 0 ;
5115 int arg2
= (int) 0 ;
5116 int arg3
= (int) 0 ;
5117 int arg4
= (int) 0 ;
5119 PyObject
* obj0
= 0 ;
5120 PyObject
* obj1
= 0 ;
5121 PyObject
* obj2
= 0 ;
5122 PyObject
* obj3
= 0 ;
5124 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5129 arg1
= (int) SWIG_AsInt(obj0
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5133 arg2
= (int) SWIG_AsInt(obj1
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5137 arg3
= (int) SWIG_AsInt(obj2
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5141 arg4
= (int) SWIG_AsInt(obj3
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5158 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxBitmap
*arg1
= 0 ;
5161 wxColour
const &arg2_defvalue
= wxNullColour
;
5162 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5163 int arg3
= (int) 0 ;
5166 PyObject
* obj0
= 0 ;
5167 PyObject
* obj1
= 0 ;
5168 PyObject
* obj2
= 0 ;
5170 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5175 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5178 PyErr_SetString(PyExc_TypeError
,"null reference");
5184 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5188 arg3
= (int) SWIG_AsInt(obj2
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5205 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
;
5208 wxPoint
*arg2
= (wxPoint
*) 0 ;
5209 int arg3
= (int) wxWINDING_RULE
;
5211 PyObject
* obj0
= 0 ;
5212 PyObject
* obj1
= 0 ;
5214 (char *) "points",(char *) "fillStyle", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5219 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5220 if (arg2
== NULL
) SWIG_fail
;
5223 arg3
= (int) SWIG_AsInt(obj1
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5228 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5235 if (arg2
) delete [] arg2
;
5240 if (arg2
) delete [] arg2
;
5246 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
*resultobj
;
5248 wxRegion
*arg1
= (wxRegion
*) 0 ;
5249 PyObject
* obj0
= 0 ;
5251 (char *) "self", NULL
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 Py_INCREF(Py_None
); resultobj
= Py_None
;
5271 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
;
5273 wxRegion
*arg1
= (wxRegion
*) 0 ;
5274 PyObject
* obj0
= 0 ;
5276 (char *) "self", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 Py_INCREF(Py_None
); resultobj
= Py_None
;
5296 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
;
5298 wxRegion
*arg1
= (wxRegion
*) 0 ;
5302 PyObject
* obj0
= 0 ;
5303 PyObject
* obj1
= 0 ;
5304 PyObject
* obj2
= 0 ;
5306 (char *) "self",(char *) "x",(char *) "y", NULL
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5312 arg2
= (int) SWIG_AsInt(obj1
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5314 arg3
= (int) SWIG_AsInt(obj2
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5330 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
;
5332 wxRegion
*arg1
= (wxRegion
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5337 PyObject
* obj1
= 0 ;
5338 PyObject
* obj2
= 0 ;
5340 (char *) "self",(char *) "x",(char *) "y", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 arg2
= (int) SWIG_AsInt(obj1
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5348 arg3
= (int) SWIG_AsInt(obj2
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= SWIG_FromInt((int)result
);
5364 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxRegion
*arg1
= (wxRegion
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "pt", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5381 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5390 resultobj
= SWIG_FromInt((int)result
);
5397 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxRegion
*arg1
= (wxRegion
*) 0 ;
5403 PyObject
* obj0
= 0 ;
5404 PyObject
* obj1
= 0 ;
5406 (char *) "self",(char *) "rect", NULL
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5414 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= SWIG_FromInt((int)result
);
5430 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxRegion
*arg1
= (wxRegion
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5439 PyObject
* obj1
= 0 ;
5440 PyObject
* obj2
= 0 ;
5441 PyObject
* obj3
= 0 ;
5442 PyObject
* obj4
= 0 ;
5444 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5450 arg2
= (int) SWIG_AsInt(obj1
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5452 arg3
= (int) SWIG_AsInt(obj2
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5454 arg4
= (int) SWIG_AsInt(obj3
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5456 arg5
= (int) SWIG_AsInt(obj4
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= SWIG_FromInt((int)result
);
5472 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxRegion
*arg1
= (wxRegion
*) 0 ;
5476 PyObject
* obj0
= 0 ;
5478 (char *) "self", NULL
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (arg1
)->GetBox();
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5493 resultptr
= new wxRect((wxRect
&) result
);
5494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5502 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxRegion
*arg1
= (wxRegion
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5511 PyObject
* obj1
= 0 ;
5512 PyObject
* obj2
= 0 ;
5513 PyObject
* obj3
= 0 ;
5514 PyObject
* obj4
= 0 ;
5516 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5522 arg2
= (int) SWIG_AsInt(obj1
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5524 arg3
= (int) SWIG_AsInt(obj2
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5526 arg4
= (int) SWIG_AsInt(obj3
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5528 arg5
= (int) SWIG_AsInt(obj4
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5544 static PyObject
*_wrap_Region_IntersectRect(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_IntersectRect",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
)->Intersect((wxRect
const &)*arg2
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5577 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxRegion
*arg1
= (wxRegion
*) 0 ;
5580 wxRegion
*arg2
= 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5585 (char *) "self",(char *) "region", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5595 PyErr_SetString(PyExc_TypeError
,"null reference");
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5612 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
;
5614 wxRegion
*arg1
= (wxRegion
*) 0 ;
5616 PyObject
* obj0
= 0 ;
5618 (char *) "self", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (bool)(arg1
)->IsEmpty();
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5638 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
;
5640 wxRegion
*arg1
= (wxRegion
*) 0 ;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5648 PyObject
* obj2
= 0 ;
5649 PyObject
* obj3
= 0 ;
5650 PyObject
* obj4
= 0 ;
5652 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5658 arg2
= (int) SWIG_AsInt(obj1
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5660 arg3
= (int) SWIG_AsInt(obj2
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5662 arg4
= (int) SWIG_AsInt(obj3
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5664 arg5
= (int) SWIG_AsInt(obj4
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5680 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxRegion
*arg1
= (wxRegion
*) 0 ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5689 (char *) "self",(char *) "rect", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5697 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5713 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxRegion
*arg1
= (wxRegion
*) 0 ;
5716 wxRegion
*arg2
= 0 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5721 (char *) "self",(char *) "region", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5731 PyErr_SetString(PyExc_TypeError
,"null reference");
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5748 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxRegion
*arg1
= (wxRegion
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5758 PyObject
* obj2
= 0 ;
5759 PyObject
* obj3
= 0 ;
5760 PyObject
* obj4
= 0 ;
5762 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5768 arg2
= (int) SWIG_AsInt(obj1
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5770 arg3
= (int) SWIG_AsInt(obj2
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5772 arg4
= (int) SWIG_AsInt(obj3
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5774 arg5
= (int) SWIG_AsInt(obj4
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5790 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxRegion
*arg1
= (wxRegion
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5797 PyObject
* obj1
= 0 ;
5799 (char *) "self",(char *) "rect", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5807 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5823 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
;
5825 wxRegion
*arg1
= (wxRegion
*) 0 ;
5826 wxRegion
*arg2
= 0 ;
5828 PyObject
* obj0
= 0 ;
5829 PyObject
* obj1
= 0 ;
5831 (char *) "self",(char *) "region", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5841 PyErr_SetString(PyExc_TypeError
,"null reference");
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5858 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxRegion
*arg1
= (wxRegion
*) 0 ;
5866 PyObject
* obj0
= 0 ;
5867 PyObject
* obj1
= 0 ;
5868 PyObject
* obj2
= 0 ;
5869 PyObject
* obj3
= 0 ;
5870 PyObject
* obj4
= 0 ;
5872 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5878 arg2
= (int) SWIG_AsInt(obj1
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5880 arg3
= (int) SWIG_AsInt(obj2
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5882 arg4
= (int) SWIG_AsInt(obj3
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5884 arg5
= (int) SWIG_AsInt(obj4
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5900 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxRegion
*arg1
= (wxRegion
*) 0 ;
5906 PyObject
* obj0
= 0 ;
5907 PyObject
* obj1
= 0 ;
5909 (char *) "self",(char *) "rect", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5917 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5933 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
;
5935 wxRegion
*arg1
= (wxRegion
*) 0 ;
5936 wxRegion
*arg2
= 0 ;
5938 PyObject
* obj0
= 0 ;
5939 PyObject
* obj1
= 0 ;
5941 (char *) "self",(char *) "region", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5951 PyErr_SetString(PyExc_TypeError
,"null reference");
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5968 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
;
5970 wxRegion
*arg1
= (wxRegion
*) 0 ;
5971 SwigValueWrapper
< wxBitmap
> result
;
5972 PyObject
* obj0
= 0 ;
5974 (char *) "self", NULL
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (arg1
)->ConvertToBitmap();
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5988 wxBitmap
* resultptr
;
5989 resultptr
= new wxBitmap((wxBitmap
&) result
);
5990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5998 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6000 wxRegion
*arg1
= (wxRegion
*) 0 ;
6001 wxBitmap
*arg2
= 0 ;
6002 wxColour
const &arg3_defvalue
= wxNullColour
;
6003 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
6004 int arg4
= (int) 0 ;
6007 PyObject
* obj0
= 0 ;
6008 PyObject
* obj1
= 0 ;
6009 PyObject
* obj2
= 0 ;
6010 PyObject
* obj3
= 0 ;
6012 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6022 PyErr_SetString(PyExc_TypeError
,"null reference");
6028 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6032 arg4
= (int) SWIG_AsInt(obj3
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6049 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
6051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6052 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
6054 return Py_BuildValue((char *)"");
6056 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
;
6058 wxRegion
*arg1
= 0 ;
6059 wxRegionIterator
*result
;
6060 PyObject
* obj0
= 0 ;
6062 (char *) "region", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6070 PyErr_SetString(PyExc_TypeError
,"null reference");
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
6087 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
;
6089 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6092 (char *) "self", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 Py_INCREF(Py_None
); resultobj
= Py_None
;
6112 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6116 PyObject
* obj0
= 0 ;
6118 (char *) "self", NULL
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 result
= (int)(arg1
)->GetX();
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 resultobj
= SWIG_FromInt((int)result
);
6138 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6142 PyObject
* obj0
= 0 ;
6144 (char *) "self", NULL
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
6148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 result
= (int)(arg1
)->GetY();
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= SWIG_FromInt((int)result
);
6164 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6166 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6168 PyObject
* obj0
= 0 ;
6170 (char *) "self", NULL
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 result
= (int)(arg1
)->GetW();
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 resultobj
= SWIG_FromInt((int)result
);
6190 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6196 (char *) "self", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= (int)(arg1
)->GetWidth();
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_FromInt((int)result
);
6216 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6220 PyObject
* obj0
= 0 ;
6222 (char *) "self", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 result
= (int)(arg1
)->GetH();
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6235 resultobj
= SWIG_FromInt((int)result
);
6242 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
*resultobj
;
6244 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6246 PyObject
* obj0
= 0 ;
6248 (char *) "self", NULL
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (int)(arg1
)->GetHeight();
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_FromInt((int)result
);
6268 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (arg1
)->GetRect();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6289 resultptr
= new wxRect((wxRect
&) result
);
6290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6298 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
;
6300 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6302 PyObject
* obj0
= 0 ;
6304 (char *) "self", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 result
= (bool)(arg1
)->HaveRects();
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6324 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
;
6326 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6327 PyObject
* obj0
= 0 ;
6329 (char *) "self", NULL
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 Py_INCREF(Py_None
); resultobj
= Py_None
;
6349 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6352 PyObject
* obj0
= 0 ;
6354 (char *) "self", NULL
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 wxRegionIterator_Next(arg1
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 Py_INCREF(Py_None
); resultobj
= Py_None
;
6374 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6376 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6378 PyObject
* obj0
= 0 ;
6380 (char *) "self", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6400 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6403 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6405 return Py_BuildValue((char *)"");
6407 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6409 wxNativeFontInfo
*result
;
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6429 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6432 PyObject
* obj0
= 0 ;
6434 (char *) "self", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 Py_INCREF(Py_None
); resultobj
= Py_None
;
6454 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
;
6456 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6457 PyObject
* obj0
= 0 ;
6459 (char *) "self", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 Py_INCREF(Py_None
); resultobj
= Py_None
;
6479 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
*resultobj
;
6481 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6483 PyObject
* obj0
= 0 ;
6484 PyObject
* obj1
= 0 ;
6486 (char *) "self",(char *) "font", NULL
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6493 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6496 PyErr_SetString(PyExc_TypeError
,"null reference");
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 Py_INCREF(Py_None
); resultobj
= Py_None
;
6513 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
;
6515 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6517 PyObject
* obj0
= 0 ;
6519 (char *) "self", NULL
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= SWIG_FromInt((int)result
);
6539 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= SWIG_FromInt((int)result
);
6565 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6567 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6571 (char *) "self", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_FromInt((int)result
);
6591 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6617 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6621 PyObject
* obj0
= 0 ;
6623 (char *) "self", NULL
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6649 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
;
6651 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6653 PyObject
* obj0
= 0 ;
6655 (char *) "self", NULL
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= SWIG_FromInt((int)result
);
6675 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6681 (char *) "self", NULL
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= SWIG_FromInt((int)result
);
6701 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6705 PyObject
* obj0
= 0 ;
6706 PyObject
* obj1
= 0 ;
6708 (char *) "self",(char *) "pointsize", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6714 arg2
= (int) SWIG_AsInt(obj1
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 (arg1
)->SetPointSize(arg2
);
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 Py_INCREF(Py_None
); resultobj
= Py_None
;
6730 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6734 PyObject
* obj0
= 0 ;
6735 PyObject
* obj1
= 0 ;
6737 (char *) "self",(char *) "style", NULL
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6743 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 Py_INCREF(Py_None
); resultobj
= Py_None
;
6759 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6766 (char *) "self",(char *) "weight", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6772 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 Py_INCREF(Py_None
); resultobj
= Py_None
;
6788 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
;
6790 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6792 PyObject
* obj0
= 0 ;
6793 PyObject
* obj1
= 0 ;
6795 (char *) "self",(char *) "underlined", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6801 arg2
= (bool) SWIG_AsBool(obj1
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 (arg1
)->SetUnderlined(arg2
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 Py_INCREF(Py_None
); resultobj
= Py_None
;
6817 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6824 (char *) "self",(char *) "facename", NULL
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6831 wxString
* sptr
= wxString_in_helper(obj1
);
6832 if (sptr
== NULL
) SWIG_fail
;
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6838 (arg1
)->SetFaceName(arg2
);
6840 wxPyEndAllowThreads(__tstate
);
6841 if (PyErr_Occurred()) SWIG_fail
;
6843 Py_INCREF(Py_None
); resultobj
= Py_None
;
6850 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
;
6852 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6857 (char *) "self",(char *) "family", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 Py_INCREF(Py_None
); resultobj
= Py_None
;
6879 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6886 (char *) "self",(char *) "encoding", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6892 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 Py_INCREF(Py_None
); resultobj
= Py_None
;
6908 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6911 wxString
*arg2
= 0 ;
6913 bool temp2
= False
;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6917 (char *) "self",(char *) "s", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6924 arg2
= wxString_in_helper(obj1
);
6925 if (arg2
== NULL
) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6950 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
;
6952 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6954 PyObject
* obj0
= 0 ;
6956 (char *) "self", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6982 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6986 PyObject
* obj0
= 0 ;
6988 (char *) "self", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= wxNativeFontInfo___str__(arg1
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7014 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7016 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7017 wxString
*arg2
= 0 ;
7019 bool temp2
= False
;
7020 PyObject
* obj0
= 0 ;
7021 PyObject
* obj1
= 0 ;
7023 (char *) "self",(char *) "s", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7030 arg2
= wxString_in_helper(obj1
);
7031 if (arg2
== NULL
) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7056 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7060 PyObject
* obj0
= 0 ;
7062 (char *) "self", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
7066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7088 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7091 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
7093 return Py_BuildValue((char *)"");
7095 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
*resultobj
;
7097 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7098 wxString
*arg2
= (wxString
*) 0 ;
7099 bool temp2
= False
;
7100 PyObject
* obj0
= 0 ;
7101 PyObject
* obj1
= 0 ;
7103 (char *) "self",(char *) "facename", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7110 arg2
= wxString_in_helper(obj1
);
7111 if (arg2
== NULL
) SWIG_fail
;
7114 if (arg1
) (arg1
)->facename
= *arg2
;
7116 Py_INCREF(Py_None
); resultobj
= Py_None
;
7131 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7137 (char *) "self", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7143 result
= (wxString
*)& ((arg1
)->facename
);
7147 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7149 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7158 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
;
7160 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7165 (char *) "self",(char *) "encoding", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7171 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7173 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7175 Py_INCREF(Py_None
); resultobj
= Py_None
;
7182 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
*resultobj
;
7184 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7186 PyObject
* obj0
= 0 ;
7188 (char *) "self", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7194 result
= (int) ((arg1
)->encoding
);
7196 resultobj
= SWIG_FromInt((int)result
);
7203 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxNativeEncodingInfo
*result
;
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7225 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7230 (char *) "self", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 Py_INCREF(Py_None
); resultobj
= Py_None
;
7250 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7253 wxString
*arg2
= 0 ;
7255 bool temp2
= False
;
7256 PyObject
* obj0
= 0 ;
7257 PyObject
* obj1
= 0 ;
7259 (char *) "self",(char *) "s", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7266 arg2
= wxString_in_helper(obj1
);
7267 if (arg2
== NULL
) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7292 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7298 (char *) "self", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7324 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7327 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7329 return Py_BuildValue((char *)"");
7331 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7334 wxNativeEncodingInfo
*result
;
7335 PyObject
* obj0
= 0 ;
7337 (char *) "encoding", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7341 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7357 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxNativeEncodingInfo
*arg1
= 0 ;
7361 PyObject
* obj0
= 0 ;
7363 (char *) "info", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7371 PyErr_SetString(PyExc_TypeError
,"null reference");
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7388 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 wxFontMapper
*result
;
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 result
= (wxFontMapper
*)new wxFontMapper();
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7410 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
;
7412 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7413 PyObject
* obj0
= 0 ;
7415 (char *) "self", NULL
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 Py_INCREF(Py_None
); resultobj
= Py_None
;
7435 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
;
7437 wxFontMapper
*result
;
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 result
= (wxFontMapper
*)wxFontMapper::Get();
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7457 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7460 wxFontMapper
*result
;
7461 PyObject
* obj0
= 0 ;
7463 (char *) "mapper", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7483 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7486 wxString
*arg2
= 0 ;
7487 bool arg3
= (bool) True
;
7489 bool temp2
= False
;
7490 PyObject
* obj0
= 0 ;
7491 PyObject
* obj1
= 0 ;
7492 PyObject
* obj2
= 0 ;
7494 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7501 arg2
= wxString_in_helper(obj1
);
7502 if (arg2
== NULL
) SWIG_fail
;
7506 arg3
= (bool) SWIG_AsBool(obj2
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= SWIG_FromInt((int)result
);
7531 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7553 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7557 PyObject
* obj0
= 0 ;
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7563 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (int)wxFontMapper::GetEncoding(arg1
);
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= SWIG_FromInt((int)result
);
7579 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7583 PyObject
* obj0
= 0 ;
7585 (char *) "encoding", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7589 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7611 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7615 PyObject
* obj0
= 0 ;
7617 (char *) "encoding", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7621 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7643 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7646 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7648 PyObject
* obj1
= 0 ;
7650 (char *) "self",(char *) "config", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 (arg1
)->SetConfig(arg2
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 Py_INCREF(Py_None
); resultobj
= Py_None
;
7672 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7675 wxString
*arg2
= 0 ;
7676 bool temp2
= False
;
7677 PyObject
* obj0
= 0 ;
7678 PyObject
* obj1
= 0 ;
7680 (char *) "self",(char *) "prefix", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7687 arg2
= wxString_in_helper(obj1
);
7688 if (arg2
== NULL
) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7698 Py_INCREF(Py_None
); resultobj
= Py_None
;
7713 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 result
= wxFontMapper::GetDefaultConfigPath();
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7741 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7745 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7746 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7747 bool arg4
= (bool) True
;
7749 bool temp3
= False
;
7750 PyObject
* obj0
= 0 ;
7751 PyObject
* obj1
= 0 ;
7752 PyObject
* obj2
= 0 ;
7753 PyObject
* obj3
= 0 ;
7755 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7761 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7765 arg3
= wxString_in_helper(obj2
);
7766 if (arg3
== NULL
) SWIG_fail
;
7771 arg4
= (bool) SWIG_AsBool(obj3
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7796 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7800 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7801 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7803 bool temp3
= False
;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7806 PyObject
* obj2
= 0 ;
7808 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7814 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7818 arg3
= wxString_in_helper(obj2
);
7819 if (arg3
== NULL
) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7845 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7848 wxWindow
*arg2
= (wxWindow
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7850 PyObject
* obj1
= 0 ;
7852 (char *) "self",(char *) "parent", NULL
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 (arg1
)->SetDialogParent(arg2
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 Py_INCREF(Py_None
); resultobj
= Py_None
;
7874 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7877 wxString
*arg2
= 0 ;
7878 bool temp2
= False
;
7879 PyObject
* obj0
= 0 ;
7880 PyObject
* obj1
= 0 ;
7882 (char *) "self",(char *) "title", NULL
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7889 arg2
= wxString_in_helper(obj1
);
7890 if (arg2
== NULL
) SWIG_fail
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 Py_INCREF(Py_None
); resultobj
= Py_None
;
7915 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7918 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7920 return Py_BuildValue((char *)"");
7922 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
;
7928 bool arg5
= (bool) False
;
7929 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7930 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7931 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7933 bool temp6
= False
;
7934 PyObject
* obj0
= 0 ;
7935 PyObject
* obj1
= 0 ;
7936 PyObject
* obj2
= 0 ;
7937 PyObject
* obj3
= 0 ;
7938 PyObject
* obj4
= 0 ;
7939 PyObject
* obj5
= 0 ;
7940 PyObject
* obj6
= 0 ;
7942 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7946 arg1
= (int) SWIG_AsInt(obj0
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7948 arg2
= (int) SWIG_AsInt(obj1
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7950 arg3
= (int) SWIG_AsInt(obj2
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7952 arg4
= (int) SWIG_AsInt(obj3
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 arg5
= (bool) SWIG_AsBool(obj4
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7960 arg6
= wxString_in_helper(obj5
);
7961 if (arg6
== NULL
) SWIG_fail
;
7966 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7991 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxFont
*arg1
= (wxFont
*) 0 ;
7994 PyObject
* obj0
= 0 ;
7996 (char *) "self", NULL
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
8000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 Py_INCREF(Py_None
); resultobj
= Py_None
;
8016 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 wxNativeFontInfo
*arg1
= 0 ;
8020 PyObject
* obj0
= 0 ;
8022 (char *) "info", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
8026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
8027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8030 PyErr_SetString(PyExc_TypeError
,"null reference");
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8047 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxString
*arg1
= 0 ;
8051 bool temp1
= False
;
8052 PyObject
* obj0
= 0 ;
8054 (char *) "info", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
8059 arg1
= wxString_in_helper(obj0
);
8060 if (arg1
== NULL
) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8085 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8089 int arg3
= (int) wxFONTFLAG_DEFAULT
;
8090 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8091 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8092 int arg5
= (int) wxFONTENCODING_DEFAULT
;
8094 bool temp4
= False
;
8095 PyObject
* obj0
= 0 ;
8096 PyObject
* obj1
= 0 ;
8097 PyObject
* obj2
= 0 ;
8098 PyObject
* obj3
= 0 ;
8099 PyObject
* obj4
= 0 ;
8101 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8105 arg1
= (int) SWIG_AsInt(obj0
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8107 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 arg3
= (int) SWIG_AsInt(obj2
);
8111 if (PyErr_Occurred()) SWIG_fail
;
8115 arg4
= wxString_in_helper(obj3
);
8116 if (arg4
== NULL
) SWIG_fail
;
8121 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8146 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
;
8148 wxFont
*arg1
= (wxFont
*) 0 ;
8150 PyObject
* obj0
= 0 ;
8152 (char *) "self", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 result
= (bool)((wxFont
const *)arg1
)->Ok();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8172 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxFont
*arg1
= (wxFont
*) 0 ;
8175 wxFont
*arg2
= (wxFont
*) 0 ;
8177 PyObject
* obj0
= 0 ;
8178 PyObject
* obj1
= 0 ;
8180 (char *) "self",(char *) "other", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8202 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxFont
*arg1
= (wxFont
*) 0 ;
8205 wxFont
*arg2
= (wxFont
*) 0 ;
8207 PyObject
* obj0
= 0 ;
8208 PyObject
* obj1
= 0 ;
8210 (char *) "self",(char *) "other", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8232 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxFont
*arg1
= (wxFont
*) 0 ;
8236 PyObject
* obj0
= 0 ;
8238 (char *) "self", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 resultobj
= SWIG_FromInt((int)result
);
8258 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxFont
*arg1
= (wxFont
*) 0 ;
8262 PyObject
* obj0
= 0 ;
8264 (char *) "self", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= SWIG_FromInt((int)result
);
8284 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxFont
*arg1
= (wxFont
*) 0 ;
8288 PyObject
* obj0
= 0 ;
8290 (char *) "self", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= SWIG_FromInt((int)result
);
8310 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxFont
*arg1
= (wxFont
*) 0 ;
8314 PyObject
* obj0
= 0 ;
8316 (char *) "self", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= SWIG_FromInt((int)result
);
8336 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
;
8338 wxFont
*arg1
= (wxFont
*) 0 ;
8340 PyObject
* obj0
= 0 ;
8342 (char *) "self", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8362 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxFont
*arg1
= (wxFont
*) 0 ;
8366 PyObject
* obj0
= 0 ;
8368 (char *) "self", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= ((wxFont
const *)arg1
)->GetFaceName();
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8394 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
;
8396 wxFont
*arg1
= (wxFont
*) 0 ;
8398 PyObject
* obj0
= 0 ;
8400 (char *) "self", NULL
8403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= SWIG_FromInt((int)result
);
8420 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
*resultobj
;
8422 wxFont
*arg1
= (wxFont
*) 0 ;
8423 wxNativeFontInfo
*result
;
8424 PyObject
* obj0
= 0 ;
8426 (char *) "self", NULL
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8446 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxFont
*arg1
= (wxFont
*) 0 ;
8450 PyObject
* obj0
= 0 ;
8452 (char *) "self", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8472 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxFont
*arg1
= (wxFont
*) 0 ;
8476 PyObject
* obj0
= 0 ;
8478 (char *) "self", NULL
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8504 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
;
8506 wxFont
*arg1
= (wxFont
*) 0 ;
8508 PyObject
* obj0
= 0 ;
8510 (char *) "self", NULL
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8536 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxFont
*arg1
= (wxFont
*) 0 ;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8543 (char *) "self",(char *) "pointSize", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8549 arg2
= (int) SWIG_AsInt(obj1
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 (arg1
)->SetPointSize(arg2
);
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 Py_INCREF(Py_None
); resultobj
= Py_None
;
8565 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8566 PyObject
*resultobj
;
8567 wxFont
*arg1
= (wxFont
*) 0 ;
8569 PyObject
* obj0
= 0 ;
8570 PyObject
* obj1
= 0 ;
8572 (char *) "self",(char *) "family", NULL
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8578 arg2
= (int) SWIG_AsInt(obj1
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 (arg1
)->SetFamily(arg2
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8587 Py_INCREF(Py_None
); resultobj
= Py_None
;
8594 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxFont
*arg1
= (wxFont
*) 0 ;
8598 PyObject
* obj0
= 0 ;
8599 PyObject
* obj1
= 0 ;
8601 (char *) "self",(char *) "style", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8607 arg2
= (int) SWIG_AsInt(obj1
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 (arg1
)->SetStyle(arg2
);
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 Py_INCREF(Py_None
); resultobj
= Py_None
;
8623 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
;
8625 wxFont
*arg1
= (wxFont
*) 0 ;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8630 (char *) "self",(char *) "weight", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8636 arg2
= (int) SWIG_AsInt(obj1
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 (arg1
)->SetWeight(arg2
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 Py_INCREF(Py_None
); resultobj
= Py_None
;
8652 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxFont
*arg1
= (wxFont
*) 0 ;
8655 wxString
*arg2
= 0 ;
8656 bool temp2
= False
;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8660 (char *) "self",(char *) "faceName", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8667 arg2
= wxString_in_helper(obj1
);
8668 if (arg2
== NULL
) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 Py_INCREF(Py_None
); resultobj
= Py_None
;
8693 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxFont
*arg1
= (wxFont
*) 0 ;
8697 PyObject
* obj0
= 0 ;
8698 PyObject
* obj1
= 0 ;
8700 (char *) "self",(char *) "underlined", NULL
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8706 arg2
= (bool) SWIG_AsBool(obj1
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 (arg1
)->SetUnderlined(arg2
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 Py_INCREF(Py_None
); resultobj
= Py_None
;
8722 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxFont
*arg1
= (wxFont
*) 0 ;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8729 (char *) "self",(char *) "encoding", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8735 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 Py_INCREF(Py_None
); resultobj
= Py_None
;
8751 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxFont
*arg1
= (wxFont
*) 0 ;
8754 wxNativeFontInfo
*arg2
= 0 ;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8758 (char *) "self",(char *) "info", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8768 PyErr_SetString(PyExc_TypeError
,"null reference");
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 Py_INCREF(Py_None
); resultobj
= Py_None
;
8785 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxFont
*arg1
= (wxFont
*) 0 ;
8788 wxString
*arg2
= 0 ;
8789 bool temp2
= False
;
8790 PyObject
* obj0
= 0 ;
8791 PyObject
* obj1
= 0 ;
8793 (char *) "self",(char *) "info", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8800 arg2
= wxString_in_helper(obj1
);
8801 if (arg2
== NULL
) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 Py_INCREF(Py_None
); resultobj
= Py_None
;
8826 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxFont
*arg1
= (wxFont
*) 0 ;
8829 wxString
*arg2
= 0 ;
8830 bool temp2
= False
;
8831 PyObject
* obj0
= 0 ;
8832 PyObject
* obj1
= 0 ;
8834 (char *) "self",(char *) "info", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8841 arg2
= wxString_in_helper(obj1
);
8842 if (arg2
== NULL
) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 Py_INCREF(Py_None
); resultobj
= Py_None
;
8867 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 wxFont
*arg1
= (wxFont
*) 0 ;
8871 PyObject
* obj0
= 0 ;
8873 (char *) "self", NULL
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8899 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxFont
*arg1
= (wxFont
*) 0 ;
8903 PyObject
* obj0
= 0 ;
8905 (char *) "self", NULL
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 result
= ((wxFont
const *)arg1
)->GetStyleString();
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8931 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
*resultobj
;
8933 wxFont
*arg1
= (wxFont
*) 0 ;
8935 PyObject
* obj0
= 0 ;
8937 (char *) "self", NULL
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 result
= ((wxFont
const *)arg1
)->GetWeightString();
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8963 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxFont
*arg1
= (wxFont
*) 0 ;
8966 bool arg2
= (bool) True
;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8970 (char *) "self",(char *) "no", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 arg2
= (bool) SWIG_AsBool(obj1
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 (arg1
)->SetNoAntiAliasing(arg2
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 Py_INCREF(Py_None
); resultobj
= Py_None
;
8994 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxFont
*arg1
= (wxFont
*) 0 ;
8998 PyObject
* obj0
= 0 ;
9000 (char *) "self", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= (bool)(arg1
)->GetNoAntiAliasing();
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9020 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
;
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= (int)wxFont::GetDefaultEncoding();
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 resultobj
= SWIG_FromInt((int)result
);
9042 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9045 PyObject
* obj0
= 0 ;
9047 (char *) "encoding", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9051 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 Py_INCREF(Py_None
); resultobj
= Py_None
;
9067 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
9069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9070 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9072 return Py_BuildValue((char *)"");
9074 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxPyFontEnumerator
*result
;
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9096 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9099 PyObject
* obj0
= 0 ;
9101 (char *) "self", NULL
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 Py_INCREF(Py_None
); resultobj
= Py_None
;
9121 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
*resultobj
;
9123 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9124 PyObject
*arg2
= (PyObject
*) 0 ;
9125 PyObject
*arg3
= (PyObject
*) 0 ;
9127 PyObject
* obj0
= 0 ;
9128 PyObject
* obj1
= 0 ;
9129 PyObject
* obj2
= 0 ;
9130 PyObject
* obj3
= 0 ;
9132 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9140 arg4
= (bool) SWIG_AsBool(obj3
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 Py_INCREF(Py_None
); resultobj
= Py_None
;
9156 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
;
9158 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9159 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9160 bool arg3
= (bool) False
;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9164 PyObject
* obj2
= 0 ;
9166 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9177 arg3
= (bool) SWIG_AsBool(obj2
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9194 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9197 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9198 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9200 bool temp2
= False
;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9204 (char *) "self",(char *) "facename", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9212 arg2
= wxString_in_helper(obj1
);
9213 if (arg2
== NULL
) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9239 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
;
9241 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9243 PyObject
* obj0
= 0 ;
9245 (char *) "self", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9265 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
;
9267 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9271 (char *) "self", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9291 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
9293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9294 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9296 return Py_BuildValue((char *)"");
9298 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9302 PyObject
* obj0
= 0 ;
9303 PyObject
* obj1
= 0 ;
9305 (char *) "self",(char *) "Language", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9311 arg2
= (int) SWIG_AsInt(obj1
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9313 if (arg1
) (arg1
)->Language
= arg2
;
9315 Py_INCREF(Py_None
); resultobj
= Py_None
;
9322 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9328 (char *) "self", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9334 result
= (int) ((arg1
)->Language
);
9336 resultobj
= SWIG_FromInt((int)result
);
9343 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
*resultobj
;
9345 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9346 wxString
*arg2
= (wxString
*) 0 ;
9347 bool temp2
= False
;
9348 PyObject
* obj0
= 0 ;
9349 PyObject
* obj1
= 0 ;
9351 (char *) "self",(char *) "CanonicalName", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9358 arg2
= wxString_in_helper(obj1
);
9359 if (arg2
== NULL
) SWIG_fail
;
9362 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9364 Py_INCREF(Py_None
); resultobj
= Py_None
;
9379 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "self", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9391 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9395 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9397 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9406 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
;
9408 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9409 wxString
*arg2
= (wxString
*) 0 ;
9410 bool temp2
= False
;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9414 (char *) "self",(char *) "Description", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9421 arg2
= wxString_in_helper(obj1
);
9422 if (arg2
== NULL
) SWIG_fail
;
9425 if (arg1
) (arg1
)->Description
= *arg2
;
9427 Py_INCREF(Py_None
); resultobj
= Py_None
;
9442 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9454 result
= (wxString
*)& ((arg1
)->Description
);
9458 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9460 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9469 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9472 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9474 return Py_BuildValue((char *)"");
9476 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9479 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9484 (char *) "language",(char *) "flags", NULL
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9489 arg1
= (int) SWIG_AsInt(obj0
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9493 arg2
= (int) SWIG_AsInt(obj1
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9510 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxLocale
*arg1
= (wxLocale
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9515 (char *) "self", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 Py_INCREF(Py_None
); resultobj
= Py_None
;
9535 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxLocale
*arg1
= (wxLocale
*) 0 ;
9538 wxString
*arg2
= 0 ;
9539 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9540 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9541 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9542 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9543 bool arg5
= (bool) True
;
9544 bool arg6
= (bool) False
;
9546 bool temp2
= False
;
9547 bool temp3
= False
;
9548 bool temp4
= False
;
9549 PyObject
* obj0
= 0 ;
9550 PyObject
* obj1
= 0 ;
9551 PyObject
* obj2
= 0 ;
9552 PyObject
* obj3
= 0 ;
9553 PyObject
* obj4
= 0 ;
9554 PyObject
* obj5
= 0 ;
9556 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9563 arg2
= wxString_in_helper(obj1
);
9564 if (arg2
== NULL
) SWIG_fail
;
9569 arg3
= wxString_in_helper(obj2
);
9570 if (arg3
== NULL
) SWIG_fail
;
9576 arg4
= wxString_in_helper(obj3
);
9577 if (arg4
== NULL
) SWIG_fail
;
9582 arg5
= (bool) SWIG_AsBool(obj4
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 arg6
= (bool) SWIG_AsBool(obj5
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9627 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9629 wxLocale
*arg1
= (wxLocale
*) 0 ;
9630 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9631 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9635 PyObject
* obj2
= 0 ;
9637 (char *) "self",(char *) "language",(char *) "flags", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9644 arg2
= (int) SWIG_AsInt(obj1
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9648 arg3
= (int) SWIG_AsInt(obj2
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9665 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
;
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= (int)wxLocale::GetSystemLanguage();
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= SWIG_FromInt((int)result
);
9687 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (int)wxLocale::GetSystemEncoding();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_FromInt((int)result
);
9709 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 result
= wxLocale::GetSystemEncodingName();
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9737 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxLocale
*arg1
= (wxLocale
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9743 (char *) "self", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9763 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxLocale
*arg1
= (wxLocale
*) 0 ;
9767 PyObject
* obj0
= 0 ;
9769 (char *) "self", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 result
= ((wxLocale
const *)arg1
)->GetLocale();
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9795 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
;
9797 wxLocale
*arg1
= (wxLocale
*) 0 ;
9799 PyObject
* obj0
= 0 ;
9801 (char *) "self", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9814 resultobj
= SWIG_FromInt((int)result
);
9821 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
*resultobj
;
9823 wxLocale
*arg1
= (wxLocale
*) 0 ;
9825 PyObject
* obj0
= 0 ;
9827 (char *) "self", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= ((wxLocale
const *)arg1
)->GetSysName();
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9853 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxLocale
*arg1
= (wxLocale
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9885 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxString
*arg1
= 0 ;
9888 bool temp1
= False
;
9889 PyObject
* obj0
= 0 ;
9891 (char *) "prefix", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9896 arg1
= wxString_in_helper(obj0
);
9897 if (arg1
== NULL
) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 Py_INCREF(Py_None
); resultobj
= Py_None
;
9922 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
;
9924 wxLocale
*arg1
= (wxLocale
*) 0 ;
9925 wxString
*arg2
= 0 ;
9927 bool temp2
= False
;
9928 PyObject
* obj0
= 0 ;
9929 PyObject
* obj1
= 0 ;
9931 (char *) "self",(char *) "szDomain", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9938 arg2
= wxString_in_helper(obj1
);
9939 if (arg2
== NULL
) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9964 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxLocale
*arg1
= (wxLocale
*) 0 ;
9967 wxString
*arg2
= 0 ;
9969 bool temp2
= False
;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9973 (char *) "self",(char *) "szDomain", NULL
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9980 arg2
= wxString_in_helper(obj1
);
9981 if (arg2
== NULL
) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10006 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10009 wxLanguageInfo
*result
;
10010 PyObject
* obj0
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "lang", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10016 arg1
= (int) SWIG_AsInt(obj0
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10032 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10036 PyObject
* obj0
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "lang", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10042 arg1
= (int) SWIG_AsInt(obj0
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= wxLocale::GetLanguageName(arg1
);
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10055 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10064 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxString
*arg1
= 0 ;
10067 wxLanguageInfo
*result
;
10068 bool temp1
= False
;
10069 PyObject
* obj0
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "locale", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10076 arg1
= wxString_in_helper(obj0
);
10077 if (arg1
== NULL
) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10102 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
;
10104 wxLanguageInfo
*arg1
= 0 ;
10105 PyObject
* obj0
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "info", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10114 if (arg1
== NULL
) {
10115 PyErr_SetString(PyExc_TypeError
,"null reference");
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 Py_INCREF(Py_None
); resultobj
= Py_None
;
10132 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxLocale
*arg1
= (wxLocale
*) 0 ;
10135 wxString
*arg2
= 0 ;
10136 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10137 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10139 bool temp2
= False
;
10140 bool temp3
= False
;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 PyObject
* obj2
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10152 arg2
= wxString_in_helper(obj1
);
10153 if (arg2
== NULL
) SWIG_fail
;
10158 arg3
= wxString_in_helper(obj2
);
10159 if (arg3
== NULL
) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10199 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
;
10201 wxLocale
*arg1
= (wxLocale
*) 0 ;
10203 PyObject
* obj0
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10215 result
= (wxString
*) &_result_ref
;
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10225 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10234 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
10236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10237 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10239 return Py_BuildValue((char *)"");
10241 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10244 char *kwnames
[] = {
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 result
= (wxLocale
*)wxGetLocale();
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10263 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
10264 PyObject
*resultobj
;
10265 wxString
*arg1
= 0 ;
10267 bool temp1
= False
;
10268 PyObject
* obj0
= 0 ;
10270 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10272 arg1
= wxString_in_helper(obj0
);
10273 if (arg1
== NULL
) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= wxGetTranslation((wxString
const &)*arg1
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10304 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
10305 PyObject
*resultobj
;
10306 wxString
*arg1
= 0 ;
10307 wxString
*arg2
= 0 ;
10310 bool temp1
= False
;
10311 bool temp2
= False
;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 PyObject
* obj2
= 0 ;
10316 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10318 arg1
= wxString_in_helper(obj0
);
10319 if (arg1
== NULL
) SWIG_fail
;
10323 arg2
= wxString_in_helper(obj1
);
10324 if (arg2
== NULL
) SWIG_fail
;
10327 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10365 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10370 argc
= PyObject_Length(args
);
10371 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10372 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10377 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10380 return _wrap_GetTranslation__SWIG_0(self
,args
);
10386 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10390 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10393 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10395 return _wrap_GetTranslation__SWIG_1(self
,args
);
10401 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10406 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxEncodingConverter
*result
;
10409 char *kwnames
[] = {
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10428 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
;
10430 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 Py_INCREF(Py_None
); resultobj
= Py_None
;
10453 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10458 int arg4
= (int) wxCONVERT_STRICT
;
10460 PyObject
* obj0
= 0 ;
10461 PyObject
* obj1
= 0 ;
10462 PyObject
* obj2
= 0 ;
10463 PyObject
* obj3
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10471 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10473 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 arg4
= (int) SWIG_AsInt(obj3
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10493 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10496 wxString
*arg2
= 0 ;
10498 bool temp2
= False
;
10499 PyObject
* obj0
= 0 ;
10500 PyObject
* obj1
= 0 ;
10501 char *kwnames
[] = {
10502 (char *) "self",(char *) "input", NULL
10505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10509 arg2
= wxString_in_helper(obj1
);
10510 if (arg2
== NULL
) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10541 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10544 int arg2
= (int) wxPLATFORM_CURRENT
;
10545 wxFontEncodingArray result
;
10546 PyObject
* obj0
= 0 ;
10547 PyObject
* obj1
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "enc",(char *) "platform", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10553 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 arg2
= (int) SWIG_AsInt(obj1
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= PyList_New(0);
10568 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10569 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10570 PyList_Append(resultobj
, number
);
10580 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
;
10583 wxFontEncodingArray result
;
10584 PyObject
* obj0
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "enc", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10590 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= PyList_New(0);
10601 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10602 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10603 PyList_Append(resultobj
, number
);
10613 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10618 PyObject
* obj0
= 0 ;
10619 PyObject
* obj1
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "encIn",(char *) "encOut", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10625 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10627 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10643 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10646 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10648 return Py_BuildValue((char *)"");
10650 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10652 wxDC
*arg1
= (wxDC
*) 0 ;
10653 PyObject
* obj0
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "self", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 Py_INCREF(Py_None
); resultobj
= Py_None
;
10675 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxDC
*arg1
= (wxDC
*) 0 ;
10678 PyObject
* obj0
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 (arg1
)->BeginDrawing();
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 Py_INCREF(Py_None
); resultobj
= Py_None
;
10700 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxDC
*arg1
= (wxDC
*) 0 ;
10703 PyObject
* obj0
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 (arg1
)->EndDrawing();
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 Py_INCREF(Py_None
); resultobj
= Py_None
;
10725 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxDC
*arg1
= (wxDC
*) 0 ;
10730 wxColour
*arg4
= 0 ;
10731 int arg5
= (int) wxFLOOD_SURFACE
;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 PyObject
* obj3
= 0 ;
10738 PyObject
* obj4
= 0 ;
10739 char *kwnames
[] = {
10740 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10746 arg2
= (int) SWIG_AsInt(obj1
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10748 arg3
= (int) SWIG_AsInt(obj2
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10752 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10755 arg5
= (int) SWIG_AsInt(obj4
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10772 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
;
10774 wxDC
*arg1
= (wxDC
*) 0 ;
10775 wxPoint
*arg2
= 0 ;
10776 wxColour
*arg3
= 0 ;
10777 int arg4
= (int) wxFLOOD_SURFACE
;
10781 PyObject
* obj0
= 0 ;
10782 PyObject
* obj1
= 0 ;
10783 PyObject
* obj2
= 0 ;
10784 PyObject
* obj3
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10794 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10798 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10801 arg4
= (int) SWIG_AsInt(obj3
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10818 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxDC
*arg1
= (wxDC
*) 0 ;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 PyObject
* obj2
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "self",(char *) "x",(char *) "y", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10834 arg2
= (int) SWIG_AsInt(obj1
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10836 arg3
= (int) SWIG_AsInt(obj2
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10846 wxColour
* resultptr
;
10847 resultptr
= new wxColour((wxColour
&) result
);
10848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10856 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10858 wxDC
*arg1
= (wxDC
*) 0 ;
10859 wxPoint
*arg2
= 0 ;
10862 PyObject
* obj0
= 0 ;
10863 PyObject
* obj1
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self",(char *) "pt", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10873 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10883 wxColour
* resultptr
;
10884 resultptr
= new wxColour((wxColour
&) result
);
10885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10893 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxDC
*arg1
= (wxDC
*) 0 ;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 PyObject
* obj2
= 0 ;
10903 PyObject
* obj3
= 0 ;
10904 PyObject
* obj4
= 0 ;
10905 char *kwnames
[] = {
10906 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10912 arg2
= (int) SWIG_AsInt(obj1
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10914 arg3
= (int) SWIG_AsInt(obj2
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10916 arg4
= (int) SWIG_AsInt(obj3
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10918 arg5
= (int) SWIG_AsInt(obj4
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 Py_INCREF(Py_None
); resultobj
= Py_None
;
10934 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
;
10936 wxDC
*arg1
= (wxDC
*) 0 ;
10937 wxPoint
*arg2
= 0 ;
10938 wxPoint
*arg3
= 0 ;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 PyObject
* obj2
= 0 ;
10944 char *kwnames
[] = {
10945 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10957 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxDC
*arg1
= (wxDC
*) 0 ;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 PyObject
* obj2
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self",(char *) "x",(char *) "y", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10988 arg2
= (int) SWIG_AsInt(obj1
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10990 arg3
= (int) SWIG_AsInt(obj2
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 (arg1
)->CrossHair(arg2
,arg3
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 Py_INCREF(Py_None
); resultobj
= Py_None
;
11006 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
;
11008 wxDC
*arg1
= (wxDC
*) 0 ;
11009 wxPoint
*arg2
= 0 ;
11011 PyObject
* obj0
= 0 ;
11012 PyObject
* obj1
= 0 ;
11013 char *kwnames
[] = {
11014 (char *) "self",(char *) "pt", NULL
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
11018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11022 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 Py_INCREF(Py_None
); resultobj
= Py_None
;
11038 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxDC
*arg1
= (wxDC
*) 0 ;
11047 PyObject
* obj0
= 0 ;
11048 PyObject
* obj1
= 0 ;
11049 PyObject
* obj2
= 0 ;
11050 PyObject
* obj3
= 0 ;
11051 PyObject
* obj4
= 0 ;
11052 PyObject
* obj5
= 0 ;
11053 PyObject
* obj6
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11061 arg2
= (int) SWIG_AsInt(obj1
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11063 arg3
= (int) SWIG_AsInt(obj2
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11065 arg4
= (int) SWIG_AsInt(obj3
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11067 arg5
= (int) SWIG_AsInt(obj4
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11069 arg6
= (int) SWIG_AsInt(obj5
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11071 arg7
= (int) SWIG_AsInt(obj6
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 Py_INCREF(Py_None
); resultobj
= Py_None
;
11087 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
;
11089 wxDC
*arg1
= (wxDC
*) 0 ;
11090 wxPoint
*arg2
= 0 ;
11091 wxPoint
*arg3
= 0 ;
11092 wxPoint
*arg4
= 0 ;
11096 PyObject
* obj0
= 0 ;
11097 PyObject
* obj1
= 0 ;
11098 PyObject
* obj2
= 0 ;
11099 PyObject
* obj3
= 0 ;
11100 char *kwnames
[] = {
11101 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
11104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11109 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11113 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11117 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 Py_INCREF(Py_None
); resultobj
= Py_None
;
11133 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
;
11135 wxDC
*arg1
= (wxDC
*) 0 ;
11140 PyObject
* obj0
= 0 ;
11141 PyObject
* obj1
= 0 ;
11142 PyObject
* obj2
= 0 ;
11143 PyObject
* obj3
= 0 ;
11144 PyObject
* obj4
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11152 arg2
= (int) SWIG_AsInt(obj1
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11154 arg3
= (int) SWIG_AsInt(obj2
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11156 arg4
= (int) SWIG_AsInt(obj3
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11158 arg5
= (int) SWIG_AsInt(obj4
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11167 Py_INCREF(Py_None
); resultobj
= Py_None
;
11174 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11175 PyObject
*resultobj
;
11176 wxDC
*arg1
= (wxDC
*) 0 ;
11179 PyObject
* obj0
= 0 ;
11180 PyObject
* obj1
= 0 ;
11181 char *kwnames
[] = {
11182 (char *) "self",(char *) "rect", NULL
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
11186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11190 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 Py_INCREF(Py_None
); resultobj
= Py_None
;
11206 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 wxDC
*arg1
= (wxDC
*) 0 ;
11215 PyObject
* obj0
= 0 ;
11216 PyObject
* obj1
= 0 ;
11217 PyObject
* obj2
= 0 ;
11218 PyObject
* obj3
= 0 ;
11219 PyObject
* obj4
= 0 ;
11220 PyObject
* obj5
= 0 ;
11221 PyObject
* obj6
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11229 arg2
= (int) SWIG_AsInt(obj1
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11231 arg3
= (int) SWIG_AsInt(obj2
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11233 arg4
= (int) SWIG_AsInt(obj3
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11235 arg5
= (int) SWIG_AsInt(obj4
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11237 arg6
= (double) SWIG_AsDouble(obj5
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11239 arg7
= (double) SWIG_AsDouble(obj6
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 Py_INCREF(Py_None
); resultobj
= Py_None
;
11255 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxDC
*arg1
= (wxDC
*) 0 ;
11258 wxPoint
*arg2
= 0 ;
11264 PyObject
* obj0
= 0 ;
11265 PyObject
* obj1
= 0 ;
11266 PyObject
* obj2
= 0 ;
11267 PyObject
* obj3
= 0 ;
11268 PyObject
* obj4
= 0 ;
11269 char *kwnames
[] = {
11270 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11278 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11282 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11284 arg4
= (double) SWIG_AsDouble(obj3
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11286 arg5
= (double) SWIG_AsDouble(obj4
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11295 Py_INCREF(Py_None
); resultobj
= Py_None
;
11302 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
;
11304 wxDC
*arg1
= (wxDC
*) 0 ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 PyObject
* obj2
= 0 ;
11310 char *kwnames
[] = {
11311 (char *) "self",(char *) "x",(char *) "y", NULL
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11317 arg2
= (int) SWIG_AsInt(obj1
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11319 arg3
= (int) SWIG_AsInt(obj2
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 (arg1
)->DrawPoint(arg2
,arg3
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 Py_INCREF(Py_None
); resultobj
= Py_None
;
11335 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
;
11337 wxDC
*arg1
= (wxDC
*) 0 ;
11338 wxPoint
*arg2
= 0 ;
11340 PyObject
* obj0
= 0 ;
11341 PyObject
* obj1
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self",(char *) "pt", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11351 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 Py_INCREF(Py_None
); resultobj
= Py_None
;
11367 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxDC
*arg1
= (wxDC
*) 0 ;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 PyObject
* obj2
= 0 ;
11377 PyObject
* obj3
= 0 ;
11378 PyObject
* obj4
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11386 arg2
= (int) SWIG_AsInt(obj1
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11388 arg3
= (int) SWIG_AsInt(obj2
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11390 arg4
= (int) SWIG_AsInt(obj3
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11392 arg5
= (int) SWIG_AsInt(obj4
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 Py_INCREF(Py_None
); resultobj
= Py_None
;
11408 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxDC
*arg1
= (wxDC
*) 0 ;
11411 wxPoint
*arg2
= 0 ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 PyObject
* obj2
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self",(char *) "pt",(char *) "sz", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11427 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11431 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 Py_INCREF(Py_None
); resultobj
= Py_None
;
11447 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxDC
*arg1
= (wxDC
*) 0 ;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 char *kwnames
[] = {
11455 (char *) "self",(char *) "rect", NULL
11458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11463 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 Py_INCREF(Py_None
); resultobj
= Py_None
;
11479 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxDC
*arg1
= (wxDC
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 PyObject
* obj2
= 0 ;
11490 PyObject
* obj3
= 0 ;
11491 PyObject
* obj4
= 0 ;
11492 PyObject
* obj5
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11500 arg2
= (int) SWIG_AsInt(obj1
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11502 arg3
= (int) SWIG_AsInt(obj2
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11504 arg4
= (int) SWIG_AsInt(obj3
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11506 arg5
= (int) SWIG_AsInt(obj4
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11508 arg6
= (double) SWIG_AsDouble(obj5
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 Py_INCREF(Py_None
); resultobj
= Py_None
;
11524 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxDC
*arg1
= (wxDC
*) 0 ;
11527 wxPoint
*arg2
= 0 ;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 PyObject
* obj3
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",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
;
11545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11549 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11551 arg4
= (double) SWIG_AsDouble(obj3
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 Py_INCREF(Py_None
); resultobj
= Py_None
;
11567 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxDC
*arg1
= (wxDC
*) 0 ;
11573 PyObject
* obj0
= 0 ;
11574 PyObject
* obj1
= 0 ;
11575 PyObject
* obj2
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "self",(char *) "r",(char *) "radius", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11585 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11587 arg3
= (double) SWIG_AsDouble(obj2
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 Py_INCREF(Py_None
); resultobj
= Py_None
;
11603 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
;
11605 wxDC
*arg1
= (wxDC
*) 0 ;
11609 PyObject
* obj0
= 0 ;
11610 PyObject
* obj1
= 0 ;
11611 PyObject
* obj2
= 0 ;
11612 PyObject
* obj3
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11620 arg2
= (int) SWIG_AsInt(obj1
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11622 arg3
= (int) SWIG_AsInt(obj2
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11624 arg4
= (int) SWIG_AsInt(obj3
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 Py_INCREF(Py_None
); resultobj
= Py_None
;
11640 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
;
11642 wxDC
*arg1
= (wxDC
*) 0 ;
11643 wxPoint
*arg2
= 0 ;
11646 PyObject
* obj0
= 0 ;
11647 PyObject
* obj1
= 0 ;
11648 PyObject
* obj2
= 0 ;
11649 char *kwnames
[] = {
11650 (char *) "self",(char *) "pt",(char *) "radius", NULL
11653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11658 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11660 arg3
= (int) SWIG_AsInt(obj2
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 Py_INCREF(Py_None
); resultobj
= Py_None
;
11676 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11678 wxDC
*arg1
= (wxDC
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 PyObject
* obj2
= 0 ;
11686 PyObject
* obj3
= 0 ;
11687 PyObject
* obj4
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11695 arg2
= (int) SWIG_AsInt(obj1
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11697 arg3
= (int) SWIG_AsInt(obj2
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11699 arg4
= (int) SWIG_AsInt(obj3
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11701 arg5
= (int) SWIG_AsInt(obj4
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 Py_INCREF(Py_None
); resultobj
= Py_None
;
11717 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxDC
*arg1
= (wxDC
*) 0 ;
11720 wxPoint
*arg2
= 0 ;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 PyObject
* obj2
= 0 ;
11727 char *kwnames
[] = {
11728 (char *) "self",(char *) "pt",(char *) "sz", NULL
11731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11736 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11740 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 Py_INCREF(Py_None
); resultobj
= Py_None
;
11756 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxDC
*arg1
= (wxDC
*) 0 ;
11761 PyObject
* obj0
= 0 ;
11762 PyObject
* obj1
= 0 ;
11763 char *kwnames
[] = {
11764 (char *) "self",(char *) "rect", NULL
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11772 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 Py_INCREF(Py_None
); resultobj
= Py_None
;
11788 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
*resultobj
;
11790 wxDC
*arg1
= (wxDC
*) 0 ;
11794 PyObject
* obj0
= 0 ;
11795 PyObject
* obj1
= 0 ;
11796 PyObject
* obj2
= 0 ;
11797 PyObject
* obj3
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11808 if (arg2
== NULL
) {
11809 PyErr_SetString(PyExc_TypeError
,"null reference");
11812 arg3
= (int) SWIG_AsInt(obj2
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11814 arg4
= (int) SWIG_AsInt(obj3
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 Py_INCREF(Py_None
); resultobj
= Py_None
;
11830 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxDC
*arg1
= (wxDC
*) 0 ;
11834 wxPoint
*arg3
= 0 ;
11836 PyObject
* obj0
= 0 ;
11837 PyObject
* obj1
= 0 ;
11838 PyObject
* obj2
= 0 ;
11839 char *kwnames
[] = {
11840 (char *) "self",(char *) "icon",(char *) "pt", NULL
11843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11849 if (arg2
== NULL
) {
11850 PyErr_SetString(PyExc_TypeError
,"null reference");
11855 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 Py_INCREF(Py_None
); resultobj
= Py_None
;
11871 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11872 PyObject
*resultobj
;
11873 wxDC
*arg1
= (wxDC
*) 0 ;
11874 wxBitmap
*arg2
= 0 ;
11877 bool arg5
= (bool) False
;
11878 PyObject
* obj0
= 0 ;
11879 PyObject
* obj1
= 0 ;
11880 PyObject
* obj2
= 0 ;
11881 PyObject
* obj3
= 0 ;
11882 PyObject
* obj4
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11893 if (arg2
== NULL
) {
11894 PyErr_SetString(PyExc_TypeError
,"null reference");
11897 arg3
= (int) SWIG_AsInt(obj2
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11899 arg4
= (int) SWIG_AsInt(obj3
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11902 arg5
= (bool) SWIG_AsBool(obj4
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 Py_INCREF(Py_None
); resultobj
= Py_None
;
11919 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11920 PyObject
*resultobj
;
11921 wxDC
*arg1
= (wxDC
*) 0 ;
11922 wxBitmap
*arg2
= 0 ;
11923 wxPoint
*arg3
= 0 ;
11924 bool arg4
= (bool) False
;
11926 PyObject
* obj0
= 0 ;
11927 PyObject
* obj1
= 0 ;
11928 PyObject
* obj2
= 0 ;
11929 PyObject
* obj3
= 0 ;
11930 char *kwnames
[] = {
11931 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11940 if (arg2
== NULL
) {
11941 PyErr_SetString(PyExc_TypeError
,"null reference");
11946 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11949 arg4
= (bool) SWIG_AsBool(obj3
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11959 Py_INCREF(Py_None
); resultobj
= Py_None
;
11966 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxDC
*arg1
= (wxDC
*) 0 ;
11969 wxString
*arg2
= 0 ;
11972 bool temp2
= False
;
11973 PyObject
* obj0
= 0 ;
11974 PyObject
* obj1
= 0 ;
11975 PyObject
* obj2
= 0 ;
11976 PyObject
* obj3
= 0 ;
11977 char *kwnames
[] = {
11978 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11985 arg2
= wxString_in_helper(obj1
);
11986 if (arg2
== NULL
) SWIG_fail
;
11989 arg3
= (int) SWIG_AsInt(obj2
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11991 arg4
= (int) SWIG_AsInt(obj3
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12000 Py_INCREF(Py_None
); resultobj
= Py_None
;
12015 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxDC
*arg1
= (wxDC
*) 0 ;
12018 wxString
*arg2
= 0 ;
12019 wxPoint
*arg3
= 0 ;
12020 bool temp2
= False
;
12022 PyObject
* obj0
= 0 ;
12023 PyObject
* obj1
= 0 ;
12024 PyObject
* obj2
= 0 ;
12025 char *kwnames
[] = {
12026 (char *) "self",(char *) "text",(char *) "pt", NULL
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12033 arg2
= wxString_in_helper(obj1
);
12034 if (arg2
== NULL
) SWIG_fail
;
12039 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 Py_INCREF(Py_None
); resultobj
= Py_None
;
12063 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxDC
*arg1
= (wxDC
*) 0 ;
12066 wxString
*arg2
= 0 ;
12070 bool temp2
= False
;
12071 PyObject
* obj0
= 0 ;
12072 PyObject
* obj1
= 0 ;
12073 PyObject
* obj2
= 0 ;
12074 PyObject
* obj3
= 0 ;
12075 PyObject
* obj4
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12084 arg2
= wxString_in_helper(obj1
);
12085 if (arg2
== NULL
) SWIG_fail
;
12088 arg3
= (int) SWIG_AsInt(obj2
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12090 arg4
= (int) SWIG_AsInt(obj3
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12092 arg5
= (double) SWIG_AsDouble(obj4
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 Py_INCREF(Py_None
); resultobj
= Py_None
;
12116 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
*resultobj
;
12118 wxDC
*arg1
= (wxDC
*) 0 ;
12119 wxString
*arg2
= 0 ;
12120 wxPoint
*arg3
= 0 ;
12122 bool temp2
= False
;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 PyObject
* obj2
= 0 ;
12127 PyObject
* obj3
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12136 arg2
= wxString_in_helper(obj1
);
12137 if (arg2
== NULL
) SWIG_fail
;
12142 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12144 arg4
= (double) SWIG_AsDouble(obj3
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 Py_INCREF(Py_None
); resultobj
= Py_None
;
12168 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxDC
*arg1
= (wxDC
*) 0 ;
12175 wxDC
*arg6
= (wxDC
*) 0 ;
12178 int arg9
= (int) wxCOPY
;
12179 bool arg10
= (bool) False
;
12180 int arg11
= (int) -1 ;
12181 int arg12
= (int) -1 ;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 PyObject
* obj2
= 0 ;
12186 PyObject
* obj3
= 0 ;
12187 PyObject
* obj4
= 0 ;
12188 PyObject
* obj5
= 0 ;
12189 PyObject
* obj6
= 0 ;
12190 PyObject
* obj7
= 0 ;
12191 PyObject
* obj8
= 0 ;
12192 PyObject
* obj9
= 0 ;
12193 PyObject
* obj10
= 0 ;
12194 PyObject
* obj11
= 0 ;
12195 char *kwnames
[] = {
12196 (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
12199 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
;
12200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12202 arg2
= (int) SWIG_AsInt(obj1
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12204 arg3
= (int) SWIG_AsInt(obj2
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12206 arg4
= (int) SWIG_AsInt(obj3
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12208 arg5
= (int) SWIG_AsInt(obj4
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12210 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 arg7
= (int) SWIG_AsInt(obj6
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12214 arg8
= (int) SWIG_AsInt(obj7
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 arg9
= (int) SWIG_AsInt(obj8
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12221 arg10
= (bool) SWIG_AsBool(obj9
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12225 arg11
= (int) SWIG_AsInt(obj10
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12229 arg12
= (int) SWIG_AsInt(obj11
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12246 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxDC
*arg1
= (wxDC
*) 0 ;
12249 wxPoint
*arg2
= 0 ;
12251 wxDC
*arg4
= (wxDC
*) 0 ;
12252 wxPoint
*arg5
= 0 ;
12253 int arg6
= (int) wxCOPY
;
12254 bool arg7
= (bool) False
;
12255 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12256 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 PyObject
* obj2
= 0 ;
12265 PyObject
* obj3
= 0 ;
12266 PyObject
* obj4
= 0 ;
12267 PyObject
* obj5
= 0 ;
12268 PyObject
* obj6
= 0 ;
12269 PyObject
* obj7
= 0 ;
12270 char *kwnames
[] = {
12271 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12279 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12283 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12285 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12289 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12292 arg6
= (int) SWIG_AsInt(obj5
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12296 arg7
= (bool) SWIG_AsBool(obj6
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12302 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12319 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxDC
*arg1
= (wxDC
*) 0 ;
12323 wxPoint
*arg3
= (wxPoint
*) 0 ;
12324 int arg4
= (int) 0 ;
12325 int arg5
= (int) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 PyObject
* obj2
= 0 ;
12329 PyObject
* obj3
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12338 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12339 if (arg3
== NULL
) SWIG_fail
;
12342 arg4
= (int) SWIG_AsInt(obj2
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12346 arg5
= (int) SWIG_AsInt(obj3
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 Py_INCREF(Py_None
); resultobj
= Py_None
;
12358 if (arg3
) delete [] arg3
;
12363 if (arg3
) delete [] arg3
;
12369 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxDC
*arg1
= (wxDC
*) 0 ;
12373 wxPoint
*arg3
= (wxPoint
*) 0 ;
12374 int arg4
= (int) 0 ;
12375 int arg5
= (int) 0 ;
12376 int arg6
= (int) wxODDEVEN_RULE
;
12377 PyObject
* obj0
= 0 ;
12378 PyObject
* obj1
= 0 ;
12379 PyObject
* obj2
= 0 ;
12380 PyObject
* obj3
= 0 ;
12381 PyObject
* obj4
= 0 ;
12382 char *kwnames
[] = {
12383 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12390 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12391 if (arg3
== NULL
) SWIG_fail
;
12394 arg4
= (int) SWIG_AsInt(obj2
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12398 arg5
= (int) SWIG_AsInt(obj3
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12402 arg6
= (int) SWIG_AsInt(obj4
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 Py_INCREF(Py_None
); resultobj
= Py_None
;
12414 if (arg3
) delete [] arg3
;
12419 if (arg3
) delete [] arg3
;
12425 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxDC
*arg1
= (wxDC
*) 0 ;
12428 wxString
*arg2
= 0 ;
12430 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12431 int arg5
= (int) -1 ;
12432 bool temp2
= False
;
12434 PyObject
* obj0
= 0 ;
12435 PyObject
* obj1
= 0 ;
12436 PyObject
* obj2
= 0 ;
12437 PyObject
* obj3
= 0 ;
12438 PyObject
* obj4
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12447 arg2
= wxString_in_helper(obj1
);
12448 if (arg2
== NULL
) SWIG_fail
;
12453 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12456 arg4
= (int) SWIG_AsInt(obj3
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12460 arg5
= (int) SWIG_AsInt(obj4
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 Py_INCREF(Py_None
); resultobj
= Py_None
;
12485 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxDC
*arg1
= (wxDC
*) 0 ;
12488 wxString
*arg2
= 0 ;
12489 wxBitmap
*arg3
= 0 ;
12491 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12492 int arg6
= (int) -1 ;
12494 bool temp2
= False
;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 PyObject
* obj2
= 0 ;
12499 PyObject
* obj3
= 0 ;
12500 PyObject
* obj4
= 0 ;
12501 PyObject
* obj5
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12510 arg2
= wxString_in_helper(obj1
);
12511 if (arg2
== NULL
) SWIG_fail
;
12514 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12517 if (arg3
== NULL
) {
12518 PyErr_SetString(PyExc_TypeError
,"null reference");
12523 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12526 arg5
= (int) SWIG_AsInt(obj4
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12530 arg6
= (int) SWIG_AsInt(obj5
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12541 wxRect
* resultptr
;
12542 resultptr
= new wxRect((wxRect
&) result
);
12543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12559 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxDC
*arg1
= (wxDC
*) 0 ;
12563 wxPoint
*arg3
= (wxPoint
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 PyObject
* obj1
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self",(char *) "points", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12574 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12575 if (arg3
== NULL
) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 (arg1
)->DrawSpline(arg2
,arg3
);
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 Py_INCREF(Py_None
); resultobj
= Py_None
;
12586 if (arg3
) delete [] arg3
;
12591 if (arg3
) delete [] arg3
;
12597 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
;
12599 wxDC
*arg1
= (wxDC
*) 0 ;
12600 PyObject
* obj0
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "self", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 Py_INCREF(Py_None
); resultobj
= Py_None
;
12622 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxDC
*arg1
= (wxDC
*) 0 ;
12625 wxString
*arg2
= 0 ;
12627 bool temp2
= False
;
12628 PyObject
* obj0
= 0 ;
12629 PyObject
* obj1
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self",(char *) "message", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12638 arg2
= wxString_in_helper(obj1
);
12639 if (arg2
== NULL
) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12664 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxDC
*arg1
= (wxDC
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 Py_INCREF(Py_None
); resultobj
= Py_None
;
12689 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxDC
*arg1
= (wxDC
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 (arg1
)->StartPage();
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 Py_INCREF(Py_None
); resultobj
= Py_None
;
12714 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
;
12716 wxDC
*arg1
= (wxDC
*) 0 ;
12717 PyObject
* obj0
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 Py_INCREF(Py_None
); resultobj
= Py_None
;
12739 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 wxDC
*arg1
= (wxDC
*) 0 ;
12743 PyObject
* obj0
= 0 ;
12744 PyObject
* obj1
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self",(char *) "font", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12755 if (arg2
== NULL
) {
12756 PyErr_SetString(PyExc_TypeError
,"null reference");
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 (arg1
)->SetFont((wxFont
const &)*arg2
);
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12766 Py_INCREF(Py_None
); resultobj
= Py_None
;
12773 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
*resultobj
;
12775 wxDC
*arg1
= (wxDC
*) 0 ;
12777 PyObject
* obj0
= 0 ;
12778 PyObject
* obj1
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self",(char *) "pen", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12789 if (arg2
== NULL
) {
12790 PyErr_SetString(PyExc_TypeError
,"null reference");
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 (arg1
)->SetPen((wxPen
const &)*arg2
);
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12800 Py_INCREF(Py_None
); resultobj
= Py_None
;
12807 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxDC
*arg1
= (wxDC
*) 0 ;
12810 wxBrush
*arg2
= 0 ;
12811 PyObject
* obj0
= 0 ;
12812 PyObject
* obj1
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self",(char *) "brush", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12823 if (arg2
== NULL
) {
12824 PyErr_SetString(PyExc_TypeError
,"null reference");
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 Py_INCREF(Py_None
); resultobj
= Py_None
;
12841 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxDC
*arg1
= (wxDC
*) 0 ;
12844 wxBrush
*arg2
= 0 ;
12845 PyObject
* obj0
= 0 ;
12846 PyObject
* obj1
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self",(char *) "brush", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12857 if (arg2
== NULL
) {
12858 PyErr_SetString(PyExc_TypeError
,"null reference");
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12868 Py_INCREF(Py_None
); resultobj
= Py_None
;
12875 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12876 PyObject
*resultobj
;
12877 wxDC
*arg1
= (wxDC
*) 0 ;
12879 PyObject
* obj0
= 0 ;
12880 PyObject
* obj1
= 0 ;
12881 char *kwnames
[] = {
12882 (char *) "self",(char *) "mode", NULL
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12888 arg2
= (int) SWIG_AsInt(obj1
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 (arg1
)->SetBackgroundMode(arg2
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 Py_INCREF(Py_None
); resultobj
= Py_None
;
12904 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
;
12906 wxDC
*arg1
= (wxDC
*) 0 ;
12907 wxPalette
*arg2
= 0 ;
12908 PyObject
* obj0
= 0 ;
12909 PyObject
* obj1
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self",(char *) "palette", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12920 if (arg2
== NULL
) {
12921 PyErr_SetString(PyExc_TypeError
,"null reference");
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12931 Py_INCREF(Py_None
); resultobj
= Py_None
;
12938 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxDC
*arg1
= (wxDC
*) 0 ;
12945 PyObject
* obj0
= 0 ;
12946 PyObject
* obj1
= 0 ;
12947 PyObject
* obj2
= 0 ;
12948 PyObject
* obj3
= 0 ;
12949 PyObject
* obj4
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12957 arg2
= (int) SWIG_AsInt(obj1
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12959 arg3
= (int) SWIG_AsInt(obj2
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12961 arg4
= (int) SWIG_AsInt(obj3
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12963 arg5
= (int) SWIG_AsInt(obj4
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 Py_INCREF(Py_None
); resultobj
= Py_None
;
12979 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxDC
*arg1
= (wxDC
*) 0 ;
12982 wxPoint
*arg2
= 0 ;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 PyObject
* obj2
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self",(char *) "pt",(char *) "sz", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12998 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13002 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 Py_INCREF(Py_None
); resultobj
= Py_None
;
13018 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxDC
*arg1
= (wxDC
*) 0 ;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self",(char *) "rect", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13034 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 Py_INCREF(Py_None
); resultobj
= Py_None
;
13050 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxDC
*arg1
= (wxDC
*) 0 ;
13053 wxRegion
*arg2
= 0 ;
13054 PyObject
* obj0
= 0 ;
13055 PyObject
* obj1
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self",(char *) "region", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13066 if (arg2
== NULL
) {
13067 PyErr_SetString(PyExc_TypeError
,"null reference");
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 Py_INCREF(Py_None
); resultobj
= Py_None
;
13084 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxDC
*arg1
= (wxDC
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 (arg1
)->DestroyClippingRegion();
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 Py_INCREF(Py_None
); resultobj
= Py_None
;
13109 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
;
13111 wxDC
*arg1
= (wxDC
*) 0 ;
13112 int *arg2
= (int *) 0 ;
13113 int *arg3
= (int *) 0 ;
13114 int *arg4
= (int *) 0 ;
13115 int *arg5
= (int *) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 Py_INCREF(Py_None
); resultobj
= Py_None
;
13141 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13142 resultobj
= t_output_helper(resultobj
,o
);
13145 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13146 resultobj
= t_output_helper(resultobj
,o
);
13149 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13150 resultobj
= t_output_helper(resultobj
,o
);
13153 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13154 resultobj
= t_output_helper(resultobj
,o
);
13162 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13163 PyObject
*resultobj
;
13164 wxDC
*arg1
= (wxDC
*) 0 ;
13166 PyObject
* obj0
= 0 ;
13167 char *kwnames
[] = {
13168 (char *) "self", NULL
13171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= wxDC_GetClippingRect(arg1
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13182 wxRect
* resultptr
;
13183 resultptr
= new wxRect((wxRect
&) result
);
13184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13192 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxDC
*arg1
= (wxDC
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 char *kwnames
[] = {
13198 (char *) "self", NULL
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= SWIG_FromInt((int)result
);
13218 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
;
13220 wxDC
*arg1
= (wxDC
*) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= SWIG_FromInt((int)result
);
13244 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxDC
*arg1
= (wxDC
*) 0 ;
13247 wxString
*arg2
= 0 ;
13248 int *arg3
= (int *) 0 ;
13249 int *arg4
= (int *) 0 ;
13250 bool temp2
= False
;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 char *kwnames
[] = {
13256 (char *) "self",(char *) "string", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13265 arg2
= wxString_in_helper(obj1
);
13266 if (arg2
== NULL
) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 Py_INCREF(Py_None
); resultobj
= Py_None
;
13278 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13279 resultobj
= t_output_helper(resultobj
,o
);
13282 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13283 resultobj
= t_output_helper(resultobj
,o
);
13299 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxDC
*arg1
= (wxDC
*) 0 ;
13302 wxString
*arg2
= 0 ;
13303 int *arg3
= (int *) 0 ;
13304 int *arg4
= (int *) 0 ;
13305 int *arg5
= (int *) 0 ;
13306 int *arg6
= (int *) 0 ;
13307 wxFont
*arg7
= (wxFont
*) NULL
;
13308 bool temp2
= False
;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 PyObject
* obj2
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self",(char *) "string",(char *) "font", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13328 arg2
= wxString_in_helper(obj1
);
13329 if (arg2
== NULL
) SWIG_fail
;
13333 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 Py_INCREF(Py_None
); resultobj
= Py_None
;
13345 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13346 resultobj
= t_output_helper(resultobj
,o
);
13349 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13350 resultobj
= t_output_helper(resultobj
,o
);
13353 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13354 resultobj
= t_output_helper(resultobj
,o
);
13357 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13358 resultobj
= t_output_helper(resultobj
,o
);
13374 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxDC
*arg1
= (wxDC
*) 0 ;
13377 wxString
*arg2
= 0 ;
13378 int *arg3
= (int *) 0 ;
13379 int *arg4
= (int *) 0 ;
13380 int *arg5
= (int *) 0 ;
13381 wxFont
*arg6
= (wxFont
*) NULL
;
13382 bool temp2
= False
;
13386 PyObject
* obj0
= 0 ;
13387 PyObject
* obj1
= 0 ;
13388 PyObject
* obj2
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self",(char *) "text",(char *) "font", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13400 arg2
= wxString_in_helper(obj1
);
13401 if (arg2
== NULL
) SWIG_fail
;
13405 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 Py_INCREF(Py_None
); resultobj
= Py_None
;
13417 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13418 resultobj
= t_output_helper(resultobj
,o
);
13421 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13422 resultobj
= t_output_helper(resultobj
,o
);
13425 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13426 resultobj
= t_output_helper(resultobj
,o
);
13442 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxDC
*arg1
= (wxDC
*) 0 ;
13445 wxString
*arg2
= 0 ;
13447 bool temp2
= False
;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self",(char *) "text", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13458 arg2
= wxString_in_helper(obj1
);
13459 if (arg2
== NULL
) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= PyList_New(0);
13472 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13473 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13474 PyList_Append(resultobj
, val
);
13492 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxDC
*arg1
= (wxDC
*) 0 ;
13496 PyObject
* obj0
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "self", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= (arg1
)->GetSize();
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13512 wxSize
* resultptr
;
13513 resultptr
= new wxSize((wxSize
&) result
);
13514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13522 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
;
13524 wxDC
*arg1
= (wxDC
*) 0 ;
13525 int *arg2
= (int *) 0 ;
13526 int *arg3
= (int *) 0 ;
13529 PyObject
* obj0
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 (arg1
)->GetSize(arg2
,arg3
);
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 Py_INCREF(Py_None
); resultobj
= Py_None
;
13548 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13549 resultobj
= t_output_helper(resultobj
,o
);
13552 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13553 resultobj
= t_output_helper(resultobj
,o
);
13561 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxDC
*arg1
= (wxDC
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13581 wxSize
* resultptr
;
13582 resultptr
= new wxSize((wxSize
&) result
);
13583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13591 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
;
13593 wxDC
*arg1
= (wxDC
*) 0 ;
13594 int *arg2
= (int *) 0 ;
13595 int *arg3
= (int *) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "self", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 Py_INCREF(Py_None
); resultobj
= Py_None
;
13617 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13618 resultobj
= t_output_helper(resultobj
,o
);
13621 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13622 resultobj
= t_output_helper(resultobj
,o
);
13630 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxDC
*arg1
= (wxDC
*) 0 ;
13635 PyObject
* obj0
= 0 ;
13636 PyObject
* obj1
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "self",(char *) "x", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13644 arg2
= (int) SWIG_AsInt(obj1
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_FromInt((int)result
);
13660 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxDC
*arg1
= (wxDC
*) 0 ;
13665 PyObject
* obj0
= 0 ;
13666 PyObject
* obj1
= 0 ;
13667 char *kwnames
[] = {
13668 (char *) "self",(char *) "y", NULL
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13674 arg2
= (int) SWIG_AsInt(obj1
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= SWIG_FromInt((int)result
);
13690 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
;
13692 wxDC
*arg1
= (wxDC
*) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 char *kwnames
[] = {
13698 (char *) "self",(char *) "x", NULL
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13704 arg2
= (int) SWIG_AsInt(obj1
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_FromInt((int)result
);
13720 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxDC
*arg1
= (wxDC
*) 0 ;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 char *kwnames
[] = {
13728 (char *) "self",(char *) "y", NULL
13731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13734 arg2
= (int) SWIG_AsInt(obj1
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_FromInt((int)result
);
13750 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxDC
*arg1
= (wxDC
*) 0 ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 char *kwnames
[] = {
13758 (char *) "self",(char *) "x", NULL
13761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13764 arg2
= (int) SWIG_AsInt(obj1
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= SWIG_FromInt((int)result
);
13780 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxDC
*arg1
= (wxDC
*) 0 ;
13785 PyObject
* obj0
= 0 ;
13786 PyObject
* obj1
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "self",(char *) "y", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13794 arg2
= (int) SWIG_AsInt(obj1
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= SWIG_FromInt((int)result
);
13810 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxDC
*arg1
= (wxDC
*) 0 ;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self",(char *) "x", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13824 arg2
= (int) SWIG_AsInt(obj1
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_FromInt((int)result
);
13840 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
;
13842 wxDC
*arg1
= (wxDC
*) 0 ;
13845 PyObject
* obj0
= 0 ;
13846 PyObject
* obj1
= 0 ;
13847 char *kwnames
[] = {
13848 (char *) "self",(char *) "y", NULL
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13854 arg2
= (int) SWIG_AsInt(obj1
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= SWIG_FromInt((int)result
);
13870 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
;
13872 wxDC
*arg1
= (wxDC
*) 0 ;
13874 PyObject
* obj0
= 0 ;
13875 char *kwnames
[] = {
13876 (char *) "self", NULL
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13896 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxDC
*arg1
= (wxDC
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13922 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
;
13924 wxDC
*arg1
= (wxDC
*) 0 ;
13926 PyObject
* obj0
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "self", NULL
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= SWIG_FromInt((int)result
);
13948 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
;
13950 wxDC
*arg1
= (wxDC
*) 0 ;
13952 PyObject
* obj0
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "self", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= ((wxDC
const *)arg1
)->GetPPI();
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 wxSize
* resultptr
;
13969 resultptr
= new wxSize((wxSize
&) result
);
13970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13978 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxDC
*arg1
= (wxDC
*) 0 ;
13982 PyObject
* obj0
= 0 ;
13983 char *kwnames
[] = {
13984 (char *) "self", NULL
13987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= (bool)((wxDC
const *)arg1
)->Ok();
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14004 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
;
14006 wxDC
*arg1
= (wxDC
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= SWIG_FromInt((int)result
);
14030 static PyObject
*_wrap_DC_GetBackground(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_GetBackground",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();
14045 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14046 result
= (wxBrush
*) &_result_ref
;
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
14059 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
;
14061 wxDC
*arg1
= (wxDC
*) 0 ;
14063 PyObject
* obj0
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "self", NULL
14068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14075 result
= (wxBrush
*) &_result_ref
;
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
14088 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxDC
*arg1
= (wxDC
*) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14104 result
= (wxFont
*) &_result_ref
;
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
14117 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14118 PyObject
*resultobj
;
14119 wxDC
*arg1
= (wxDC
*) 0 ;
14121 PyObject
* obj0
= 0 ;
14122 char *kwnames
[] = {
14123 (char *) "self", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14133 result
= (wxPen
*) &_result_ref
;
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
14146 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxDC
*arg1
= (wxDC
*) 0 ;
14150 PyObject
* obj0
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14162 result
= (wxColour
*) &_result_ref
;
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14175 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxDC
*arg1
= (wxDC
*) 0 ;
14179 PyObject
* obj0
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14191 result
= (wxColour
*) &_result_ref
;
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14204 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
;
14206 wxDC
*arg1
= (wxDC
*) 0 ;
14207 wxColour
*arg2
= 0 ;
14209 PyObject
* obj0
= 0 ;
14210 PyObject
* obj1
= 0 ;
14211 char *kwnames
[] = {
14212 (char *) "self",(char *) "colour", NULL
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14220 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 Py_INCREF(Py_None
); resultobj
= Py_None
;
14236 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxDC
*arg1
= (wxDC
*) 0 ;
14239 wxColour
*arg2
= 0 ;
14241 PyObject
* obj0
= 0 ;
14242 PyObject
* obj1
= 0 ;
14243 char *kwnames
[] = {
14244 (char *) "self",(char *) "colour", NULL
14247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14252 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 Py_INCREF(Py_None
); resultobj
= Py_None
;
14268 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxDC
*arg1
= (wxDC
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "self", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= SWIG_FromInt((int)result
);
14294 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxDC
*arg1
= (wxDC
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 PyObject
* obj1
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self",(char *) "mode", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14307 arg2
= (int) SWIG_AsInt(obj1
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 (arg1
)->SetMapMode(arg2
);
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 Py_INCREF(Py_None
); resultobj
= Py_None
;
14323 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxDC
*arg1
= (wxDC
*) 0 ;
14326 double *arg2
= (double *) 0 ;
14327 double *arg3
= (double *) 0 ;
14330 PyObject
* obj0
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 Py_INCREF(Py_None
); resultobj
= Py_None
;
14349 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14350 resultobj
= t_output_helper(resultobj
,o
);
14353 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14354 resultobj
= t_output_helper(resultobj
,o
);
14362 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxDC
*arg1
= (wxDC
*) 0 ;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 PyObject
* obj2
= 0 ;
14370 char *kwnames
[] = {
14371 (char *) "self",(char *) "x",(char *) "y", NULL
14374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14377 arg2
= (double) SWIG_AsDouble(obj1
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14379 arg3
= (double) SWIG_AsDouble(obj2
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 (arg1
)->SetUserScale(arg2
,arg3
);
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 Py_INCREF(Py_None
); resultobj
= Py_None
;
14395 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 wxDC
*arg1
= (wxDC
*) 0 ;
14398 double *arg2
= (double *) 0 ;
14399 double *arg3
= (double *) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self", NULL
14409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 (arg1
)->GetLogicalScale(arg2
,arg3
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 Py_INCREF(Py_None
); resultobj
= Py_None
;
14421 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14422 resultobj
= t_output_helper(resultobj
,o
);
14425 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14426 resultobj
= t_output_helper(resultobj
,o
);
14434 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
;
14436 wxDC
*arg1
= (wxDC
*) 0 ;
14439 PyObject
* obj0
= 0 ;
14440 PyObject
* obj1
= 0 ;
14441 PyObject
* obj2
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self",(char *) "x",(char *) "y", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14449 arg2
= (double) SWIG_AsDouble(obj1
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14451 arg3
= (double) SWIG_AsDouble(obj2
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 (arg1
)->SetLogicalScale(arg2
,arg3
);
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14460 Py_INCREF(Py_None
); resultobj
= Py_None
;
14467 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
;
14469 wxDC
*arg1
= (wxDC
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14487 wxPoint
* resultptr
;
14488 resultptr
= new wxPoint((wxPoint
&) result
);
14489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14497 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxDC
*arg1
= (wxDC
*) 0 ;
14500 int *arg2
= (int *) 0 ;
14501 int *arg3
= (int *) 0 ;
14504 PyObject
* obj0
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self", NULL
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 Py_INCREF(Py_None
); resultobj
= Py_None
;
14523 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14524 resultobj
= t_output_helper(resultobj
,o
);
14527 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14528 resultobj
= t_output_helper(resultobj
,o
);
14536 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
;
14538 wxDC
*arg1
= (wxDC
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 PyObject
* obj1
= 0 ;
14543 PyObject
* obj2
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self",(char *) "x",(char *) "y", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14551 arg2
= (int) SWIG_AsInt(obj1
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14553 arg3
= (int) SWIG_AsInt(obj2
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 Py_INCREF(Py_None
); resultobj
= Py_None
;
14569 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
;
14571 wxDC
*arg1
= (wxDC
*) 0 ;
14573 PyObject
* obj0
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14589 wxPoint
* resultptr
;
14590 resultptr
= new wxPoint((wxPoint
&) result
);
14591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14599 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxDC
*arg1
= (wxDC
*) 0 ;
14602 int *arg2
= (int *) 0 ;
14603 int *arg3
= (int *) 0 ;
14606 PyObject
* obj0
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 Py_INCREF(Py_None
); resultobj
= Py_None
;
14625 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14626 resultobj
= t_output_helper(resultobj
,o
);
14629 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14630 resultobj
= t_output_helper(resultobj
,o
);
14638 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxDC
*arg1
= (wxDC
*) 0 ;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 PyObject
* obj2
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "self",(char *) "x",(char *) "y", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14653 arg2
= (int) SWIG_AsInt(obj1
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14655 arg3
= (int) SWIG_AsInt(obj2
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 Py_INCREF(Py_None
); resultobj
= Py_None
;
14671 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxDC
*arg1
= (wxDC
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 PyObject
* obj1
= 0 ;
14678 PyObject
* obj2
= 0 ;
14679 char *kwnames
[] = {
14680 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14686 arg2
= (bool) SWIG_AsBool(obj1
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14688 arg3
= (bool) SWIG_AsBool(obj2
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14697 Py_INCREF(Py_None
); resultobj
= Py_None
;
14704 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxDC
*arg1
= (wxDC
*) 0 ;
14708 PyObject
* obj0
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= SWIG_FromInt((int)result
);
14730 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxDC
*arg1
= (wxDC
*) 0 ;
14734 PyObject
* obj0
= 0 ;
14735 PyObject
* obj1
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self",(char *) "function", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14743 arg2
= (int) SWIG_AsInt(obj1
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 (arg1
)->SetLogicalFunction(arg2
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 Py_INCREF(Py_None
); resultobj
= Py_None
;
14759 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxDC
*arg1
= (wxDC
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 PyObject
* obj1
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self",(char *) "opt", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14772 arg2
= (bool) SWIG_AsBool(obj1
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 (arg1
)->SetOptimization(arg2
);
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 Py_INCREF(Py_None
); resultobj
= Py_None
;
14788 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxDC
*arg1
= (wxDC
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (bool)(arg1
)->GetOptimization();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14814 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxDC
*arg1
= (wxDC
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 PyObject
* obj1
= 0 ;
14821 PyObject
* obj2
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self",(char *) "x",(char *) "y", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14829 arg2
= (int) SWIG_AsInt(obj1
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14831 arg3
= (int) SWIG_AsInt(obj2
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 Py_INCREF(Py_None
); resultobj
= Py_None
;
14847 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxDC
*arg1
= (wxDC
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 char *kwnames
[] = {
14852 (char *) "self", NULL
14855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 (arg1
)->ResetBoundingBox();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 Py_INCREF(Py_None
); resultobj
= Py_None
;
14872 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
;
14874 wxDC
*arg1
= (wxDC
*) 0 ;
14876 PyObject
* obj0
= 0 ;
14877 char *kwnames
[] = {
14878 (char *) "self", NULL
14881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (int)((wxDC
const *)arg1
)->MinX();
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= SWIG_FromInt((int)result
);
14898 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxDC
*arg1
= (wxDC
*) 0 ;
14902 PyObject
* obj0
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 result
= (int)((wxDC
const *)arg1
)->MaxX();
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14917 resultobj
= SWIG_FromInt((int)result
);
14924 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxDC
*arg1
= (wxDC
*) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (int)((wxDC
const *)arg1
)->MinY();
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= SWIG_FromInt((int)result
);
14950 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
;
14952 wxDC
*arg1
= (wxDC
*) 0 ;
14954 PyObject
* obj0
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (int)((wxDC
const *)arg1
)->MaxY();
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_FromInt((int)result
);
14976 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 wxDC
*arg1
= (wxDC
*) 0 ;
14979 int *arg2
= (int *) 0 ;
14980 int *arg3
= (int *) 0 ;
14981 int *arg4
= (int *) 0 ;
14982 int *arg5
= (int *) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 Py_INCREF(Py_None
); resultobj
= Py_None
;
15008 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15009 resultobj
= t_output_helper(resultobj
,o
);
15012 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15013 resultobj
= t_output_helper(resultobj
,o
);
15016 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15017 resultobj
= t_output_helper(resultobj
,o
);
15020 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
15021 resultobj
= t_output_helper(resultobj
,o
);
15029 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxDC
*arg1
= (wxDC
*) 0 ;
15032 PyObject
*arg2
= (PyObject
*) 0 ;
15033 PyObject
*arg3
= (PyObject
*) 0 ;
15034 PyObject
*arg4
= (PyObject
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 PyObject
* obj2
= 0 ;
15039 PyObject
* obj3
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= result
;
15064 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
;
15066 wxDC
*arg1
= (wxDC
*) 0 ;
15067 PyObject
*arg2
= (PyObject
*) 0 ;
15068 PyObject
*arg3
= (PyObject
*) 0 ;
15069 PyObject
*arg4
= (PyObject
*) 0 ;
15071 PyObject
* obj0
= 0 ;
15072 PyObject
* obj1
= 0 ;
15073 PyObject
* obj2
= 0 ;
15074 PyObject
* obj3
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15092 resultobj
= result
;
15099 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxDC
*arg1
= (wxDC
*) 0 ;
15102 PyObject
*arg2
= (PyObject
*) 0 ;
15103 PyObject
*arg3
= (PyObject
*) 0 ;
15104 PyObject
*arg4
= (PyObject
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 PyObject
* obj2
= 0 ;
15109 PyObject
* obj3
= 0 ;
15110 char *kwnames
[] = {
15111 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= result
;
15134 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
;
15136 wxDC
*arg1
= (wxDC
*) 0 ;
15137 PyObject
*arg2
= (PyObject
*) 0 ;
15138 PyObject
*arg3
= (PyObject
*) 0 ;
15139 PyObject
*arg4
= (PyObject
*) 0 ;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15143 PyObject
* obj2
= 0 ;
15144 PyObject
* obj3
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= result
;
15169 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15171 wxDC
*arg1
= (wxDC
*) 0 ;
15172 PyObject
*arg2
= (PyObject
*) 0 ;
15173 PyObject
*arg3
= (PyObject
*) 0 ;
15174 PyObject
*arg4
= (PyObject
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 PyObject
* obj1
= 0 ;
15178 PyObject
* obj2
= 0 ;
15179 PyObject
* obj3
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= result
;
15204 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxDC
*arg1
= (wxDC
*) 0 ;
15207 PyObject
*arg2
= (PyObject
*) 0 ;
15208 PyObject
*arg3
= (PyObject
*) 0 ;
15209 PyObject
*arg4
= (PyObject
*) 0 ;
15210 PyObject
*arg5
= (PyObject
*) 0 ;
15212 PyObject
* obj0
= 0 ;
15213 PyObject
* obj1
= 0 ;
15214 PyObject
* obj2
= 0 ;
15215 PyObject
* obj3
= 0 ;
15216 PyObject
* obj4
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= result
;
15242 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15245 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15247 return Py_BuildValue((char *)"");
15249 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxMemoryDC
*result
;
15252 char *kwnames
[] = {
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 result
= (wxMemoryDC
*)new wxMemoryDC();
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15271 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15273 wxDC
*arg1
= (wxDC
*) 0 ;
15274 wxMemoryDC
*result
;
15275 PyObject
* obj0
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "oldDC", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15297 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15300 wxBitmap
*arg2
= 0 ;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self",(char *) "bitmap", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15313 if (arg2
== NULL
) {
15314 PyErr_SetString(PyExc_TypeError
,"null reference");
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 Py_INCREF(Py_None
); resultobj
= Py_None
;
15331 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15334 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15336 return Py_BuildValue((char *)"");
15338 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15339 PyObject
*resultobj
;
15340 wxDC
*arg1
= (wxDC
*) 0 ;
15341 wxBitmap
*arg2
= 0 ;
15342 wxBufferedDC
*result
;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15346 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15352 if (arg2
== NULL
) {
15353 PyErr_SetString(PyExc_TypeError
,"null reference");
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15370 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15371 PyObject
*resultobj
;
15372 wxDC
*arg1
= (wxDC
*) 0 ;
15374 wxBufferedDC
*result
;
15376 PyObject
* obj0
= 0 ;
15377 PyObject
* obj1
= 0 ;
15379 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15384 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15400 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15405 argc
= PyObject_Length(args
);
15406 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15407 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15413 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15423 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15431 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15439 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15448 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15451 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15456 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15461 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15462 PyObject
*resultobj
;
15463 wxDC
*arg1
= (wxDC
*) 0 ;
15465 wxBufferedDC
*result
;
15467 PyObject
* obj0
= 0 ;
15468 PyObject
* obj1
= 0 ;
15470 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15491 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
;
15493 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 Py_INCREF(Py_None
); resultobj
= Py_None
;
15516 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 Py_INCREF(Py_None
); resultobj
= Py_None
;
15541 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15544 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15546 return Py_BuildValue((char *)"");
15548 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
;
15550 wxWindow
*arg1
= (wxWindow
*) 0 ;
15551 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15552 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15553 wxBufferedPaintDC
*result
;
15554 PyObject
* obj0
= 0 ;
15555 PyObject
* obj1
= 0 ;
15556 char *kwnames
[] = {
15557 (char *) "window",(char *) "buffer", NULL
15560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15567 if (arg2
== NULL
) {
15568 PyErr_SetString(PyExc_TypeError
,"null reference");
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15586 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15589 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15591 return Py_BuildValue((char *)"");
15593 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
;
15595 wxScreenDC
*result
;
15596 char *kwnames
[] = {
15600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 result
= (wxScreenDC
*)new wxScreenDC();
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15615 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15617 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15618 wxWindow
*arg2
= (wxWindow
*) 0 ;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 char *kwnames
[] = {
15623 (char *) "self",(char *) "window", NULL
15626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15645 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15648 wxRect
*arg2
= (wxRect
*) NULL
;
15650 PyObject
* obj0
= 0 ;
15651 PyObject
* obj1
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self",(char *) "rect", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15677 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15681 PyObject
* obj0
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "self", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (bool)(arg1
)->EndDrawingOnTop();
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15703 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15706 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15708 return Py_BuildValue((char *)"");
15710 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxWindow
*arg1
= (wxWindow
*) 0 ;
15713 wxClientDC
*result
;
15714 PyObject
* obj0
= 0 ;
15715 char *kwnames
[] = {
15716 (char *) "win", NULL
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 result
= (wxClientDC
*)new wxClientDC(arg1
);
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15736 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15739 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15741 return Py_BuildValue((char *)"");
15743 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxWindow
*arg1
= (wxWindow
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "win", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15769 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15772 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15774 return Py_BuildValue((char *)"");
15776 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxWindow
*arg1
= (wxWindow
*) 0 ;
15779 wxWindowDC
*result
;
15780 PyObject
* obj0
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "win", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15802 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15805 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15807 return Py_BuildValue((char *)"");
15809 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
;
15813 wxMirrorDC
*result
;
15814 PyObject
* obj0
= 0 ;
15815 PyObject
* obj1
= 0 ;
15816 char *kwnames
[] = {
15817 (char *) "dc",(char *) "mirror", NULL
15820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15824 if (arg1
== NULL
) {
15825 PyErr_SetString(PyExc_TypeError
,"null reference");
15828 arg2
= (bool) SWIG_AsBool(obj1
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15844 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15847 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15849 return Py_BuildValue((char *)"");
15851 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
;
15853 wxPrintData
*arg1
= 0 ;
15854 wxPostScriptDC
*result
;
15855 PyObject
* obj0
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "printData", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15864 if (arg1
== NULL
) {
15865 PyErr_SetString(PyExc_TypeError
,"null reference");
15869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15870 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15872 wxPyEndAllowThreads(__tstate
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15882 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
;
15884 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15885 wxPrintData
*result
;
15886 PyObject
* obj0
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "self", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15898 result
= (wxPrintData
*) &_result_ref
;
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15911 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15914 wxPrintData
*arg2
= 0 ;
15915 PyObject
* obj0
= 0 ;
15916 PyObject
* obj1
= 0 ;
15917 char *kwnames
[] = {
15918 (char *) "self",(char *) "data", NULL
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15927 if (arg2
== NULL
) {
15928 PyErr_SetString(PyExc_TypeError
,"null reference");
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 Py_INCREF(Py_None
); resultobj
= Py_None
;
15945 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15948 PyObject
* obj0
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "ppi", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15954 arg1
= (int) SWIG_AsInt(obj0
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 wxPostScriptDC::SetResolution(arg1
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 Py_INCREF(Py_None
); resultobj
= Py_None
;
15970 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15973 char *kwnames
[] = {
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 result
= (int)wxPostScriptDC::GetResolution();
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= SWIG_FromInt((int)result
);
15992 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15995 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15997 return Py_BuildValue((char *)"");
15999 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16002 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16003 wxMetaFile
*result
;
16004 bool temp1
= False
;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "filename", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16013 arg1
= wxString_in_helper(obj0
);
16014 if (arg1
== NULL
) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16040 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16043 PyObject
* obj0
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16058 Py_INCREF(Py_None
); resultobj
= Py_None
;
16065 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
;
16067 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16069 PyObject
* obj0
= 0 ;
16070 char *kwnames
[] = {
16071 (char *) "self", NULL
16074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= (bool)(arg1
)->Ok();
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16091 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16094 int arg2
= (int) 0 ;
16095 int arg3
= (int) 0 ;
16097 PyObject
* obj0
= 0 ;
16098 PyObject
* obj1
= 0 ;
16099 PyObject
* obj2
= 0 ;
16100 char *kwnames
[] = {
16101 (char *) "self",(char *) "width",(char *) "height", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16108 arg2
= (int) SWIG_AsInt(obj1
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16112 arg3
= (int) SWIG_AsInt(obj2
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16129 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16133 PyObject
* obj0
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (arg1
)->GetSize();
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16149 wxSize
* resultptr
;
16150 resultptr
= new wxSize((wxSize
&) result
);
16151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16159 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
;
16161 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16163 PyObject
* obj0
= 0 ;
16164 char *kwnames
[] = {
16165 (char *) "self", NULL
16168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 result
= (int)(arg1
)->GetWidth();
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= SWIG_FromInt((int)result
);
16185 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16189 PyObject
* obj0
= 0 ;
16190 char *kwnames
[] = {
16191 (char *) "self", NULL
16194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 result
= (int)(arg1
)->GetHeight();
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16204 resultobj
= SWIG_FromInt((int)result
);
16211 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16215 PyObject
* obj0
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
16227 result
= (wxString
*) &_result_ref
;
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16237 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16246 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
16248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16249 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16251 return Py_BuildValue((char *)"");
16253 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16256 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16257 int arg2
= (int) 0 ;
16258 int arg3
= (int) 0 ;
16259 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16260 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16261 wxMetaFileDC
*result
;
16262 bool temp1
= False
;
16263 bool temp4
= False
;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 PyObject
* obj2
= 0 ;
16267 PyObject
* obj3
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16275 arg1
= wxString_in_helper(obj0
);
16276 if (arg1
== NULL
) SWIG_fail
;
16281 arg2
= (int) SWIG_AsInt(obj1
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16285 arg3
= (int) SWIG_AsInt(obj2
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16290 arg4
= wxString_in_helper(obj3
);
16291 if (arg4
== NULL
) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16325 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16328 wxMetaFile
*result
;
16329 PyObject
* obj0
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self", NULL
16334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16339 result
= (wxMetaFile
*)(arg1
)->Close();
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16351 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16354 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16356 return Py_BuildValue((char *)"");
16358 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxPrintData
*arg1
= 0 ;
16361 wxPrinterDC
*result
;
16362 PyObject
* obj0
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "printData", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16371 if (arg1
== NULL
) {
16372 PyErr_SetString(PyExc_TypeError
,"null reference");
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16389 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16392 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16394 return Py_BuildValue((char *)"");
16396 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16400 int arg3
= (int) True
;
16401 int arg4
= (int) 1 ;
16402 wxImageList
*result
;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 PyObject
* obj2
= 0 ;
16406 PyObject
* obj3
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16412 arg1
= (int) SWIG_AsInt(obj0
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16414 arg2
= (int) SWIG_AsInt(obj1
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16417 arg3
= (int) SWIG_AsInt(obj2
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16421 arg4
= (int) SWIG_AsInt(obj3
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= wxPyMake_wxObject(result
);
16440 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxImageList
*arg1
= (wxImageList
*) 0 ;
16443 PyObject
* obj0
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 Py_INCREF(Py_None
); resultobj
= Py_None
;
16465 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16466 PyObject
*resultobj
;
16467 wxImageList
*arg1
= (wxImageList
*) 0 ;
16468 wxBitmap
*arg2
= 0 ;
16469 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16470 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16472 PyObject
* obj0
= 0 ;
16473 PyObject
* obj1
= 0 ;
16474 PyObject
* obj2
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16485 if (arg2
== NULL
) {
16486 PyErr_SetString(PyExc_TypeError
,"null reference");
16490 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16493 if (arg3
== NULL
) {
16494 PyErr_SetString(PyExc_TypeError
,"null reference");
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= SWIG_FromInt((int)result
);
16512 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
;
16514 wxImageList
*arg1
= (wxImageList
*) 0 ;
16515 wxBitmap
*arg2
= 0 ;
16516 wxColour
*arg3
= 0 ;
16519 PyObject
* obj0
= 0 ;
16520 PyObject
* obj1
= 0 ;
16521 PyObject
* obj2
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16532 if (arg2
== NULL
) {
16533 PyErr_SetString(PyExc_TypeError
,"null reference");
16538 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= SWIG_FromInt((int)result
);
16554 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16555 PyObject
*resultobj
;
16556 wxImageList
*arg1
= (wxImageList
*) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self",(char *) "icon", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16571 if (arg2
== NULL
) {
16572 PyErr_SetString(PyExc_TypeError
,"null reference");
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= SWIG_FromInt((int)result
);
16589 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 wxImageList
*arg1
= (wxImageList
*) 0 ;
16593 wxBitmap
*arg3
= 0 ;
16594 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
16595 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
16597 PyObject
* obj0
= 0 ;
16598 PyObject
* obj1
= 0 ;
16599 PyObject
* obj2
= 0 ;
16600 PyObject
* obj3
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16608 arg2
= (int) SWIG_AsInt(obj1
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16610 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16613 if (arg3
== NULL
) {
16614 PyErr_SetString(PyExc_TypeError
,"null reference");
16618 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16621 if (arg4
== NULL
) {
16622 PyErr_SetString(PyExc_TypeError
,"null reference");
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16640 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxImageList
*arg1
= (wxImageList
*) 0 ;
16647 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16648 bool arg7
= (bool) (bool)False
;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 PyObject
* obj2
= 0 ;
16653 PyObject
* obj3
= 0 ;
16654 PyObject
* obj4
= 0 ;
16655 PyObject
* obj5
= 0 ;
16656 PyObject
* obj6
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16664 arg2
= (int) SWIG_AsInt(obj1
);
16665 if (PyErr_Occurred()) SWIG_fail
;
16666 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16669 if (arg3
== NULL
) {
16670 PyErr_SetString(PyExc_TypeError
,"null reference");
16673 arg4
= (int) SWIG_AsInt(obj3
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16675 arg5
= (int) SWIG_AsInt(obj4
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 arg6
= (int) SWIG_AsInt(obj5
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16682 arg7
= (bool const) SWIG_AsBool(obj6
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16699 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
;
16701 wxImageList
*arg1
= (wxImageList
*) 0 ;
16703 PyObject
* obj0
= 0 ;
16704 char *kwnames
[] = {
16705 (char *) "self", NULL
16708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (int)(arg1
)->GetImageCount();
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= SWIG_FromInt((int)result
);
16725 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxImageList
*arg1
= (wxImageList
*) 0 ;
16730 PyObject
* obj0
= 0 ;
16731 PyObject
* obj1
= 0 ;
16732 char *kwnames
[] = {
16733 (char *) "self",(char *) "index", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16739 arg2
= (int) SWIG_AsInt(obj1
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 result
= (bool)(arg1
)->Remove(arg2
);
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16755 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16757 wxImageList
*arg1
= (wxImageList
*) 0 ;
16759 PyObject
* obj0
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "self", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 result
= (bool)(arg1
)->RemoveAll();
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16781 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxImageList
*arg1
= (wxImageList
*) 0 ;
16789 PyObject
* obj0
= 0 ;
16790 PyObject
* obj1
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "self",(char *) "index", NULL
16797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16800 arg2
= (int) SWIG_AsInt(obj1
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 Py_INCREF(Py_None
); resultobj
= Py_None
;
16811 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16812 resultobj
= t_output_helper(resultobj
,o
);
16815 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16816 resultobj
= t_output_helper(resultobj
,o
);
16824 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16827 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16829 return Py_BuildValue((char *)"");
16831 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16832 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16837 static PyObject
*_wrap_NORMAL_FONT_get() {
16840 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16845 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16846 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16851 static PyObject
*_wrap_SMALL_FONT_get() {
16854 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16859 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16860 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16865 static PyObject
*_wrap_ITALIC_FONT_get() {
16868 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16873 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16874 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16879 static PyObject
*_wrap_SWISS_FONT_get() {
16882 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16887 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16888 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16893 static PyObject
*_wrap_RED_PEN_get() {
16896 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16901 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16902 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16907 static PyObject
*_wrap_CYAN_PEN_get() {
16910 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16915 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16916 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16921 static PyObject
*_wrap_GREEN_PEN_get() {
16924 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16929 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16930 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16935 static PyObject
*_wrap_BLACK_PEN_get() {
16938 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16943 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16944 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16949 static PyObject
*_wrap_WHITE_PEN_get() {
16952 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16957 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16958 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16963 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16966 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16971 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16972 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16977 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16980 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16985 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16986 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16991 static PyObject
*_wrap_GREY_PEN_get() {
16994 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16999 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
17000 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17005 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17008 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17013 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
17014 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17019 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17022 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17027 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
17028 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17033 static PyObject
*_wrap_BLUE_BRUSH_get() {
17036 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17041 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
17042 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17047 static PyObject
*_wrap_GREEN_BRUSH_get() {
17050 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17055 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
17056 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17061 static PyObject
*_wrap_WHITE_BRUSH_get() {
17064 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17069 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
17070 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17075 static PyObject
*_wrap_BLACK_BRUSH_get() {
17078 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17083 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
17084 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17089 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17092 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17097 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
17098 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17103 static PyObject
*_wrap_CYAN_BRUSH_get() {
17106 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17111 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
17112 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17117 static PyObject
*_wrap_RED_BRUSH_get() {
17120 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17125 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
17126 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17131 static PyObject
*_wrap_GREY_BRUSH_get() {
17134 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17139 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
17140 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17145 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17148 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17153 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
17154 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17159 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17162 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17167 static int _wrap_BLACK_set(PyObject
*_val
) {
17168 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17173 static PyObject
*_wrap_BLACK_get() {
17176 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17181 static int _wrap_WHITE_set(PyObject
*_val
) {
17182 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17187 static PyObject
*_wrap_WHITE_get() {
17190 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17195 static int _wrap_RED_set(PyObject
*_val
) {
17196 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17201 static PyObject
*_wrap_RED_get() {
17204 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17209 static int _wrap_BLUE_set(PyObject
*_val
) {
17210 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17215 static PyObject
*_wrap_BLUE_get() {
17218 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17223 static int _wrap_GREEN_set(PyObject
*_val
) {
17224 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17229 static PyObject
*_wrap_GREEN_get() {
17232 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17237 static int _wrap_CYAN_set(PyObject
*_val
) {
17238 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17243 static PyObject
*_wrap_CYAN_get() {
17246 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17251 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
17252 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17257 static PyObject
*_wrap_LIGHT_GREY_get() {
17260 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17265 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
17266 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17271 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17274 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17279 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
17280 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17285 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17288 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17293 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
17294 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17299 static PyObject
*_wrap_CROSS_CURSOR_get() {
17302 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17307 static int _wrap_NullBitmap_set(PyObject
*_val
) {
17308 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17313 static PyObject
*_wrap_NullBitmap_get() {
17316 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17321 static int _wrap_NullIcon_set(PyObject
*_val
) {
17322 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17327 static PyObject
*_wrap_NullIcon_get() {
17330 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17335 static int _wrap_NullCursor_set(PyObject
*_val
) {
17336 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17341 static PyObject
*_wrap_NullCursor_get() {
17344 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17349 static int _wrap_NullPen_set(PyObject
*_val
) {
17350 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17355 static PyObject
*_wrap_NullPen_get() {
17358 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17363 static int _wrap_NullBrush_set(PyObject
*_val
) {
17364 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17369 static PyObject
*_wrap_NullBrush_get() {
17372 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17377 static int _wrap_NullPalette_set(PyObject
*_val
) {
17378 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17383 static PyObject
*_wrap_NullPalette_get() {
17386 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17391 static int _wrap_NullFont_set(PyObject
*_val
) {
17392 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17397 static PyObject
*_wrap_NullFont_get() {
17400 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17405 static int _wrap_NullColour_set(PyObject
*_val
) {
17406 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17411 static PyObject
*_wrap_NullColour_get() {
17414 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17419 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17421 wxPenList
*arg1
= (wxPenList
*) 0 ;
17422 wxPen
*arg2
= (wxPen
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 PyObject
* obj1
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "self",(char *) "pen", NULL
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 (arg1
)->AddPen(arg2
);
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17441 Py_INCREF(Py_None
); resultobj
= Py_None
;
17448 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxPenList
*arg1
= (wxPenList
*) 0 ;
17451 wxColour
*arg2
= 0 ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 PyObject
* obj2
= 0 ;
17459 PyObject
* obj3
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17469 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17471 arg3
= (int) SWIG_AsInt(obj2
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17473 arg4
= (int) SWIG_AsInt(obj3
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17489 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxPenList
*arg1
= (wxPenList
*) 0 ;
17492 wxPen
*arg2
= (wxPen
*) 0 ;
17493 PyObject
* obj0
= 0 ;
17494 PyObject
* obj1
= 0 ;
17495 char *kwnames
[] = {
17496 (char *) "self",(char *) "pen", NULL
17499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 (arg1
)->RemovePen(arg2
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17511 Py_INCREF(Py_None
); resultobj
= Py_None
;
17518 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
;
17520 wxPenList
*arg1
= (wxPenList
*) 0 ;
17522 PyObject
* obj0
= 0 ;
17523 char *kwnames
[] = {
17524 (char *) "self", NULL
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 result
= (int)(arg1
)->GetCount();
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_FromInt((int)result
);
17544 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17547 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17549 return Py_BuildValue((char *)"");
17551 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
;
17553 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17554 wxBrush
*arg2
= (wxBrush
*) 0 ;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "self",(char *) "brush", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 (arg1
)->AddBrush(arg2
);
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 Py_INCREF(Py_None
); resultobj
= Py_None
;
17580 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17583 wxColour
*arg2
= 0 ;
17587 PyObject
* obj0
= 0 ;
17588 PyObject
* obj1
= 0 ;
17589 PyObject
* obj2
= 0 ;
17590 char *kwnames
[] = {
17591 (char *) "self",(char *) "colour",(char *) "style", NULL
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17599 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17601 arg3
= (int) SWIG_AsInt(obj2
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17617 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17620 wxBrush
*arg2
= (wxBrush
*) 0 ;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self",(char *) "brush", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 (arg1
)->RemoveBrush(arg2
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 Py_INCREF(Py_None
); resultobj
= Py_None
;
17646 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
;
17648 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17650 PyObject
* obj0
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 result
= (int)(arg1
)->GetCount();
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= SWIG_FromInt((int)result
);
17672 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17675 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17677 return Py_BuildValue((char *)"");
17679 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
;
17681 wxColourDatabase
*result
;
17682 char *kwnames
[] = {
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (wxColourDatabase
*)new wxColourDatabase();
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17701 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17704 PyObject
* obj0
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 Py_INCREF(Py_None
); resultobj
= Py_None
;
17726 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17729 wxString
*arg2
= 0 ;
17731 bool temp2
= False
;
17732 PyObject
* obj0
= 0 ;
17733 PyObject
* obj1
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self",(char *) "name", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17742 arg2
= wxString_in_helper(obj1
);
17743 if (arg2
== NULL
) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17754 wxColour
* resultptr
;
17755 resultptr
= new wxColour((wxColour
&) result
);
17756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17772 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17775 wxColour
*arg2
= 0 ;
17778 PyObject
* obj0
= 0 ;
17779 PyObject
* obj1
= 0 ;
17780 char *kwnames
[] = {
17781 (char *) "self",(char *) "colour", NULL
17784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17789 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17811 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
;
17813 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17814 wxString
*arg2
= 0 ;
17815 wxColour
*arg3
= 0 ;
17816 bool temp2
= False
;
17818 PyObject
* obj0
= 0 ;
17819 PyObject
* obj1
= 0 ;
17820 PyObject
* obj2
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self",(char *) "name",(char *) "colour", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17829 arg2
= wxString_in_helper(obj1
);
17830 if (arg2
== NULL
) SWIG_fail
;
17835 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17841 wxPyEndAllowThreads(__tstate
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17844 Py_INCREF(Py_None
); resultobj
= Py_None
;
17859 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
;
17861 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17862 wxString
*arg2
= 0 ;
17866 bool temp2
= False
;
17867 PyObject
* obj0
= 0 ;
17868 PyObject
* obj1
= 0 ;
17869 PyObject
* obj2
= 0 ;
17870 PyObject
* obj3
= 0 ;
17871 PyObject
* obj4
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17880 arg2
= wxString_in_helper(obj1
);
17881 if (arg2
== NULL
) SWIG_fail
;
17884 arg3
= (int) SWIG_AsInt(obj2
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17886 arg4
= (int) SWIG_AsInt(obj3
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17888 arg5
= (int) SWIG_AsInt(obj4
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 Py_INCREF(Py_None
); resultobj
= Py_None
;
17912 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17915 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17917 return Py_BuildValue((char *)"");
17919 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxFontList
*arg1
= (wxFontList
*) 0 ;
17922 wxFont
*arg2
= (wxFont
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 PyObject
* obj1
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self",(char *) "font", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 (arg1
)->AddFont(arg2
);
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 Py_INCREF(Py_None
); resultobj
= Py_None
;
17948 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxFontList
*arg1
= (wxFontList
*) 0 ;
17955 bool arg6
= (bool) False
;
17956 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17957 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17958 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17960 bool temp7
= False
;
17961 PyObject
* obj0
= 0 ;
17962 PyObject
* obj1
= 0 ;
17963 PyObject
* obj2
= 0 ;
17964 PyObject
* obj3
= 0 ;
17965 PyObject
* obj4
= 0 ;
17966 PyObject
* obj5
= 0 ;
17967 PyObject
* obj6
= 0 ;
17968 PyObject
* obj7
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17976 arg2
= (int) SWIG_AsInt(obj1
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17978 arg3
= (int) SWIG_AsInt(obj2
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17980 arg4
= (int) SWIG_AsInt(obj3
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17982 arg5
= (int) SWIG_AsInt(obj4
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 arg6
= (bool) SWIG_AsBool(obj5
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17990 arg7
= wxString_in_helper(obj6
);
17991 if (arg7
== NULL
) SWIG_fail
;
17996 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17997 if (PyErr_Occurred()) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18021 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxFontList
*arg1
= (wxFontList
*) 0 ;
18024 wxFont
*arg2
= (wxFont
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self",(char *) "font", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 (arg1
)->RemoveFont(arg2
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 Py_INCREF(Py_None
); resultobj
= Py_None
;
18050 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxFontList
*arg1
= (wxFontList
*) 0 ;
18054 PyObject
* obj0
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "self", NULL
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 result
= (int)(arg1
)->GetCount();
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= SWIG_FromInt((int)result
);
18076 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
18078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18079 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18081 return Py_BuildValue((char *)"");
18083 static int _wrap_TheFontList_set(PyObject
*_val
) {
18084 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18089 static PyObject
*_wrap_TheFontList_get() {
18092 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18097 static int _wrap_ThePenList_set(PyObject
*_val
) {
18098 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18103 static PyObject
*_wrap_ThePenList_get() {
18106 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18111 static int _wrap_TheBrushList_set(PyObject
*_val
) {
18112 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18117 static PyObject
*_wrap_TheBrushList_get() {
18120 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18125 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
18126 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18131 static PyObject
*_wrap_TheColourDatabase_get() {
18134 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18139 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
;
18142 char *kwnames
[] = {
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 result
= (wxEffects
*)new wxEffects();
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18161 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxEffects
*arg1
= (wxEffects
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 wxColour
* resultptr
;
18182 resultptr
= new wxColour((wxColour
&) result
);
18183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18191 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxEffects
*arg1
= (wxEffects
*) 0 ;
18195 PyObject
* obj0
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18211 wxColour
* resultptr
;
18212 resultptr
= new wxColour((wxColour
&) result
);
18213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18221 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxEffects
*arg1
= (wxEffects
*) 0 ;
18225 PyObject
* obj0
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18241 wxColour
* resultptr
;
18242 resultptr
= new wxColour((wxColour
&) result
);
18243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18251 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
;
18253 wxEffects
*arg1
= (wxEffects
*) 0 ;
18255 PyObject
* obj0
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18271 wxColour
* resultptr
;
18272 resultptr
= new wxColour((wxColour
&) result
);
18273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18281 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxEffects
*arg1
= (wxEffects
*) 0 ;
18285 PyObject
* obj0
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18301 wxColour
* resultptr
;
18302 resultptr
= new wxColour((wxColour
&) result
);
18303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18311 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxEffects
*arg1
= (wxEffects
*) 0 ;
18314 wxColour
*arg2
= 0 ;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self",(char *) "c", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 Py_INCREF(Py_None
); resultobj
= Py_None
;
18343 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxEffects
*arg1
= (wxEffects
*) 0 ;
18346 wxColour
*arg2
= 0 ;
18348 PyObject
* obj0
= 0 ;
18349 PyObject
* obj1
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self",(char *) "c", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18359 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 Py_INCREF(Py_None
); resultobj
= Py_None
;
18375 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
;
18377 wxEffects
*arg1
= (wxEffects
*) 0 ;
18378 wxColour
*arg2
= 0 ;
18380 PyObject
* obj0
= 0 ;
18381 PyObject
* obj1
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self",(char *) "c", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18391 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18397 wxPyEndAllowThreads(__tstate
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18400 Py_INCREF(Py_None
); resultobj
= Py_None
;
18407 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18408 PyObject
*resultobj
;
18409 wxEffects
*arg1
= (wxEffects
*) 0 ;
18410 wxColour
*arg2
= 0 ;
18412 PyObject
* obj0
= 0 ;
18413 PyObject
* obj1
= 0 ;
18414 char *kwnames
[] = {
18415 (char *) "self",(char *) "c", NULL
18418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18423 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 Py_INCREF(Py_None
); resultobj
= Py_None
;
18439 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 wxEffects
*arg1
= (wxEffects
*) 0 ;
18442 wxColour
*arg2
= 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 char *kwnames
[] = {
18447 (char *) "self",(char *) "c", NULL
18450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18455 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18464 Py_INCREF(Py_None
); resultobj
= Py_None
;
18471 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
;
18473 wxEffects
*arg1
= (wxEffects
*) 0 ;
18474 wxColour
*arg2
= 0 ;
18475 wxColour
*arg3
= 0 ;
18476 wxColour
*arg4
= 0 ;
18477 wxColour
*arg5
= 0 ;
18478 wxColour
*arg6
= 0 ;
18484 PyObject
* obj0
= 0 ;
18485 PyObject
* obj1
= 0 ;
18486 PyObject
* obj2
= 0 ;
18487 PyObject
* obj3
= 0 ;
18488 PyObject
* obj4
= 0 ;
18489 PyObject
* obj5
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18503 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18507 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18511 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18515 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18519 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18521 wxPyEndAllowThreads(__tstate
);
18522 if (PyErr_Occurred()) SWIG_fail
;
18524 Py_INCREF(Py_None
); resultobj
= Py_None
;
18531 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
;
18533 wxEffects
*arg1
= (wxEffects
*) 0 ;
18536 int arg4
= (int) 1 ;
18538 PyObject
* obj0
= 0 ;
18539 PyObject
* obj1
= 0 ;
18540 PyObject
* obj2
= 0 ;
18541 PyObject
* obj3
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18552 if (arg2
== NULL
) {
18553 PyErr_SetString(PyExc_TypeError
,"null reference");
18558 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18561 arg4
= (int) SWIG_AsInt(obj3
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 Py_INCREF(Py_None
); resultobj
= Py_None
;
18578 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxEffects
*arg1
= (wxEffects
*) 0 ;
18583 wxBitmap
*arg4
= 0 ;
18586 PyObject
* obj0
= 0 ;
18587 PyObject
* obj1
= 0 ;
18588 PyObject
* obj2
= 0 ;
18589 PyObject
* obj3
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18599 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18601 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18604 if (arg3
== NULL
) {
18605 PyErr_SetString(PyExc_TypeError
,"null reference");
18608 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18611 if (arg4
== NULL
) {
18612 PyErr_SetString(PyExc_TypeError
,"null reference");
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18629 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18632 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18634 return Py_BuildValue((char *)"");
18636 static PyMethodDef SwigMethods
[] = {
18637 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18643 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18659 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18660 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18666 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18675 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18687 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18690 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
18691 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18692 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18693 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18698 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18699 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18701 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18703 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18704 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18705 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18708 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18710 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18712 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18714 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18718 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18719 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18724 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
18728 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18730 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18732 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18737 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18740 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18751 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18755 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18756 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18757 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18758 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18759 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18760 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18761 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18762 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18763 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18764 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18765 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18766 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18767 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18768 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18769 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18770 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18771 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18772 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18773 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18774 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18775 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18776 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18777 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18778 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18779 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18780 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18781 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18782 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18783 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18784 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18785 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18786 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18787 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18788 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18789 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18790 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18791 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18792 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18793 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18794 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18795 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18796 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18797 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18798 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18799 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18800 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18801 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18802 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18803 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18804 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18805 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18806 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18807 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18808 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18809 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18810 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18811 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18812 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18813 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18814 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18815 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18816 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18817 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18818 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18819 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18820 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18821 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18822 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18823 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18824 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18825 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18826 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18827 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18828 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18829 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18830 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18831 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18832 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18833 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18834 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18835 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18836 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18837 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18838 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18839 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18840 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18841 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18842 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18843 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18844 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18845 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18846 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18847 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18848 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18849 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18850 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18851 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18852 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18853 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18854 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18855 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18856 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18857 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18858 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18859 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18860 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18861 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18862 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18863 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18864 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18865 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18866 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18867 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18868 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18869 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18870 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18871 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18872 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18873 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18874 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18875 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18876 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18877 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18878 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18879 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18880 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18881 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18882 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18883 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18884 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18885 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18886 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18887 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18888 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18889 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18890 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18891 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18892 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18893 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18894 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18895 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18896 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18897 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18898 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18899 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18900 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18901 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18902 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18903 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18904 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18905 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18906 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18907 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18908 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18909 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18910 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18911 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18912 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18913 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18914 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18915 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18916 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18917 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18918 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18919 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18920 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18921 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18922 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18923 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18924 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18925 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18926 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18927 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18928 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18929 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18930 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18931 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18932 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18933 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18934 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18935 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18936 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18937 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18938 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18939 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18940 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18941 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18942 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18943 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18944 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18945 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18946 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18947 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18948 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18949 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18950 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18951 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18952 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18953 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18954 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18955 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18956 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18957 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18958 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18959 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18960 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18961 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18962 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
18963 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18964 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
18965 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18966 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
18967 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18968 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
18969 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18970 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18971 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18972 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
18973 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18974 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18975 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18976 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
18977 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18978 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18979 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18980 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18981 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18982 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18983 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18984 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
18985 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18986 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
18987 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18988 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18989 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
18990 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18991 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
18992 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18993 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18994 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18995 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18996 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18997 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
18998 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18999 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
19000 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
19001 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
19002 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
19003 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
19004 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19005 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
19006 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
19007 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
19008 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
19009 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
19010 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
19011 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19012 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19013 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19014 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
19015 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
19016 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19017 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19018 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
19019 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19020 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
19021 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19022 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
19023 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
19024 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19025 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19026 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19027 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
19028 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19029 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
19030 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
19031 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
19032 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
19033 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
19034 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
19035 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
19036 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
19037 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
19038 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
19039 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
19040 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19041 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19042 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19043 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
19044 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19045 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19046 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19047 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19048 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
19049 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
19050 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19051 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19052 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19053 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19054 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19055 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19056 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19057 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19058 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19059 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19060 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19061 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19062 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19063 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19064 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19065 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19066 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
19067 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19068 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19069 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19070 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19071 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19072 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19073 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
19074 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
19075 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
19076 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
19077 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19078 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
19079 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
19080 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
19081 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
19082 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
19083 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
19084 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
19085 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
19086 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
19087 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
19088 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
19089 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
19090 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
19091 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
19092 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
19093 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
19094 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19095 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
19096 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
19097 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
19098 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19099 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19100 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
19101 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
19102 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
19103 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19104 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
19105 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
19106 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
19107 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
19108 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
19109 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
19110 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19111 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19112 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19113 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19114 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
19115 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19116 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19117 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19118 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
19119 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19120 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19121 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19122 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19123 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
19124 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
19125 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
19126 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
19127 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
19128 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
19129 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19130 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19131 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
19132 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
19133 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19134 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
19135 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
19136 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
19137 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
19138 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
19139 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19140 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
19141 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
19142 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
19143 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
19144 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19145 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
19146 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
19147 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
19148 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
19149 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19150 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
19151 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19152 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19153 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
19154 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
19155 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
19156 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
19157 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
19158 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
19159 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
19160 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
19161 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19162 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
19163 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
19164 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19165 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19166 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19167 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19168 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19169 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19170 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19171 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19172 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19173 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19174 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
19175 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
19176 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19177 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
19182 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19184 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19185 return (void *)((wxWindow
*) ((wxControl
*) x
));
19187 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19188 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19190 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19191 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19193 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19194 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19196 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19197 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19199 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19200 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19202 static void *_p_wxPenTo_p_wxObject(void *x
) {
19203 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19205 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19206 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19208 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19209 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19211 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19212 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19214 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19215 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19217 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19218 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19220 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19221 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19223 static void *_p_wxIconTo_p_wxObject(void *x
) {
19224 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19226 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19227 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19229 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19230 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19232 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19233 return (void *)((wxObject
*) ((wxSizer
*) x
));
19235 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19236 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19238 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19241 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19242 return (void *)((wxObject
*) ((wxPenList
*) x
));
19244 static void *_p_wxEventTo_p_wxObject(void *x
) {
19245 return (void *)((wxObject
*) ((wxEvent
*) x
));
19247 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19248 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19250 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19251 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19253 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19254 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19256 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19257 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19259 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19260 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19262 static void *_p_wxDCTo_p_wxObject(void *x
) {
19263 return (void *)((wxObject
*) ((wxDC
*) x
));
19265 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19266 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19268 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19269 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19271 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19272 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19274 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19275 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19277 static void *_p_wxControlTo_p_wxObject(void *x
) {
19278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19280 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19281 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19283 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19284 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19286 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19287 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19289 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19290 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19292 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19293 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19295 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19296 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19298 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19299 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19301 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19302 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19304 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19305 return (void *)((wxObject
*) ((wxEffects
*) x
));
19307 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19308 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19310 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19313 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19314 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19316 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19317 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19319 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19320 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19322 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19323 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19325 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19326 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19328 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19329 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19331 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19332 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19334 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19335 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19337 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19338 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19340 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19341 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19343 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19344 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19346 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19347 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19349 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19350 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19352 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19353 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19355 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19356 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19358 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19359 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19361 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19362 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19364 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19365 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19367 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19368 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19370 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19371 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19373 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19374 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19376 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19377 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19379 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19380 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19382 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19383 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19385 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19386 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19388 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19389 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19391 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19392 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19394 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19395 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19397 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19398 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19400 static void *_p_wxImageTo_p_wxObject(void *x
) {
19401 return (void *)((wxObject
*) ((wxImage
*) x
));
19403 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19404 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19406 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19407 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19409 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19410 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19412 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19413 return (void *)((wxObject
*) ((wxImageList
*) x
));
19415 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19416 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19418 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19419 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19421 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19422 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19424 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19425 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19427 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19428 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19430 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19431 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19433 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19434 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19436 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19437 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19439 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19442 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19443 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19445 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19446 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19448 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
19449 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
19451 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19452 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19454 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19455 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19457 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19458 return (void *)((wxObject
*) ((wxMask
*) x
));
19460 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19461 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19463 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19464 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19466 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19467 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19469 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19470 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19472 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19473 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19475 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19476 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19478 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19479 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19481 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19482 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19484 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19485 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19487 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19488 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19490 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19493 static void *_p_wxFontTo_p_wxObject(void *x
) {
19494 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19496 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19497 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19499 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19500 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19502 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19505 static void *_p_wxColourTo_p_wxObject(void *x
) {
19506 return (void *)((wxObject
*) ((wxColour
*) x
));
19508 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19509 return (void *)((wxObject
*) ((wxFontList
*) x
));
19511 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19514 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19515 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19517 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19518 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19520 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19521 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19523 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19524 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19526 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19527 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19529 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19530 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19532 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19533 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19535 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19536 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19538 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19539 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19541 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19542 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19544 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19545 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19547 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19548 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19550 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19551 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19553 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
19554 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
19556 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19557 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19559 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19560 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19562 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19563 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19565 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19566 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19568 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19569 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19571 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19572 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19574 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19575 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19577 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19578 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19580 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
19581 return (void *)((wxPen
*) ((wxPyPen
*) x
));
19583 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}};
19584 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}};
19585 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}};
19586 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}};
19587 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}};
19588 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}};
19589 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}};
19590 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}};
19591 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}};
19592 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}};
19593 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}};
19594 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}};
19595 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}};
19596 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}};
19597 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}};
19598 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}};
19599 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}};
19600 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}};
19601 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}};
19602 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}};
19603 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}};
19604 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}};
19605 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}};
19606 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}};
19607 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}};
19608 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}};
19609 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}};
19610 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}};
19611 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}};
19612 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}};
19613 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}};
19614 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}};
19615 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}};
19616 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}};
19617 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}};
19618 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}};
19619 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}};
19620 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}};
19621 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}};
19622 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}};
19623 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}};
19624 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}};
19625 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}};
19626 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}};
19627 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}};
19628 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}};
19629 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}};
19630 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}};
19631 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}};
19632 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}};
19633 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}};
19634 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}};
19635 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}};
19636 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}};
19637 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}};
19638 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}};
19640 static swig_type_info
*swig_types_initial
[] = {
19641 _swigt__p_wxPostScriptDC
,
19643 _swigt__p_wxColour
,
19645 _swigt__p_wxMirrorDC
,
19647 _swigt__p_wxPyFontEnumerator
,
19649 _swigt__p_wxIconLocation
,
19651 _swigt__p_wxMetaFileDC
,
19654 _swigt__p_wxWindow
,
19657 _swigt__p_wxMemoryDC
,
19658 _swigt__p_wxFontMapper
,
19659 _swigt__p_wxEffects
,
19660 _swigt__p_wxNativeEncodingInfo
,
19661 _swigt__p_wxPalette
,
19662 _swigt__p_wxBitmap
,
19663 _swigt__p_wxObject
,
19664 _swigt__p_wxRegionIterator
,
19666 _swigt__p_wxString
,
19667 _swigt__p_wxPrinterDC
,
19668 _swigt__p_wxIconBundle
,
19671 _swigt__p_wxScreenDC
,
19672 _swigt__p_wxCursor
,
19673 _swigt__p_wxClientDC
,
19674 _swigt__p_wxBufferedDC
,
19675 _swigt__p_wxImageList
,
19676 _swigt__p_unsigned_char
,
19677 _swigt__p_wxGDIObject
,
19679 _swigt__p_wxLocale
,
19680 _swigt__p_wxRegion
,
19681 _swigt__p_wxLanguageInfo
,
19682 _swigt__p_wxConfigBase
,
19683 _swigt__p_wxWindowDC
,
19684 _swigt__p_wxPrintData
,
19685 _swigt__p_wxBrushList
,
19686 _swigt__p_wxFontList
,
19688 _swigt__p_wxBufferedPaintDC
,
19689 _swigt__p_wxPaintDC
,
19690 _swigt__p_wxPenList
,
19693 _swigt__p_wxMetaFile
,
19694 _swigt__p_wxNativeFontInfo
,
19695 _swigt__p_wxEncodingConverter
,
19696 _swigt__p_wxColourDatabase
,
19701 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19703 static swig_const_info swig_const_table
[] = {
19713 SWIGEXPORT(void) SWIG_init(void) {
19714 static PyObject
*SWIG_globals
= 0;
19715 static int typeinit
= 0;
19718 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19719 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19720 d
= PyModule_GetDict(m
);
19723 for (i
= 0; swig_types_initial
[i
]; i
++) {
19724 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19728 SWIG_InstallConstants(d
,swig_const_table
);
19730 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19731 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19732 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19733 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19734 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19735 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19736 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19737 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19738 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19739 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19740 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19741 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19742 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19743 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19744 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19745 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19746 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19747 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19748 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19749 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19750 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19751 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19752 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19753 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19754 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19755 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19756 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19757 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19758 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19759 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19760 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19761 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19762 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19763 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19764 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19765 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19766 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19767 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19768 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19769 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19770 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19771 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19772 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19773 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19774 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19775 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19776 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19777 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19778 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19779 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19780 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19781 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19782 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19783 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19784 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19785 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19786 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19787 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19788 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19789 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19790 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19791 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19792 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19793 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19794 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19795 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19796 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19797 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19798 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19799 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19800 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19801 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19802 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19803 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19804 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19805 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19806 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19807 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19808 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19809 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19810 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19811 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19812 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19813 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19814 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19815 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19816 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19817 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19818 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19819 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19820 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19821 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19822 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19823 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19824 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19825 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19826 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19827 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19828 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19829 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19830 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19831 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19832 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19833 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19834 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19835 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19836 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19837 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19838 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19839 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19840 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19841 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19842 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19843 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19844 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19845 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19846 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19847 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19848 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19849 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19850 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19851 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19852 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19853 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19854 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19855 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19857 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19859 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19860 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19861 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19862 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19863 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19864 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19865 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19866 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19867 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19868 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19869 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19870 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19871 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19872 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19873 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19874 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19875 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19876 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19877 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19878 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19879 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19880 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19881 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19882 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19883 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19884 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19885 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19886 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19887 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19888 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19889 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19890 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19891 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19892 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19893 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19894 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19895 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19896 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19897 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19898 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19899 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19900 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19901 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19902 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19903 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19904 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19905 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19906 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19907 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19908 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19909 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19910 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19911 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19912 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19913 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19914 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19915 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19916 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19917 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19918 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19919 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19920 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19921 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19922 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19923 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19924 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19925 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19926 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19927 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19928 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19929 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19930 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19931 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19932 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19933 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19934 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19935 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19936 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19937 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19938 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19939 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19940 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19941 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19942 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19943 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19944 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19945 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19946 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19947 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19948 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19949 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19950 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19951 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19952 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19953 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19954 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19955 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19956 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19957 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19958 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19959 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19960 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19961 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19962 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19963 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19964 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19965 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19966 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19967 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19968 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19969 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19970 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19971 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19972 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19973 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19974 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19975 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19976 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19977 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19978 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19979 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19980 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19981 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19982 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19983 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19984 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19985 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19986 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19987 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19988 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19989 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19990 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19991 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19992 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19993 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19994 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19995 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19996 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19997 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19998 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19999 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
20000 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
20001 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
20002 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20003 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20004 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
20005 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
20006 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
20007 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
20008 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
20009 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
20010 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20011 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
20012 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
20013 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
20014 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
20015 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
20016 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20017 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
20018 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
20019 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
20020 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
20021 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
20022 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20023 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
20024 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
20025 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
20026 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
20027 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
20028 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
20029 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
20030 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
20031 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
20032 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
20033 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
20034 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
20035 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20036 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20037 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
20038 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20039 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20040 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20041 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
20042 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20043 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20044 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
20045 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
20046 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
20047 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20048 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
20049 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20050 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
20051 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20052 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
20053 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
20054 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20055 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
20056 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
20057 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
20058 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
20059 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
20060 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
20061 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
20062 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
20063 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
20064 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
20065 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
20066 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
20067 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
20068 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
20069 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
20070 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
20071 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
20072 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
20073 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
20074 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
20075 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
20076 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
20077 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
20078 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20079 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
20080 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
20081 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
20082 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
20083 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
20084 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
20085 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
20086 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
20087 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
20088 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
20089 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
20090 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
20091 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
20092 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
20093 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
20094 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
20095 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
20096 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
20097 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
20098 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
20099 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
20100 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
20101 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
20102 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
20103 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
20104 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
20105 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
20106 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20107 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
20108 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
20109 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
20110 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
20111 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
20112 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20113 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20114 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20115 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20116 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20117 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20118 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20119 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20120 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20121 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20122 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20123 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20124 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20125 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20126 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20127 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20128 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20129 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20130 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20131 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20132 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20133 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20134 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20135 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20136 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20137 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20138 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20139 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20140 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20141 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20142 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20143 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20144 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20145 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20146 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20147 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20148 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20149 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20150 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20151 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20152 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20153 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20154 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20155 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20156 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20157 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20158 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20160 // Work around a chicken/egg problem in drawlist.cpp
20161 wxPyDrawList_SetAPIPtr();