1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxSize swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxWindow swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_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_int swig_types[50]
260 #define SWIGTYPE_p_wxMetaFile swig_types[51]
261 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
262 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
263 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
264 static swig_type_info
*swig_types
[56];
266 /* -------- TYPES TABLE (END) -------- */
269 /*-----------------------------------------------
271 ------------------------------------------------*/
272 #define SWIG_init init_gdi_
274 #define SWIG_name "_gdi_"
276 /* Auxiliar swig macros */
279 #define SWIGSTATICINLINE(a) static inline a
280 #define SWIGSTATIC(a) static a
281 #define swig_new_array(type, size) (new type[(size)])
282 #define swig_delete_array(cptr) delete[] cptr
283 #define swig_const_cast(type,a) const_cast<type>(a)
284 #define swig_static_cast(type,a) static_cast<type>(a)
285 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
287 #ifdef HAVE_NUMERIC_CAST
288 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
290 #define swig_numeric_cast(type,a) static_cast<type>(a)
295 #define SWIGSTATICINLINE(a) static a
296 #define SWIGSTATIC(a) static a
297 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
298 #define swig_delete_array(cptr) free((char*)cptr)
299 #define swig_const_cast(type,a) (type)(a)
300 #define swig_static_cast(type,a) (type)(a)
301 #define swig_reinterpret_cast(type,a) (type)(a)
302 #define swig_numeric_cast(type,a) (type)(a)
304 #endif /* __cplusplus */
307 #define SWIG_FromSignedChar PyInt_FromLong
308 #define SWIG_FromUnsignedChar PyInt_FromLong
309 #define SWIG_FromShort PyInt_FromLong
310 #define SWIG_FromUnsignedShort PyInt_FromLong
311 #define SWIG_FromInt PyInt_FromLong
312 #define SWIG_FromLong PyInt_FromLong
313 #define SWIG_FromFloat PyFloat_FromDouble
314 #define SWIG_FromDouble PyFloat_FromDouble
315 #define SWIG_FromFloat PyFloat_FromDouble
316 #define SWIG_FromDouble PyFloat_FromDouble
319 #include "wx/wxPython/wxPython.h"
320 #include "wx/wxPython/pyclasses.h"
323 static const wxString
wxPyEmptyString(wxEmptyString
);
325 SWIGSTATICINLINE(bool)
326 SWIG_AsBool(PyObject
*obj
)
328 return PyObject_IsTrue(obj
) ? true : false;
332 SWIGSTATICINLINE(int)
333 SWIG_CheckBool(PyObject
* obj
)
336 if (PyErr_Occurred()) {
348 SWIGSTATICINLINE(unsigned long)
349 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
350 unsigned long max_value
)
352 if (!PyErr_Occurred()) {
353 if (value
> max_value
) {
355 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
356 value
, type
, max_value
);
357 PyErr_SetObject(PyExc_OverflowError
, err
);
365 SWIGSTATICINLINE(long)
366 SWIG_AsLong(PyObject
* obj
)
368 if (PyNumber_Check(obj
))
369 return PyInt_AsLong(obj
);
371 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
372 obj
->ob_type
->tp_name
);
373 PyErr_SetObject(PyExc_TypeError
, errmsg
);
380 SWIGSTATICINLINE(unsigned long)
381 SWIG_AsUnsignedLong(PyObject
* obj
)
383 if (PyLong_Check(obj
)) {
384 return PyLong_AsUnsignedLong(obj
);
386 long i
= SWIG_AsLong(obj
);
387 if ( !PyErr_Occurred() && (i
< 0)) {
388 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
395 SWIGSTATICINLINE(unsigned char)
396 SWIG_AsUnsignedChar(PyObject
*obj
)
398 return swig_numeric_cast(unsigned char,
399 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
400 "unsigned char", UCHAR_MAX
));
404 SWIGSTATICINLINE(int)
405 SWIG_CheckUnsignedChar(PyObject
* obj
)
407 SWIG_AsUnsignedChar(obj
);
408 if (PyErr_Occurred()) {
417 SWIGSTATICINLINE(int)
418 SWIG_CheckUnsignedLong(PyObject
* obj
)
420 SWIG_AsUnsignedLong(obj
);
421 if (PyErr_Occurred()) {
429 PyObject
*wxColour_Get(wxColour
*self
){
430 PyObject
* rv
= PyTuple_New(3);
436 green
= self
->Green();
439 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
440 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
441 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
444 unsigned long wxColour_GetRGB(wxColour
*self
){
445 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
448 SWIGSTATICINLINE(PyObject
* )
449 SWIG_FromUnsignedLong(unsigned long value
)
451 return (value
> LONG_MAX
) ?
452 PyLong_FromUnsignedLong(value
)
453 : PyInt_FromLong(swig_numeric_cast(long,value
));
457 SWIGSTATICINLINE(long)
458 SWIG_CheckLongInRange(long value
, const char* type
,
459 long min_value
, long max_value
)
461 if (!PyErr_Occurred()) {
462 if (value
< min_value
) {
464 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
465 value
, type
, min_value
);
467 PyErr_SetObject(PyExc_OverflowError
, err
);
469 } else if (value
> max_value
) {
471 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
472 value
, type
, max_value
);
473 PyErr_SetObject(PyExc_OverflowError
, err
);
481 #if INT_MAX != LONG_MAX
482 SWIGSTATICINLINE(int)
483 SWIG_AsInt(PyObject
*obj
)
485 return swig_numeric_cast(int,
486 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
487 "int", INT_MIN
, INT_MAX
));
490 #define SWIG_AsInt SWIG_AsLong
494 SWIGSTATICINLINE(int)
495 SWIG_CheckInt(PyObject
* obj
)
498 if (PyErr_Occurred()) {
507 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
513 } else if (target
== Py_None
) {
517 if (!PyTuple_Check(target
)) {
519 target
= PyTuple_New(1);
520 PyTuple_SetItem(target
, 0, o2
);
523 PyTuple_SetItem(o3
, 0, o
);
526 target
= PySequence_Concat(o2
, o3
);
533 PyObject
*wxPen_GetDashes(wxPen
*self
){
535 int count
= self
->GetDashes(&dashes
);
536 bool blocked
= wxPyBeginBlockThreads();
537 PyObject
* retval
= PyList_New(0);
538 for (int x
=0; x
<count
; x
++) {
539 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
540 PyList_Append(retval
, pyint
);
543 wxPyEndBlockThreads(blocked
);
546 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
547 bool blocked
= wxPyBeginBlockThreads();
548 int size
= PyList_Size(pyDashes
);
549 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
551 // black magic warning! The array of wxDashes needs to exist as
552 // long as the pen does because wxPen does not copy the array. So
553 // stick a copy in a Python string object and attach it to _self,
554 // and then call SetDashes with a pointer to that array. Then
555 // when the Python pen object is destroyed the array will be
557 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
558 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
560 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
562 Py_DECREF(strDashes
);
563 wxPyEndBlockThreads(blocked
);
565 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
566 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
568 #include <wx/image.h>
570 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
571 char** cArray
= NULL
;
574 if (!PyList_Check(listOfStrings
)) {
575 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
578 count
= PyList_Size(listOfStrings
);
579 cArray
= new char*[count
];
581 for(int x
=0; x
<count
; x
++) {
582 // TODO: Need some validation and error checking here
583 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
589 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
590 char** cArray
= NULL
;
593 cArray
= ConvertListOfStrings(listOfStrings
);
596 bmp
= new wxBitmap(cArray
);
600 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
603 PyString_AsStringAndSize(bits
, &buf
, &length
);
604 return new wxBitmap(buf
, width
, height
, depth
);
606 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
607 wxSize
size(self
->GetWidth(), self
->GetHeight());
610 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
611 wxMask
*mask
= new wxMask(*self
, colour
);
614 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
615 self
->SetWidth(size
.x
);
616 self
->SetHeight(size
.y
);
618 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
619 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
620 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
622 return new wxMask(bitmap
, *wxBLACK
);
624 return new wxMask(bitmap
, colour
);
627 #include <wx/iconbndl.h>
629 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
630 wxIcon
* icon
= new wxIcon();
631 icon
->CopyFromBitmap(bmp
);
634 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
635 char** cArray
= NULL
;
638 cArray
= ConvertListOfStrings(listOfStrings
);
641 icon
= new wxIcon(cArray
);
645 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
649 return new wxIconLocation(*filename
);
652 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
659 int wxIconLocation_GetIndex(wxIconLocation
*self
){
667 SWIGSTATICINLINE(int)
668 SWIG_CheckLong(PyObject
* obj
)
671 if (PyErr_Occurred()) {
679 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
681 wxCHECK_MSG(False
, NULL
,
682 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
684 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
689 void wxRegionIterator_Next(wxRegionIterator
*self
){
692 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
693 return self
->operator bool();
696 #include <wx/fontutil.h>
697 #include <wx/fontmap.h>
698 #include <wx/fontenum.h>
700 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
701 return self
->ToString();
704 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
705 static wxNativeEncodingInfo info
;
706 if ( wxGetNativeFontEncoding(encoding
, &info
) )
712 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
713 wxFontEncoding alt_enc
;
714 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
715 return PyInt_FromLong(alt_enc
);
721 wxFont
*new_wxFont(wxString
const &info
){
722 wxNativeFontInfo nfi
;
723 nfi
.FromString(info
);
724 return new wxFont(nfi
);
726 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
727 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
729 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
730 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
732 class wxPyFontEnumerator
: public wxFontEnumerator
{
734 wxPyFontEnumerator() {}
735 ~wxPyFontEnumerator() {}
737 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
738 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
743 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
744 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
747 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
748 wxArrayString
* arr
= self
->GetEncodings();
749 return wxArrayString2PyList_helper(*arr
);
751 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
752 wxArrayString
* arr
= self
->GetFacenames();
753 return wxArrayString2PyList_helper(*arr
);
757 wxLocale
*new_wxLocale(int language
,int flags
){
759 return new wxLocale();
761 return new wxLocale(language
, flags
);
764 #include "wx/wxPython/pydrawxxx.h"
766 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
768 self
->GetPixel(x
, y
, &col
);
771 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
773 self
->GetPixel(pt
, &col
);
777 SWIGSTATICINLINE(double)
778 SWIG_AsDouble(PyObject
*obj
)
780 if (PyNumber_Check(obj
))
781 return PyFloat_AsDouble(obj
);
783 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
784 obj
->ob_type
->tp_name
);
785 PyErr_SetObject(PyExc_TypeError
, errmsg
);
792 SWIGSTATICINLINE(int)
793 SWIG_CheckDouble(PyObject
* obj
)
796 if (PyErr_Occurred()) {
804 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
806 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
809 wxRect
wxDC_GetClippingRect(wxDC
*self
){
811 self
->GetClippingBox(rect
);
814 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
816 self
->GetPartialTextExtents(text
, widths
);
819 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
820 self
->SetLogicalOrigin(point
.x
, point
.y
);
822 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
823 self
->SetDeviceOrigin(point
.x
, point
.y
);
825 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
826 self
->CalcBoundingBox(point
.x
, point
.y
);
828 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
829 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
831 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
832 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
834 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
835 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
837 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
838 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
840 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
841 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
843 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
844 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
847 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
855 #include <wx/dcbuffer.h>
861 class wxMetaFile
: public wxObject
{
863 wxMetaFile(const wxString
&)
864 { wxPyRaiseNotImplemented(); }
867 class wxMetaFileDC
: public wxClientDC
{
869 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
870 { wxPyRaiseNotImplemented(); }
875 class wxPrinterDC
: public wxClientDC
{
877 wxPrinterDC(const wxPrintData
&)
878 { wxPyRaiseNotImplemented(); }
880 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
881 // { wxPyRaiseNotImplemented(); }
886 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
887 self
->AddColour(name
, wxColour(red
, green
, blue
));
890 #include <wx/effects.h>
895 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
904 if (!wxPyCheckForApp()) SWIG_fail
;
905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
906 result
= (wxGDIObject
*)new wxGDIObject();
908 wxPyEndAllowThreads(__tstate
);
909 if (PyErr_Occurred()) SWIG_fail
;
911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
918 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
921 PyObject
* obj0
= 0 ;
923 (char *) "self", NULL
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
933 wxPyEndAllowThreads(__tstate
);
934 if (PyErr_Occurred()) SWIG_fail
;
936 Py_INCREF(Py_None
); resultobj
= Py_None
;
943 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
947 PyObject
* obj0
= 0 ;
949 (char *) "self", NULL
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
957 result
= (bool)(arg1
)->GetVisible();
959 wxPyEndAllowThreads(__tstate
);
960 if (PyErr_Occurred()) SWIG_fail
;
963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
971 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
975 PyObject
* obj0
= 0 ;
976 PyObject
* obj1
= 0 ;
978 (char *) "self",(char *) "visible", NULL
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
984 arg2
= (bool) SWIG_AsBool(obj1
);
985 if (PyErr_Occurred()) SWIG_fail
;
987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
988 (arg1
)->SetVisible(arg2
);
990 wxPyEndAllowThreads(__tstate
);
991 if (PyErr_Occurred()) SWIG_fail
;
993 Py_INCREF(Py_None
); resultobj
= Py_None
;
1000 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
*resultobj
;
1002 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1004 PyObject
* obj0
= 0 ;
1006 (char *) "self", NULL
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1014 result
= (bool)(arg1
)->IsNull();
1016 wxPyEndAllowThreads(__tstate
);
1017 if (PyErr_Occurred()) SWIG_fail
;
1020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1028 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1031 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1033 return Py_BuildValue((char *)"");
1035 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
*resultobj
;
1037 byte arg1
= (byte
) 0 ;
1038 byte arg2
= (byte
) 0 ;
1039 byte arg3
= (byte
) 0 ;
1041 PyObject
* obj0
= 0 ;
1042 PyObject
* obj1
= 0 ;
1043 PyObject
* obj2
= 0 ;
1045 (char *) "red",(char *) "green",(char *) "blue", NULL
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1050 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1051 if (PyErr_Occurred()) SWIG_fail
;
1054 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1055 if (PyErr_Occurred()) SWIG_fail
;
1058 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1059 if (PyErr_Occurred()) SWIG_fail
;
1062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1063 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1065 wxPyEndAllowThreads(__tstate
);
1066 if (PyErr_Occurred()) SWIG_fail
;
1068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1075 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
*resultobj
;
1077 wxString
*arg1
= 0 ;
1079 bool temp1
= False
;
1080 PyObject
* obj0
= 0 ;
1082 (char *) "colorName", NULL
1085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1087 arg1
= wxString_in_helper(obj0
);
1088 if (arg1
== NULL
) SWIG_fail
;
1092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1093 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1095 wxPyEndAllowThreads(__tstate
);
1096 if (PyErr_Occurred()) SWIG_fail
;
1098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1113 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
*resultobj
;
1115 unsigned long arg1
;
1117 PyObject
* obj0
= 0 ;
1119 (char *) "colRGB", NULL
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1123 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1127 result
= (wxColour
*)new wxColour(arg1
);
1129 wxPyEndAllowThreads(__tstate
);
1130 if (PyErr_Occurred()) SWIG_fail
;
1132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1139 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
*resultobj
;
1141 wxColour
*arg1
= (wxColour
*) 0 ;
1142 PyObject
* obj0
= 0 ;
1144 (char *) "self", NULL
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1157 Py_INCREF(Py_None
); resultobj
= Py_None
;
1164 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
*resultobj
;
1166 wxColour
*arg1
= (wxColour
*) 0 ;
1168 PyObject
* obj0
= 0 ;
1170 (char *) "self", NULL
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 result
= (byte
)(arg1
)->Red();
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) SWIG_fail
;
1183 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1190 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
*resultobj
;
1192 wxColour
*arg1
= (wxColour
*) 0 ;
1194 PyObject
* obj0
= 0 ;
1196 (char *) "self", NULL
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 result
= (byte
)(arg1
)->Green();
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) SWIG_fail
;
1209 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1216 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
*resultobj
;
1218 wxColour
*arg1
= (wxColour
*) 0 ;
1220 PyObject
* obj0
= 0 ;
1222 (char *) "self", NULL
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1230 result
= (byte
)(arg1
)->Blue();
1232 wxPyEndAllowThreads(__tstate
);
1233 if (PyErr_Occurred()) SWIG_fail
;
1235 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1242 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
*resultobj
;
1244 wxColour
*arg1
= (wxColour
*) 0 ;
1246 PyObject
* obj0
= 0 ;
1248 (char *) "self", NULL
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 result
= (bool)(arg1
)->Ok();
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1270 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
*resultobj
;
1272 wxColour
*arg1
= (wxColour
*) 0 ;
1276 PyObject
* obj0
= 0 ;
1277 PyObject
* obj1
= 0 ;
1278 PyObject
* obj2
= 0 ;
1279 PyObject
* obj3
= 0 ;
1281 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1287 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1288 if (PyErr_Occurred()) SWIG_fail
;
1289 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1290 if (PyErr_Occurred()) SWIG_fail
;
1291 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1292 if (PyErr_Occurred()) SWIG_fail
;
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 (arg1
)->Set(arg2
,arg3
,arg4
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1300 Py_INCREF(Py_None
); resultobj
= Py_None
;
1307 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
*resultobj
;
1309 wxColour
*arg1
= (wxColour
*) 0 ;
1310 unsigned long arg2
;
1311 PyObject
* obj0
= 0 ;
1312 PyObject
* obj1
= 0 ;
1314 (char *) "self",(char *) "colRGB", NULL
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1320 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1321 if (PyErr_Occurred()) SWIG_fail
;
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 Py_INCREF(Py_None
); resultobj
= Py_None
;
1336 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
*resultobj
;
1338 wxColour
*arg1
= (wxColour
*) 0 ;
1339 wxString
*arg2
= 0 ;
1340 bool temp2
= False
;
1341 PyObject
* obj0
= 0 ;
1342 PyObject
* obj1
= 0 ;
1344 (char *) "self",(char *) "colourName", NULL
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1351 arg2
= wxString_in_helper(obj1
);
1352 if (arg2
== NULL
) SWIG_fail
;
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 (arg1
)->InitFromName((wxString
const &)*arg2
);
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) SWIG_fail
;
1362 Py_INCREF(Py_None
); resultobj
= Py_None
;
1377 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
*resultobj
;
1379 wxColour
*arg1
= (wxColour
*) 0 ;
1381 PyObject
* obj0
= 0 ;
1383 (char *) "self", NULL
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) SWIG_fail
;
1396 resultobj
= SWIG_FromLong((long)result
);
1403 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
*resultobj
;
1405 wxColour
*arg1
= (wxColour
*) 0 ;
1406 wxColour
*arg2
= 0 ;
1409 PyObject
* obj0
= 0 ;
1410 PyObject
* obj1
= 0 ;
1412 (char *) "self",(char *) "colour", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1424 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1426 wxPyEndAllowThreads(__tstate
);
1427 if (PyErr_Occurred()) SWIG_fail
;
1430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1438 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
*resultobj
;
1440 wxColour
*arg1
= (wxColour
*) 0 ;
1441 wxColour
*arg2
= 0 ;
1444 PyObject
* obj0
= 0 ;
1445 PyObject
* obj1
= 0 ;
1447 (char *) "self",(char *) "colour", NULL
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1455 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) SWIG_fail
;
1465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1473 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
*resultobj
;
1475 wxColour
*arg1
= (wxColour
*) 0 ;
1477 PyObject
* obj0
= 0 ;
1479 (char *) "self", NULL
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 result
= (PyObject
*)wxColour_Get(arg1
);
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1499 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
*resultobj
;
1501 wxColour
*arg1
= (wxColour
*) 0 ;
1502 unsigned long result
;
1503 PyObject
* obj0
= 0 ;
1505 (char *) "self", NULL
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 result
= (unsigned long)wxColour_GetRGB(arg1
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1518 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1525 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1528 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1530 return Py_BuildValue((char *)"");
1532 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
*resultobj
;
1535 unsigned char *arg2
= (unsigned char *) 0 ;
1536 unsigned char *arg3
= (unsigned char *) 0 ;
1537 unsigned char *arg4
= (unsigned char *) 0 ;
1539 PyObject
* obj0
= 0 ;
1540 PyObject
* obj1
= 0 ;
1541 PyObject
* obj2
= 0 ;
1542 PyObject
* obj3
= 0 ;
1544 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1548 arg1
= (int) SWIG_AsInt(obj0
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1552 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1554 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1557 if (!wxPyCheckForApp()) SWIG_fail
;
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) SWIG_fail
;
1564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1571 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
*resultobj
;
1573 wxPalette
*arg1
= (wxPalette
*) 0 ;
1574 PyObject
* obj0
= 0 ;
1576 (char *) "self", NULL
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 wxPyEndAllowThreads(__tstate
);
1587 if (PyErr_Occurred()) SWIG_fail
;
1589 Py_INCREF(Py_None
); resultobj
= Py_None
;
1596 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
*resultobj
;
1598 wxPalette
*arg1
= (wxPalette
*) 0 ;
1603 PyObject
* obj0
= 0 ;
1604 PyObject
* obj1
= 0 ;
1605 PyObject
* obj2
= 0 ;
1606 PyObject
* obj3
= 0 ;
1608 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1614 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1615 if (PyErr_Occurred()) SWIG_fail
;
1616 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1617 if (PyErr_Occurred()) SWIG_fail
;
1618 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1627 resultobj
= SWIG_FromInt((int)result
);
1634 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
*resultobj
;
1636 wxPalette
*arg1
= (wxPalette
*) 0 ;
1638 byte
*arg3
= (byte
*) 0 ;
1639 byte
*arg4
= (byte
*) 0 ;
1640 byte
*arg5
= (byte
*) 0 ;
1645 PyObject
* obj0
= 0 ;
1646 PyObject
* obj1
= 0 ;
1648 (char *) "self",(char *) "pixel", NULL
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1657 arg2
= (int) SWIG_AsInt(obj1
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1670 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1671 resultobj
= t_output_helper(resultobj
,o
);
1674 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1675 resultobj
= t_output_helper(resultobj
,o
);
1678 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1679 resultobj
= t_output_helper(resultobj
,o
);
1687 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
*resultobj
;
1689 wxPalette
*arg1
= (wxPalette
*) 0 ;
1691 PyObject
* obj0
= 0 ;
1693 (char *) "self", NULL
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 result
= (bool)(arg1
)->Ok();
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1715 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1718 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1720 return Py_BuildValue((char *)"");
1722 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
*resultobj
;
1724 wxColour
*arg1
= 0 ;
1725 int arg2
= (int) 1 ;
1726 int arg3
= (int) wxSOLID
;
1729 PyObject
* obj0
= 0 ;
1730 PyObject
* obj1
= 0 ;
1731 PyObject
* obj2
= 0 ;
1733 (char *) "colour",(char *) "width",(char *) "style", NULL
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1739 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1742 arg2
= (int) SWIG_AsInt(obj1
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1746 arg3
= (int) SWIG_AsInt(obj2
);
1747 if (PyErr_Occurred()) SWIG_fail
;
1750 if (!wxPyCheckForApp()) SWIG_fail
;
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1764 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1766 wxPen
*arg1
= (wxPen
*) 0 ;
1767 PyObject
* obj0
= 0 ;
1769 (char *) "self", NULL
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 wxPyEndAllowThreads(__tstate
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1782 Py_INCREF(Py_None
); resultobj
= Py_None
;
1789 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
*resultobj
;
1791 wxPen
*arg1
= (wxPen
*) 0 ;
1793 PyObject
* obj0
= 0 ;
1795 (char *) "self", NULL
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 result
= (int)(arg1
)->GetCap();
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 resultobj
= SWIG_FromInt((int)result
);
1815 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
*resultobj
;
1817 wxPen
*arg1
= (wxPen
*) 0 ;
1819 PyObject
* obj0
= 0 ;
1821 (char *) "self", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 result
= (arg1
)->GetColour();
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1835 wxColour
* resultptr
;
1836 resultptr
= new wxColour((wxColour
&) result
);
1837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1845 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
*resultobj
;
1847 wxPen
*arg1
= (wxPen
*) 0 ;
1849 PyObject
* obj0
= 0 ;
1851 (char *) "self", NULL
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 result
= (int)(arg1
)->GetJoin();
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1864 resultobj
= SWIG_FromInt((int)result
);
1871 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
*resultobj
;
1873 wxPen
*arg1
= (wxPen
*) 0 ;
1875 PyObject
* obj0
= 0 ;
1877 (char *) "self", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 result
= (int)(arg1
)->GetStyle();
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1890 resultobj
= SWIG_FromInt((int)result
);
1897 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
*resultobj
;
1899 wxPen
*arg1
= (wxPen
*) 0 ;
1901 PyObject
* obj0
= 0 ;
1903 (char *) "self", NULL
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 result
= (int)(arg1
)->GetWidth();
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1916 resultobj
= SWIG_FromInt((int)result
);
1923 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
*resultobj
;
1925 wxPen
*arg1
= (wxPen
*) 0 ;
1927 PyObject
* obj0
= 0 ;
1929 (char *) "self", NULL
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 result
= (bool)(arg1
)->Ok();
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1951 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1953 wxPen
*arg1
= (wxPen
*) 0 ;
1955 PyObject
* obj0
= 0 ;
1956 PyObject
* obj1
= 0 ;
1958 (char *) "self",(char *) "cap_style", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1964 arg2
= (int) SWIG_AsInt(obj1
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 (arg1
)->SetCap(arg2
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1973 Py_INCREF(Py_None
); resultobj
= Py_None
;
1980 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
*resultobj
;
1982 wxPen
*arg1
= (wxPen
*) 0 ;
1983 wxColour
*arg2
= 0 ;
1985 PyObject
* obj0
= 0 ;
1986 PyObject
* obj1
= 0 ;
1988 (char *) "self",(char *) "colour", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 (arg1
)->SetColour(*arg2
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 Py_INCREF(Py_None
); resultobj
= Py_None
;
2012 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 wxPen
*arg1
= (wxPen
*) 0 ;
2016 PyObject
* obj0
= 0 ;
2017 PyObject
* obj1
= 0 ;
2019 (char *) "self",(char *) "join_style", NULL
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2025 arg2
= (int) SWIG_AsInt(obj1
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 (arg1
)->SetJoin(arg2
);
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 Py_INCREF(Py_None
); resultobj
= Py_None
;
2041 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
*resultobj
;
2043 wxPen
*arg1
= (wxPen
*) 0 ;
2045 PyObject
* obj0
= 0 ;
2046 PyObject
* obj1
= 0 ;
2048 (char *) "self",(char *) "style", NULL
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2054 arg2
= (int) SWIG_AsInt(obj1
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 (arg1
)->SetStyle(arg2
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 Py_INCREF(Py_None
); resultobj
= Py_None
;
2070 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxPen
*arg1
= (wxPen
*) 0 ;
2074 PyObject
* obj0
= 0 ;
2075 PyObject
* obj1
= 0 ;
2077 (char *) "self",(char *) "width", NULL
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2083 arg2
= (int) SWIG_AsInt(obj1
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 (arg1
)->SetWidth(arg2
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) SWIG_fail
;
2092 Py_INCREF(Py_None
); resultobj
= Py_None
;
2099 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
*resultobj
;
2101 wxPen
*arg1
= (wxPen
*) 0 ;
2103 wxDash
*arg3
= (wxDash
*) 0 ;
2104 PyObject
* obj0
= 0 ;
2105 PyObject
* obj1
= 0 ;
2107 (char *) "self",(char *) "dashes", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2114 arg2
= PyList_Size(obj1
);
2115 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2116 if (arg3
== NULL
) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 (arg1
)->SetDashes(arg2
,arg3
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2125 Py_INCREF(Py_None
); resultobj
= Py_None
;
2127 if (arg3
) delete [] arg3
;
2132 if (arg3
) delete [] arg3
;
2138 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
*resultobj
;
2140 wxPen
*arg1
= (wxPen
*) 0 ;
2142 PyObject
* obj0
= 0 ;
2144 (char *) "self", NULL
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2164 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
*resultobj
;
2166 wxPen
*arg1
= (wxPen
*) 0 ;
2167 PyObject
*arg2
= (PyObject
*) 0 ;
2168 PyObject
*arg3
= (PyObject
*) 0 ;
2169 PyObject
* obj0
= 0 ;
2170 PyObject
* obj1
= 0 ;
2171 PyObject
* obj2
= 0 ;
2173 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 wxPen__SetDashes(arg1
,arg2
,arg3
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) SWIG_fail
;
2188 Py_INCREF(Py_None
); resultobj
= Py_None
;
2195 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
*resultobj
;
2197 wxPen
*arg1
= (wxPen
*) 0 ;
2199 PyObject
* obj0
= 0 ;
2201 (char *) "self", NULL
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2214 resultobj
= SWIG_FromInt((int)result
);
2221 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
*resultobj
;
2223 wxPen
*arg1
= (wxPen
*) 0 ;
2224 wxPen
*arg2
= (wxPen
*) 0 ;
2226 PyObject
* obj0
= 0 ;
2227 PyObject
* obj1
= 0 ;
2229 (char *) "self",(char *) "other", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2253 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2255 wxPen
*arg1
= (wxPen
*) 0 ;
2256 wxPen
*arg2
= (wxPen
*) 0 ;
2258 PyObject
* obj0
= 0 ;
2259 PyObject
* obj1
= 0 ;
2261 (char *) "self",(char *) "other", NULL
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2271 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2273 wxPyEndAllowThreads(__tstate
);
2274 if (PyErr_Occurred()) SWIG_fail
;
2277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2285 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2288 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2290 return Py_BuildValue((char *)"");
2292 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
*resultobj
;
2294 wxColour
*arg1
= 0 ;
2295 int arg2
= (int) wxSOLID
;
2298 PyObject
* obj0
= 0 ;
2299 PyObject
* obj1
= 0 ;
2301 (char *) "colour",(char *) "style", NULL
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2307 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2310 arg2
= (int) SWIG_AsInt(obj1
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2314 if (!wxPyCheckForApp()) SWIG_fail
;
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2328 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
*resultobj
;
2330 wxBrush
*arg1
= (wxBrush
*) 0 ;
2331 PyObject
* obj0
= 0 ;
2333 (char *) "self", NULL
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 Py_INCREF(Py_None
); resultobj
= Py_None
;
2353 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
*resultobj
;
2355 wxBrush
*arg1
= (wxBrush
*) 0 ;
2356 wxColour
*arg2
= 0 ;
2358 PyObject
* obj0
= 0 ;
2359 PyObject
* obj1
= 0 ;
2361 (char *) "self",(char *) "col", NULL
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 (arg1
)->SetColour((wxColour
const &)*arg2
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2378 Py_INCREF(Py_None
); resultobj
= Py_None
;
2385 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2387 wxBrush
*arg1
= (wxBrush
*) 0 ;
2389 PyObject
* obj0
= 0 ;
2390 PyObject
* obj1
= 0 ;
2392 (char *) "self",(char *) "style", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2398 arg2
= (int) SWIG_AsInt(obj1
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 (arg1
)->SetStyle(arg2
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2407 Py_INCREF(Py_None
); resultobj
= Py_None
;
2414 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
*resultobj
;
2416 wxBrush
*arg1
= (wxBrush
*) 0 ;
2417 wxBitmap
*arg2
= 0 ;
2418 PyObject
* obj0
= 0 ;
2419 PyObject
* obj1
= 0 ;
2421 (char *) "self",(char *) "stipple", NULL
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2431 PyErr_SetString(PyExc_TypeError
,"null reference");
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2441 Py_INCREF(Py_None
); resultobj
= Py_None
;
2448 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
*resultobj
;
2450 wxBrush
*arg1
= (wxBrush
*) 0 ;
2452 PyObject
* obj0
= 0 ;
2454 (char *) "self", NULL
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 result
= ((wxBrush
const *)arg1
)->GetColour();
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) SWIG_fail
;
2468 wxColour
* resultptr
;
2469 resultptr
= new wxColour((wxColour
&) result
);
2470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2478 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2480 wxBrush
*arg1
= (wxBrush
*) 0 ;
2482 PyObject
* obj0
= 0 ;
2484 (char *) "self", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2497 resultobj
= SWIG_FromInt((int)result
);
2504 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2506 wxBrush
*arg1
= (wxBrush
*) 0 ;
2508 PyObject
* obj0
= 0 ;
2510 (char *) "self", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2530 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxBrush
*arg1
= (wxBrush
*) 0 ;
2534 PyObject
* obj0
= 0 ;
2536 (char *) "self", NULL
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 result
= (bool)(arg1
)->Ok();
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2558 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2561 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2563 return Py_BuildValue((char *)"");
2565 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2567 wxString
*arg1
= 0 ;
2568 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2570 bool temp1
= False
;
2571 PyObject
* obj0
= 0 ;
2572 PyObject
* obj1
= 0 ;
2574 (char *) "name",(char *) "type", NULL
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2579 arg1
= wxString_in_helper(obj0
);
2580 if (arg1
== NULL
) SWIG_fail
;
2584 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2588 if (!wxPyCheckForApp()) SWIG_fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2610 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2613 PyObject
* obj0
= 0 ;
2615 (char *) "self", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2628 Py_INCREF(Py_None
); resultobj
= Py_None
;
2635 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
*resultobj
;
2639 int arg3
= (int) -1 ;
2641 PyObject
* obj0
= 0 ;
2642 PyObject
* obj1
= 0 ;
2643 PyObject
* obj2
= 0 ;
2645 (char *) "width",(char *) "height",(char *) "depth", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2649 arg1
= (int) SWIG_AsInt(obj0
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2651 arg2
= (int) SWIG_AsInt(obj1
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2654 arg3
= (int) SWIG_AsInt(obj2
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2658 if (!wxPyCheckForApp()) SWIG_fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2672 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2676 PyObject
* obj0
= 0 ;
2678 (char *) "icon", NULL
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2686 PyErr_SetString(PyExc_TypeError
,"null reference");
2690 if (!wxPyCheckForApp()) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2704 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
*resultobj
;
2707 int arg2
= (int) -1 ;
2709 PyObject
* obj0
= 0 ;
2710 PyObject
* obj1
= 0 ;
2712 (char *) "image",(char *) "depth", NULL
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2720 PyErr_SetString(PyExc_TypeError
,"null reference");
2724 arg2
= (int) SWIG_AsInt(obj1
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2728 if (!wxPyCheckForApp()) SWIG_fail
;
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2742 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 PyObject
*arg1
= (PyObject
*) 0 ;
2746 PyObject
* obj0
= 0 ;
2748 (char *) "listOfStrings", NULL
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2754 if (!wxPyCheckForApp()) SWIG_fail
;
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2768 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
*resultobj
;
2770 PyObject
*arg1
= (PyObject
*) 0 ;
2773 int arg4
= (int) 1 ;
2775 PyObject
* obj0
= 0 ;
2776 PyObject
* obj1
= 0 ;
2777 PyObject
* obj2
= 0 ;
2778 PyObject
* obj3
= 0 ;
2780 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2785 arg2
= (int) SWIG_AsInt(obj1
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2787 arg3
= (int) SWIG_AsInt(obj2
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2790 arg4
= (int) SWIG_AsInt(obj3
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2794 if (!wxPyCheckForApp()) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2808 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2812 PyObject
* obj0
= 0 ;
2814 (char *) "self", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 result
= (bool)(arg1
)->Ok();
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2836 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
*resultobj
;
2838 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2840 PyObject
* obj0
= 0 ;
2842 (char *) "self", NULL
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 result
= (int)(arg1
)->GetWidth();
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2855 resultobj
= SWIG_FromInt((int)result
);
2862 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2866 PyObject
* obj0
= 0 ;
2868 (char *) "self", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 result
= (int)(arg1
)->GetHeight();
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2881 resultobj
= SWIG_FromInt((int)result
);
2888 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
*resultobj
;
2890 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2892 PyObject
* obj0
= 0 ;
2894 (char *) "self", NULL
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 result
= (int)(arg1
)->GetDepth();
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2907 resultobj
= SWIG_FromInt((int)result
);
2914 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
*resultobj
;
2916 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2918 PyObject
* obj0
= 0 ;
2920 (char *) "self", NULL
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
2924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 result
= wxBitmap_GetSize(arg1
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2935 resultptr
= new wxSize((wxSize
&) result
);
2936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2944 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
*resultobj
;
2946 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2947 SwigValueWrapper
< wxImage
> result
;
2948 PyObject
* obj0
= 0 ;
2950 (char *) "self", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) SWIG_fail
;
2964 wxImage
* resultptr
;
2965 resultptr
= new wxImage((wxImage
&) result
);
2966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
2974 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2978 PyObject
* obj0
= 0 ;
2980 (char *) "self", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3000 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
*resultobj
;
3002 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3003 wxMask
*arg2
= (wxMask
*) 0 ;
3004 PyObject
* obj0
= 0 ;
3005 PyObject
* obj1
= 0 ;
3007 (char *) "self",(char *) "mask", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 (arg1
)->SetMask(arg2
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3022 Py_INCREF(Py_None
); resultobj
= Py_None
;
3029 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
*resultobj
;
3031 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3032 wxColour
*arg2
= 0 ;
3034 PyObject
* obj0
= 0 ;
3035 PyObject
* obj1
= 0 ;
3037 (char *) "self",(char *) "colour", NULL
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 Py_INCREF(Py_None
); resultobj
= Py_None
;
3061 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3065 SwigValueWrapper
< wxBitmap
> result
;
3067 PyObject
* obj0
= 0 ;
3068 PyObject
* obj1
= 0 ;
3070 (char *) "self",(char *) "rect", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3078 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3088 wxBitmap
* resultptr
;
3089 resultptr
= new wxBitmap((wxBitmap
&) result
);
3090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3098 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3101 wxString
*arg2
= 0 ;
3103 wxPalette
*arg4
= (wxPalette
*) NULL
;
3105 bool temp2
= False
;
3106 PyObject
* obj0
= 0 ;
3107 PyObject
* obj1
= 0 ;
3108 PyObject
* obj2
= 0 ;
3109 PyObject
* obj3
= 0 ;
3111 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3118 arg2
= wxString_in_helper(obj1
);
3119 if (arg2
== NULL
) SWIG_fail
;
3122 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3125 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) SWIG_fail
;
3136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3152 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3155 wxString
*arg2
= 0 ;
3158 bool temp2
= False
;
3159 PyObject
* obj0
= 0 ;
3160 PyObject
* obj1
= 0 ;
3161 PyObject
* obj2
= 0 ;
3163 (char *) "self",(char *) "name",(char *) "type", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3170 arg2
= wxString_in_helper(obj1
);
3171 if (arg2
== NULL
) SWIG_fail
;
3174 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3200 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3205 PyObject
* obj0
= 0 ;
3206 PyObject
* obj1
= 0 ;
3208 (char *) "self",(char *) "icon", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3215 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3218 PyErr_SetString(PyExc_TypeError
,"null reference");
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) SWIG_fail
;
3229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3237 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3244 (char *) "self",(char *) "height", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3250 arg2
= (int) SWIG_AsInt(obj1
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 (arg1
)->SetHeight(arg2
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3259 Py_INCREF(Py_None
); resultobj
= Py_None
;
3266 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
;
3268 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3270 PyObject
* obj0
= 0 ;
3271 PyObject
* obj1
= 0 ;
3273 (char *) "self",(char *) "width", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3279 arg2
= (int) SWIG_AsInt(obj1
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 (arg1
)->SetWidth(arg2
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3288 Py_INCREF(Py_None
); resultobj
= Py_None
;
3295 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3299 PyObject
* obj0
= 0 ;
3300 PyObject
* obj1
= 0 ;
3302 (char *) "self",(char *) "depth", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3308 arg2
= (int) SWIG_AsInt(obj1
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 (arg1
)->SetDepth(arg2
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3317 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3329 PyObject
* obj0
= 0 ;
3330 PyObject
* obj1
= 0 ;
3332 (char *) "self",(char *) "size", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3340 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 Py_INCREF(Py_None
); resultobj
= Py_None
;
3356 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3359 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3361 PyObject
* obj0
= 0 ;
3362 PyObject
* obj1
= 0 ;
3364 (char *) "self",(char *) "other", NULL
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3388 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
*resultobj
;
3390 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3391 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3394 PyObject
* obj1
= 0 ;
3396 (char *) "self",(char *) "other", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3420 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3423 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3425 return Py_BuildValue((char *)"");
3427 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxBitmap
*arg1
= 0 ;
3430 wxColour
const &arg2_defvalue
= wxNullColour
;
3431 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3434 PyObject
* obj0
= 0 ;
3435 PyObject
* obj1
= 0 ;
3437 (char *) "bitmap",(char *) "colour", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3445 PyErr_SetString(PyExc_TypeError
,"null reference");
3451 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3455 if (!wxPyCheckForApp()) SWIG_fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3469 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3472 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3474 return Py_BuildValue((char *)"");
3476 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxString
*arg1
= 0 ;
3480 int arg3
= (int) -1 ;
3481 int arg4
= (int) -1 ;
3483 bool temp1
= False
;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3486 PyObject
* obj2
= 0 ;
3487 PyObject
* obj3
= 0 ;
3489 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3494 arg1
= wxString_in_helper(obj0
);
3495 if (arg1
== NULL
) SWIG_fail
;
3498 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 arg3
= (int) SWIG_AsInt(obj2
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3505 arg4
= (int) SWIG_AsInt(obj3
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3509 if (!wxPyCheckForApp()) SWIG_fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3531 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxIcon
*arg1
= (wxIcon
*) 0 ;
3534 PyObject
* obj0
= 0 ;
3536 (char *) "self", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 Py_INCREF(Py_None
); resultobj
= Py_None
;
3556 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3565 if (!wxPyCheckForApp()) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (wxIcon
*)new wxIcon();
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3579 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3581 wxIconLocation
*arg1
= 0 ;
3583 PyObject
* obj0
= 0 ;
3585 (char *) "loc", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3593 PyErr_SetString(PyExc_TypeError
,"null reference");
3597 if (!wxPyCheckForApp()) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3611 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxBitmap
*arg1
= 0 ;
3615 PyObject
* obj0
= 0 ;
3617 (char *) "bmp", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3625 PyErr_SetString(PyExc_TypeError
,"null reference");
3629 if (!wxPyCheckForApp()) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3643 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 PyObject
*arg1
= (PyObject
*) 0 ;
3647 PyObject
* obj0
= 0 ;
3649 (char *) "listOfStrings", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3655 if (!wxPyCheckForApp()) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 result
= (wxIcon
*)new_wxIcon(arg1
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3669 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
;
3671 wxIcon
*arg1
= (wxIcon
*) 0 ;
3672 wxString
*arg2
= 0 ;
3675 bool temp2
= False
;
3676 PyObject
* obj0
= 0 ;
3677 PyObject
* obj1
= 0 ;
3678 PyObject
* obj2
= 0 ;
3680 (char *) "self",(char *) "name",(char *) "type", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3687 arg2
= wxString_in_helper(obj1
);
3688 if (arg2
== NULL
) SWIG_fail
;
3691 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3717 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3719 wxIcon
*arg1
= (wxIcon
*) 0 ;
3721 PyObject
* obj0
= 0 ;
3723 (char *) "self", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3731 result
= (bool)(arg1
)->Ok();
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3745 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3747 wxIcon
*arg1
= (wxIcon
*) 0 ;
3749 PyObject
* obj0
= 0 ;
3751 (char *) "self", NULL
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (int)(arg1
)->GetWidth();
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 resultobj
= SWIG_FromInt((int)result
);
3771 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxIcon
*arg1
= (wxIcon
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3777 (char *) "self", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (int)(arg1
)->GetHeight();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 resultobj
= SWIG_FromInt((int)result
);
3797 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxIcon
*arg1
= (wxIcon
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3803 (char *) "self", NULL
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= (int)(arg1
)->GetDepth();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_FromInt((int)result
);
3823 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
;
3825 wxIcon
*arg1
= (wxIcon
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3830 (char *) "self",(char *) "w", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3836 arg2
= (int) SWIG_AsInt(obj1
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 (arg1
)->SetWidth(arg2
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 Py_INCREF(Py_None
); resultobj
= Py_None
;
3852 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxIcon
*arg1
= (wxIcon
*) 0 ;
3856 PyObject
* obj0
= 0 ;
3857 PyObject
* obj1
= 0 ;
3859 (char *) "self",(char *) "h", NULL
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3865 arg2
= (int) SWIG_AsInt(obj1
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 (arg1
)->SetHeight(arg2
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 Py_INCREF(Py_None
); resultobj
= Py_None
;
3881 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxIcon
*arg1
= (wxIcon
*) 0 ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3888 (char *) "self",(char *) "d", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3894 arg2
= (int) SWIG_AsInt(obj1
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 (arg1
)->SetDepth(arg2
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 Py_INCREF(Py_None
); resultobj
= Py_None
;
3910 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3912 wxIcon
*arg1
= (wxIcon
*) 0 ;
3913 wxBitmap
*arg2
= 0 ;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3917 (char *) "self",(char *) "bmp", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3927 PyErr_SetString(PyExc_TypeError
,"null reference");
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 Py_INCREF(Py_None
); resultobj
= Py_None
;
3944 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3947 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3949 return Py_BuildValue((char *)"");
3951 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
*resultobj
;
3953 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3954 int arg2
= (int) 0 ;
3955 wxIconLocation
*result
;
3956 bool temp1
= False
;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3960 (char *) "filename",(char *) "num", NULL
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3966 arg1
= wxString_in_helper(obj0
);
3967 if (arg1
== NULL
) SWIG_fail
;
3972 arg2
= (int) SWIG_AsInt(obj1
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3997 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4000 PyObject
* obj0
= 0 ;
4002 (char *) "self", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 Py_INCREF(Py_None
); resultobj
= Py_None
;
4022 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4024 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4026 PyObject
* obj0
= 0 ;
4028 (char *) "self", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4050 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4053 wxString
*arg2
= 0 ;
4054 bool temp2
= False
;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 (char *) "self",(char *) "filename", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 arg2
= wxString_in_helper(obj1
);
4066 if (arg2
== NULL
) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 (arg1
)->SetFileName((wxString
const &)*arg2
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 Py_INCREF(Py_None
); resultobj
= Py_None
;
4091 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4093 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4095 PyObject
* obj0
= 0 ;
4097 (char *) "self", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4107 result
= (wxString
*) &_result_ref
;
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4117 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4126 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
;
4128 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4130 PyObject
* obj0
= 0 ;
4131 PyObject
* obj1
= 0 ;
4133 (char *) "self",(char *) "num", NULL
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4139 arg2
= (int) SWIG_AsInt(obj1
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 wxIconLocation_SetIndex(arg1
,arg2
);
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 Py_INCREF(Py_None
); resultobj
= Py_None
;
4155 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4159 PyObject
* obj0
= 0 ;
4161 (char *) "self", NULL
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (int)wxIconLocation_GetIndex(arg1
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_FromInt((int)result
);
4181 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4184 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4186 return Py_BuildValue((char *)"");
4188 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxIconBundle
*result
;
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (wxIconBundle
*)new wxIconBundle();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4210 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxString
*arg1
= 0 ;
4214 wxIconBundle
*result
;
4215 bool temp1
= False
;
4216 PyObject
* obj0
= 0 ;
4217 PyObject
* obj1
= 0 ;
4219 (char *) "file",(char *) "type", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4224 arg1
= wxString_in_helper(obj0
);
4225 if (arg1
== NULL
) SWIG_fail
;
4228 arg2
= (long) SWIG_AsLong(obj1
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4252 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4255 wxIconBundle
*result
;
4256 PyObject
* obj0
= 0 ;
4258 (char *) "icon", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4266 PyErr_SetString(PyExc_TypeError
,"null reference");
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4283 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4286 PyObject
* obj0
= 0 ;
4288 (char *) "self", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 Py_INCREF(Py_None
); resultobj
= Py_None
;
4308 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4315 (char *) "self",(char *) "icon", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4325 PyErr_SetString(PyExc_TypeError
,"null reference");
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4344 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4345 wxString
*arg2
= 0 ;
4347 bool temp2
= False
;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4350 PyObject
* obj2
= 0 ;
4352 (char *) "self",(char *) "file",(char *) "type", NULL
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4359 arg2
= wxString_in_helper(obj1
);
4360 if (arg2
== NULL
) SWIG_fail
;
4363 arg3
= (long) SWIG_AsLong(obj2
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4372 Py_INCREF(Py_None
); resultobj
= Py_None
;
4387 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
;
4389 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4394 PyObject
* obj1
= 0 ;
4396 (char *) "self",(char *) "size", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4404 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4410 result
= (wxIcon
*) &_result_ref
;
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4417 wxIcon
* resultptr
= new wxIcon(*result
);
4418 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4426 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4429 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4431 return Py_BuildValue((char *)"");
4433 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxString
*arg1
= (wxString
*) 0 ;
4437 int arg3
= (int) 0 ;
4438 int arg4
= (int) 0 ;
4440 bool temp1
= False
;
4441 PyObject
* obj0
= 0 ;
4442 PyObject
* obj1
= 0 ;
4443 PyObject
* obj2
= 0 ;
4444 PyObject
* obj3
= 0 ;
4446 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4451 arg1
= wxString_in_helper(obj0
);
4452 if (arg1
== NULL
) SWIG_fail
;
4455 arg2
= (long) SWIG_AsLong(obj1
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4458 arg3
= (int) SWIG_AsInt(obj2
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4462 arg4
= (int) SWIG_AsInt(obj3
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4466 if (!wxPyCheckForApp()) SWIG_fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4488 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxCursor
*arg1
= (wxCursor
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4493 (char *) "self", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 Py_INCREF(Py_None
); resultobj
= Py_None
;
4513 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4517 PyObject
* obj0
= 0 ;
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4523 arg1
= (int) SWIG_AsInt(obj0
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 if (!wxPyCheckForApp()) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (wxCursor
*)new wxCursor(arg1
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4540 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
;
4544 PyObject
* obj0
= 0 ;
4546 (char *) "image", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4554 PyErr_SetString(PyExc_TypeError
,"null reference");
4558 if (!wxPyCheckForApp()) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4572 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxCursor
*arg1
= (wxCursor
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "self", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 result
= (bool)(arg1
)->Ok();
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4600 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4603 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4605 return Py_BuildValue((char *)"");
4607 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4609 int arg1
= (int) 0 ;
4610 int arg2
= (int) 0 ;
4611 int arg3
= (int) 0 ;
4612 int arg4
= (int) 0 ;
4614 PyObject
* obj0
= 0 ;
4615 PyObject
* obj1
= 0 ;
4616 PyObject
* obj2
= 0 ;
4617 PyObject
* obj3
= 0 ;
4619 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4624 arg1
= (int) SWIG_AsInt(obj0
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 arg2
= (int) SWIG_AsInt(obj1
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 arg3
= (int) SWIG_AsInt(obj2
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4636 arg4
= (int) SWIG_AsInt(obj3
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4640 if (!wxPyCheckForApp()) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4654 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
*resultobj
;
4656 wxBitmap
*arg1
= 0 ;
4657 wxColour
const &arg2_defvalue
= wxNullColour
;
4658 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4659 int arg3
= (int) 0 ;
4662 PyObject
* obj0
= 0 ;
4663 PyObject
* obj1
= 0 ;
4664 PyObject
* obj2
= 0 ;
4666 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4674 PyErr_SetString(PyExc_TypeError
,"null reference");
4680 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4684 arg3
= (int) SWIG_AsInt(obj2
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4688 if (!wxPyCheckForApp()) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4702 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4705 wxPoint
*arg2
= (wxPoint
*) 0 ;
4706 int arg3
= (int) wxWINDING_RULE
;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4711 (char *) "points",(char *) "fillStyle", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4716 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4717 if (arg2
== NULL
) SWIG_fail
;
4720 arg3
= (int) SWIG_AsInt(obj1
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4724 if (!wxPyCheckForApp()) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4733 if (arg2
) delete [] arg2
;
4738 if (arg2
) delete [] arg2
;
4744 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxRegion
*arg1
= (wxRegion
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4749 (char *) "self", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 Py_INCREF(Py_None
); resultobj
= Py_None
;
4769 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
;
4771 wxRegion
*arg1
= (wxRegion
*) 0 ;
4772 PyObject
* obj0
= 0 ;
4774 (char *) "self", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4787 Py_INCREF(Py_None
); resultobj
= Py_None
;
4794 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
*resultobj
;
4796 wxRegion
*arg1
= (wxRegion
*) 0 ;
4800 PyObject
* obj0
= 0 ;
4801 PyObject
* obj1
= 0 ;
4802 PyObject
* obj2
= 0 ;
4804 (char *) "self",(char *) "x",(char *) "y", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4810 arg2
= (int) SWIG_AsInt(obj1
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4812 arg3
= (int) SWIG_AsInt(obj2
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4830 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4832 wxRegion
*arg1
= (wxRegion
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4838 PyObject
* obj2
= 0 ;
4840 (char *) "self",(char *) "x",(char *) "y", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4846 arg2
= (int) SWIG_AsInt(obj1
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4848 arg3
= (int) SWIG_AsInt(obj2
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= SWIG_FromInt((int)result
);
4864 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxRegion
*arg1
= (wxRegion
*) 0 ;
4870 PyObject
* obj0
= 0 ;
4871 PyObject
* obj1
= 0 ;
4873 (char *) "self",(char *) "pt", NULL
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4881 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= SWIG_FromInt((int)result
);
4897 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
;
4899 wxRegion
*arg1
= (wxRegion
*) 0 ;
4903 PyObject
* obj0
= 0 ;
4904 PyObject
* obj1
= 0 ;
4906 (char *) "self",(char *) "rect", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4914 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= SWIG_FromInt((int)result
);
4930 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
;
4932 wxRegion
*arg1
= (wxRegion
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4940 PyObject
* obj2
= 0 ;
4941 PyObject
* obj3
= 0 ;
4942 PyObject
* obj4
= 0 ;
4944 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4950 arg2
= (int) SWIG_AsInt(obj1
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4952 arg3
= (int) SWIG_AsInt(obj2
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4954 arg4
= (int) SWIG_AsInt(obj3
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4956 arg5
= (int) SWIG_AsInt(obj4
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4965 resultobj
= SWIG_FromInt((int)result
);
4972 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
*resultobj
;
4974 wxRegion
*arg1
= (wxRegion
*) 0 ;
4976 PyObject
* obj0
= 0 ;
4978 (char *) "self", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (arg1
)->GetBox();
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4993 resultptr
= new wxRect((wxRect
&) result
);
4994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5002 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxRegion
*arg1
= (wxRegion
*) 0 ;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5012 PyObject
* obj2
= 0 ;
5013 PyObject
* obj3
= 0 ;
5014 PyObject
* obj4
= 0 ;
5016 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5022 arg2
= (int) SWIG_AsInt(obj1
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5024 arg3
= (int) SWIG_AsInt(obj2
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5026 arg4
= (int) SWIG_AsInt(obj3
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5028 arg5
= (int) SWIG_AsInt(obj4
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5046 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxRegion
*arg1
= (wxRegion
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5055 (char *) "self",(char *) "rect", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5063 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5081 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
;
5083 wxRegion
*arg1
= (wxRegion
*) 0 ;
5084 wxRegion
*arg2
= 0 ;
5086 PyObject
* obj0
= 0 ;
5087 PyObject
* obj1
= 0 ;
5089 (char *) "self",(char *) "region", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5099 PyErr_SetString(PyExc_TypeError
,"null reference");
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5118 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxRegion
*arg1
= (wxRegion
*) 0 ;
5122 PyObject
* obj0
= 0 ;
5124 (char *) "self", NULL
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (bool)(arg1
)->IsEmpty();
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5146 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
;
5148 wxRegion
*arg1
= (wxRegion
*) 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 PyObject
* obj2
= 0 ;
5157 PyObject
* obj3
= 0 ;
5158 PyObject
* obj4
= 0 ;
5160 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5166 arg2
= (int) SWIG_AsInt(obj1
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5168 arg3
= (int) SWIG_AsInt(obj2
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5170 arg4
= (int) SWIG_AsInt(obj3
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5172 arg5
= (int) SWIG_AsInt(obj4
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5190 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxRegion
*arg1
= (wxRegion
*) 0 ;
5196 PyObject
* obj0
= 0 ;
5197 PyObject
* obj1
= 0 ;
5199 (char *) "self",(char *) "rect", NULL
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5225 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
;
5227 wxRegion
*arg1
= (wxRegion
*) 0 ;
5228 wxRegion
*arg2
= 0 ;
5230 PyObject
* obj0
= 0 ;
5231 PyObject
* obj1
= 0 ;
5233 (char *) "self",(char *) "region", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5243 PyErr_SetString(PyExc_TypeError
,"null reference");
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5262 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxRegion
*arg1
= (wxRegion
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5272 PyObject
* obj2
= 0 ;
5273 PyObject
* obj3
= 0 ;
5274 PyObject
* obj4
= 0 ;
5276 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5282 arg2
= (int) SWIG_AsInt(obj1
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5284 arg3
= (int) SWIG_AsInt(obj2
);
5285 if (PyErr_Occurred()) SWIG_fail
;
5286 arg4
= (int) SWIG_AsInt(obj3
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5288 arg5
= (int) SWIG_AsInt(obj4
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5306 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxRegion
*arg1
= (wxRegion
*) 0 ;
5312 PyObject
* obj0
= 0 ;
5313 PyObject
* obj1
= 0 ;
5315 (char *) "self",(char *) "rect", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5323 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5341 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxRegion
*arg1
= (wxRegion
*) 0 ;
5344 wxRegion
*arg2
= 0 ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5349 (char *) "self",(char *) "region", NULL
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5359 PyErr_SetString(PyExc_TypeError
,"null reference");
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5378 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxRegion
*arg1
= (wxRegion
*) 0 ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5388 PyObject
* obj2
= 0 ;
5389 PyObject
* obj3
= 0 ;
5390 PyObject
* obj4
= 0 ;
5392 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5398 arg2
= (int) SWIG_AsInt(obj1
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5400 arg3
= (int) SWIG_AsInt(obj2
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5402 arg4
= (int) SWIG_AsInt(obj3
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5404 arg5
= (int) SWIG_AsInt(obj4
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5422 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
;
5424 wxRegion
*arg1
= (wxRegion
*) 0 ;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5431 (char *) "self",(char *) "rect", NULL
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5439 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5457 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxRegion
*arg1
= (wxRegion
*) 0 ;
5460 wxRegion
*arg2
= 0 ;
5462 PyObject
* obj0
= 0 ;
5463 PyObject
* obj1
= 0 ;
5465 (char *) "self",(char *) "region", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5475 PyErr_SetString(PyExc_TypeError
,"null reference");
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5494 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxRegion
*arg1
= (wxRegion
*) 0 ;
5497 SwigValueWrapper
< wxBitmap
> result
;
5498 PyObject
* obj0
= 0 ;
5500 (char *) "self", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= (arg1
)->ConvertToBitmap();
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5514 wxBitmap
* resultptr
;
5515 resultptr
= new wxBitmap((wxBitmap
&) result
);
5516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5524 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxRegion
*arg1
= (wxRegion
*) 0 ;
5527 wxBitmap
*arg2
= 0 ;
5528 wxColour
const &arg3_defvalue
= wxNullColour
;
5529 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5530 int arg4
= (int) 0 ;
5533 PyObject
* obj0
= 0 ;
5534 PyObject
* obj1
= 0 ;
5535 PyObject
* obj2
= 0 ;
5536 PyObject
* obj3
= 0 ;
5538 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5548 PyErr_SetString(PyExc_TypeError
,"null reference");
5554 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5558 arg4
= (int) SWIG_AsInt(obj3
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5577 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5580 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5582 return Py_BuildValue((char *)"");
5584 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
;
5586 wxRegion
*arg1
= 0 ;
5587 wxRegionIterator
*result
;
5588 PyObject
* obj0
= 0 ;
5590 (char *) "region", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5598 PyErr_SetString(PyExc_TypeError
,"null reference");
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5616 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5621 (char *) "self", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5647 (char *) "self", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (int)(arg1
)->GetX();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_FromInt((int)result
);
5667 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5671 PyObject
* obj0
= 0 ;
5673 (char *) "self", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 result
= (int)(arg1
)->GetY();
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= SWIG_FromInt((int)result
);
5693 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
;
5695 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5697 PyObject
* obj0
= 0 ;
5699 (char *) "self", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (int)(arg1
)->GetW();
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= SWIG_FromInt((int)result
);
5719 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5723 PyObject
* obj0
= 0 ;
5725 (char *) "self", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (int)(arg1
)->GetWidth();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= SWIG_FromInt((int)result
);
5745 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5751 (char *) "self", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (int)(arg1
)->GetH();
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_FromInt((int)result
);
5771 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "self", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (int)(arg1
)->GetHeight();
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= SWIG_FromInt((int)result
);
5797 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5801 PyObject
* obj0
= 0 ;
5803 (char *) "self", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= (arg1
)->GetRect();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5818 resultptr
= new wxRect((wxRect
&) result
);
5819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5827 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5831 PyObject
* obj0
= 0 ;
5833 (char *) "self", NULL
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 result
= (bool)(arg1
)->HaveRects();
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5855 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5858 PyObject
* obj0
= 0 ;
5860 (char *) "self", NULL
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 Py_INCREF(Py_None
); resultobj
= Py_None
;
5880 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5883 PyObject
* obj0
= 0 ;
5885 (char *) "self", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 wxRegionIterator_Next(arg1
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 Py_INCREF(Py_None
); resultobj
= Py_None
;
5905 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5909 PyObject
* obj0
= 0 ;
5911 (char *) "self", NULL
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5933 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5936 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5938 return Py_BuildValue((char *)"");
5940 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxNativeFontInfo
*result
;
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5962 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5967 (char *) "self", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 Py_INCREF(Py_None
); resultobj
= Py_None
;
5987 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
;
5989 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5990 PyObject
* obj0
= 0 ;
5992 (char *) "self", NULL
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 Py_INCREF(Py_None
); resultobj
= Py_None
;
6012 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6019 (char *) "self",(char *) "font", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6029 PyErr_SetString(PyExc_TypeError
,"null reference");
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 Py_INCREF(Py_None
); resultobj
= Py_None
;
6046 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6050 PyObject
* obj0
= 0 ;
6052 (char *) "self", NULL
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= SWIG_FromInt((int)result
);
6072 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6078 (char *) "self", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= SWIG_FromInt((int)result
);
6098 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6102 PyObject
* obj0
= 0 ;
6104 (char *) "self", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 resultobj
= SWIG_FromInt((int)result
);
6124 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6130 (char *) "self", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6152 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6158 (char *) "self", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6184 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6188 PyObject
* obj0
= 0 ;
6190 (char *) "self", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_FromInt((int)result
);
6210 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6214 PyObject
* obj0
= 0 ;
6216 (char *) "self", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 resultobj
= SWIG_FromInt((int)result
);
6236 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6243 (char *) "self",(char *) "pointsize", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6249 arg2
= (int) SWIG_AsInt(obj1
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 (arg1
)->SetPointSize(arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 Py_INCREF(Py_None
); resultobj
= Py_None
;
6265 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6272 (char *) "self",(char *) "style", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6278 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 Py_INCREF(Py_None
); resultobj
= Py_None
;
6294 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj1
= 0 ;
6301 (char *) "self",(char *) "weight", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6307 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 Py_INCREF(Py_None
); resultobj
= Py_None
;
6323 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6325 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6327 PyObject
* obj0
= 0 ;
6328 PyObject
* obj1
= 0 ;
6330 (char *) "self",(char *) "underlined", NULL
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6336 arg2
= (bool) SWIG_AsBool(obj1
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 (arg1
)->SetUnderlined(arg2
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 Py_INCREF(Py_None
); resultobj
= Py_None
;
6352 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6356 PyObject
* obj0
= 0 ;
6357 PyObject
* obj1
= 0 ;
6359 (char *) "self",(char *) "facename", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6366 wxString
* sptr
= wxString_in_helper(obj1
);
6367 if (sptr
== NULL
) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 (arg1
)->SetFaceName(arg2
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 Py_INCREF(Py_None
); resultobj
= Py_None
;
6385 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6389 PyObject
* obj0
= 0 ;
6390 PyObject
* obj1
= 0 ;
6392 (char *) "self",(char *) "family", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6398 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 Py_INCREF(Py_None
); resultobj
= Py_None
;
6414 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6419 PyObject
* obj1
= 0 ;
6421 (char *) "self",(char *) "encoding", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6427 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 Py_INCREF(Py_None
); resultobj
= Py_None
;
6443 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6446 wxString
*arg2
= 0 ;
6448 bool temp2
= False
;
6449 PyObject
* obj0
= 0 ;
6450 PyObject
* obj1
= 0 ;
6452 (char *) "self",(char *) "s", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6459 arg2
= wxString_in_helper(obj1
);
6460 if (arg2
== NULL
) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6487 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6493 (char *) "self", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6519 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6523 PyObject
* obj0
= 0 ;
6525 (char *) "self", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= wxNativeFontInfo___str__(arg1
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6551 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6554 wxString
*arg2
= 0 ;
6556 bool temp2
= False
;
6557 PyObject
* obj0
= 0 ;
6558 PyObject
* obj1
= 0 ;
6560 (char *) "self",(char *) "s", NULL
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6567 arg2
= wxString_in_helper(obj1
);
6568 if (arg2
== NULL
) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6595 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
;
6597 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6599 PyObject
* obj0
= 0 ;
6601 (char *) "self", NULL
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6627 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6630 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6632 return Py_BuildValue((char *)"");
6634 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6637 wxString
*arg2
= (wxString
*) 0 ;
6638 bool temp2
= False
;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6642 (char *) "self",(char *) "facename", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6649 arg2
= wxString_in_helper(obj1
);
6650 if (arg2
== NULL
) SWIG_fail
;
6653 if (arg1
) (arg1
)->facename
= *arg2
;
6655 Py_INCREF(Py_None
); resultobj
= Py_None
;
6670 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6674 PyObject
* obj0
= 0 ;
6676 (char *) "self", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6682 result
= (wxString
*)& ((arg1
)->facename
);
6686 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6688 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6697 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6704 (char *) "self",(char *) "encoding", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6712 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6714 Py_INCREF(Py_None
); resultobj
= Py_None
;
6721 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6723 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6725 PyObject
* obj0
= 0 ;
6727 (char *) "self", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6733 result
= (int) ((arg1
)->encoding
);
6735 resultobj
= SWIG_FromInt((int)result
);
6742 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxNativeEncodingInfo
*result
;
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6764 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6769 (char *) "self", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 Py_INCREF(Py_None
); resultobj
= Py_None
;
6789 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6792 wxString
*arg2
= 0 ;
6794 bool temp2
= False
;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6798 (char *) "self",(char *) "s", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6805 arg2
= wxString_in_helper(obj1
);
6806 if (arg2
== NULL
) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6833 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6837 PyObject
* obj0
= 0 ;
6839 (char *) "self", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6865 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6868 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6870 return Py_BuildValue((char *)"");
6872 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
;
6875 wxNativeEncodingInfo
*result
;
6876 PyObject
* obj0
= 0 ;
6878 (char *) "encoding", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6882 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6898 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
*resultobj
;
6900 wxNativeEncodingInfo
*arg1
= 0 ;
6902 PyObject
* obj0
= 0 ;
6904 (char *) "info", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6912 PyErr_SetString(PyExc_TypeError
,"null reference");
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6931 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
;
6933 wxFontMapper
*result
;
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (wxFontMapper
*)new wxFontMapper();
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6953 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
*resultobj
;
6955 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6956 PyObject
* obj0
= 0 ;
6958 (char *) "self", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 Py_INCREF(Py_None
); resultobj
= Py_None
;
6978 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxFontMapper
*result
;
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 result
= (wxFontMapper
*)wxFontMapper::Get();
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7000 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7003 wxFontMapper
*result
;
7004 PyObject
* obj0
= 0 ;
7006 (char *) "mapper", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7026 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7029 wxString
*arg2
= 0 ;
7030 bool arg3
= (bool) True
;
7032 bool temp2
= False
;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7035 PyObject
* obj2
= 0 ;
7037 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7044 arg2
= wxString_in_helper(obj1
);
7045 if (arg2
== NULL
) SWIG_fail
;
7049 arg3
= (bool) SWIG_AsBool(obj2
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= SWIG_FromInt((int)result
);
7074 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7096 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7100 PyObject
* obj0
= 0 ;
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7106 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (int)wxFontMapper::GetEncoding(arg1
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_FromInt((int)result
);
7122 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7126 PyObject
* obj0
= 0 ;
7128 (char *) "encoding", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7132 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7154 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7158 PyObject
* obj0
= 0 ;
7160 (char *) "encoding", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7164 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7186 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxString
*arg1
= 0 ;
7190 bool temp1
= False
;
7191 PyObject
* obj0
= 0 ;
7193 (char *) "name", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7198 arg1
= wxString_in_helper(obj0
);
7199 if (arg1
== NULL
) SWIG_fail
;
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= SWIG_FromInt((int)result
);
7224 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7227 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj1
= 0 ;
7231 (char *) "self",(char *) "config", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 (arg1
)->SetConfig(arg2
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 Py_INCREF(Py_None
); resultobj
= Py_None
;
7253 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7255 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7256 wxString
*arg2
= 0 ;
7257 bool temp2
= False
;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7261 (char *) "self",(char *) "prefix", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7268 arg2
= wxString_in_helper(obj1
);
7269 if (arg2
== NULL
) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 Py_INCREF(Py_None
); resultobj
= Py_None
;
7294 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 result
= wxFontMapper::GetDefaultConfigPath();
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7322 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7326 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7327 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7328 bool arg4
= (bool) True
;
7330 bool temp3
= False
;
7331 PyObject
* obj0
= 0 ;
7332 PyObject
* obj1
= 0 ;
7333 PyObject
* obj2
= 0 ;
7334 PyObject
* obj3
= 0 ;
7336 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7342 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7346 arg3
= wxString_in_helper(obj2
);
7347 if (arg3
== NULL
) SWIG_fail
;
7352 arg4
= (bool) SWIG_AsBool(obj3
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7377 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7381 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7382 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7384 bool temp3
= False
;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7387 PyObject
* obj2
= 0 ;
7389 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7395 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7399 arg3
= wxString_in_helper(obj2
);
7400 if (arg3
== NULL
) SWIG_fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7428 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7431 wxWindow
*arg2
= (wxWindow
*) 0 ;
7432 PyObject
* obj0
= 0 ;
7433 PyObject
* obj1
= 0 ;
7435 (char *) "self",(char *) "parent", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 (arg1
)->SetDialogParent(arg2
);
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7450 Py_INCREF(Py_None
); resultobj
= Py_None
;
7457 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7460 wxString
*arg2
= 0 ;
7461 bool temp2
= False
;
7462 PyObject
* obj0
= 0 ;
7463 PyObject
* obj1
= 0 ;
7465 (char *) "self",(char *) "title", NULL
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7472 arg2
= wxString_in_helper(obj1
);
7473 if (arg2
== NULL
) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 Py_INCREF(Py_None
); resultobj
= Py_None
;
7498 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7501 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7503 return Py_BuildValue((char *)"");
7505 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
;
7511 bool arg5
= (bool) False
;
7512 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7513 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7514 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7516 bool temp6
= False
;
7517 PyObject
* obj0
= 0 ;
7518 PyObject
* obj1
= 0 ;
7519 PyObject
* obj2
= 0 ;
7520 PyObject
* obj3
= 0 ;
7521 PyObject
* obj4
= 0 ;
7522 PyObject
* obj5
= 0 ;
7523 PyObject
* obj6
= 0 ;
7525 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7529 arg1
= (int) SWIG_AsInt(obj0
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7531 arg2
= (int) SWIG_AsInt(obj1
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7533 arg3
= (int) SWIG_AsInt(obj2
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7535 arg4
= (int) SWIG_AsInt(obj3
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 arg5
= (bool) SWIG_AsBool(obj4
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7543 arg6
= wxString_in_helper(obj5
);
7544 if (arg6
== NULL
) SWIG_fail
;
7549 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7553 if (!wxPyCheckForApp()) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7575 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxFont
*arg1
= (wxFont
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7580 (char *) "self", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7593 Py_INCREF(Py_None
); resultobj
= Py_None
;
7600 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
*resultobj
;
7602 wxNativeFontInfo
*arg1
= 0 ;
7604 PyObject
* obj0
= 0 ;
7606 (char *) "info", NULL
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7614 PyErr_SetString(PyExc_TypeError
,"null reference");
7618 if (!wxPyCheckForApp()) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7632 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxString
*arg1
= 0 ;
7636 bool temp1
= False
;
7637 PyObject
* obj0
= 0 ;
7639 (char *) "info", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7644 arg1
= wxString_in_helper(obj0
);
7645 if (arg1
== NULL
) SWIG_fail
;
7649 if (!wxPyCheckForApp()) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7671 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7675 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7676 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7677 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7678 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7680 bool temp4
= False
;
7681 PyObject
* obj0
= 0 ;
7682 PyObject
* obj1
= 0 ;
7683 PyObject
* obj2
= 0 ;
7684 PyObject
* obj3
= 0 ;
7685 PyObject
* obj4
= 0 ;
7687 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7691 arg1
= (int) SWIG_AsInt(obj0
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7693 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7696 arg3
= (int) SWIG_AsInt(obj2
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7701 arg4
= wxString_in_helper(obj3
);
7702 if (arg4
== NULL
) SWIG_fail
;
7707 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7711 if (!wxPyCheckForApp()) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7733 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxFont
*arg1
= (wxFont
*) 0 ;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "self", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 result
= (bool)((wxFont
const *)arg1
)->Ok();
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7761 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxFont
*arg1
= (wxFont
*) 0 ;
7764 wxFont
*arg2
= (wxFont
*) 0 ;
7766 PyObject
* obj0
= 0 ;
7767 PyObject
* obj1
= 0 ;
7769 (char *) "self",(char *) "other", NULL
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7793 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
;
7795 wxFont
*arg1
= (wxFont
*) 0 ;
7796 wxFont
*arg2
= (wxFont
*) 0 ;
7798 PyObject
* obj0
= 0 ;
7799 PyObject
* obj1
= 0 ;
7801 (char *) "self",(char *) "other", NULL
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7825 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
;
7827 wxFont
*arg1
= (wxFont
*) 0 ;
7829 PyObject
* obj0
= 0 ;
7831 (char *) "self", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_FromInt((int)result
);
7851 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 wxFont
*arg1
= (wxFont
*) 0 ;
7855 PyObject
* obj0
= 0 ;
7857 (char *) "self", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_FromInt((int)result
);
7877 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxFont
*arg1
= (wxFont
*) 0 ;
7881 PyObject
* obj0
= 0 ;
7883 (char *) "self", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7896 resultobj
= SWIG_FromInt((int)result
);
7903 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxFont
*arg1
= (wxFont
*) 0 ;
7907 PyObject
* obj0
= 0 ;
7909 (char *) "self", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= SWIG_FromInt((int)result
);
7929 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxFont
*arg1
= (wxFont
*) 0 ;
7933 PyObject
* obj0
= 0 ;
7935 (char *) "self", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7957 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxFont
*arg1
= (wxFont
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7963 (char *) "self", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= ((wxFont
const *)arg1
)->GetFaceName();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7989 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7991 wxFont
*arg1
= (wxFont
*) 0 ;
7993 PyObject
* obj0
= 0 ;
7995 (char *) "self", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 resultobj
= SWIG_FromInt((int)result
);
8015 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxFont
*arg1
= (wxFont
*) 0 ;
8018 wxNativeFontInfo
*result
;
8019 PyObject
* obj0
= 0 ;
8021 (char *) "self", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8041 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
;
8043 wxFont
*arg1
= (wxFont
*) 0 ;
8045 PyObject
* obj0
= 0 ;
8047 (char *) "self", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8069 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxFont
*arg1
= (wxFont
*) 0 ;
8073 PyObject
* obj0
= 0 ;
8075 (char *) "self", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8085 wxPyEndAllowThreads(__tstate
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8101 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxFont
*arg1
= (wxFont
*) 0 ;
8105 PyObject
* obj0
= 0 ;
8107 (char *) "self", NULL
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8133 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxFont
*arg1
= (wxFont
*) 0 ;
8137 PyObject
* obj0
= 0 ;
8138 PyObject
* obj1
= 0 ;
8140 (char *) "self",(char *) "pointSize", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8146 arg2
= (int) SWIG_AsInt(obj1
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 (arg1
)->SetPointSize(arg2
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 Py_INCREF(Py_None
); resultobj
= Py_None
;
8162 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxFont
*arg1
= (wxFont
*) 0 ;
8166 PyObject
* obj0
= 0 ;
8167 PyObject
* obj1
= 0 ;
8169 (char *) "self",(char *) "family", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8175 arg2
= (int) SWIG_AsInt(obj1
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 (arg1
)->SetFamily(arg2
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 Py_INCREF(Py_None
); resultobj
= Py_None
;
8191 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxFont
*arg1
= (wxFont
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8196 PyObject
* obj1
= 0 ;
8198 (char *) "self",(char *) "style", NULL
8201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8204 arg2
= (int) SWIG_AsInt(obj1
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 (arg1
)->SetStyle(arg2
);
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 Py_INCREF(Py_None
); resultobj
= Py_None
;
8220 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxFont
*arg1
= (wxFont
*) 0 ;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8227 (char *) "self",(char *) "weight", NULL
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8233 arg2
= (int) SWIG_AsInt(obj1
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 (arg1
)->SetWeight(arg2
);
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8242 Py_INCREF(Py_None
); resultobj
= Py_None
;
8249 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
;
8251 wxFont
*arg1
= (wxFont
*) 0 ;
8252 wxString
*arg2
= 0 ;
8253 bool temp2
= False
;
8254 PyObject
* obj0
= 0 ;
8255 PyObject
* obj1
= 0 ;
8257 (char *) "self",(char *) "faceName", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8264 arg2
= wxString_in_helper(obj1
);
8265 if (arg2
== NULL
) SWIG_fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8275 Py_INCREF(Py_None
); resultobj
= Py_None
;
8290 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxFont
*arg1
= (wxFont
*) 0 ;
8294 PyObject
* obj0
= 0 ;
8295 PyObject
* obj1
= 0 ;
8297 (char *) "self",(char *) "underlined", NULL
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8303 arg2
= (bool) SWIG_AsBool(obj1
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 (arg1
)->SetUnderlined(arg2
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 Py_INCREF(Py_None
); resultobj
= Py_None
;
8319 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8320 PyObject
*resultobj
;
8321 wxFont
*arg1
= (wxFont
*) 0 ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8326 (char *) "self",(char *) "encoding", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8332 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 Py_INCREF(Py_None
); resultobj
= Py_None
;
8348 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxFont
*arg1
= (wxFont
*) 0 ;
8351 wxNativeFontInfo
*arg2
= 0 ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8355 (char *) "self",(char *) "info", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8365 PyErr_SetString(PyExc_TypeError
,"null reference");
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 Py_INCREF(Py_None
); resultobj
= Py_None
;
8382 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxFont
*arg1
= (wxFont
*) 0 ;
8385 wxString
*arg2
= 0 ;
8386 bool temp2
= False
;
8387 PyObject
* obj0
= 0 ;
8388 PyObject
* obj1
= 0 ;
8390 (char *) "self",(char *) "info", NULL
8393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8397 arg2
= wxString_in_helper(obj1
);
8398 if (arg2
== NULL
) SWIG_fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 Py_INCREF(Py_None
); resultobj
= Py_None
;
8423 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxFont
*arg1
= (wxFont
*) 0 ;
8426 wxString
*arg2
= 0 ;
8427 bool temp2
= False
;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8431 (char *) "self",(char *) "info", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8438 arg2
= wxString_in_helper(obj1
);
8439 if (arg2
== NULL
) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 Py_INCREF(Py_None
); resultobj
= Py_None
;
8464 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxFont
*arg1
= (wxFont
*) 0 ;
8468 PyObject
* obj0
= 0 ;
8470 (char *) "self", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8496 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxFont
*arg1
= (wxFont
*) 0 ;
8500 PyObject
* obj0
= 0 ;
8502 (char *) "self", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= ((wxFont
const *)arg1
)->GetStyleString();
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8528 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxFont
*arg1
= (wxFont
*) 0 ;
8532 PyObject
* obj0
= 0 ;
8534 (char *) "self", NULL
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 result
= ((wxFont
const *)arg1
)->GetWeightString();
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8560 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
;
8562 wxFont
*arg1
= (wxFont
*) 0 ;
8563 bool arg2
= (bool) True
;
8564 PyObject
* obj0
= 0 ;
8565 PyObject
* obj1
= 0 ;
8567 (char *) "self",(char *) "no", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8574 arg2
= (bool) SWIG_AsBool(obj1
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 (arg1
)->SetNoAntiAliasing(arg2
);
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8584 Py_INCREF(Py_None
); resultobj
= Py_None
;
8591 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxFont
*arg1
= (wxFont
*) 0 ;
8595 PyObject
* obj0
= 0 ;
8597 (char *) "self", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (bool)(arg1
)->GetNoAntiAliasing();
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8619 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8628 if (!wxPyCheckForApp()) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (int)wxFont::GetDefaultEncoding();
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_FromInt((int)result
);
8642 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8645 PyObject
* obj0
= 0 ;
8647 (char *) "encoding", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8651 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 if (!wxPyCheckForApp()) SWIG_fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 Py_INCREF(Py_None
); resultobj
= Py_None
;
8668 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8671 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8673 return Py_BuildValue((char *)"");
8675 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxPyFontEnumerator
*result
;
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8684 if (!wxPyCheckForApp()) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8698 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
*resultobj
;
8700 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8701 PyObject
* obj0
= 0 ;
8703 (char *) "self", NULL
8706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 Py_INCREF(Py_None
); resultobj
= Py_None
;
8723 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
;
8725 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8726 PyObject
*arg2
= (PyObject
*) 0 ;
8727 PyObject
*arg3
= (PyObject
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8730 PyObject
* obj1
= 0 ;
8731 PyObject
* obj2
= 0 ;
8732 PyObject
* obj3
= 0 ;
8734 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8742 arg4
= (bool) SWIG_AsBool(obj3
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 Py_INCREF(Py_None
); resultobj
= Py_None
;
8758 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8761 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8762 bool arg3
= (bool) False
;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8766 PyObject
* obj2
= 0 ;
8768 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8775 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8779 arg3
= (bool) SWIG_AsBool(obj2
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8798 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8801 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8802 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8804 bool temp2
= False
;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8808 (char *) "self",(char *) "facename", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8816 arg2
= wxString_in_helper(obj1
);
8817 if (arg2
== NULL
) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8845 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
;
8847 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8849 PyObject
* obj0
= 0 ;
8851 (char *) "self", NULL
8854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8871 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
;
8873 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8875 PyObject
* obj0
= 0 ;
8877 (char *) "self", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8897 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8900 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8902 return Py_BuildValue((char *)"");
8904 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8908 PyObject
* obj0
= 0 ;
8909 PyObject
* obj1
= 0 ;
8911 (char *) "self",(char *) "Language", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8917 arg2
= (int) SWIG_AsInt(obj1
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8919 if (arg1
) (arg1
)->Language
= arg2
;
8921 Py_INCREF(Py_None
); resultobj
= Py_None
;
8928 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8932 PyObject
* obj0
= 0 ;
8934 (char *) "self", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8940 result
= (int) ((arg1
)->Language
);
8942 resultobj
= SWIG_FromInt((int)result
);
8949 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8952 wxString
*arg2
= (wxString
*) 0 ;
8953 bool temp2
= False
;
8954 PyObject
* obj0
= 0 ;
8955 PyObject
* obj1
= 0 ;
8957 (char *) "self",(char *) "CanonicalName", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8964 arg2
= wxString_in_helper(obj1
);
8965 if (arg2
== NULL
) SWIG_fail
;
8968 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8970 Py_INCREF(Py_None
); resultobj
= Py_None
;
8985 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
;
8987 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8989 PyObject
* obj0
= 0 ;
8991 (char *) "self", NULL
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8997 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9001 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9003 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9012 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9015 wxString
*arg2
= (wxString
*) 0 ;
9016 bool temp2
= False
;
9017 PyObject
* obj0
= 0 ;
9018 PyObject
* obj1
= 0 ;
9020 (char *) "self",(char *) "Description", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9027 arg2
= wxString_in_helper(obj1
);
9028 if (arg2
== NULL
) SWIG_fail
;
9031 if (arg1
) (arg1
)->Description
= *arg2
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9048 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9052 PyObject
* obj0
= 0 ;
9054 (char *) "self", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9060 result
= (wxString
*)& ((arg1
)->Description
);
9064 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9066 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9075 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9078 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9080 return Py_BuildValue((char *)"");
9082 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
;
9084 int arg1
= (int) -1 ;
9085 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9087 PyObject
* obj0
= 0 ;
9088 PyObject
* obj1
= 0 ;
9090 (char *) "language",(char *) "flags", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9095 arg1
= (int) SWIG_AsInt(obj0
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9099 arg2
= (int) SWIG_AsInt(obj1
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9116 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxLocale
*arg1
= (wxLocale
*) 0 ;
9119 PyObject
* obj0
= 0 ;
9121 (char *) "self", NULL
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 Py_INCREF(Py_None
); resultobj
= Py_None
;
9141 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
;
9143 wxLocale
*arg1
= (wxLocale
*) 0 ;
9144 wxString
*arg2
= 0 ;
9145 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9146 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9147 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9148 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9149 bool arg5
= (bool) True
;
9150 bool arg6
= (bool) False
;
9152 bool temp2
= False
;
9153 bool temp3
= False
;
9154 bool temp4
= False
;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9157 PyObject
* obj2
= 0 ;
9158 PyObject
* obj3
= 0 ;
9159 PyObject
* obj4
= 0 ;
9160 PyObject
* obj5
= 0 ;
9162 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9169 arg2
= wxString_in_helper(obj1
);
9170 if (arg2
== NULL
) SWIG_fail
;
9175 arg3
= wxString_in_helper(obj2
);
9176 if (arg3
== NULL
) SWIG_fail
;
9182 arg4
= wxString_in_helper(obj3
);
9183 if (arg4
== NULL
) SWIG_fail
;
9188 arg5
= (bool) SWIG_AsBool(obj4
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9192 arg6
= (bool) SWIG_AsBool(obj5
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9235 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxLocale
*arg1
= (wxLocale
*) 0 ;
9238 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9239 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9243 PyObject
* obj2
= 0 ;
9245 (char *) "self",(char *) "language",(char *) "flags", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9252 arg2
= (int) SWIG_AsInt(obj1
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9256 arg3
= (int) SWIG_AsInt(obj2
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9275 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= (int)wxLocale::GetSystemLanguage();
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 resultobj
= SWIG_FromInt((int)result
);
9297 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (int)wxLocale::GetSystemEncoding();
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9312 resultobj
= SWIG_FromInt((int)result
);
9319 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
*resultobj
;
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 result
= wxLocale::GetSystemEncodingName();
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9347 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxLocale
*arg1
= (wxLocale
*) 0 ;
9351 PyObject
* obj0
= 0 ;
9353 (char *) "self", NULL
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9375 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9377 wxLocale
*arg1
= (wxLocale
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9381 (char *) "self", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 result
= ((wxLocale
const *)arg1
)->GetLocale();
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9407 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9409 wxLocale
*arg1
= (wxLocale
*) 0 ;
9411 PyObject
* obj0
= 0 ;
9413 (char *) "self", NULL
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= SWIG_FromInt((int)result
);
9433 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
;
9435 wxLocale
*arg1
= (wxLocale
*) 0 ;
9437 PyObject
* obj0
= 0 ;
9439 (char *) "self", NULL
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= ((wxLocale
const *)arg1
)->GetSysName();
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9465 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxLocale
*arg1
= (wxLocale
*) 0 ;
9469 PyObject
* obj0
= 0 ;
9471 (char *) "self", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9497 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxString
*arg1
= 0 ;
9500 bool temp1
= False
;
9501 PyObject
* obj0
= 0 ;
9503 (char *) "prefix", NULL
9506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9508 arg1
= wxString_in_helper(obj0
);
9509 if (arg1
== NULL
) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 Py_INCREF(Py_None
); resultobj
= Py_None
;
9534 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxLocale
*arg1
= (wxLocale
*) 0 ;
9537 wxString
*arg2
= 0 ;
9539 bool temp2
= False
;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9543 (char *) "self",(char *) "szDomain", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9550 arg2
= wxString_in_helper(obj1
);
9551 if (arg2
== NULL
) SWIG_fail
;
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9578 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
;
9580 wxLocale
*arg1
= (wxLocale
*) 0 ;
9581 wxString
*arg2
= 0 ;
9583 bool temp2
= False
;
9584 PyObject
* obj0
= 0 ;
9585 PyObject
* obj1
= 0 ;
9587 (char *) "self",(char *) "szDomain", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9594 arg2
= wxString_in_helper(obj1
);
9595 if (arg2
== NULL
) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9622 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9625 wxLanguageInfo
*result
;
9626 PyObject
* obj0
= 0 ;
9628 (char *) "lang", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9632 arg1
= (int) SWIG_AsInt(obj0
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9648 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
*resultobj
;
9652 PyObject
* obj0
= 0 ;
9654 (char *) "lang", NULL
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9658 arg1
= (int) SWIG_AsInt(obj0
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 result
= wxLocale::GetLanguageName(arg1
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9680 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxString
*arg1
= 0 ;
9683 wxLanguageInfo
*result
;
9684 bool temp1
= False
;
9685 PyObject
* obj0
= 0 ;
9687 (char *) "locale", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9692 arg1
= wxString_in_helper(obj0
);
9693 if (arg1
== NULL
) SWIG_fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9718 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxLanguageInfo
*arg1
= 0 ;
9721 PyObject
* obj0
= 0 ;
9723 (char *) "info", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9731 PyErr_SetString(PyExc_TypeError
,"null reference");
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 Py_INCREF(Py_None
); resultobj
= Py_None
;
9748 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxLocale
*arg1
= (wxLocale
*) 0 ;
9751 wxString
*arg2
= 0 ;
9752 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9753 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9755 bool temp2
= False
;
9756 bool temp3
= False
;
9757 PyObject
* obj0
= 0 ;
9758 PyObject
* obj1
= 0 ;
9759 PyObject
* obj2
= 0 ;
9761 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9768 arg2
= wxString_in_helper(obj1
);
9769 if (arg2
== NULL
) SWIG_fail
;
9774 arg3
= wxString_in_helper(obj2
);
9775 if (arg3
== NULL
) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9815 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxLocale
*arg1
= (wxLocale
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9821 (char *) "self", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9831 result
= (wxString
*) &_result_ref
;
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9841 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9850 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9853 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9855 return Py_BuildValue((char *)"");
9857 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
;
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (wxLocale
*)wxGetLocale();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9879 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9880 PyObject
*resultobj
;
9881 wxString
*arg1
= 0 ;
9883 bool temp1
= False
;
9884 PyObject
* obj0
= 0 ;
9886 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9888 arg1
= wxString_in_helper(obj0
);
9889 if (arg1
== NULL
) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= wxGetTranslation((wxString
const &)*arg1
);
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9920 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9921 PyObject
*resultobj
;
9922 wxString
*arg1
= 0 ;
9923 wxString
*arg2
= 0 ;
9926 bool temp1
= False
;
9927 bool temp2
= False
;
9928 PyObject
* obj0
= 0 ;
9929 PyObject
* obj1
= 0 ;
9930 PyObject
* obj2
= 0 ;
9932 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9934 arg1
= wxString_in_helper(obj0
);
9935 if (arg1
== NULL
) SWIG_fail
;
9939 arg2
= wxString_in_helper(obj1
);
9940 if (arg2
== NULL
) SWIG_fail
;
9943 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9981 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9986 argc
= PyObject_Length(args
);
9987 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9988 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9993 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9996 return _wrap_GetTranslation__SWIG_0(self
,args
);
10002 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10006 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10009 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10011 return _wrap_GetTranslation__SWIG_1(self
,args
);
10017 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10022 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxEncodingConverter
*result
;
10025 char *kwnames
[] = {
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10044 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10047 PyObject
* obj0
= 0 ;
10048 char *kwnames
[] = {
10049 (char *) "self", NULL
10052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 Py_INCREF(Py_None
); resultobj
= Py_None
;
10069 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
;
10071 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10074 int arg4
= (int) wxCONVERT_STRICT
;
10076 PyObject
* obj0
= 0 ;
10077 PyObject
* obj1
= 0 ;
10078 PyObject
* obj2
= 0 ;
10079 PyObject
* obj3
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10087 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10089 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10092 arg4
= (int) SWIG_AsInt(obj3
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10111 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10114 wxString
*arg2
= 0 ;
10116 bool temp2
= False
;
10117 PyObject
* obj0
= 0 ;
10118 PyObject
* obj1
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "self",(char *) "input", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10127 arg2
= wxString_in_helper(obj1
);
10128 if (arg2
== NULL
) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10159 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10162 int arg2
= (int) wxPLATFORM_CURRENT
;
10163 wxFontEncodingArray result
;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "enc",(char *) "platform", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10171 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 arg2
= (int) SWIG_AsInt(obj1
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= PyList_New(0);
10186 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10187 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10188 PyList_Append(resultobj
, number
);
10198 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10201 wxFontEncodingArray result
;
10202 PyObject
* obj0
= 0 ;
10203 char *kwnames
[] = {
10204 (char *) "enc", NULL
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10208 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10218 resultobj
= PyList_New(0);
10219 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10220 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10221 PyList_Append(resultobj
, number
);
10231 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10236 PyObject
* obj0
= 0 ;
10237 PyObject
* obj1
= 0 ;
10238 char *kwnames
[] = {
10239 (char *) "encIn",(char *) "encOut", NULL
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10243 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10245 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10263 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10266 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10268 return Py_BuildValue((char *)"");
10270 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxDC
*arg1
= (wxDC
*) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 Py_INCREF(Py_None
); resultobj
= Py_None
;
10295 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxDC
*arg1
= (wxDC
*) 0 ;
10298 PyObject
* obj0
= 0 ;
10299 char *kwnames
[] = {
10300 (char *) "self", NULL
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->BeginDrawing();
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 Py_INCREF(Py_None
); resultobj
= Py_None
;
10320 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxDC
*arg1
= (wxDC
*) 0 ;
10323 PyObject
* obj0
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 (arg1
)->EndDrawing();
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 Py_INCREF(Py_None
); resultobj
= Py_None
;
10345 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxDC
*arg1
= (wxDC
*) 0 ;
10350 wxColour
*arg4
= 0 ;
10351 int arg5
= (int) wxFLOOD_SURFACE
;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 PyObject
* obj2
= 0 ;
10357 PyObject
* obj3
= 0 ;
10358 PyObject
* obj4
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10366 arg2
= (int) SWIG_AsInt(obj1
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10368 arg3
= (int) SWIG_AsInt(obj2
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10372 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10375 arg5
= (int) SWIG_AsInt(obj4
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10394 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10396 wxDC
*arg1
= (wxDC
*) 0 ;
10397 wxPoint
*arg2
= 0 ;
10398 wxColour
*arg3
= 0 ;
10399 int arg4
= (int) wxFLOOD_SURFACE
;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 PyObject
* obj2
= 0 ;
10406 PyObject
* obj3
= 0 ;
10407 char *kwnames
[] = {
10408 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10420 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10423 arg4
= (int) SWIG_AsInt(obj3
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10442 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
;
10444 wxDC
*arg1
= (wxDC
*) 0 ;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 PyObject
* obj2
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self",(char *) "x",(char *) "y", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10458 arg2
= (int) SWIG_AsInt(obj1
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10460 arg3
= (int) SWIG_AsInt(obj2
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10470 wxColour
* resultptr
;
10471 resultptr
= new wxColour((wxColour
&) result
);
10472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10480 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxDC
*arg1
= (wxDC
*) 0 ;
10483 wxPoint
*arg2
= 0 ;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self",(char *) "pt", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10497 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10507 wxColour
* resultptr
;
10508 resultptr
= new wxColour((wxColour
&) result
);
10509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10517 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
;
10519 wxDC
*arg1
= (wxDC
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 PyObject
* obj1
= 0 ;
10526 PyObject
* obj2
= 0 ;
10527 PyObject
* obj3
= 0 ;
10528 PyObject
* obj4
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10536 arg2
= (int) SWIG_AsInt(obj1
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10538 arg3
= (int) SWIG_AsInt(obj2
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10540 arg4
= (int) SWIG_AsInt(obj3
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10542 arg5
= (int) SWIG_AsInt(obj4
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 Py_INCREF(Py_None
); resultobj
= Py_None
;
10558 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxDC
*arg1
= (wxDC
*) 0 ;
10561 wxPoint
*arg2
= 0 ;
10562 wxPoint
*arg3
= 0 ;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 PyObject
* obj2
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10581 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 Py_INCREF(Py_None
); resultobj
= Py_None
;
10597 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxDC
*arg1
= (wxDC
*) 0 ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 PyObject
* obj2
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "self",(char *) "x",(char *) "y", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 arg2
= (int) SWIG_AsInt(obj1
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10614 arg3
= (int) SWIG_AsInt(obj2
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 (arg1
)->CrossHair(arg2
,arg3
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 Py_INCREF(Py_None
); resultobj
= Py_None
;
10630 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
;
10632 wxDC
*arg1
= (wxDC
*) 0 ;
10633 wxPoint
*arg2
= 0 ;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "self",(char *) "pt", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10646 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 Py_INCREF(Py_None
); resultobj
= Py_None
;
10662 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxDC
*arg1
= (wxDC
*) 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 PyObject
* obj2
= 0 ;
10674 PyObject
* obj3
= 0 ;
10675 PyObject
* obj4
= 0 ;
10676 PyObject
* obj5
= 0 ;
10677 PyObject
* obj6
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10685 arg2
= (int) SWIG_AsInt(obj1
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10687 arg3
= (int) SWIG_AsInt(obj2
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10689 arg4
= (int) SWIG_AsInt(obj3
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10691 arg5
= (int) SWIG_AsInt(obj4
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10693 arg6
= (int) SWIG_AsInt(obj5
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10695 arg7
= (int) SWIG_AsInt(obj6
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxDC
*arg1
= (wxDC
*) 0 ;
10714 wxPoint
*arg2
= 0 ;
10715 wxPoint
*arg3
= 0 ;
10716 wxPoint
*arg4
= 0 ;
10720 PyObject
* obj0
= 0 ;
10721 PyObject
* obj1
= 0 ;
10722 PyObject
* obj2
= 0 ;
10723 PyObject
* obj3
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10737 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10741 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 Py_INCREF(Py_None
); resultobj
= Py_None
;
10757 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxDC
*arg1
= (wxDC
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 PyObject
* obj2
= 0 ;
10767 PyObject
* obj3
= 0 ;
10768 PyObject
* obj4
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10776 arg2
= (int) SWIG_AsInt(obj1
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10778 arg3
= (int) SWIG_AsInt(obj2
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10780 arg4
= (int) SWIG_AsInt(obj3
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10782 arg5
= (int) SWIG_AsInt(obj4
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 Py_INCREF(Py_None
); resultobj
= Py_None
;
10798 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxDC
*arg1
= (wxDC
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "rect", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10814 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 Py_INCREF(Py_None
); resultobj
= Py_None
;
10830 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxDC
*arg1
= (wxDC
*) 0 ;
10839 PyObject
* obj0
= 0 ;
10840 PyObject
* obj1
= 0 ;
10841 PyObject
* obj2
= 0 ;
10842 PyObject
* obj3
= 0 ;
10843 PyObject
* obj4
= 0 ;
10844 PyObject
* obj5
= 0 ;
10845 PyObject
* obj6
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 arg2
= (int) SWIG_AsInt(obj1
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10855 arg3
= (int) SWIG_AsInt(obj2
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10857 arg4
= (int) SWIG_AsInt(obj3
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10859 arg5
= (int) SWIG_AsInt(obj4
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10861 arg6
= (double) SWIG_AsDouble(obj5
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10863 arg7
= (double) SWIG_AsDouble(obj6
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 Py_INCREF(Py_None
); resultobj
= Py_None
;
10879 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxDC
*arg1
= (wxDC
*) 0 ;
10882 wxPoint
*arg2
= 0 ;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 PyObject
* obj2
= 0 ;
10891 PyObject
* obj3
= 0 ;
10892 PyObject
* obj4
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10902 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10906 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10908 arg4
= (double) SWIG_AsDouble(obj3
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10910 arg5
= (double) SWIG_AsDouble(obj4
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10919 Py_INCREF(Py_None
); resultobj
= Py_None
;
10926 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxDC
*arg1
= (wxDC
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 PyObject
* obj2
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "x",(char *) "y", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10941 arg2
= (int) SWIG_AsInt(obj1
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10943 arg3
= (int) SWIG_AsInt(obj2
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 (arg1
)->DrawPoint(arg2
,arg3
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 Py_INCREF(Py_None
); resultobj
= Py_None
;
10959 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxDC
*arg1
= (wxDC
*) 0 ;
10962 wxPoint
*arg2
= 0 ;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 char *kwnames
[] = {
10967 (char *) "self",(char *) "pt", NULL
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10975 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 Py_INCREF(Py_None
); resultobj
= Py_None
;
10991 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxDC
*arg1
= (wxDC
*) 0 ;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 PyObject
* obj2
= 0 ;
11001 PyObject
* obj3
= 0 ;
11002 PyObject
* obj4
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11010 arg2
= (int) SWIG_AsInt(obj1
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11012 arg3
= (int) SWIG_AsInt(obj2
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11014 arg4
= (int) SWIG_AsInt(obj3
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11016 arg5
= (int) SWIG_AsInt(obj4
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxDC
*arg1
= (wxDC
*) 0 ;
11037 PyObject
* obj0
= 0 ;
11038 PyObject
* obj1
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self",(char *) "rect", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11048 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 Py_INCREF(Py_None
); resultobj
= Py_None
;
11064 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxDC
*arg1
= (wxDC
*) 0 ;
11067 wxPoint
*arg2
= 0 ;
11071 PyObject
* obj0
= 0 ;
11072 PyObject
* obj1
= 0 ;
11073 PyObject
* obj2
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "pt",(char *) "sz", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11087 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 Py_INCREF(Py_None
); resultobj
= Py_None
;
11103 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxDC
*arg1
= (wxDC
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 PyObject
* obj2
= 0 ;
11114 PyObject
* obj3
= 0 ;
11115 PyObject
* obj4
= 0 ;
11116 PyObject
* obj5
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11124 arg2
= (int) SWIG_AsInt(obj1
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11126 arg3
= (int) SWIG_AsInt(obj2
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11128 arg4
= (int) SWIG_AsInt(obj3
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11130 arg5
= (int) SWIG_AsInt(obj4
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11132 arg6
= (double) SWIG_AsDouble(obj5
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 Py_INCREF(Py_None
); resultobj
= Py_None
;
11148 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxDC
*arg1
= (wxDC
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 PyObject
* obj2
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self",(char *) "r",(char *) "radius", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11166 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11168 arg3
= (double) SWIG_AsDouble(obj2
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 Py_INCREF(Py_None
); resultobj
= Py_None
;
11184 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxDC
*arg1
= (wxDC
*) 0 ;
11187 wxPoint
*arg2
= 0 ;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 PyObject
* obj2
= 0 ;
11195 PyObject
* obj3
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11205 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11209 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11211 arg4
= (double) SWIG_AsDouble(obj3
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 Py_INCREF(Py_None
); resultobj
= Py_None
;
11227 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxDC
*arg1
= (wxDC
*) 0 ;
11233 PyObject
* obj0
= 0 ;
11234 PyObject
* obj1
= 0 ;
11235 PyObject
* obj2
= 0 ;
11236 PyObject
* obj3
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11244 arg2
= (int) SWIG_AsInt(obj1
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11246 arg3
= (int) SWIG_AsInt(obj2
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11248 arg4
= (int) SWIG_AsInt(obj3
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 Py_INCREF(Py_None
); resultobj
= Py_None
;
11264 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11265 PyObject
*resultobj
;
11266 wxDC
*arg1
= (wxDC
*) 0 ;
11267 wxPoint
*arg2
= 0 ;
11270 PyObject
* obj0
= 0 ;
11271 PyObject
* obj1
= 0 ;
11272 PyObject
* obj2
= 0 ;
11273 char *kwnames
[] = {
11274 (char *) "self",(char *) "pt",(char *) "radius", NULL
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11282 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11284 arg3
= (int) SWIG_AsInt(obj2
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11293 Py_INCREF(Py_None
); resultobj
= Py_None
;
11300 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
;
11302 wxDC
*arg1
= (wxDC
*) 0 ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 PyObject
* obj2
= 0 ;
11310 PyObject
* obj3
= 0 ;
11311 PyObject
* obj4
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11319 arg2
= (int) SWIG_AsInt(obj1
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11321 arg3
= (int) SWIG_AsInt(obj2
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11323 arg4
= (int) SWIG_AsInt(obj3
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11325 arg5
= (int) SWIG_AsInt(obj4
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 Py_INCREF(Py_None
); resultobj
= Py_None
;
11341 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
;
11343 wxDC
*arg1
= (wxDC
*) 0 ;
11346 PyObject
* obj0
= 0 ;
11347 PyObject
* obj1
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "self",(char *) "rect", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11357 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 Py_INCREF(Py_None
); resultobj
= Py_None
;
11373 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxDC
*arg1
= (wxDC
*) 0 ;
11376 wxPoint
*arg2
= 0 ;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 PyObject
* obj2
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self",(char *) "pt",(char *) "sz", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11392 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11396 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 Py_INCREF(Py_None
); resultobj
= Py_None
;
11412 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 wxDC
*arg1
= (wxDC
*) 0 ;
11418 PyObject
* obj0
= 0 ;
11419 PyObject
* obj1
= 0 ;
11420 PyObject
* obj2
= 0 ;
11421 PyObject
* obj3
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11432 if (arg2
== NULL
) {
11433 PyErr_SetString(PyExc_TypeError
,"null reference");
11436 arg3
= (int) SWIG_AsInt(obj2
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11438 arg4
= (int) SWIG_AsInt(obj3
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 Py_INCREF(Py_None
); resultobj
= Py_None
;
11454 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxDC
*arg1
= (wxDC
*) 0 ;
11458 wxPoint
*arg3
= 0 ;
11460 PyObject
* obj0
= 0 ;
11461 PyObject
* obj1
= 0 ;
11462 PyObject
* obj2
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "self",(char *) "icon",(char *) "pt", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11473 if (arg2
== NULL
) {
11474 PyErr_SetString(PyExc_TypeError
,"null reference");
11479 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 Py_INCREF(Py_None
); resultobj
= Py_None
;
11495 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxDC
*arg1
= (wxDC
*) 0 ;
11498 wxBitmap
*arg2
= 0 ;
11501 bool arg5
= (bool) False
;
11502 PyObject
* obj0
= 0 ;
11503 PyObject
* obj1
= 0 ;
11504 PyObject
* obj2
= 0 ;
11505 PyObject
* obj3
= 0 ;
11506 PyObject
* obj4
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11517 if (arg2
== NULL
) {
11518 PyErr_SetString(PyExc_TypeError
,"null reference");
11521 arg3
= (int) SWIG_AsInt(obj2
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11523 arg4
= (int) SWIG_AsInt(obj3
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 arg5
= (bool) SWIG_AsBool(obj4
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 Py_INCREF(Py_None
); resultobj
= Py_None
;
11543 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxDC
*arg1
= (wxDC
*) 0 ;
11546 wxBitmap
*arg2
= 0 ;
11547 wxPoint
*arg3
= 0 ;
11548 bool arg4
= (bool) False
;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 PyObject
* obj2
= 0 ;
11553 PyObject
* obj3
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11564 if (arg2
== NULL
) {
11565 PyErr_SetString(PyExc_TypeError
,"null reference");
11570 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11573 arg4
= (bool) SWIG_AsBool(obj3
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 Py_INCREF(Py_None
); resultobj
= Py_None
;
11590 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11591 PyObject
*resultobj
;
11592 wxDC
*arg1
= (wxDC
*) 0 ;
11593 wxString
*arg2
= 0 ;
11596 bool temp2
= False
;
11597 PyObject
* obj0
= 0 ;
11598 PyObject
* obj1
= 0 ;
11599 PyObject
* obj2
= 0 ;
11600 PyObject
* obj3
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11609 arg2
= wxString_in_helper(obj1
);
11610 if (arg2
== NULL
) SWIG_fail
;
11613 arg3
= (int) SWIG_AsInt(obj2
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11615 arg4
= (int) SWIG_AsInt(obj3
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 Py_INCREF(Py_None
); resultobj
= Py_None
;
11639 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxDC
*arg1
= (wxDC
*) 0 ;
11642 wxString
*arg2
= 0 ;
11643 wxPoint
*arg3
= 0 ;
11644 bool temp2
= False
;
11646 PyObject
* obj0
= 0 ;
11647 PyObject
* obj1
= 0 ;
11648 PyObject
* obj2
= 0 ;
11649 char *kwnames
[] = {
11650 (char *) "self",(char *) "text",(char *) "pt", NULL
11653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11657 arg2
= wxString_in_helper(obj1
);
11658 if (arg2
== NULL
) SWIG_fail
;
11663 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 Py_INCREF(Py_None
); resultobj
= Py_None
;
11687 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxDC
*arg1
= (wxDC
*) 0 ;
11690 wxString
*arg2
= 0 ;
11694 bool temp2
= False
;
11695 PyObject
* obj0
= 0 ;
11696 PyObject
* obj1
= 0 ;
11697 PyObject
* obj2
= 0 ;
11698 PyObject
* obj3
= 0 ;
11699 PyObject
* obj4
= 0 ;
11700 char *kwnames
[] = {
11701 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11708 arg2
= wxString_in_helper(obj1
);
11709 if (arg2
== NULL
) SWIG_fail
;
11712 arg3
= (int) SWIG_AsInt(obj2
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11714 arg4
= (int) SWIG_AsInt(obj3
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11716 arg5
= (double) SWIG_AsDouble(obj4
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11725 Py_INCREF(Py_None
); resultobj
= Py_None
;
11740 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxDC
*arg1
= (wxDC
*) 0 ;
11743 wxString
*arg2
= 0 ;
11744 wxPoint
*arg3
= 0 ;
11746 bool temp2
= False
;
11748 PyObject
* obj0
= 0 ;
11749 PyObject
* obj1
= 0 ;
11750 PyObject
* obj2
= 0 ;
11751 PyObject
* obj3
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11760 arg2
= wxString_in_helper(obj1
);
11761 if (arg2
== NULL
) SWIG_fail
;
11766 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11768 arg4
= (double) SWIG_AsDouble(obj3
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 Py_INCREF(Py_None
); resultobj
= Py_None
;
11792 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxDC
*arg1
= (wxDC
*) 0 ;
11799 wxDC
*arg6
= (wxDC
*) 0 ;
11802 int arg9
= (int) wxCOPY
;
11803 bool arg10
= (bool) False
;
11804 int arg11
= (int) -1 ;
11805 int arg12
= (int) -1 ;
11807 PyObject
* obj0
= 0 ;
11808 PyObject
* obj1
= 0 ;
11809 PyObject
* obj2
= 0 ;
11810 PyObject
* obj3
= 0 ;
11811 PyObject
* obj4
= 0 ;
11812 PyObject
* obj5
= 0 ;
11813 PyObject
* obj6
= 0 ;
11814 PyObject
* obj7
= 0 ;
11815 PyObject
* obj8
= 0 ;
11816 PyObject
* obj9
= 0 ;
11817 PyObject
* obj10
= 0 ;
11818 PyObject
* obj11
= 0 ;
11819 char *kwnames
[] = {
11820 (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
11823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
11824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11826 arg2
= (int) SWIG_AsInt(obj1
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11828 arg3
= (int) SWIG_AsInt(obj2
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11830 arg4
= (int) SWIG_AsInt(obj3
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11832 arg5
= (int) SWIG_AsInt(obj4
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11834 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11836 arg7
= (int) SWIG_AsInt(obj6
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11838 arg8
= (int) SWIG_AsInt(obj7
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 arg9
= (int) SWIG_AsInt(obj8
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11845 arg10
= (bool) SWIG_AsBool(obj9
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11849 arg11
= (int) SWIG_AsInt(obj10
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11853 arg12
= (int) SWIG_AsInt(obj11
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11872 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11873 PyObject
*resultobj
;
11874 wxDC
*arg1
= (wxDC
*) 0 ;
11875 wxPoint
*arg2
= 0 ;
11877 wxDC
*arg4
= (wxDC
*) 0 ;
11878 wxPoint
*arg5
= 0 ;
11879 int arg6
= (int) wxCOPY
;
11880 bool arg7
= (bool) False
;
11881 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11882 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11888 PyObject
* obj0
= 0 ;
11889 PyObject
* obj1
= 0 ;
11890 PyObject
* obj2
= 0 ;
11891 PyObject
* obj3
= 0 ;
11892 PyObject
* obj4
= 0 ;
11893 PyObject
* obj5
= 0 ;
11894 PyObject
* obj6
= 0 ;
11895 PyObject
* obj7
= 0 ;
11896 char *kwnames
[] = {
11897 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11905 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11909 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11911 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11915 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11918 arg6
= (int) SWIG_AsInt(obj5
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11922 arg7
= (bool) SWIG_AsBool(obj6
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11928 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11947 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxDC
*arg1
= (wxDC
*) 0 ;
11954 PyObject
* obj0
= 0 ;
11955 PyObject
* obj1
= 0 ;
11956 PyObject
* obj2
= 0 ;
11957 PyObject
* obj3
= 0 ;
11958 PyObject
* obj4
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11966 arg2
= (int) SWIG_AsInt(obj1
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11968 arg3
= (int) SWIG_AsInt(obj2
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11970 arg4
= (int) SWIG_AsInt(obj3
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11972 arg5
= (int) SWIG_AsInt(obj4
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 Py_INCREF(Py_None
); resultobj
= Py_None
;
11988 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxDC
*arg1
= (wxDC
*) 0 ;
11991 wxPoint
*arg2
= 0 ;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 PyObject
* obj2
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self",(char *) "pt",(char *) "sz", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12011 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 Py_INCREF(Py_None
); resultobj
= Py_None
;
12027 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
;
12029 wxDC
*arg1
= (wxDC
*) 0 ;
12030 wxRegion
*arg2
= 0 ;
12031 PyObject
* obj0
= 0 ;
12032 PyObject
* obj1
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self",(char *) "region", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12043 if (arg2
== NULL
) {
12044 PyErr_SetString(PyExc_TypeError
,"null reference");
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 Py_INCREF(Py_None
); resultobj
= Py_None
;
12061 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxDC
*arg1
= (wxDC
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self",(char *) "rect", NULL
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12077 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 Py_INCREF(Py_None
); resultobj
= Py_None
;
12093 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxDC
*arg1
= (wxDC
*) 0 ;
12097 wxPoint
*arg3
= (wxPoint
*) 0 ;
12098 int arg4
= (int) 0 ;
12099 int arg5
= (int) 0 ;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 PyObject
* obj2
= 0 ;
12103 PyObject
* obj3
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12112 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12113 if (arg3
== NULL
) SWIG_fail
;
12116 arg4
= (int) SWIG_AsInt(obj2
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12120 arg5
= (int) SWIG_AsInt(obj3
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 Py_INCREF(Py_None
); resultobj
= Py_None
;
12132 if (arg3
) delete [] arg3
;
12137 if (arg3
) delete [] arg3
;
12143 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxDC
*arg1
= (wxDC
*) 0 ;
12147 wxPoint
*arg3
= (wxPoint
*) 0 ;
12148 int arg4
= (int) 0 ;
12149 int arg5
= (int) 0 ;
12150 int arg6
= (int) wxODDEVEN_RULE
;
12151 PyObject
* obj0
= 0 ;
12152 PyObject
* obj1
= 0 ;
12153 PyObject
* obj2
= 0 ;
12154 PyObject
* obj3
= 0 ;
12155 PyObject
* obj4
= 0 ;
12156 char *kwnames
[] = {
12157 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12164 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12165 if (arg3
== NULL
) SWIG_fail
;
12168 arg4
= (int) SWIG_AsInt(obj2
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12172 arg5
= (int) SWIG_AsInt(obj3
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12176 arg6
= (int) SWIG_AsInt(obj4
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 Py_INCREF(Py_None
); resultobj
= Py_None
;
12188 if (arg3
) delete [] arg3
;
12193 if (arg3
) delete [] arg3
;
12199 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
;
12201 wxDC
*arg1
= (wxDC
*) 0 ;
12202 wxString
*arg2
= 0 ;
12204 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12205 int arg5
= (int) -1 ;
12206 bool temp2
= False
;
12208 PyObject
* obj0
= 0 ;
12209 PyObject
* obj1
= 0 ;
12210 PyObject
* obj2
= 0 ;
12211 PyObject
* obj3
= 0 ;
12212 PyObject
* obj4
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12221 arg2
= wxString_in_helper(obj1
);
12222 if (arg2
== NULL
) SWIG_fail
;
12227 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12230 arg4
= (int) SWIG_AsInt(obj3
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12234 arg5
= (int) SWIG_AsInt(obj4
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 Py_INCREF(Py_None
); resultobj
= Py_None
;
12259 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
;
12261 wxDC
*arg1
= (wxDC
*) 0 ;
12262 wxString
*arg2
= 0 ;
12263 wxBitmap
*arg3
= 0 ;
12265 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12266 int arg6
= (int) -1 ;
12268 bool temp2
= False
;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 PyObject
* obj2
= 0 ;
12273 PyObject
* obj3
= 0 ;
12274 PyObject
* obj4
= 0 ;
12275 PyObject
* obj5
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12284 arg2
= wxString_in_helper(obj1
);
12285 if (arg2
== NULL
) SWIG_fail
;
12288 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12291 if (arg3
== NULL
) {
12292 PyErr_SetString(PyExc_TypeError
,"null reference");
12297 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12300 arg5
= (int) SWIG_AsInt(obj4
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12304 arg6
= (int) SWIG_AsInt(obj5
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12315 wxRect
* resultptr
;
12316 resultptr
= new wxRect((wxRect
&) result
);
12317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12333 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxDC
*arg1
= (wxDC
*) 0 ;
12337 wxPoint
*arg3
= (wxPoint
*) 0 ;
12338 PyObject
* obj0
= 0 ;
12339 PyObject
* obj1
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self",(char *) "points", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12348 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12349 if (arg3
== NULL
) SWIG_fail
;
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 (arg1
)->DrawSpline(arg2
,arg3
);
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 Py_INCREF(Py_None
); resultobj
= Py_None
;
12360 if (arg3
) delete [] arg3
;
12365 if (arg3
) delete [] arg3
;
12371 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxDC
*arg1
= (wxDC
*) 0 ;
12374 PyObject
* obj0
= 0 ;
12375 char *kwnames
[] = {
12376 (char *) "self", NULL
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 Py_INCREF(Py_None
); resultobj
= Py_None
;
12396 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxDC
*arg1
= (wxDC
*) 0 ;
12399 wxString
*arg2
= 0 ;
12401 bool temp2
= False
;
12402 PyObject
* obj0
= 0 ;
12403 PyObject
* obj1
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self",(char *) "message", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12412 arg2
= wxString_in_helper(obj1
);
12413 if (arg2
== NULL
) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12440 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
;
12442 wxDC
*arg1
= (wxDC
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "self", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 Py_INCREF(Py_None
); resultobj
= Py_None
;
12465 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxDC
*arg1
= (wxDC
*) 0 ;
12468 PyObject
* obj0
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "self", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 (arg1
)->StartPage();
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 Py_INCREF(Py_None
); resultobj
= Py_None
;
12490 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxDC
*arg1
= (wxDC
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 char *kwnames
[] = {
12495 (char *) "self", NULL
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 Py_INCREF(Py_None
); resultobj
= Py_None
;
12515 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxDC
*arg1
= (wxDC
*) 0 ;
12519 PyObject
* obj0
= 0 ;
12520 PyObject
* obj1
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self",(char *) "font", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12531 if (arg2
== NULL
) {
12532 PyErr_SetString(PyExc_TypeError
,"null reference");
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 (arg1
)->SetFont((wxFont
const &)*arg2
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 Py_INCREF(Py_None
); resultobj
= Py_None
;
12549 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
;
12551 wxDC
*arg1
= (wxDC
*) 0 ;
12553 PyObject
* obj0
= 0 ;
12554 PyObject
* obj1
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self",(char *) "pen", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12565 if (arg2
== NULL
) {
12566 PyErr_SetString(PyExc_TypeError
,"null reference");
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 (arg1
)->SetPen((wxPen
const &)*arg2
);
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 Py_INCREF(Py_None
); resultobj
= Py_None
;
12583 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxDC
*arg1
= (wxDC
*) 0 ;
12586 wxBrush
*arg2
= 0 ;
12587 PyObject
* obj0
= 0 ;
12588 PyObject
* obj1
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self",(char *) "brush", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12599 if (arg2
== NULL
) {
12600 PyErr_SetString(PyExc_TypeError
,"null reference");
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 Py_INCREF(Py_None
); resultobj
= Py_None
;
12617 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
;
12619 wxDC
*arg1
= (wxDC
*) 0 ;
12620 wxBrush
*arg2
= 0 ;
12621 PyObject
* obj0
= 0 ;
12622 PyObject
* obj1
= 0 ;
12623 char *kwnames
[] = {
12624 (char *) "self",(char *) "brush", NULL
12627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12633 if (arg2
== NULL
) {
12634 PyErr_SetString(PyExc_TypeError
,"null reference");
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 Py_INCREF(Py_None
); resultobj
= Py_None
;
12651 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxDC
*arg1
= (wxDC
*) 0 ;
12655 PyObject
* obj0
= 0 ;
12656 PyObject
* obj1
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self",(char *) "mode", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12664 arg2
= (int) SWIG_AsInt(obj1
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 (arg1
)->SetBackgroundMode(arg2
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 Py_INCREF(Py_None
); resultobj
= Py_None
;
12680 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
;
12682 wxDC
*arg1
= (wxDC
*) 0 ;
12683 wxPalette
*arg2
= 0 ;
12684 PyObject
* obj0
= 0 ;
12685 PyObject
* obj1
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self",(char *) "palette", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12696 if (arg2
== NULL
) {
12697 PyErr_SetString(PyExc_TypeError
,"null reference");
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 Py_INCREF(Py_None
); resultobj
= Py_None
;
12714 static PyObject
*_wrap_DC_DestroyClippingRegion(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_DestroyClippingRegion",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();
12727 (arg1
)->DestroyClippingRegion();
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 Py_INCREF(Py_None
); resultobj
= Py_None
;
12739 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 wxDC
*arg1
= (wxDC
*) 0 ;
12742 int *arg2
= (int *) 0 ;
12743 int *arg3
= (int *) 0 ;
12744 int *arg4
= (int *) 0 ;
12745 int *arg5
= (int *) 0 ;
12750 PyObject
* obj0
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "self", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 Py_INCREF(Py_None
); resultobj
= Py_None
;
12771 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12772 resultobj
= t_output_helper(resultobj
,o
);
12775 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12776 resultobj
= t_output_helper(resultobj
,o
);
12779 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12780 resultobj
= t_output_helper(resultobj
,o
);
12783 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12784 resultobj
= t_output_helper(resultobj
,o
);
12792 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
;
12794 wxDC
*arg1
= (wxDC
*) 0 ;
12796 PyObject
* obj0
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 result
= wxDC_GetClippingRect(arg1
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12812 wxRect
* resultptr
;
12813 resultptr
= new wxRect((wxRect
&) result
);
12814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12822 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxDC
*arg1
= (wxDC
*) 0 ;
12826 PyObject
* obj0
= 0 ;
12827 char *kwnames
[] = {
12828 (char *) "self", NULL
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= SWIG_FromInt((int)result
);
12848 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
;
12850 wxDC
*arg1
= (wxDC
*) 0 ;
12852 PyObject
* obj0
= 0 ;
12853 char *kwnames
[] = {
12854 (char *) "self", NULL
12857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12867 resultobj
= SWIG_FromInt((int)result
);
12874 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
;
12876 wxDC
*arg1
= (wxDC
*) 0 ;
12877 wxString
*arg2
= 0 ;
12878 int *arg3
= (int *) 0 ;
12879 int *arg4
= (int *) 0 ;
12880 bool temp2
= False
;
12883 PyObject
* obj0
= 0 ;
12884 PyObject
* obj1
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self",(char *) "string", NULL
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12895 arg2
= wxString_in_helper(obj1
);
12896 if (arg2
== NULL
) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12906 Py_INCREF(Py_None
); resultobj
= Py_None
;
12908 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12909 resultobj
= t_output_helper(resultobj
,o
);
12912 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12913 resultobj
= t_output_helper(resultobj
,o
);
12929 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxDC
*arg1
= (wxDC
*) 0 ;
12932 wxString
*arg2
= 0 ;
12933 int *arg3
= (int *) 0 ;
12934 int *arg4
= (int *) 0 ;
12935 int *arg5
= (int *) 0 ;
12936 int *arg6
= (int *) 0 ;
12937 wxFont
*arg7
= (wxFont
*) NULL
;
12938 bool temp2
= False
;
12943 PyObject
* obj0
= 0 ;
12944 PyObject
* obj1
= 0 ;
12945 PyObject
* obj2
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self",(char *) "string",(char *) "font", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12958 arg2
= wxString_in_helper(obj1
);
12959 if (arg2
== NULL
) SWIG_fail
;
12963 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 Py_INCREF(Py_None
); resultobj
= Py_None
;
12975 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12976 resultobj
= t_output_helper(resultobj
,o
);
12979 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12980 resultobj
= t_output_helper(resultobj
,o
);
12983 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12984 resultobj
= t_output_helper(resultobj
,o
);
12987 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12988 resultobj
= t_output_helper(resultobj
,o
);
13004 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
;
13006 wxDC
*arg1
= (wxDC
*) 0 ;
13007 wxString
*arg2
= 0 ;
13008 int *arg3
= (int *) 0 ;
13009 int *arg4
= (int *) 0 ;
13010 int *arg5
= (int *) 0 ;
13011 wxFont
*arg6
= (wxFont
*) NULL
;
13012 bool temp2
= False
;
13016 PyObject
* obj0
= 0 ;
13017 PyObject
* obj1
= 0 ;
13018 PyObject
* obj2
= 0 ;
13019 char *kwnames
[] = {
13020 (char *) "self",(char *) "text",(char *) "font", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13030 arg2
= wxString_in_helper(obj1
);
13031 if (arg2
== NULL
) SWIG_fail
;
13035 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 Py_INCREF(Py_None
); resultobj
= Py_None
;
13047 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13048 resultobj
= t_output_helper(resultobj
,o
);
13051 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13052 resultobj
= t_output_helper(resultobj
,o
);
13055 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13056 resultobj
= t_output_helper(resultobj
,o
);
13072 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxDC
*arg1
= (wxDC
*) 0 ;
13075 wxString
*arg2
= 0 ;
13077 bool temp2
= False
;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 char *kwnames
[] = {
13081 (char *) "self",(char *) "text", NULL
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13088 arg2
= wxString_in_helper(obj1
);
13089 if (arg2
== NULL
) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= PyList_New(0);
13102 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13103 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13104 PyList_Append(resultobj
, val
);
13122 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxDC
*arg1
= (wxDC
*) 0 ;
13126 PyObject
* obj0
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "self", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (arg1
)->GetSize();
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13142 wxSize
* resultptr
;
13143 resultptr
= new wxSize((wxSize
&) result
);
13144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13152 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
;
13154 wxDC
*arg1
= (wxDC
*) 0 ;
13155 int *arg2
= (int *) 0 ;
13156 int *arg3
= (int *) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 (arg1
)->GetSize(arg2
,arg3
);
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 Py_INCREF(Py_None
); resultobj
= Py_None
;
13178 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13179 resultobj
= t_output_helper(resultobj
,o
);
13182 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13183 resultobj
= t_output_helper(resultobj
,o
);
13191 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxDC
*arg1
= (wxDC
*) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13211 wxSize
* resultptr
;
13212 resultptr
= new wxSize((wxSize
&) result
);
13213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13221 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxDC
*arg1
= (wxDC
*) 0 ;
13224 int *arg2
= (int *) 0 ;
13225 int *arg3
= (int *) 0 ;
13228 PyObject
* obj0
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 Py_INCREF(Py_None
); resultobj
= Py_None
;
13247 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13248 resultobj
= t_output_helper(resultobj
,o
);
13251 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13252 resultobj
= t_output_helper(resultobj
,o
);
13260 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxDC
*arg1
= (wxDC
*) 0 ;
13265 PyObject
* obj0
= 0 ;
13266 PyObject
* obj1
= 0 ;
13267 char *kwnames
[] = {
13268 (char *) "self",(char *) "x", NULL
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13274 arg2
= (int) SWIG_AsInt(obj1
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= SWIG_FromInt((int)result
);
13290 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
;
13292 wxDC
*arg1
= (wxDC
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 PyObject
* obj1
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "self",(char *) "y", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13304 arg2
= (int) SWIG_AsInt(obj1
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_FromInt((int)result
);
13320 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxDC
*arg1
= (wxDC
*) 0 ;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self",(char *) "x", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13334 arg2
= (int) SWIG_AsInt(obj1
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= SWIG_FromInt((int)result
);
13350 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxDC
*arg1
= (wxDC
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self",(char *) "y", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13364 arg2
= (int) SWIG_AsInt(obj1
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= SWIG_FromInt((int)result
);
13380 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxDC
*arg1
= (wxDC
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 PyObject
* obj1
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self",(char *) "x", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13394 arg2
= (int) SWIG_AsInt(obj1
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_FromInt((int)result
);
13410 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxDC
*arg1
= (wxDC
*) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 PyObject
* obj1
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self",(char *) "y", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13424 arg2
= (int) SWIG_AsInt(obj1
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_FromInt((int)result
);
13440 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxDC
*arg1
= (wxDC
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 PyObject
* obj1
= 0 ;
13447 char *kwnames
[] = {
13448 (char *) "self",(char *) "x", NULL
13451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13454 arg2
= (int) SWIG_AsInt(obj1
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_FromInt((int)result
);
13470 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxDC
*arg1
= (wxDC
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 PyObject
* obj1
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self",(char *) "y", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13484 arg2
= (int) SWIG_AsInt(obj1
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= SWIG_FromInt((int)result
);
13500 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxDC
*arg1
= (wxDC
*) 0 ;
13504 PyObject
* obj0
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13528 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
;
13530 wxDC
*arg1
= (wxDC
*) 0 ;
13532 PyObject
* obj0
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "self", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13556 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxDC
*arg1
= (wxDC
*) 0 ;
13560 PyObject
* obj0
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13572 wxPyEndAllowThreads(__tstate
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= SWIG_FromInt((int)result
);
13582 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
;
13584 wxDC
*arg1
= (wxDC
*) 0 ;
13586 PyObject
* obj0
= 0 ;
13587 char *kwnames
[] = {
13588 (char *) "self", NULL
13591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= ((wxDC
const *)arg1
)->GetPPI();
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13602 wxSize
* resultptr
;
13603 resultptr
= new wxSize((wxSize
&) result
);
13604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13612 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 wxDC
*arg1
= (wxDC
*) 0 ;
13616 PyObject
* obj0
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "self", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 result
= (bool)((wxDC
const *)arg1
)->Ok();
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13640 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
;
13642 wxDC
*arg1
= (wxDC
*) 0 ;
13644 PyObject
* obj0
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13654 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= SWIG_FromInt((int)result
);
13666 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
;
13668 wxDC
*arg1
= (wxDC
*) 0 ;
13670 PyObject
* obj0
= 0 ;
13671 char *kwnames
[] = {
13672 (char *) "self", NULL
13675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13682 result
= (wxBrush
*) &_result_ref
;
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13689 wxBrush
* resultptr
= new wxBrush(*result
);
13690 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13698 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
;
13700 wxDC
*arg1
= (wxDC
*) 0 ;
13702 PyObject
* obj0
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13714 result
= (wxBrush
*) &_result_ref
;
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13721 wxBrush
* resultptr
= new wxBrush(*result
);
13722 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13730 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxDC
*arg1
= (wxDC
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13746 result
= (wxFont
*) &_result_ref
;
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13753 wxFont
* resultptr
= new wxFont(*result
);
13754 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13762 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxDC
*arg1
= (wxDC
*) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13778 result
= (wxPen
*) &_result_ref
;
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13785 wxPen
* resultptr
= new wxPen(*result
);
13786 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13794 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
;
13796 wxDC
*arg1
= (wxDC
*) 0 ;
13798 PyObject
* obj0
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13810 result
= (wxColour
*) &_result_ref
;
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13823 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 wxDC
*arg1
= (wxDC
*) 0 ;
13827 PyObject
* obj0
= 0 ;
13828 char *kwnames
[] = {
13829 (char *) "self", NULL
13832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13839 result
= (wxColour
*) &_result_ref
;
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13852 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
;
13854 wxDC
*arg1
= (wxDC
*) 0 ;
13855 wxColour
*arg2
= 0 ;
13857 PyObject
* obj0
= 0 ;
13858 PyObject
* obj1
= 0 ;
13859 char *kwnames
[] = {
13860 (char *) "self",(char *) "colour", NULL
13863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13868 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 Py_INCREF(Py_None
); resultobj
= Py_None
;
13884 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxDC
*arg1
= (wxDC
*) 0 ;
13887 wxColour
*arg2
= 0 ;
13889 PyObject
* obj0
= 0 ;
13890 PyObject
* obj1
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self",(char *) "colour", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13900 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 Py_INCREF(Py_None
); resultobj
= Py_None
;
13916 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxDC
*arg1
= (wxDC
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 resultobj
= SWIG_FromInt((int)result
);
13942 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
;
13944 wxDC
*arg1
= (wxDC
*) 0 ;
13946 PyObject
* obj0
= 0 ;
13947 PyObject
* obj1
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "self",(char *) "mode", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13955 arg2
= (int) SWIG_AsInt(obj1
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 (arg1
)->SetMapMode(arg2
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 Py_INCREF(Py_None
); resultobj
= Py_None
;
13971 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxDC
*arg1
= (wxDC
*) 0 ;
13974 double *arg2
= (double *) 0 ;
13975 double *arg3
= (double *) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 Py_INCREF(Py_None
); resultobj
= Py_None
;
13997 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13998 resultobj
= t_output_helper(resultobj
,o
);
14001 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14002 resultobj
= t_output_helper(resultobj
,o
);
14010 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14011 PyObject
*resultobj
;
14012 wxDC
*arg1
= (wxDC
*) 0 ;
14015 PyObject
* obj0
= 0 ;
14016 PyObject
* obj1
= 0 ;
14017 PyObject
* obj2
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self",(char *) "x",(char *) "y", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14025 arg2
= (double) SWIG_AsDouble(obj1
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14027 arg3
= (double) SWIG_AsDouble(obj2
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 (arg1
)->SetUserScale(arg2
,arg3
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14036 Py_INCREF(Py_None
); resultobj
= Py_None
;
14043 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxDC
*arg1
= (wxDC
*) 0 ;
14046 double *arg2
= (double *) 0 ;
14047 double *arg3
= (double *) 0 ;
14050 PyObject
* obj0
= 0 ;
14051 char *kwnames
[] = {
14052 (char *) "self", NULL
14057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 (arg1
)->GetLogicalScale(arg2
,arg3
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 Py_INCREF(Py_None
); resultobj
= Py_None
;
14069 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14070 resultobj
= t_output_helper(resultobj
,o
);
14073 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14074 resultobj
= t_output_helper(resultobj
,o
);
14082 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxDC
*arg1
= (wxDC
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 PyObject
* obj1
= 0 ;
14089 PyObject
* obj2
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self",(char *) "x",(char *) "y", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14097 arg2
= (double) SWIG_AsDouble(obj1
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14099 arg3
= (double) SWIG_AsDouble(obj2
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 (arg1
)->SetLogicalScale(arg2
,arg3
);
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 Py_INCREF(Py_None
); resultobj
= Py_None
;
14115 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
;
14117 wxDC
*arg1
= (wxDC
*) 0 ;
14119 PyObject
* obj0
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14131 wxPyEndAllowThreads(__tstate
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14135 wxPoint
* resultptr
;
14136 resultptr
= new wxPoint((wxPoint
&) result
);
14137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14145 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
;
14147 wxDC
*arg1
= (wxDC
*) 0 ;
14148 int *arg2
= (int *) 0 ;
14149 int *arg3
= (int *) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14169 Py_INCREF(Py_None
); resultobj
= Py_None
;
14171 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14172 resultobj
= t_output_helper(resultobj
,o
);
14175 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14176 resultobj
= t_output_helper(resultobj
,o
);
14184 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxDC
*arg1
= (wxDC
*) 0 ;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 PyObject
* obj2
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "self",(char *) "x",(char *) "y", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14199 arg2
= (int) SWIG_AsInt(obj1
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14201 arg3
= (int) SWIG_AsInt(obj2
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 Py_INCREF(Py_None
); resultobj
= Py_None
;
14217 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
;
14219 wxDC
*arg1
= (wxDC
*) 0 ;
14220 wxPoint
*arg2
= 0 ;
14222 PyObject
* obj0
= 0 ;
14223 PyObject
* obj1
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self",(char *) "point", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14233 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14242 Py_INCREF(Py_None
); resultobj
= Py_None
;
14249 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxDC
*arg1
= (wxDC
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14269 wxPoint
* resultptr
;
14270 resultptr
= new wxPoint((wxPoint
&) result
);
14271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14279 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
;
14281 wxDC
*arg1
= (wxDC
*) 0 ;
14282 int *arg2
= (int *) 0 ;
14283 int *arg3
= (int *) 0 ;
14286 PyObject
* obj0
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 Py_INCREF(Py_None
); resultobj
= Py_None
;
14305 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14306 resultobj
= t_output_helper(resultobj
,o
);
14309 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14310 resultobj
= t_output_helper(resultobj
,o
);
14318 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
;
14320 wxDC
*arg1
= (wxDC
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 PyObject
* obj2
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self",(char *) "x",(char *) "y", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14333 arg2
= (int) SWIG_AsInt(obj1
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14335 arg3
= (int) SWIG_AsInt(obj2
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 Py_INCREF(Py_None
); resultobj
= Py_None
;
14351 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxDC
*arg1
= (wxDC
*) 0 ;
14354 wxPoint
*arg2
= 0 ;
14356 PyObject
* obj0
= 0 ;
14357 PyObject
* obj1
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self",(char *) "point", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14367 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 Py_INCREF(Py_None
); resultobj
= Py_None
;
14383 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxDC
*arg1
= (wxDC
*) 0 ;
14388 PyObject
* obj0
= 0 ;
14389 PyObject
* obj1
= 0 ;
14390 PyObject
* obj2
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14398 arg2
= (bool) SWIG_AsBool(obj1
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14400 arg3
= (bool) SWIG_AsBool(obj2
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 Py_INCREF(Py_None
); resultobj
= Py_None
;
14416 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxDC
*arg1
= (wxDC
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= SWIG_FromInt((int)result
);
14442 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxDC
*arg1
= (wxDC
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 PyObject
* obj1
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self",(char *) "function", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 arg2
= (int) SWIG_AsInt(obj1
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 (arg1
)->SetLogicalFunction(arg2
);
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14464 Py_INCREF(Py_None
); resultobj
= Py_None
;
14471 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxDC
*arg1
= (wxDC
*) 0 ;
14475 PyObject
* obj0
= 0 ;
14476 PyObject
* obj1
= 0 ;
14477 char *kwnames
[] = {
14478 (char *) "self",(char *) "opt", NULL
14481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14484 arg2
= (bool) SWIG_AsBool(obj1
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14488 (arg1
)->SetOptimization(arg2
);
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 Py_INCREF(Py_None
); resultobj
= Py_None
;
14500 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14501 PyObject
*resultobj
;
14502 wxDC
*arg1
= (wxDC
*) 0 ;
14504 PyObject
* obj0
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (bool)(arg1
)->GetOptimization();
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14528 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxDC
*arg1
= (wxDC
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 PyObject
* obj1
= 0 ;
14535 PyObject
* obj2
= 0 ;
14536 char *kwnames
[] = {
14537 (char *) "self",(char *) "x",(char *) "y", NULL
14540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14543 arg2
= (int) SWIG_AsInt(obj1
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14545 arg3
= (int) SWIG_AsInt(obj2
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 Py_INCREF(Py_None
); resultobj
= Py_None
;
14561 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxDC
*arg1
= (wxDC
*) 0 ;
14564 wxPoint
*arg2
= 0 ;
14566 PyObject
* obj0
= 0 ;
14567 PyObject
* obj1
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "self",(char *) "point", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 Py_INCREF(Py_None
); resultobj
= Py_None
;
14593 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
;
14595 wxDC
*arg1
= (wxDC
*) 0 ;
14596 PyObject
* obj0
= 0 ;
14597 char *kwnames
[] = {
14598 (char *) "self", NULL
14601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 (arg1
)->ResetBoundingBox();
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 Py_INCREF(Py_None
); resultobj
= Py_None
;
14618 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
;
14620 wxDC
*arg1
= (wxDC
*) 0 ;
14622 PyObject
* obj0
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 result
= (int)((wxDC
const *)arg1
)->MinX();
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14637 resultobj
= SWIG_FromInt((int)result
);
14644 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxDC
*arg1
= (wxDC
*) 0 ;
14648 PyObject
* obj0
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (int)((wxDC
const *)arg1
)->MaxX();
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= SWIG_FromInt((int)result
);
14670 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxDC
*arg1
= (wxDC
*) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (int)((wxDC
const *)arg1
)->MinY();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= SWIG_FromInt((int)result
);
14696 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 wxDC
*arg1
= (wxDC
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 char *kwnames
[] = {
14702 (char *) "self", NULL
14705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 result
= (int)((wxDC
const *)arg1
)->MaxY();
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14715 resultobj
= SWIG_FromInt((int)result
);
14722 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxDC
*arg1
= (wxDC
*) 0 ;
14725 int *arg2
= (int *) 0 ;
14726 int *arg3
= (int *) 0 ;
14727 int *arg4
= (int *) 0 ;
14728 int *arg5
= (int *) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 Py_INCREF(Py_None
); resultobj
= Py_None
;
14754 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14755 resultobj
= t_output_helper(resultobj
,o
);
14758 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14759 resultobj
= t_output_helper(resultobj
,o
);
14762 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14763 resultobj
= t_output_helper(resultobj
,o
);
14766 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14767 resultobj
= t_output_helper(resultobj
,o
);
14775 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxDC
*arg1
= (wxDC
*) 0 ;
14778 PyObject
*arg2
= (PyObject
*) 0 ;
14779 PyObject
*arg3
= (PyObject
*) 0 ;
14780 PyObject
*arg4
= (PyObject
*) 0 ;
14782 PyObject
* obj0
= 0 ;
14783 PyObject
* obj1
= 0 ;
14784 PyObject
* obj2
= 0 ;
14785 PyObject
* obj3
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= result
;
14810 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14811 PyObject
*resultobj
;
14812 wxDC
*arg1
= (wxDC
*) 0 ;
14813 PyObject
*arg2
= (PyObject
*) 0 ;
14814 PyObject
*arg3
= (PyObject
*) 0 ;
14815 PyObject
*arg4
= (PyObject
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 PyObject
* obj1
= 0 ;
14819 PyObject
* obj2
= 0 ;
14820 PyObject
* obj3
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= result
;
14845 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
;
14847 wxDC
*arg1
= (wxDC
*) 0 ;
14848 PyObject
*arg2
= (PyObject
*) 0 ;
14849 PyObject
*arg3
= (PyObject
*) 0 ;
14850 PyObject
*arg4
= (PyObject
*) 0 ;
14852 PyObject
* obj0
= 0 ;
14853 PyObject
* obj1
= 0 ;
14854 PyObject
* obj2
= 0 ;
14855 PyObject
* obj3
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= result
;
14880 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxDC
*arg1
= (wxDC
*) 0 ;
14883 PyObject
*arg2
= (PyObject
*) 0 ;
14884 PyObject
*arg3
= (PyObject
*) 0 ;
14885 PyObject
*arg4
= (PyObject
*) 0 ;
14887 PyObject
* obj0
= 0 ;
14888 PyObject
* obj1
= 0 ;
14889 PyObject
* obj2
= 0 ;
14890 PyObject
* obj3
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= result
;
14915 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxDC
*arg1
= (wxDC
*) 0 ;
14918 PyObject
*arg2
= (PyObject
*) 0 ;
14919 PyObject
*arg3
= (PyObject
*) 0 ;
14920 PyObject
*arg4
= (PyObject
*) 0 ;
14922 PyObject
* obj0
= 0 ;
14923 PyObject
* obj1
= 0 ;
14924 PyObject
* obj2
= 0 ;
14925 PyObject
* obj3
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= result
;
14950 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
;
14952 wxDC
*arg1
= (wxDC
*) 0 ;
14953 PyObject
*arg2
= (PyObject
*) 0 ;
14954 PyObject
*arg3
= (PyObject
*) 0 ;
14955 PyObject
*arg4
= (PyObject
*) 0 ;
14956 PyObject
*arg5
= (PyObject
*) 0 ;
14958 PyObject
* obj0
= 0 ;
14959 PyObject
* obj1
= 0 ;
14960 PyObject
* obj2
= 0 ;
14961 PyObject
* obj3
= 0 ;
14962 PyObject
* obj4
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= result
;
14988 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14991 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14993 return Py_BuildValue((char *)"");
14995 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxMemoryDC
*result
;
14998 char *kwnames
[] = {
15002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15004 if (!wxPyCheckForApp()) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= (wxMemoryDC
*)new wxMemoryDC();
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15018 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxDC
*arg1
= (wxDC
*) 0 ;
15021 wxMemoryDC
*result
;
15022 PyObject
* obj0
= 0 ;
15023 char *kwnames
[] = {
15024 (char *) "oldDC", NULL
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15031 if (!wxPyCheckForApp()) SWIG_fail
;
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15045 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15048 wxBitmap
*arg2
= 0 ;
15049 PyObject
* obj0
= 0 ;
15050 PyObject
* obj1
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self",(char *) "bitmap", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15061 if (arg2
== NULL
) {
15062 PyErr_SetString(PyExc_TypeError
,"null reference");
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 Py_INCREF(Py_None
); resultobj
= Py_None
;
15079 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15082 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15084 return Py_BuildValue((char *)"");
15086 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15087 PyObject
*resultobj
;
15088 wxDC
*arg1
= (wxDC
*) 0 ;
15089 wxBitmap
*arg2
= 0 ;
15090 wxBufferedDC
*result
;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15094 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15100 if (arg2
== NULL
) {
15101 PyErr_SetString(PyExc_TypeError
,"null reference");
15105 if (!wxPyCheckForApp()) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15119 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15120 PyObject
*resultobj
;
15121 wxDC
*arg1
= (wxDC
*) 0 ;
15123 wxBufferedDC
*result
;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15128 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15136 if (!wxPyCheckForApp()) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15150 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15155 argc
= PyObject_Length(args
);
15156 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15157 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15163 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15173 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15181 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15189 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15198 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15201 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15206 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15211 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15212 PyObject
*resultobj
;
15213 wxDC
*arg1
= (wxDC
*) 0 ;
15215 wxBufferedDC
*result
;
15217 PyObject
* obj0
= 0 ;
15218 PyObject
* obj1
= 0 ;
15220 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15225 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15228 if (!wxPyCheckForApp()) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15242 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 Py_INCREF(Py_None
); resultobj
= Py_None
;
15267 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15285 Py_INCREF(Py_None
); resultobj
= Py_None
;
15292 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15295 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15297 return Py_BuildValue((char *)"");
15299 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxWindow
*arg1
= (wxWindow
*) 0 ;
15302 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15303 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15304 wxBufferedPaintDC
*result
;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "window",(char *) "buffer", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15318 if (arg2
== NULL
) {
15319 PyErr_SetString(PyExc_TypeError
,"null reference");
15324 if (!wxPyCheckForApp()) SWIG_fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15338 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15341 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15343 return Py_BuildValue((char *)"");
15345 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
;
15347 wxScreenDC
*result
;
15348 char *kwnames
[] = {
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15354 if (!wxPyCheckForApp()) SWIG_fail
;
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 result
= (wxScreenDC
*)new wxScreenDC();
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15368 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15371 wxWindow
*arg2
= (wxWindow
*) 0 ;
15373 PyObject
* obj0
= 0 ;
15374 PyObject
* obj1
= 0 ;
15375 char *kwnames
[] = {
15376 (char *) "self",(char *) "window", NULL
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15400 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15403 wxRect
*arg2
= (wxRect
*) NULL
;
15405 PyObject
* obj0
= 0 ;
15406 PyObject
* obj1
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "self",(char *) "rect", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15434 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (bool)(arg1
)->EndDrawingOnTop();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15462 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15465 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15467 return Py_BuildValue((char *)"");
15469 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
;
15471 wxWindow
*arg1
= (wxWindow
*) 0 ;
15472 wxClientDC
*result
;
15473 PyObject
* obj0
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "win", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15482 if (!wxPyCheckForApp()) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (wxClientDC
*)new wxClientDC(arg1
);
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15496 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15499 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15501 return Py_BuildValue((char *)"");
15503 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxWindow
*arg1
= (wxWindow
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "win", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 if (!wxPyCheckForApp()) SWIG_fail
;
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15530 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15533 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15535 return Py_BuildValue((char *)"");
15537 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
;
15539 wxWindow
*arg1
= (wxWindow
*) 0 ;
15540 wxWindowDC
*result
;
15541 PyObject
* obj0
= 0 ;
15542 char *kwnames
[] = {
15543 (char *) "win", NULL
15546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15550 if (!wxPyCheckForApp()) SWIG_fail
;
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15564 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15567 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15569 return Py_BuildValue((char *)"");
15571 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15575 wxMirrorDC
*result
;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "dc",(char *) "mirror", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15586 if (arg1
== NULL
) {
15587 PyErr_SetString(PyExc_TypeError
,"null reference");
15590 arg2
= (bool) SWIG_AsBool(obj1
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 if (!wxPyCheckForApp()) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15607 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15610 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15612 return Py_BuildValue((char *)"");
15614 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxPrintData
*arg1
= 0 ;
15617 wxPostScriptDC
*result
;
15618 PyObject
* obj0
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "printData", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15627 if (arg1
== NULL
) {
15628 PyErr_SetString(PyExc_TypeError
,"null reference");
15632 if (!wxPyCheckForApp()) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15646 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
;
15648 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15649 wxPrintData
*result
;
15650 PyObject
* obj0
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "self", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15662 result
= (wxPrintData
*) &_result_ref
;
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15675 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15678 wxPrintData
*arg2
= 0 ;
15679 PyObject
* obj0
= 0 ;
15680 PyObject
* obj1
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "self",(char *) "data", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15691 if (arg2
== NULL
) {
15692 PyErr_SetString(PyExc_TypeError
,"null reference");
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 Py_INCREF(Py_None
); resultobj
= Py_None
;
15709 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15710 PyObject
*resultobj
;
15712 PyObject
* obj0
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "ppi", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15718 arg1
= (int) SWIG_AsInt(obj0
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 wxPostScriptDC::SetResolution(arg1
);
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 Py_INCREF(Py_None
); resultobj
= Py_None
;
15734 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15737 char *kwnames
[] = {
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 result
= (int)wxPostScriptDC::GetResolution();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= SWIG_FromInt((int)result
);
15756 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15759 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15761 return Py_BuildValue((char *)"");
15763 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15766 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15767 wxMetaFile
*result
;
15768 bool temp1
= False
;
15769 PyObject
* obj0
= 0 ;
15770 char *kwnames
[] = {
15771 (char *) "filename", NULL
15774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15777 arg1
= wxString_in_helper(obj0
);
15778 if (arg1
== NULL
) SWIG_fail
;
15783 if (!wxPyCheckForApp()) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15805 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15808 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15810 return Py_BuildValue((char *)"");
15812 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15815 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15816 int arg2
= (int) 0 ;
15817 int arg3
= (int) 0 ;
15818 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15819 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15820 wxMetaFileDC
*result
;
15821 bool temp1
= False
;
15822 bool temp4
= False
;
15823 PyObject
* obj0
= 0 ;
15824 PyObject
* obj1
= 0 ;
15825 PyObject
* obj2
= 0 ;
15826 PyObject
* obj3
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15834 arg1
= wxString_in_helper(obj0
);
15835 if (arg1
== NULL
) SWIG_fail
;
15840 arg2
= (int) SWIG_AsInt(obj1
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15844 arg3
= (int) SWIG_AsInt(obj2
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15849 arg4
= wxString_in_helper(obj3
);
15850 if (arg4
== NULL
) SWIG_fail
;
15855 if (!wxPyCheckForApp()) SWIG_fail
;
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15885 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15888 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15890 return Py_BuildValue((char *)"");
15892 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
;
15894 wxPrintData
*arg1
= 0 ;
15895 wxPrinterDC
*result
;
15896 PyObject
* obj0
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "printData", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15905 if (arg1
== NULL
) {
15906 PyErr_SetString(PyExc_TypeError
,"null reference");
15910 if (!wxPyCheckForApp()) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15924 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15927 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15929 return Py_BuildValue((char *)"");
15931 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
;
15935 int arg3
= (int) True
;
15936 int arg4
= (int) 1 ;
15937 wxImageList
*result
;
15938 PyObject
* obj0
= 0 ;
15939 PyObject
* obj1
= 0 ;
15940 PyObject
* obj2
= 0 ;
15941 PyObject
* obj3
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15947 arg1
= (int) SWIG_AsInt(obj0
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15949 arg2
= (int) SWIG_AsInt(obj1
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 arg3
= (int) SWIG_AsInt(obj2
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15956 arg4
= (int) SWIG_AsInt(obj3
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15960 if (!wxPyCheckForApp()) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= wxPyMake_wxObject(result
);
15976 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxImageList
*arg1
= (wxImageList
*) 0 ;
15979 PyObject
* obj0
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 Py_INCREF(Py_None
); resultobj
= Py_None
;
16001 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxImageList
*arg1
= (wxImageList
*) 0 ;
16004 wxBitmap
*arg2
= 0 ;
16005 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16006 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 PyObject
* obj2
= 0 ;
16011 char *kwnames
[] = {
16012 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16021 if (arg2
== NULL
) {
16022 PyErr_SetString(PyExc_TypeError
,"null reference");
16026 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16029 if (arg3
== NULL
) {
16030 PyErr_SetString(PyExc_TypeError
,"null reference");
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= SWIG_FromInt((int)result
);
16048 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxImageList
*arg1
= (wxImageList
*) 0 ;
16051 wxBitmap
*arg2
= 0 ;
16052 wxColour
*arg3
= 0 ;
16055 PyObject
* obj0
= 0 ;
16056 PyObject
* obj1
= 0 ;
16057 PyObject
* obj2
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16068 if (arg2
== NULL
) {
16069 PyErr_SetString(PyExc_TypeError
,"null reference");
16074 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= SWIG_FromInt((int)result
);
16090 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16092 wxImageList
*arg1
= (wxImageList
*) 0 ;
16095 PyObject
* obj0
= 0 ;
16096 PyObject
* obj1
= 0 ;
16097 char *kwnames
[] = {
16098 (char *) "self",(char *) "icon", NULL
16101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16107 if (arg2
== NULL
) {
16108 PyErr_SetString(PyExc_TypeError
,"null reference");
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= SWIG_FromInt((int)result
);
16125 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxImageList
*arg1
= (wxImageList
*) 0 ;
16129 wxBitmap
*arg3
= 0 ;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 PyObject
* obj2
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16141 arg2
= (int) SWIG_AsInt(obj1
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16143 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16146 if (arg3
== NULL
) {
16147 PyErr_SetString(PyExc_TypeError
,"null reference");
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16166 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16168 wxImageList
*arg1
= (wxImageList
*) 0 ;
16173 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16174 bool arg7
= (bool) (bool)False
;
16176 PyObject
* obj0
= 0 ;
16177 PyObject
* obj1
= 0 ;
16178 PyObject
* obj2
= 0 ;
16179 PyObject
* obj3
= 0 ;
16180 PyObject
* obj4
= 0 ;
16181 PyObject
* obj5
= 0 ;
16182 PyObject
* obj6
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16190 arg2
= (int) SWIG_AsInt(obj1
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16192 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16195 if (arg3
== NULL
) {
16196 PyErr_SetString(PyExc_TypeError
,"null reference");
16199 arg4
= (int) SWIG_AsInt(obj3
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16201 arg5
= (int) SWIG_AsInt(obj4
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16204 arg6
= (int) SWIG_AsInt(obj5
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16208 arg7
= (bool const) SWIG_AsBool(obj6
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16227 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
;
16229 wxImageList
*arg1
= (wxImageList
*) 0 ;
16231 PyObject
* obj0
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (int)(arg1
)->GetImageCount();
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= SWIG_FromInt((int)result
);
16253 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxImageList
*arg1
= (wxImageList
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self",(char *) "index", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16267 arg2
= (int) SWIG_AsInt(obj1
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (bool)(arg1
)->Remove(arg2
);
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16285 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxImageList
*arg1
= (wxImageList
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (bool)(arg1
)->RemoveAll();
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16313 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxImageList
*arg1
= (wxImageList
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 PyObject
* obj1
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "self",(char *) "index", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16332 arg2
= (int) SWIG_AsInt(obj1
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16338 wxPyEndAllowThreads(__tstate
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16341 Py_INCREF(Py_None
); resultobj
= Py_None
;
16343 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16344 resultobj
= t_output_helper(resultobj
,o
);
16347 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16348 resultobj
= t_output_helper(resultobj
,o
);
16356 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16359 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16361 return Py_BuildValue((char *)"");
16363 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16364 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16369 static PyObject
*_wrap_NORMAL_FONT_get() {
16372 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16377 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16378 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16383 static PyObject
*_wrap_SMALL_FONT_get() {
16386 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16391 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16392 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16397 static PyObject
*_wrap_ITALIC_FONT_get() {
16400 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16405 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16406 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16411 static PyObject
*_wrap_SWISS_FONT_get() {
16414 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16419 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16420 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16425 static PyObject
*_wrap_RED_PEN_get() {
16428 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16433 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16434 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16439 static PyObject
*_wrap_CYAN_PEN_get() {
16442 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16447 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16448 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16453 static PyObject
*_wrap_GREEN_PEN_get() {
16456 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16461 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16462 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16467 static PyObject
*_wrap_BLACK_PEN_get() {
16470 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16475 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16476 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16481 static PyObject
*_wrap_WHITE_PEN_get() {
16484 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16489 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16490 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16495 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16498 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16503 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16504 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16509 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16512 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16517 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16518 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16523 static PyObject
*_wrap_GREY_PEN_get() {
16526 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16531 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16532 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16537 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16540 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16545 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16546 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16551 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16554 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16559 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16560 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16565 static PyObject
*_wrap_BLUE_BRUSH_get() {
16568 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16573 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16574 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16579 static PyObject
*_wrap_GREEN_BRUSH_get() {
16582 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16587 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16588 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16593 static PyObject
*_wrap_WHITE_BRUSH_get() {
16596 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16601 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16602 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16607 static PyObject
*_wrap_BLACK_BRUSH_get() {
16610 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16615 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16616 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16621 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16624 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16629 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16630 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16635 static PyObject
*_wrap_CYAN_BRUSH_get() {
16638 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16643 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16644 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16649 static PyObject
*_wrap_RED_BRUSH_get() {
16652 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16657 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16658 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16663 static PyObject
*_wrap_GREY_BRUSH_get() {
16666 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16671 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16672 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16677 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16680 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16685 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16686 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16691 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16694 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16699 static int _wrap_BLACK_set(PyObject
*_val
) {
16700 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16705 static PyObject
*_wrap_BLACK_get() {
16708 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16713 static int _wrap_WHITE_set(PyObject
*_val
) {
16714 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16719 static PyObject
*_wrap_WHITE_get() {
16722 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16727 static int _wrap_RED_set(PyObject
*_val
) {
16728 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16733 static PyObject
*_wrap_RED_get() {
16736 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16741 static int _wrap_BLUE_set(PyObject
*_val
) {
16742 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16747 static PyObject
*_wrap_BLUE_get() {
16750 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16755 static int _wrap_GREEN_set(PyObject
*_val
) {
16756 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16761 static PyObject
*_wrap_GREEN_get() {
16764 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16769 static int _wrap_CYAN_set(PyObject
*_val
) {
16770 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16775 static PyObject
*_wrap_CYAN_get() {
16778 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16783 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16784 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16789 static PyObject
*_wrap_LIGHT_GREY_get() {
16792 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16797 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16798 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16803 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16806 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16811 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16812 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16817 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16820 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16825 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16826 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16831 static PyObject
*_wrap_CROSS_CURSOR_get() {
16834 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16839 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16840 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16845 static PyObject
*_wrap_NullBitmap_get() {
16848 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16853 static int _wrap_NullIcon_set(PyObject
*_val
) {
16854 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16859 static PyObject
*_wrap_NullIcon_get() {
16862 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16867 static int _wrap_NullCursor_set(PyObject
*_val
) {
16868 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16873 static PyObject
*_wrap_NullCursor_get() {
16876 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16881 static int _wrap_NullPen_set(PyObject
*_val
) {
16882 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16887 static PyObject
*_wrap_NullPen_get() {
16890 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16895 static int _wrap_NullBrush_set(PyObject
*_val
) {
16896 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16901 static PyObject
*_wrap_NullBrush_get() {
16904 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16909 static int _wrap_NullPalette_set(PyObject
*_val
) {
16910 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16915 static PyObject
*_wrap_NullPalette_get() {
16918 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16923 static int _wrap_NullFont_set(PyObject
*_val
) {
16924 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16929 static PyObject
*_wrap_NullFont_get() {
16932 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
16937 static int _wrap_NullColour_set(PyObject
*_val
) {
16938 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16943 static PyObject
*_wrap_NullColour_get() {
16946 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
16951 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
;
16953 wxPenList
*arg1
= (wxPenList
*) 0 ;
16954 wxPen
*arg2
= (wxPen
*) 0 ;
16955 PyObject
* obj0
= 0 ;
16956 PyObject
* obj1
= 0 ;
16957 char *kwnames
[] = {
16958 (char *) "self",(char *) "pen", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 (arg1
)->AddPen(arg2
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 Py_INCREF(Py_None
); resultobj
= Py_None
;
16980 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 wxPenList
*arg1
= (wxPenList
*) 0 ;
16983 wxColour
*arg2
= 0 ;
16988 PyObject
* obj0
= 0 ;
16989 PyObject
* obj1
= 0 ;
16990 PyObject
* obj2
= 0 ;
16991 PyObject
* obj3
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17001 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17003 arg3
= (int) SWIG_AsInt(obj2
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17005 arg4
= (int) SWIG_AsInt(obj3
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17021 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 wxPenList
*arg1
= (wxPenList
*) 0 ;
17024 wxPen
*arg2
= (wxPen
*) 0 ;
17025 PyObject
* obj0
= 0 ;
17026 PyObject
* obj1
= 0 ;
17027 char *kwnames
[] = {
17028 (char *) "self",(char *) "pen", NULL
17031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17038 (arg1
)->RemovePen(arg2
);
17040 wxPyEndAllowThreads(__tstate
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17043 Py_INCREF(Py_None
); resultobj
= Py_None
;
17050 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxPenList
*arg1
= (wxPenList
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (int)(arg1
)->GetCount();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= SWIG_FromInt((int)result
);
17076 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17079 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17081 return Py_BuildValue((char *)"");
17083 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17086 wxBrush
*arg2
= (wxBrush
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 PyObject
* obj1
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "self",(char *) "brush", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 (arg1
)->AddBrush(arg2
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 Py_INCREF(Py_None
); resultobj
= Py_None
;
17112 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17115 wxColour
*arg2
= 0 ;
17119 PyObject
* obj0
= 0 ;
17120 PyObject
* obj1
= 0 ;
17121 PyObject
* obj2
= 0 ;
17122 char *kwnames
[] = {
17123 (char *) "self",(char *) "colour",(char *) "style", NULL
17126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17131 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17133 arg3
= (int) SWIG_AsInt(obj2
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17137 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17149 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
;
17151 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17152 wxBrush
*arg2
= (wxBrush
*) 0 ;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "self",(char *) "brush", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 (arg1
)->RemoveBrush(arg2
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17171 Py_INCREF(Py_None
); resultobj
= Py_None
;
17178 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17182 PyObject
* obj0
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "self", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= (int)(arg1
)->GetCount();
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= SWIG_FromInt((int)result
);
17204 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17207 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17209 return Py_BuildValue((char *)"");
17211 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxColourDatabase
*result
;
17214 char *kwnames
[] = {
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17220 if (!wxPyCheckForApp()) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= (wxColourDatabase
*)new wxColourDatabase();
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17234 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
;
17236 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17237 PyObject
* obj0
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 Py_INCREF(Py_None
); resultobj
= Py_None
;
17259 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
;
17261 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17262 wxString
*arg2
= 0 ;
17264 bool temp2
= False
;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "self",(char *) "name", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17275 arg2
= wxString_in_helper(obj1
);
17276 if (arg2
== NULL
) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17287 wxColour
* resultptr
;
17288 resultptr
= new wxColour((wxColour
&) result
);
17289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17305 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17308 wxColour
*arg2
= 0 ;
17311 PyObject
* obj0
= 0 ;
17312 PyObject
* obj1
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "self",(char *) "colour", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17322 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17344 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17346 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17347 wxString
*arg2
= 0 ;
17348 wxColour
*arg3
= 0 ;
17349 bool temp2
= False
;
17351 PyObject
* obj0
= 0 ;
17352 PyObject
* obj1
= 0 ;
17353 PyObject
* obj2
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self",(char *) "name",(char *) "colour", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17362 arg2
= wxString_in_helper(obj1
);
17363 if (arg2
== NULL
) SWIG_fail
;
17368 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 Py_INCREF(Py_None
); resultobj
= Py_None
;
17392 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17394 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17395 wxString
*arg2
= 0 ;
17399 bool temp2
= False
;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 PyObject
* obj2
= 0 ;
17403 PyObject
* obj3
= 0 ;
17404 PyObject
* obj4
= 0 ;
17405 char *kwnames
[] = {
17406 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17413 arg2
= wxString_in_helper(obj1
);
17414 if (arg2
== NULL
) SWIG_fail
;
17417 arg3
= (int) SWIG_AsInt(obj2
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17419 arg4
= (int) SWIG_AsInt(obj3
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17421 arg5
= (int) SWIG_AsInt(obj4
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 Py_INCREF(Py_None
); resultobj
= Py_None
;
17445 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17448 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17450 return Py_BuildValue((char *)"");
17452 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxFontList
*arg1
= (wxFontList
*) 0 ;
17455 wxFont
*arg2
= (wxFont
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self",(char *) "font", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 (arg1
)->AddFont(arg2
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 Py_INCREF(Py_None
); resultobj
= Py_None
;
17481 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxFontList
*arg1
= (wxFontList
*) 0 ;
17488 bool arg6
= (bool) False
;
17489 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17490 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17491 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17493 bool temp7
= False
;
17494 PyObject
* obj0
= 0 ;
17495 PyObject
* obj1
= 0 ;
17496 PyObject
* obj2
= 0 ;
17497 PyObject
* obj3
= 0 ;
17498 PyObject
* obj4
= 0 ;
17499 PyObject
* obj5
= 0 ;
17500 PyObject
* obj6
= 0 ;
17501 PyObject
* obj7
= 0 ;
17502 char *kwnames
[] = {
17503 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17509 arg2
= (int) SWIG_AsInt(obj1
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17511 arg3
= (int) SWIG_AsInt(obj2
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17513 arg4
= (int) SWIG_AsInt(obj3
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17515 arg5
= (int) SWIG_AsInt(obj4
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17518 arg6
= (bool) SWIG_AsBool(obj5
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17523 arg7
= wxString_in_helper(obj6
);
17524 if (arg7
== NULL
) SWIG_fail
;
17529 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17554 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxFontList
*arg1
= (wxFontList
*) 0 ;
17557 wxFont
*arg2
= (wxFont
*) 0 ;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self",(char *) "font", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 (arg1
)->RemoveFont(arg2
);
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 Py_INCREF(Py_None
); resultobj
= Py_None
;
17583 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
;
17585 wxFontList
*arg1
= (wxFontList
*) 0 ;
17587 PyObject
* obj0
= 0 ;
17588 char *kwnames
[] = {
17589 (char *) "self", NULL
17592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (int)(arg1
)->GetCount();
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_FromInt((int)result
);
17609 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17612 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17614 return Py_BuildValue((char *)"");
17616 static int _wrap_TheFontList_set(PyObject
*_val
) {
17617 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17622 static PyObject
*_wrap_TheFontList_get() {
17625 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17630 static int _wrap_ThePenList_set(PyObject
*_val
) {
17631 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17636 static PyObject
*_wrap_ThePenList_get() {
17639 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17644 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17645 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17650 static PyObject
*_wrap_TheBrushList_get() {
17653 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17658 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17659 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17664 static PyObject
*_wrap_TheColourDatabase_get() {
17667 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17672 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17675 char *kwnames
[] = {
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 result
= (wxEffects
*)new wxEffects();
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17694 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxEffects
*arg1
= (wxEffects
*) 0 ;
17698 PyObject
* obj0
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17714 wxColour
* resultptr
;
17715 resultptr
= new wxColour((wxColour
&) result
);
17716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17724 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxEffects
*arg1
= (wxEffects
*) 0 ;
17728 PyObject
* obj0
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "self", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17744 wxColour
* resultptr
;
17745 resultptr
= new wxColour((wxColour
&) result
);
17746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17754 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxEffects
*arg1
= (wxEffects
*) 0 ;
17758 PyObject
* obj0
= 0 ;
17759 char *kwnames
[] = {
17760 (char *) "self", NULL
17763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17774 wxColour
* resultptr
;
17775 resultptr
= new wxColour((wxColour
&) result
);
17776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17784 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxEffects
*arg1
= (wxEffects
*) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17804 wxColour
* resultptr
;
17805 resultptr
= new wxColour((wxColour
&) result
);
17806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17814 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxEffects
*arg1
= (wxEffects
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17834 wxColour
* resultptr
;
17835 resultptr
= new wxColour((wxColour
&) result
);
17836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17844 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxEffects
*arg1
= (wxEffects
*) 0 ;
17847 wxColour
*arg2
= 0 ;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self",(char *) "c", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17860 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 Py_INCREF(Py_None
); resultobj
= Py_None
;
17876 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxEffects
*arg1
= (wxEffects
*) 0 ;
17879 wxColour
*arg2
= 0 ;
17881 PyObject
* obj0
= 0 ;
17882 PyObject
* obj1
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self",(char *) "c", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17892 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 Py_INCREF(Py_None
); resultobj
= Py_None
;
17908 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxEffects
*arg1
= (wxEffects
*) 0 ;
17911 wxColour
*arg2
= 0 ;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self",(char *) "c", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 Py_INCREF(Py_None
); resultobj
= Py_None
;
17940 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxEffects
*arg1
= (wxEffects
*) 0 ;
17943 wxColour
*arg2
= 0 ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self",(char *) "c", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17956 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 Py_INCREF(Py_None
); resultobj
= Py_None
;
17972 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxEffects
*arg1
= (wxEffects
*) 0 ;
17975 wxColour
*arg2
= 0 ;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self",(char *) "c", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17988 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 Py_INCREF(Py_None
); resultobj
= Py_None
;
18004 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxEffects
*arg1
= (wxEffects
*) 0 ;
18007 wxColour
*arg2
= 0 ;
18008 wxColour
*arg3
= 0 ;
18009 wxColour
*arg4
= 0 ;
18010 wxColour
*arg5
= 0 ;
18011 wxColour
*arg6
= 0 ;
18017 PyObject
* obj0
= 0 ;
18018 PyObject
* obj1
= 0 ;
18019 PyObject
* obj2
= 0 ;
18020 PyObject
* obj3
= 0 ;
18021 PyObject
* obj4
= 0 ;
18022 PyObject
* obj5
= 0 ;
18023 char *kwnames
[] = {
18024 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18036 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18040 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18044 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18048 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 Py_INCREF(Py_None
); resultobj
= Py_None
;
18064 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxEffects
*arg1
= (wxEffects
*) 0 ;
18069 int arg4
= (int) 1 ;
18071 PyObject
* obj0
= 0 ;
18072 PyObject
* obj1
= 0 ;
18073 PyObject
* obj2
= 0 ;
18074 PyObject
* obj3
= 0 ;
18075 char *kwnames
[] = {
18076 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18085 if (arg2
== NULL
) {
18086 PyErr_SetString(PyExc_TypeError
,"null reference");
18091 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18094 arg4
= (int) SWIG_AsInt(obj3
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 Py_INCREF(Py_None
); resultobj
= Py_None
;
18111 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxEffects
*arg1
= (wxEffects
*) 0 ;
18116 wxBitmap
*arg4
= 0 ;
18119 PyObject
* obj0
= 0 ;
18120 PyObject
* obj1
= 0 ;
18121 PyObject
* obj2
= 0 ;
18122 PyObject
* obj3
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18134 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18137 if (arg3
== NULL
) {
18138 PyErr_SetString(PyExc_TypeError
,"null reference");
18141 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18144 if (arg4
== NULL
) {
18145 PyErr_SetString(PyExc_TypeError
,"null reference");
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18164 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18167 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18169 return Py_BuildValue((char *)"");
18171 static PyMethodDef SwigMethods
[] = {
18172 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18173 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18174 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18175 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18176 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18177 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18178 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18179 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18180 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18181 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18182 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18183 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18184 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18185 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18186 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18187 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18188 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18189 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18190 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18191 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18192 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18193 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18194 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18195 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18196 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18197 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18198 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18199 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18200 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18201 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18202 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18203 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18204 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18205 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18206 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18207 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18208 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18209 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18210 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18211 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18212 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18213 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18214 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18215 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18216 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18217 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18218 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18219 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18220 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18221 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18222 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18223 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18224 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18225 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18226 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18227 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18228 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18229 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18230 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18231 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18232 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18233 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18234 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18235 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18236 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18237 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18238 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18239 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18240 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18241 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18242 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18243 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18244 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18245 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18246 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18247 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18248 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18249 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18250 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18251 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18252 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18253 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18254 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18255 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18256 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18257 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18258 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18259 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18260 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18261 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18262 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18263 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18264 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18265 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18266 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18267 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18268 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18269 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18270 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18272 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18273 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18274 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18275 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18276 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18282 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18283 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18284 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18285 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18287 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18288 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18289 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18290 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18292 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18293 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18294 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18295 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18296 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18297 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18298 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18299 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18302 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18305 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18307 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18311 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18313 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18315 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18316 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18321 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18322 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18323 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18324 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18325 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18329 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18339 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18347 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18348 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18353 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18356 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18358 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18363 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18366 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18371 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18372 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18387 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18392 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18429 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18437 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18444 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18466 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18468 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18476 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18605 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18609 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18610 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18611 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18614 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18616 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18621 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18623 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18625 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18627 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18629 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18635 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18637 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18639 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18641 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18653 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18658 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18659 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18663 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18670 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18675 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18694 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18696 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18697 return (void *)((wxWindow
*) ((wxControl
*) x
));
18699 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18700 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18702 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18703 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18705 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18706 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18708 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18709 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18711 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18712 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18714 static void *_p_wxPenTo_p_wxObject(void *x
) {
18715 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18717 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18718 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18720 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18721 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18723 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18724 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18726 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18727 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18729 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18732 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18733 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18735 static void *_p_wxIconTo_p_wxObject(void *x
) {
18736 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18738 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18739 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18741 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18742 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18744 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18745 return (void *)((wxObject
*) ((wxSizer
*) x
));
18747 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18748 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18750 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18753 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18754 return (void *)((wxObject
*) ((wxPenList
*) x
));
18756 static void *_p_wxEventTo_p_wxObject(void *x
) {
18757 return (void *)((wxObject
*) ((wxEvent
*) x
));
18759 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18760 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18762 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18763 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18765 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18766 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18768 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18769 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18771 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18772 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18774 static void *_p_wxDCTo_p_wxObject(void *x
) {
18775 return (void *)((wxObject
*) ((wxDC
*) x
));
18777 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18778 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18780 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18781 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18783 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18784 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18786 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18787 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18789 static void *_p_wxControlTo_p_wxObject(void *x
) {
18790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18792 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18793 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18795 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18796 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18798 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18799 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18801 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18802 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18804 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18805 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18807 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18808 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18810 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18811 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18813 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18814 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18816 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18817 return (void *)((wxObject
*) ((wxEffects
*) x
));
18819 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18820 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18822 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18825 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18826 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18828 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18829 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18831 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18832 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18834 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18835 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18837 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18840 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18841 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18843 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18844 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18846 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18847 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18849 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18850 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18852 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18853 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18855 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18856 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18858 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18859 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18861 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18862 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18864 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18865 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18867 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18868 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18870 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18871 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18873 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18874 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18876 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18877 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18879 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18880 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18882 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18883 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18885 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18886 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18888 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18889 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18891 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18892 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18894 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18895 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18897 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18898 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18900 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18901 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18903 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18904 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18906 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18907 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18909 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18910 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18912 static void *_p_wxImageTo_p_wxObject(void *x
) {
18913 return (void *)((wxObject
*) ((wxImage
*) x
));
18915 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18916 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18918 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18919 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18921 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18922 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18924 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18925 return (void *)((wxObject
*) ((wxImageList
*) x
));
18927 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18928 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18930 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18931 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18933 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18934 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18936 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18937 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18939 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18940 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18942 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18943 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18945 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18946 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18948 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18949 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18951 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18954 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18955 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18957 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18958 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18960 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18961 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18963 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18964 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18966 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18967 return (void *)((wxObject
*) ((wxMask
*) x
));
18969 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18970 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18972 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18973 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18975 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18976 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18978 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18979 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18981 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18982 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18984 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18985 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18987 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18990 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18991 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18993 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18994 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18996 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18997 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18999 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19000 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19002 static void *_p_wxFontTo_p_wxObject(void *x
) {
19003 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19005 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19006 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19008 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19009 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19011 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19014 static void *_p_wxColourTo_p_wxObject(void *x
) {
19015 return (void *)((wxObject
*) ((wxColour
*) x
));
19017 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19018 return (void *)((wxObject
*) ((wxFontList
*) x
));
19020 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19023 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19024 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19026 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19027 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19029 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19030 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19032 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19033 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19035 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19036 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19038 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19039 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19041 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19042 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19044 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19045 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19047 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19048 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19050 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19051 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19053 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19054 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19056 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19057 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19059 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19060 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19062 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19063 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19065 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19066 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19068 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19069 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19071 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19072 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19074 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19075 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19077 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19078 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19080 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19081 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19083 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19084 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19086 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}};
19087 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}};
19088 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}};
19089 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}};
19090 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}};
19091 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}};
19092 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}};
19093 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}};
19094 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}};
19095 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}};
19096 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}};
19097 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}};
19098 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}};
19099 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}};
19100 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}};
19101 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}};
19102 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}};
19103 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}};
19104 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}};
19105 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}};
19106 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}};
19107 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}};
19108 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_wxPCXHandler", _p_wxPCXHandlerTo_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_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_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}};
19109 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}};
19110 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}};
19111 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}};
19112 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}};
19113 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}};
19114 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}};
19115 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}};
19116 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}};
19117 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}};
19118 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}};
19119 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}};
19120 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}};
19121 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}};
19122 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_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}};
19123 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}};
19124 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}};
19125 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}};
19126 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}};
19127 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}};
19128 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}};
19129 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}};
19130 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}};
19131 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}};
19132 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19133 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}};
19134 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}};
19135 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}};
19136 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}};
19137 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}};
19138 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}};
19139 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}};
19140 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}};
19142 static swig_type_info
*swig_types_initial
[] = {
19143 _swigt__p_wxPostScriptDC
,
19145 _swigt__p_wxColour
,
19147 _swigt__p_wxMirrorDC
,
19149 _swigt__p_wxPyFontEnumerator
,
19151 _swigt__p_wxIconLocation
,
19153 _swigt__p_wxMetaFileDC
,
19157 _swigt__p_wxWindow
,
19159 _swigt__p_wxMemoryDC
,
19160 _swigt__p_wxFontMapper
,
19161 _swigt__p_wxEffects
,
19162 _swigt__p_wxNativeEncodingInfo
,
19163 _swigt__p_wxPalette
,
19164 _swigt__p_wxBitmap
,
19165 _swigt__p_wxObject
,
19166 _swigt__p_wxRegionIterator
,
19168 _swigt__p_wxString
,
19169 _swigt__p_wxPrinterDC
,
19170 _swigt__p_wxIconBundle
,
19173 _swigt__p_wxScreenDC
,
19174 _swigt__p_wxCursor
,
19175 _swigt__p_wxClientDC
,
19176 _swigt__p_wxBufferedDC
,
19177 _swigt__p_wxImageList
,
19178 _swigt__p_unsigned_char
,
19179 _swigt__p_wxGDIObject
,
19181 _swigt__p_wxLocale
,
19182 _swigt__p_wxRegion
,
19183 _swigt__p_wxLanguageInfo
,
19184 _swigt__p_wxConfigBase
,
19185 _swigt__p_wxWindowDC
,
19186 _swigt__p_wxPrintData
,
19187 _swigt__p_wxBrushList
,
19188 _swigt__p_wxFontList
,
19190 _swigt__p_wxBufferedPaintDC
,
19191 _swigt__p_wxPaintDC
,
19192 _swigt__p_wxPenList
,
19194 _swigt__p_wxMetaFile
,
19195 _swigt__p_wxNativeFontInfo
,
19196 _swigt__p_wxEncodingConverter
,
19197 _swigt__p_wxColourDatabase
,
19202 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19204 static swig_const_info swig_const_table
[] = {
19214 SWIGEXPORT(void) SWIG_init(void) {
19215 static PyObject
*SWIG_globals
= 0;
19216 static int typeinit
= 0;
19219 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19220 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19221 d
= PyModule_GetDict(m
);
19224 for (i
= 0; swig_types_initial
[i
]; i
++) {
19225 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19229 SWIG_InstallConstants(d
,swig_const_table
);
19231 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19232 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19233 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19234 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19235 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19236 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19237 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19238 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19239 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19240 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19241 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19242 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19243 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19244 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19245 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19246 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19247 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19248 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19249 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19250 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19251 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19252 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19253 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19254 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19255 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19256 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19257 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19258 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19259 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19260 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19261 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19262 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19263 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19264 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19265 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19266 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19267 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19268 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19269 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19270 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19271 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19272 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19273 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19274 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19275 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19276 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19277 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19278 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19279 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19280 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19281 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19282 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19283 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19284 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19285 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19286 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19287 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19288 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19289 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19290 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19291 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19292 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19293 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19294 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19295 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19296 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19297 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19298 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19299 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19300 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19301 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19302 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19303 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19304 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19305 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19306 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19307 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19308 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19309 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19310 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19311 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19312 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19313 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19314 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19315 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19316 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19317 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19318 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19319 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19320 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19321 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19322 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19323 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19324 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19325 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19326 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19327 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19328 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19329 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19330 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19331 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19332 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19333 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19334 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19335 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19336 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19337 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19338 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19339 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19340 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19341 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19342 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19343 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19344 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19345 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19346 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19347 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19348 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19349 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19350 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19351 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19352 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19353 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19354 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19355 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19356 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19357 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19359 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19361 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19362 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19363 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19364 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19365 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19366 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19367 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19368 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19369 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19370 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19371 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19372 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19373 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19374 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19375 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19376 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19377 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19378 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19379 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19380 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19381 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19382 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19383 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19384 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19385 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19386 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19387 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19388 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19389 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19390 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19391 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19392 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19393 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19394 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19395 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19396 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19397 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19398 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19399 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19400 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19401 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19402 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19403 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19404 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19405 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19406 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19407 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19408 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19409 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19410 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19411 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19412 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19413 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19414 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19415 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19416 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19417 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19418 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19419 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19420 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19421 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19422 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19423 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19424 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19425 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19426 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19427 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19428 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19429 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19430 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19431 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19432 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19433 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19434 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19435 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19436 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19437 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19438 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19439 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19440 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19441 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19442 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19443 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19444 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19445 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19446 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19447 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19448 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19449 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19450 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19451 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19452 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19453 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19454 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19455 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19456 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19457 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19458 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19459 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19460 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19461 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19462 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19463 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19464 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19465 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19466 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19467 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19468 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19469 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19470 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19471 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19472 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19473 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19474 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19475 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19476 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19477 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19478 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19479 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19480 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19481 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19482 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19483 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19484 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19485 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19486 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19487 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19488 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19489 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19490 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19491 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19492 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19493 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19494 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19495 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19496 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19497 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19498 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19499 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19500 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19501 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19502 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19503 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19504 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19505 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19506 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19507 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19508 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19509 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19510 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19511 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19512 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19513 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19514 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19515 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19516 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19517 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19518 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19519 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19520 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19521 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19522 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19523 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19524 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19525 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19526 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19527 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19528 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19529 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19530 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19531 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19532 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19533 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19534 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19535 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19536 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19537 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19538 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19539 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19540 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19541 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19542 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19543 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19544 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19545 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19546 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19547 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19548 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19549 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19550 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19551 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19552 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19553 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19554 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19555 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19556 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19557 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19558 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19559 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19560 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19561 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19562 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19563 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19564 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19565 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19566 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19567 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19568 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19569 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19570 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19571 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19572 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19573 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19574 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19575 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19576 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19577 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19578 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19579 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19580 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19581 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19582 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19583 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19584 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19585 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19586 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19587 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19588 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19589 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19590 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19591 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19592 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19593 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19594 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19595 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19596 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19597 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19598 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19599 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19600 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19601 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19602 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19603 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19604 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19605 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19606 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19607 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19608 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19609 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19610 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19611 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19612 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19613 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19614 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19615 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19616 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19617 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19618 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19619 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19620 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19621 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19622 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19623 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19624 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19625 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19626 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19627 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19628 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19629 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19630 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19631 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19632 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19633 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19634 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19635 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19636 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19637 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19638 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19639 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19640 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19641 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19642 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19643 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19644 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19645 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19646 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19647 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19648 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19649 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19650 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19651 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19652 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19653 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19654 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19655 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19656 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19657 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19658 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19659 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19660 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19662 // Work around a chicken/egg problem in drawlist.cpp
19663 wxPyDrawList_SetAPIPtr();