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 if (!wxPyCheckForApp()) SWIG_fail
;
1093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1094 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1096 wxPyEndAllowThreads(__tstate
);
1097 if (PyErr_Occurred()) SWIG_fail
;
1099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1114 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
*resultobj
;
1116 unsigned long arg1
;
1118 PyObject
* obj0
= 0 ;
1120 (char *) "colRGB", NULL
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1124 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1125 if (PyErr_Occurred()) SWIG_fail
;
1127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1128 result
= (wxColour
*)new wxColour(arg1
);
1130 wxPyEndAllowThreads(__tstate
);
1131 if (PyErr_Occurred()) SWIG_fail
;
1133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1140 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
*resultobj
;
1142 wxColour
*arg1
= (wxColour
*) 0 ;
1143 PyObject
* obj0
= 0 ;
1145 (char *) "self", NULL
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 wxPyEndAllowThreads(__tstate
);
1156 if (PyErr_Occurred()) SWIG_fail
;
1158 Py_INCREF(Py_None
); resultobj
= Py_None
;
1165 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
*resultobj
;
1167 wxColour
*arg1
= (wxColour
*) 0 ;
1169 PyObject
* obj0
= 0 ;
1171 (char *) "self", NULL
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1179 result
= (byte
)(arg1
)->Red();
1181 wxPyEndAllowThreads(__tstate
);
1182 if (PyErr_Occurred()) SWIG_fail
;
1184 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1191 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
*resultobj
;
1193 wxColour
*arg1
= (wxColour
*) 0 ;
1195 PyObject
* obj0
= 0 ;
1197 (char *) "self", NULL
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1205 result
= (byte
)(arg1
)->Green();
1207 wxPyEndAllowThreads(__tstate
);
1208 if (PyErr_Occurred()) SWIG_fail
;
1210 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1217 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
*resultobj
;
1219 wxColour
*arg1
= (wxColour
*) 0 ;
1221 PyObject
* obj0
= 0 ;
1223 (char *) "self", NULL
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 result
= (byte
)(arg1
)->Blue();
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) SWIG_fail
;
1236 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1243 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
*resultobj
;
1245 wxColour
*arg1
= (wxColour
*) 0 ;
1247 PyObject
* obj0
= 0 ;
1249 (char *) "self", NULL
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 result
= (bool)(arg1
)->Ok();
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) SWIG_fail
;
1263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1271 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
*resultobj
;
1273 wxColour
*arg1
= (wxColour
*) 0 ;
1277 PyObject
* obj0
= 0 ;
1278 PyObject
* obj1
= 0 ;
1279 PyObject
* obj2
= 0 ;
1280 PyObject
* obj3
= 0 ;
1282 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1288 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1289 if (PyErr_Occurred()) SWIG_fail
;
1290 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1291 if (PyErr_Occurred()) SWIG_fail
;
1292 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1293 if (PyErr_Occurred()) SWIG_fail
;
1295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1296 (arg1
)->Set(arg2
,arg3
,arg4
);
1298 wxPyEndAllowThreads(__tstate
);
1299 if (PyErr_Occurred()) SWIG_fail
;
1301 Py_INCREF(Py_None
); resultobj
= Py_None
;
1308 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
*resultobj
;
1310 wxColour
*arg1
= (wxColour
*) 0 ;
1311 unsigned long arg2
;
1312 PyObject
* obj0
= 0 ;
1313 PyObject
* obj1
= 0 ;
1315 (char *) "self",(char *) "colRGB", NULL
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1321 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1322 if (PyErr_Occurred()) SWIG_fail
;
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) SWIG_fail
;
1330 Py_INCREF(Py_None
); resultobj
= Py_None
;
1337 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
*resultobj
;
1339 wxColour
*arg1
= (wxColour
*) 0 ;
1340 wxString
*arg2
= 0 ;
1341 bool temp2
= False
;
1342 PyObject
* obj0
= 0 ;
1343 PyObject
* obj1
= 0 ;
1345 (char *) "self",(char *) "colourName", NULL
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1352 arg2
= wxString_in_helper(obj1
);
1353 if (arg2
== NULL
) SWIG_fail
;
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 (arg1
)->InitFromName((wxString
const &)*arg2
);
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) SWIG_fail
;
1363 Py_INCREF(Py_None
); resultobj
= Py_None
;
1378 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1379 PyObject
*resultobj
;
1380 wxColour
*arg1
= (wxColour
*) 0 ;
1382 PyObject
* obj0
= 0 ;
1384 (char *) "self", NULL
1387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) SWIG_fail
;
1397 resultobj
= SWIG_FromLong((long)result
);
1404 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
*resultobj
;
1406 wxColour
*arg1
= (wxColour
*) 0 ;
1407 wxColour
*arg2
= 0 ;
1410 PyObject
* obj0
= 0 ;
1411 PyObject
* obj1
= 0 ;
1413 (char *) "self",(char *) "colour", NULL
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1421 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1439 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
*resultobj
;
1441 wxColour
*arg1
= (wxColour
*) 0 ;
1442 wxColour
*arg2
= 0 ;
1445 PyObject
* obj0
= 0 ;
1446 PyObject
* obj1
= 0 ;
1448 (char *) "self",(char *) "colour", NULL
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1456 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1460 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1462 wxPyEndAllowThreads(__tstate
);
1463 if (PyErr_Occurred()) SWIG_fail
;
1466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1474 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
*resultobj
;
1476 wxColour
*arg1
= (wxColour
*) 0 ;
1478 PyObject
* obj0
= 0 ;
1480 (char *) "self", NULL
1483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 result
= (PyObject
*)wxColour_Get(arg1
);
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) SWIG_fail
;
1500 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
*resultobj
;
1502 wxColour
*arg1
= (wxColour
*) 0 ;
1503 unsigned long result
;
1504 PyObject
* obj0
= 0 ;
1506 (char *) "self", NULL
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1514 result
= (unsigned long)wxColour_GetRGB(arg1
);
1516 wxPyEndAllowThreads(__tstate
);
1517 if (PyErr_Occurred()) SWIG_fail
;
1519 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1526 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1529 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1531 return Py_BuildValue((char *)"");
1533 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
*resultobj
;
1536 unsigned char *arg2
= (unsigned char *) 0 ;
1537 unsigned char *arg3
= (unsigned char *) 0 ;
1538 unsigned char *arg4
= (unsigned char *) 0 ;
1540 PyObject
* obj0
= 0 ;
1541 PyObject
* obj1
= 0 ;
1542 PyObject
* obj2
= 0 ;
1543 PyObject
* obj3
= 0 ;
1545 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1549 arg1
= (int) SWIG_AsInt(obj0
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1553 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1555 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1558 if (!wxPyCheckForApp()) SWIG_fail
;
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1572 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
*resultobj
;
1574 wxPalette
*arg1
= (wxPalette
*) 0 ;
1575 PyObject
* obj0
= 0 ;
1577 (char *) "self", NULL
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 wxPyEndAllowThreads(__tstate
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1590 Py_INCREF(Py_None
); resultobj
= Py_None
;
1597 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
*resultobj
;
1599 wxPalette
*arg1
= (wxPalette
*) 0 ;
1604 PyObject
* obj0
= 0 ;
1605 PyObject
* obj1
= 0 ;
1606 PyObject
* obj2
= 0 ;
1607 PyObject
* obj3
= 0 ;
1609 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1615 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1616 if (PyErr_Occurred()) SWIG_fail
;
1617 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1619 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1628 resultobj
= SWIG_FromInt((int)result
);
1635 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1636 PyObject
*resultobj
;
1637 wxPalette
*arg1
= (wxPalette
*) 0 ;
1639 byte
*arg3
= (byte
*) 0 ;
1640 byte
*arg4
= (byte
*) 0 ;
1641 byte
*arg5
= (byte
*) 0 ;
1646 PyObject
* obj0
= 0 ;
1647 PyObject
* obj1
= 0 ;
1649 (char *) "self",(char *) "pixel", NULL
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1658 arg2
= (int) SWIG_AsInt(obj1
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1671 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1672 resultobj
= t_output_helper(resultobj
,o
);
1675 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1676 resultobj
= t_output_helper(resultobj
,o
);
1679 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1680 resultobj
= t_output_helper(resultobj
,o
);
1688 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
*resultobj
;
1690 wxPalette
*arg1
= (wxPalette
*) 0 ;
1692 PyObject
* obj0
= 0 ;
1694 (char *) "self", NULL
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 result
= (bool)(arg1
)->Ok();
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1716 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1719 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1721 return Py_BuildValue((char *)"");
1723 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
*resultobj
;
1725 wxColour
*arg1
= 0 ;
1726 int arg2
= (int) 1 ;
1727 int arg3
= (int) wxSOLID
;
1730 PyObject
* obj0
= 0 ;
1731 PyObject
* obj1
= 0 ;
1732 PyObject
* obj2
= 0 ;
1734 (char *) "colour",(char *) "width",(char *) "style", NULL
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1740 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1743 arg2
= (int) SWIG_AsInt(obj1
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1747 arg3
= (int) SWIG_AsInt(obj2
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1751 if (!wxPyCheckForApp()) SWIG_fail
;
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) SWIG_fail
;
1758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1765 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
*resultobj
;
1767 wxPen
*arg1
= (wxPen
*) 0 ;
1768 PyObject
* obj0
= 0 ;
1770 (char *) "self", NULL
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1783 Py_INCREF(Py_None
); resultobj
= Py_None
;
1790 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
*resultobj
;
1792 wxPen
*arg1
= (wxPen
*) 0 ;
1794 PyObject
* obj0
= 0 ;
1796 (char *) "self", NULL
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 result
= (int)(arg1
)->GetCap();
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 resultobj
= SWIG_FromInt((int)result
);
1816 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
*resultobj
;
1818 wxPen
*arg1
= (wxPen
*) 0 ;
1820 PyObject
* obj0
= 0 ;
1822 (char *) "self", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 result
= (arg1
)->GetColour();
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1836 wxColour
* resultptr
;
1837 resultptr
= new wxColour((wxColour
&) result
);
1838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1846 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
*resultobj
;
1848 wxPen
*arg1
= (wxPen
*) 0 ;
1850 PyObject
* obj0
= 0 ;
1852 (char *) "self", NULL
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 result
= (int)(arg1
)->GetJoin();
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 resultobj
= SWIG_FromInt((int)result
);
1872 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxPen
*arg1
= (wxPen
*) 0 ;
1876 PyObject
* obj0
= 0 ;
1878 (char *) "self", NULL
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= (int)(arg1
)->GetStyle();
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= SWIG_FromInt((int)result
);
1898 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxPen
*arg1
= (wxPen
*) 0 ;
1902 PyObject
* obj0
= 0 ;
1904 (char *) "self", NULL
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 result
= (int)(arg1
)->GetWidth();
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 resultobj
= SWIG_FromInt((int)result
);
1924 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1926 wxPen
*arg1
= (wxPen
*) 0 ;
1928 PyObject
* obj0
= 0 ;
1930 (char *) "self", NULL
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 result
= (bool)(arg1
)->Ok();
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1952 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
*resultobj
;
1954 wxPen
*arg1
= (wxPen
*) 0 ;
1956 PyObject
* obj0
= 0 ;
1957 PyObject
* obj1
= 0 ;
1959 (char *) "self",(char *) "cap_style", NULL
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1965 arg2
= (int) SWIG_AsInt(obj1
);
1966 if (PyErr_Occurred()) SWIG_fail
;
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 (arg1
)->SetCap(arg2
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1974 Py_INCREF(Py_None
); resultobj
= Py_None
;
1981 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
*resultobj
;
1983 wxPen
*arg1
= (wxPen
*) 0 ;
1984 wxColour
*arg2
= 0 ;
1986 PyObject
* obj0
= 0 ;
1987 PyObject
* obj1
= 0 ;
1989 (char *) "self",(char *) "colour", NULL
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1997 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2001 (arg1
)->SetColour(*arg2
);
2003 wxPyEndAllowThreads(__tstate
);
2004 if (PyErr_Occurred()) SWIG_fail
;
2006 Py_INCREF(Py_None
); resultobj
= Py_None
;
2013 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
*resultobj
;
2015 wxPen
*arg1
= (wxPen
*) 0 ;
2017 PyObject
* obj0
= 0 ;
2018 PyObject
* obj1
= 0 ;
2020 (char *) "self",(char *) "join_style", NULL
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2026 arg2
= (int) SWIG_AsInt(obj1
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2030 (arg1
)->SetJoin(arg2
);
2032 wxPyEndAllowThreads(__tstate
);
2033 if (PyErr_Occurred()) SWIG_fail
;
2035 Py_INCREF(Py_None
); resultobj
= Py_None
;
2042 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
*resultobj
;
2044 wxPen
*arg1
= (wxPen
*) 0 ;
2046 PyObject
* obj0
= 0 ;
2047 PyObject
* obj1
= 0 ;
2049 (char *) "self",(char *) "style", NULL
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2055 arg2
= (int) SWIG_AsInt(obj1
);
2056 if (PyErr_Occurred()) SWIG_fail
;
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 (arg1
)->SetStyle(arg2
);
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2064 Py_INCREF(Py_None
); resultobj
= Py_None
;
2071 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2073 wxPen
*arg1
= (wxPen
*) 0 ;
2075 PyObject
* obj0
= 0 ;
2076 PyObject
* obj1
= 0 ;
2078 (char *) "self",(char *) "width", NULL
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2084 arg2
= (int) SWIG_AsInt(obj1
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2088 (arg1
)->SetWidth(arg2
);
2090 wxPyEndAllowThreads(__tstate
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2093 Py_INCREF(Py_None
); resultobj
= Py_None
;
2100 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxPen
*arg1
= (wxPen
*) 0 ;
2104 wxDash
*arg3
= (wxDash
*) 0 ;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2108 (char *) "self",(char *) "dashes", NULL
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2115 arg2
= PyList_Size(obj1
);
2116 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2117 if (arg3
== NULL
) SWIG_fail
;
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 (arg1
)->SetDashes(arg2
,arg3
);
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 Py_INCREF(Py_None
); resultobj
= Py_None
;
2128 if (arg3
) delete [] arg3
;
2133 if (arg3
) delete [] arg3
;
2139 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2141 wxPen
*arg1
= (wxPen
*) 0 ;
2143 PyObject
* obj0
= 0 ;
2145 (char *) "self", NULL
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2165 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2167 wxPen
*arg1
= (wxPen
*) 0 ;
2168 PyObject
*arg2
= (PyObject
*) 0 ;
2169 PyObject
*arg3
= (PyObject
*) 0 ;
2170 PyObject
* obj0
= 0 ;
2171 PyObject
* obj1
= 0 ;
2172 PyObject
* obj2
= 0 ;
2174 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 wxPen__SetDashes(arg1
,arg2
,arg3
);
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2189 Py_INCREF(Py_None
); resultobj
= Py_None
;
2196 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2198 wxPen
*arg1
= (wxPen
*) 0 ;
2200 PyObject
* obj0
= 0 ;
2202 (char *) "self", NULL
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2215 resultobj
= SWIG_FromInt((int)result
);
2222 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxPen
*arg1
= (wxPen
*) 0 ;
2225 wxPen
*arg2
= (wxPen
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2228 PyObject
* obj1
= 0 ;
2230 (char *) "self",(char *) "other", NULL
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) SWIG_fail
;
2246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2254 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 wxPen
*arg1
= (wxPen
*) 0 ;
2257 wxPen
*arg2
= (wxPen
*) 0 ;
2259 PyObject
* obj0
= 0 ;
2260 PyObject
* obj1
= 0 ;
2262 (char *) "self",(char *) "other", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2286 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2289 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2291 return Py_BuildValue((char *)"");
2293 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
*resultobj
;
2295 wxColour
*arg1
= 0 ;
2296 int arg2
= (int) wxSOLID
;
2299 PyObject
* obj0
= 0 ;
2300 PyObject
* obj1
= 0 ;
2302 (char *) "colour",(char *) "style", NULL
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2308 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2311 arg2
= (int) SWIG_AsInt(obj1
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2315 if (!wxPyCheckForApp()) SWIG_fail
;
2316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2317 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2319 wxPyEndAllowThreads(__tstate
);
2320 if (PyErr_Occurred()) SWIG_fail
;
2322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2329 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
*resultobj
;
2331 wxBrush
*arg1
= (wxBrush
*) 0 ;
2332 PyObject
* obj0
= 0 ;
2334 (char *) "self", NULL
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2344 wxPyEndAllowThreads(__tstate
);
2345 if (PyErr_Occurred()) SWIG_fail
;
2347 Py_INCREF(Py_None
); resultobj
= Py_None
;
2354 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
*resultobj
;
2356 wxBrush
*arg1
= (wxBrush
*) 0 ;
2357 wxColour
*arg2
= 0 ;
2359 PyObject
* obj0
= 0 ;
2360 PyObject
* obj1
= 0 ;
2362 (char *) "self",(char *) "col", NULL
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2374 (arg1
)->SetColour((wxColour
const &)*arg2
);
2376 wxPyEndAllowThreads(__tstate
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2379 Py_INCREF(Py_None
); resultobj
= Py_None
;
2386 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
*resultobj
;
2388 wxBrush
*arg1
= (wxBrush
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2391 PyObject
* obj1
= 0 ;
2393 (char *) "self",(char *) "style", NULL
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2399 arg2
= (int) SWIG_AsInt(obj1
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 (arg1
)->SetStyle(arg2
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2408 Py_INCREF(Py_None
); resultobj
= Py_None
;
2415 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
*resultobj
;
2417 wxBrush
*arg1
= (wxBrush
*) 0 ;
2418 wxBitmap
*arg2
= 0 ;
2419 PyObject
* obj0
= 0 ;
2420 PyObject
* obj1
= 0 ;
2422 (char *) "self",(char *) "stipple", NULL
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2432 PyErr_SetString(PyExc_TypeError
,"null reference");
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 Py_INCREF(Py_None
); resultobj
= Py_None
;
2449 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxBrush
*arg1
= (wxBrush
*) 0 ;
2453 PyObject
* obj0
= 0 ;
2455 (char *) "self", NULL
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 result
= ((wxBrush
const *)arg1
)->GetColour();
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2469 wxColour
* resultptr
;
2470 resultptr
= new wxColour((wxColour
&) result
);
2471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2479 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxBrush
*arg1
= (wxBrush
*) 0 ;
2483 PyObject
* obj0
= 0 ;
2485 (char *) "self", NULL
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2498 resultobj
= SWIG_FromInt((int)result
);
2505 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2507 wxBrush
*arg1
= (wxBrush
*) 0 ;
2509 PyObject
* obj0
= 0 ;
2511 (char *) "self", NULL
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2531 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
*resultobj
;
2533 wxBrush
*arg1
= (wxBrush
*) 0 ;
2535 PyObject
* obj0
= 0 ;
2537 (char *) "self", NULL
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 result
= (bool)(arg1
)->Ok();
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2559 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2562 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2564 return Py_BuildValue((char *)"");
2566 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
;
2568 wxString
*arg1
= 0 ;
2569 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2571 bool temp1
= False
;
2572 PyObject
* obj0
= 0 ;
2573 PyObject
* obj1
= 0 ;
2575 (char *) "name",(char *) "type", NULL
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2580 arg1
= wxString_in_helper(obj0
);
2581 if (arg1
== NULL
) SWIG_fail
;
2585 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2589 if (!wxPyCheckForApp()) SWIG_fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2611 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
*resultobj
;
2613 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2614 PyObject
* obj0
= 0 ;
2616 (char *) "self", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 Py_INCREF(Py_None
); resultobj
= Py_None
;
2636 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2640 int arg3
= (int) -1 ;
2642 PyObject
* obj0
= 0 ;
2643 PyObject
* obj1
= 0 ;
2644 PyObject
* obj2
= 0 ;
2646 (char *) "width",(char *) "height",(char *) "depth", NULL
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2650 arg1
= (int) SWIG_AsInt(obj0
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2652 arg2
= (int) SWIG_AsInt(obj1
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2655 arg3
= (int) SWIG_AsInt(obj2
);
2656 if (PyErr_Occurred()) SWIG_fail
;
2659 if (!wxPyCheckForApp()) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2673 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
*resultobj
;
2677 PyObject
* obj0
= 0 ;
2679 (char *) "icon", NULL
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2687 PyErr_SetString(PyExc_TypeError
,"null reference");
2691 if (!wxPyCheckForApp()) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2705 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
*resultobj
;
2708 int arg2
= (int) -1 ;
2710 PyObject
* obj0
= 0 ;
2711 PyObject
* obj1
= 0 ;
2713 (char *) "image",(char *) "depth", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2721 PyErr_SetString(PyExc_TypeError
,"null reference");
2725 arg2
= (int) SWIG_AsInt(obj1
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2729 if (!wxPyCheckForApp()) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2743 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2745 PyObject
*arg1
= (PyObject
*) 0 ;
2747 PyObject
* obj0
= 0 ;
2749 (char *) "listOfStrings", NULL
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2755 if (!wxPyCheckForApp()) SWIG_fail
;
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2769 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 PyObject
*arg1
= (PyObject
*) 0 ;
2774 int arg4
= (int) 1 ;
2776 PyObject
* obj0
= 0 ;
2777 PyObject
* obj1
= 0 ;
2778 PyObject
* obj2
= 0 ;
2779 PyObject
* obj3
= 0 ;
2781 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2786 arg2
= (int) SWIG_AsInt(obj1
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2788 arg3
= (int) SWIG_AsInt(obj2
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2791 arg4
= (int) SWIG_AsInt(obj3
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2795 if (!wxPyCheckForApp()) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2809 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2811 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2813 PyObject
* obj0
= 0 ;
2815 (char *) "self", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 result
= (bool)(arg1
)->Ok();
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2837 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
*resultobj
;
2839 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2841 PyObject
* obj0
= 0 ;
2843 (char *) "self", NULL
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 result
= (int)(arg1
)->GetWidth();
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 resultobj
= SWIG_FromInt((int)result
);
2863 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2867 PyObject
* obj0
= 0 ;
2869 (char *) "self", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 result
= (int)(arg1
)->GetHeight();
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2882 resultobj
= SWIG_FromInt((int)result
);
2889 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
*resultobj
;
2891 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2893 PyObject
* obj0
= 0 ;
2895 (char *) "self", NULL
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 result
= (int)(arg1
)->GetDepth();
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= SWIG_FromInt((int)result
);
2915 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
*resultobj
;
2917 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2919 PyObject
* obj0
= 0 ;
2921 (char *) "self", NULL
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
2925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= wxBitmap_GetSize(arg1
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2936 resultptr
= new wxSize((wxSize
&) result
);
2937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2945 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
;
2947 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2948 SwigValueWrapper
< wxImage
> result
;
2949 PyObject
* obj0
= 0 ;
2951 (char *) "self", NULL
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) SWIG_fail
;
2965 wxImage
* resultptr
;
2966 resultptr
= new wxImage((wxImage
&) result
);
2967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
2975 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2979 PyObject
* obj0
= 0 ;
2981 (char *) "self", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3001 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3004 wxMask
*arg2
= (wxMask
*) 0 ;
3005 PyObject
* obj0
= 0 ;
3006 PyObject
* obj1
= 0 ;
3008 (char *) "self",(char *) "mask", NULL
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 (arg1
)->SetMask(arg2
);
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3023 Py_INCREF(Py_None
); resultobj
= Py_None
;
3030 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3032 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3033 wxColour
*arg2
= 0 ;
3035 PyObject
* obj0
= 0 ;
3036 PyObject
* obj1
= 0 ;
3038 (char *) "self",(char *) "colour", NULL
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3046 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 Py_INCREF(Py_None
); resultobj
= Py_None
;
3062 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3066 SwigValueWrapper
< wxBitmap
> result
;
3068 PyObject
* obj0
= 0 ;
3069 PyObject
* obj1
= 0 ;
3071 (char *) "self",(char *) "rect", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3079 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) SWIG_fail
;
3089 wxBitmap
* resultptr
;
3090 resultptr
= new wxBitmap((wxBitmap
&) result
);
3091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3099 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3102 wxString
*arg2
= 0 ;
3104 wxPalette
*arg4
= (wxPalette
*) NULL
;
3106 bool temp2
= False
;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3109 PyObject
* obj2
= 0 ;
3110 PyObject
* obj3
= 0 ;
3112 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3119 arg2
= wxString_in_helper(obj1
);
3120 if (arg2
== NULL
) SWIG_fail
;
3123 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3126 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3153 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
;
3155 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3156 wxString
*arg2
= 0 ;
3159 bool temp2
= False
;
3160 PyObject
* obj0
= 0 ;
3161 PyObject
* obj1
= 0 ;
3162 PyObject
* obj2
= 0 ;
3164 (char *) "self",(char *) "name",(char *) "type", NULL
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3171 arg2
= wxString_in_helper(obj1
);
3172 if (arg2
== NULL
) SWIG_fail
;
3175 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3201 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3207 PyObject
* obj1
= 0 ;
3209 (char *) "self",(char *) "icon", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3219 PyErr_SetString(PyExc_TypeError
,"null reference");
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3238 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj1
= 0 ;
3245 (char *) "self",(char *) "height", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3251 arg2
= (int) SWIG_AsInt(obj1
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 (arg1
)->SetHeight(arg2
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 Py_INCREF(Py_None
); resultobj
= Py_None
;
3267 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
;
3269 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3271 PyObject
* obj0
= 0 ;
3272 PyObject
* obj1
= 0 ;
3274 (char *) "self",(char *) "width", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3280 arg2
= (int) SWIG_AsInt(obj1
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 (arg1
)->SetWidth(arg2
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 Py_INCREF(Py_None
); resultobj
= Py_None
;
3296 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3300 PyObject
* obj0
= 0 ;
3301 PyObject
* obj1
= 0 ;
3303 (char *) "self",(char *) "depth", NULL
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3309 arg2
= (int) SWIG_AsInt(obj1
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 (arg1
)->SetDepth(arg2
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 Py_INCREF(Py_None
); resultobj
= Py_None
;
3325 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3330 PyObject
* obj0
= 0 ;
3331 PyObject
* obj1
= 0 ;
3333 (char *) "self",(char *) "size", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3341 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3350 Py_INCREF(Py_None
); resultobj
= Py_None
;
3357 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
;
3359 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3360 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3362 PyObject
* obj0
= 0 ;
3363 PyObject
* obj1
= 0 ;
3365 (char *) "self",(char *) "other", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3389 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3392 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj1
= 0 ;
3397 (char *) "self",(char *) "other", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3421 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3424 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3426 return Py_BuildValue((char *)"");
3428 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxBitmap
*arg1
= 0 ;
3431 wxColour
const &arg2_defvalue
= wxNullColour
;
3432 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3435 PyObject
* obj0
= 0 ;
3436 PyObject
* obj1
= 0 ;
3438 (char *) "bitmap",(char *) "colour", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3446 PyErr_SetString(PyExc_TypeError
,"null reference");
3452 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3456 if (!wxPyCheckForApp()) SWIG_fail
;
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3470 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3473 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3475 return Py_BuildValue((char *)"");
3477 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxString
*arg1
= 0 ;
3481 int arg3
= (int) -1 ;
3482 int arg4
= (int) -1 ;
3484 bool temp1
= False
;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj1
= 0 ;
3487 PyObject
* obj2
= 0 ;
3488 PyObject
* obj3
= 0 ;
3490 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3495 arg1
= wxString_in_helper(obj0
);
3496 if (arg1
== NULL
) SWIG_fail
;
3499 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 arg3
= (int) SWIG_AsInt(obj2
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3506 arg4
= (int) SWIG_AsInt(obj3
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3510 if (!wxPyCheckForApp()) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3532 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxIcon
*arg1
= (wxIcon
*) 0 ;
3535 PyObject
* obj0
= 0 ;
3537 (char *) "self", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 Py_INCREF(Py_None
); resultobj
= Py_None
;
3557 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3566 if (!wxPyCheckForApp()) SWIG_fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= (wxIcon
*)new wxIcon();
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3580 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
*resultobj
;
3582 wxIconLocation
*arg1
= 0 ;
3584 PyObject
* obj0
= 0 ;
3586 (char *) "loc", NULL
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3594 PyErr_SetString(PyExc_TypeError
,"null reference");
3598 if (!wxPyCheckForApp()) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3612 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
;
3614 wxBitmap
*arg1
= 0 ;
3616 PyObject
* obj0
= 0 ;
3618 (char *) "bmp", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3626 PyErr_SetString(PyExc_TypeError
,"null reference");
3630 if (!wxPyCheckForApp()) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3644 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 PyObject
*arg1
= (PyObject
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3650 (char *) "listOfStrings", NULL
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3656 if (!wxPyCheckForApp()) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (wxIcon
*)new_wxIcon(arg1
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3670 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
;
3672 wxIcon
*arg1
= (wxIcon
*) 0 ;
3673 wxString
*arg2
= 0 ;
3676 bool temp2
= False
;
3677 PyObject
* obj0
= 0 ;
3678 PyObject
* obj1
= 0 ;
3679 PyObject
* obj2
= 0 ;
3681 (char *) "self",(char *) "name",(char *) "type", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 arg2
= wxString_in_helper(obj1
);
3689 if (arg2
== NULL
) SWIG_fail
;
3692 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3718 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
;
3720 wxIcon
*arg1
= (wxIcon
*) 0 ;
3722 PyObject
* obj0
= 0 ;
3724 (char *) "self", NULL
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= (bool)(arg1
)->Ok();
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3746 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3748 wxIcon
*arg1
= (wxIcon
*) 0 ;
3750 PyObject
* obj0
= 0 ;
3752 (char *) "self", NULL
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 result
= (int)(arg1
)->GetWidth();
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 resultobj
= SWIG_FromInt((int)result
);
3772 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxIcon
*arg1
= (wxIcon
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3778 (char *) "self", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3786 result
= (int)(arg1
)->GetHeight();
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3791 resultobj
= SWIG_FromInt((int)result
);
3798 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
*resultobj
;
3800 wxIcon
*arg1
= (wxIcon
*) 0 ;
3802 PyObject
* obj0
= 0 ;
3804 (char *) "self", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (int)(arg1
)->GetDepth();
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= SWIG_FromInt((int)result
);
3824 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxIcon
*arg1
= (wxIcon
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3829 PyObject
* obj1
= 0 ;
3831 (char *) "self",(char *) "w", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3837 arg2
= (int) SWIG_AsInt(obj1
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 (arg1
)->SetWidth(arg2
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 Py_INCREF(Py_None
); resultobj
= Py_None
;
3853 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3855 wxIcon
*arg1
= (wxIcon
*) 0 ;
3857 PyObject
* obj0
= 0 ;
3858 PyObject
* obj1
= 0 ;
3860 (char *) "self",(char *) "h", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3866 arg2
= (int) SWIG_AsInt(obj1
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 (arg1
)->SetHeight(arg2
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 Py_INCREF(Py_None
); resultobj
= Py_None
;
3882 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
;
3884 wxIcon
*arg1
= (wxIcon
*) 0 ;
3886 PyObject
* obj0
= 0 ;
3887 PyObject
* obj1
= 0 ;
3889 (char *) "self",(char *) "d", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3895 arg2
= (int) SWIG_AsInt(obj1
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 (arg1
)->SetDepth(arg2
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 Py_INCREF(Py_None
); resultobj
= Py_None
;
3911 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3913 wxIcon
*arg1
= (wxIcon
*) 0 ;
3914 wxBitmap
*arg2
= 0 ;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3918 (char *) "self",(char *) "bmp", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3928 PyErr_SetString(PyExc_TypeError
,"null reference");
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 Py_INCREF(Py_None
); resultobj
= Py_None
;
3945 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3948 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3950 return Py_BuildValue((char *)"");
3952 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
;
3954 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3955 int arg2
= (int) 0 ;
3956 wxIconLocation
*result
;
3957 bool temp1
= False
;
3958 PyObject
* obj0
= 0 ;
3959 PyObject
* obj1
= 0 ;
3961 (char *) "filename",(char *) "num", NULL
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3967 arg1
= wxString_in_helper(obj0
);
3968 if (arg1
== NULL
) SWIG_fail
;
3973 arg2
= (int) SWIG_AsInt(obj1
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3998 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
;
4000 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4001 PyObject
* obj0
= 0 ;
4003 (char *) "self", NULL
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 Py_INCREF(Py_None
); resultobj
= Py_None
;
4023 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4027 PyObject
* obj0
= 0 ;
4029 (char *) "self", NULL
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4051 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4054 wxString
*arg2
= 0 ;
4055 bool temp2
= False
;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4059 (char *) "self",(char *) "filename", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4066 arg2
= wxString_in_helper(obj1
);
4067 if (arg2
== NULL
) SWIG_fail
;
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 (arg1
)->SetFileName((wxString
const &)*arg2
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4077 Py_INCREF(Py_None
); resultobj
= Py_None
;
4092 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
;
4094 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4096 PyObject
* obj0
= 0 ;
4098 (char *) "self", NULL
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4108 result
= (wxString
*) &_result_ref
;
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4116 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4118 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4127 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4129 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4134 (char *) "self",(char *) "num", NULL
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4140 arg2
= (int) SWIG_AsInt(obj1
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 wxIconLocation_SetIndex(arg1
,arg2
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 Py_INCREF(Py_None
); resultobj
= Py_None
;
4156 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4158 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4160 PyObject
* obj0
= 0 ;
4162 (char *) "self", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (int)wxIconLocation_GetIndex(arg1
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_FromInt((int)result
);
4182 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4185 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4187 return Py_BuildValue((char *)"");
4189 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxIconBundle
*result
;
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 result
= (wxIconBundle
*)new wxIconBundle();
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4211 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4213 wxString
*arg1
= 0 ;
4215 wxIconBundle
*result
;
4216 bool temp1
= False
;
4217 PyObject
* obj0
= 0 ;
4218 PyObject
* obj1
= 0 ;
4220 (char *) "file",(char *) "type", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4225 arg1
= wxString_in_helper(obj0
);
4226 if (arg1
== NULL
) SWIG_fail
;
4229 arg2
= (long) SWIG_AsLong(obj1
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4253 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4256 wxIconBundle
*result
;
4257 PyObject
* obj0
= 0 ;
4259 (char *) "icon", NULL
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4264 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4267 PyErr_SetString(PyExc_TypeError
,"null reference");
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4284 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4287 PyObject
* obj0
= 0 ;
4289 (char *) "self", NULL
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 Py_INCREF(Py_None
); resultobj
= Py_None
;
4309 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4313 PyObject
* obj0
= 0 ;
4314 PyObject
* obj1
= 0 ;
4316 (char *) "self",(char *) "icon", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4326 PyErr_SetString(PyExc_TypeError
,"null reference");
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 Py_INCREF(Py_None
); resultobj
= Py_None
;
4343 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4346 wxString
*arg2
= 0 ;
4348 bool temp2
= False
;
4349 PyObject
* obj0
= 0 ;
4350 PyObject
* obj1
= 0 ;
4351 PyObject
* obj2
= 0 ;
4353 (char *) "self",(char *) "file",(char *) "type", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4360 arg2
= wxString_in_helper(obj1
);
4361 if (arg2
== NULL
) SWIG_fail
;
4364 arg3
= (long) SWIG_AsLong(obj2
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 Py_INCREF(Py_None
); resultobj
= Py_None
;
4388 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4390 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4394 PyObject
* obj0
= 0 ;
4395 PyObject
* obj1
= 0 ;
4397 (char *) "self",(char *) "size", NULL
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4405 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4411 result
= (wxIcon
*) &_result_ref
;
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4418 wxIcon
* resultptr
= new wxIcon(*result
);
4419 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4427 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4430 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4432 return Py_BuildValue((char *)"");
4434 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4436 wxString
*arg1
= (wxString
*) 0 ;
4438 int arg3
= (int) 0 ;
4439 int arg4
= (int) 0 ;
4441 bool temp1
= False
;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 PyObject
* obj3
= 0 ;
4447 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4452 arg1
= wxString_in_helper(obj0
);
4453 if (arg1
== NULL
) SWIG_fail
;
4456 arg2
= (long) SWIG_AsLong(obj1
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 arg3
= (int) SWIG_AsInt(obj2
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4463 arg4
= (int) SWIG_AsInt(obj3
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4467 if (!wxPyCheckForApp()) SWIG_fail
;
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4489 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4491 wxCursor
*arg1
= (wxCursor
*) 0 ;
4492 PyObject
* obj0
= 0 ;
4494 (char *) "self", NULL
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 Py_INCREF(Py_None
); resultobj
= Py_None
;
4514 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4518 PyObject
* obj0
= 0 ;
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4524 arg1
= (int) SWIG_AsInt(obj0
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 if (!wxPyCheckForApp()) SWIG_fail
;
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 result
= (wxCursor
*)new wxCursor(arg1
);
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4541 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
*resultobj
;
4545 PyObject
* obj0
= 0 ;
4547 (char *) "image", NULL
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4555 PyErr_SetString(PyExc_TypeError
,"null reference");
4559 if (!wxPyCheckForApp()) SWIG_fail
;
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4573 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
;
4575 wxCursor
*arg1
= (wxCursor
*) 0 ;
4577 PyObject
* obj0
= 0 ;
4579 (char *) "self", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 result
= (bool)(arg1
)->Ok();
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4601 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4604 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4606 return Py_BuildValue((char *)"");
4608 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 int arg1
= (int) 0 ;
4611 int arg2
= (int) 0 ;
4612 int arg3
= (int) 0 ;
4613 int arg4
= (int) 0 ;
4615 PyObject
* obj0
= 0 ;
4616 PyObject
* obj1
= 0 ;
4617 PyObject
* obj2
= 0 ;
4618 PyObject
* obj3
= 0 ;
4620 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4625 arg1
= (int) SWIG_AsInt(obj0
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 arg2
= (int) SWIG_AsInt(obj1
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4633 arg3
= (int) SWIG_AsInt(obj2
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4637 arg4
= (int) SWIG_AsInt(obj3
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4641 if (!wxPyCheckForApp()) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4655 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
;
4657 wxBitmap
*arg1
= 0 ;
4659 PyObject
* obj0
= 0 ;
4661 (char *) "bmp", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4669 PyErr_SetString(PyExc_TypeError
,"null reference");
4673 if (!wxPyCheckForApp()) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4687 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxBitmap
*arg1
= 0 ;
4690 wxColour
*arg2
= 0 ;
4691 int arg3
= (int) 0 ;
4694 PyObject
* obj0
= 0 ;
4695 PyObject
* obj1
= 0 ;
4696 PyObject
* obj2
= 0 ;
4698 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4706 PyErr_SetString(PyExc_TypeError
,"null reference");
4711 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4714 arg3
= (int) SWIG_AsInt(obj2
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4718 if (!wxPyCheckForApp()) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4732 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4735 wxPoint
*arg2
= (wxPoint
*) 0 ;
4736 int arg3
= (int) wxWINDING_RULE
;
4738 PyObject
* obj0
= 0 ;
4739 PyObject
* obj1
= 0 ;
4741 (char *) "points",(char *) "fillStyle", NULL
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4746 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4747 if (arg2
== NULL
) SWIG_fail
;
4750 arg3
= (int) SWIG_AsInt(obj1
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4754 if (!wxPyCheckForApp()) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4763 if (arg2
) delete [] arg2
;
4768 if (arg2
) delete [] arg2
;
4774 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxRegion
*arg1
= (wxRegion
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4779 (char *) "self", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 Py_INCREF(Py_None
); resultobj
= Py_None
;
4799 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
;
4801 wxRegion
*arg1
= (wxRegion
*) 0 ;
4802 PyObject
* obj0
= 0 ;
4804 (char *) "self", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 Py_INCREF(Py_None
); resultobj
= Py_None
;
4824 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxRegion
*arg1
= (wxRegion
*) 0 ;
4830 PyObject
* obj0
= 0 ;
4831 PyObject
* obj1
= 0 ;
4832 PyObject
* obj2
= 0 ;
4834 (char *) "self",(char *) "x",(char *) "y", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4840 arg2
= (int) SWIG_AsInt(obj1
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4842 arg3
= (int) SWIG_AsInt(obj2
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4860 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
;
4862 wxRegion
*arg1
= (wxRegion
*) 0 ;
4866 PyObject
* obj0
= 0 ;
4867 PyObject
* obj1
= 0 ;
4868 PyObject
* obj2
= 0 ;
4870 (char *) "self",(char *) "x",(char *) "y", NULL
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4876 arg2
= (int) SWIG_AsInt(obj1
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4878 arg3
= (int) SWIG_AsInt(obj2
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= SWIG_FromInt((int)result
);
4894 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
*resultobj
;
4896 wxRegion
*arg1
= (wxRegion
*) 0 ;
4900 PyObject
* obj0
= 0 ;
4901 PyObject
* obj1
= 0 ;
4903 (char *) "self",(char *) "pt", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_FromInt((int)result
);
4927 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxRegion
*arg1
= (wxRegion
*) 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4936 (char *) "self",(char *) "rect", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4944 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_FromInt((int)result
);
4960 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxRegion
*arg1
= (wxRegion
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4969 PyObject
* obj1
= 0 ;
4970 PyObject
* obj2
= 0 ;
4971 PyObject
* obj3
= 0 ;
4972 PyObject
* obj4
= 0 ;
4974 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4980 arg2
= (int) SWIG_AsInt(obj1
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4982 arg3
= (int) SWIG_AsInt(obj2
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4984 arg4
= (int) SWIG_AsInt(obj3
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4986 arg5
= (int) SWIG_AsInt(obj4
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 resultobj
= SWIG_FromInt((int)result
);
5002 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxRegion
*arg1
= (wxRegion
*) 0 ;
5006 PyObject
* obj0
= 0 ;
5008 (char *) "self", NULL
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (arg1
)->GetBox();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5023 resultptr
= new wxRect((wxRect
&) result
);
5024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5032 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxRegion
*arg1
= (wxRegion
*) 0 ;
5040 PyObject
* obj0
= 0 ;
5041 PyObject
* obj1
= 0 ;
5042 PyObject
* obj2
= 0 ;
5043 PyObject
* obj3
= 0 ;
5044 PyObject
* obj4
= 0 ;
5046 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5052 arg2
= (int) SWIG_AsInt(obj1
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5054 arg3
= (int) SWIG_AsInt(obj2
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5056 arg4
= (int) SWIG_AsInt(obj3
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5058 arg5
= (int) SWIG_AsInt(obj4
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5076 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxRegion
*arg1
= (wxRegion
*) 0 ;
5082 PyObject
* obj0
= 0 ;
5083 PyObject
* obj1
= 0 ;
5085 (char *) "self",(char *) "rect", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5093 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5111 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxRegion
*arg1
= (wxRegion
*) 0 ;
5114 wxRegion
*arg2
= 0 ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5119 (char *) "self",(char *) "region", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5129 PyErr_SetString(PyExc_TypeError
,"null reference");
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5148 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxRegion
*arg1
= (wxRegion
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5154 (char *) "self", NULL
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (bool)(arg1
)->IsEmpty();
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5176 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
;
5178 wxRegion
*arg1
= (wxRegion
*) 0 ;
5184 PyObject
* obj0
= 0 ;
5185 PyObject
* obj1
= 0 ;
5186 PyObject
* obj2
= 0 ;
5187 PyObject
* obj3
= 0 ;
5188 PyObject
* obj4
= 0 ;
5190 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5196 arg2
= (int) SWIG_AsInt(obj1
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5198 arg3
= (int) SWIG_AsInt(obj2
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5200 arg4
= (int) SWIG_AsInt(obj3
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5202 arg5
= (int) SWIG_AsInt(obj4
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5220 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxRegion
*arg1
= (wxRegion
*) 0 ;
5226 PyObject
* obj0
= 0 ;
5227 PyObject
* obj1
= 0 ;
5229 (char *) "self",(char *) "rect", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5237 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5255 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxRegion
*arg1
= (wxRegion
*) 0 ;
5258 wxRegion
*arg2
= 0 ;
5260 PyObject
* obj0
= 0 ;
5261 PyObject
* obj1
= 0 ;
5263 (char *) "self",(char *) "region", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5273 PyErr_SetString(PyExc_TypeError
,"null reference");
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5292 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxRegion
*arg1
= (wxRegion
*) 0 ;
5300 PyObject
* obj0
= 0 ;
5301 PyObject
* obj1
= 0 ;
5302 PyObject
* obj2
= 0 ;
5303 PyObject
* obj3
= 0 ;
5304 PyObject
* obj4
= 0 ;
5306 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5312 arg2
= (int) SWIG_AsInt(obj1
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5314 arg3
= (int) SWIG_AsInt(obj2
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5316 arg4
= (int) SWIG_AsInt(obj3
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5318 arg5
= (int) SWIG_AsInt(obj4
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5336 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxRegion
*arg1
= (wxRegion
*) 0 ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5345 (char *) "self",(char *) "rect", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5353 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5371 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxRegion
*arg1
= (wxRegion
*) 0 ;
5374 wxRegion
*arg2
= 0 ;
5376 PyObject
* obj0
= 0 ;
5377 PyObject
* obj1
= 0 ;
5379 (char *) "self",(char *) "region", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5389 PyErr_SetString(PyExc_TypeError
,"null reference");
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5408 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
*resultobj
;
5410 wxRegion
*arg1
= (wxRegion
*) 0 ;
5416 PyObject
* obj0
= 0 ;
5417 PyObject
* obj1
= 0 ;
5418 PyObject
* obj2
= 0 ;
5419 PyObject
* obj3
= 0 ;
5420 PyObject
* obj4
= 0 ;
5422 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5428 arg2
= (int) SWIG_AsInt(obj1
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5430 arg3
= (int) SWIG_AsInt(obj2
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5432 arg4
= (int) SWIG_AsInt(obj3
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5434 arg5
= (int) SWIG_AsInt(obj4
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5452 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxRegion
*arg1
= (wxRegion
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5461 (char *) "self",(char *) "rect", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5469 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5487 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxRegion
*arg1
= (wxRegion
*) 0 ;
5490 wxRegion
*arg2
= 0 ;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5495 (char *) "self",(char *) "region", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5505 PyErr_SetString(PyExc_TypeError
,"null reference");
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5524 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxRegion
*arg1
= (wxRegion
*) 0 ;
5527 SwigValueWrapper
< wxBitmap
> result
;
5528 PyObject
* obj0
= 0 ;
5530 (char *) "self", NULL
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 result
= (arg1
)->ConvertToBitmap();
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5544 wxBitmap
* resultptr
;
5545 resultptr
= new wxBitmap((wxBitmap
&) result
);
5546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5554 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxRegion
*arg1
= (wxRegion
*) 0 ;
5557 wxBitmap
*arg2
= 0 ;
5559 PyObject
* obj0
= 0 ;
5560 PyObject
* obj1
= 0 ;
5562 (char *) "self",(char *) "bmp", NULL
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5572 PyErr_SetString(PyExc_TypeError
,"null reference");
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5591 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxRegion
*arg1
= (wxRegion
*) 0 ;
5594 wxBitmap
*arg2
= 0 ;
5595 wxColour
*arg3
= 0 ;
5596 int arg4
= (int) 0 ;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj1
= 0 ;
5601 PyObject
* obj2
= 0 ;
5602 PyObject
* obj3
= 0 ;
5604 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5614 PyErr_SetString(PyExc_TypeError
,"null reference");
5619 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5622 arg4
= (int) SWIG_AsInt(obj3
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5641 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5644 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5646 return Py_BuildValue((char *)"");
5648 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 wxRegion
*arg1
= 0 ;
5651 wxRegionIterator
*result
;
5652 PyObject
* obj0
= 0 ;
5654 (char *) "region", NULL
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5662 PyErr_SetString(PyExc_TypeError
,"null reference");
5666 if (!wxPyCheckForApp()) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5680 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5683 PyObject
* obj0
= 0 ;
5685 (char *) "self", NULL
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 Py_INCREF(Py_None
); resultobj
= Py_None
;
5705 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
*resultobj
;
5707 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5709 PyObject
* obj0
= 0 ;
5711 (char *) "self", NULL
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (int)(arg1
)->GetX();
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 resultobj
= SWIG_FromInt((int)result
);
5731 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
*resultobj
;
5733 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5735 PyObject
* obj0
= 0 ;
5737 (char *) "self", NULL
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 result
= (int)(arg1
)->GetY();
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= SWIG_FromInt((int)result
);
5757 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
;
5759 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5761 PyObject
* obj0
= 0 ;
5763 (char *) "self", NULL
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 result
= (int)(arg1
)->GetW();
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 resultobj
= SWIG_FromInt((int)result
);
5783 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
;
5785 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5789 (char *) "self", NULL
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (int)(arg1
)->GetWidth();
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= SWIG_FromInt((int)result
);
5809 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5813 PyObject
* obj0
= 0 ;
5815 (char *) "self", NULL
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (int)(arg1
)->GetH();
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_FromInt((int)result
);
5835 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5839 PyObject
* obj0
= 0 ;
5841 (char *) "self", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 result
= (int)(arg1
)->GetHeight();
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= SWIG_FromInt((int)result
);
5861 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5863 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5865 PyObject
* obj0
= 0 ;
5867 (char *) "self", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 result
= (arg1
)->GetRect();
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5882 resultptr
= new wxRect((wxRect
&) result
);
5883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5891 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
*resultobj
;
5893 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5895 PyObject
* obj0
= 0 ;
5897 (char *) "self", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 result
= (bool)(arg1
)->HaveRects();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5919 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
;
5921 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5924 (char *) "self", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 Py_INCREF(Py_None
); resultobj
= Py_None
;
5944 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
;
5946 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5947 PyObject
* obj0
= 0 ;
5949 (char *) "self", NULL
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 wxRegionIterator_Next(arg1
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5962 Py_INCREF(Py_None
); resultobj
= Py_None
;
5969 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5973 PyObject
* obj0
= 0 ;
5975 (char *) "self", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5997 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6000 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6002 return Py_BuildValue((char *)"");
6004 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
;
6006 wxNativeFontInfo
*result
;
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6026 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
*resultobj
;
6028 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6029 PyObject
* obj0
= 0 ;
6031 (char *) "self", NULL
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 Py_INCREF(Py_None
); resultobj
= Py_None
;
6051 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
;
6053 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6056 (char *) "self", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 Py_INCREF(Py_None
); resultobj
= Py_None
;
6076 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6078 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6083 (char *) "self",(char *) "font", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6093 PyErr_SetString(PyExc_TypeError
,"null reference");
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 Py_INCREF(Py_None
); resultobj
= Py_None
;
6110 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6116 (char *) "self", NULL
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= SWIG_FromInt((int)result
);
6136 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6140 PyObject
* obj0
= 0 ;
6142 (char *) "self", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= SWIG_FromInt((int)result
);
6162 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6166 PyObject
* obj0
= 0 ;
6168 (char *) "self", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_FromInt((int)result
);
6188 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
;
6190 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6192 PyObject
* obj0
= 0 ;
6194 (char *) "self", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6216 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6220 PyObject
* obj0
= 0 ;
6222 (char *) "self", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6248 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
;
6250 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6252 PyObject
* obj0
= 0 ;
6254 (char *) "self", NULL
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_FromInt((int)result
);
6274 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
;
6276 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6278 PyObject
* obj0
= 0 ;
6280 (char *) "self", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= SWIG_FromInt((int)result
);
6300 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6305 PyObject
* obj1
= 0 ;
6307 (char *) "self",(char *) "pointsize", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 arg2
= (int) SWIG_AsInt(obj1
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 (arg1
)->SetPointSize(arg2
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 Py_INCREF(Py_None
); resultobj
= Py_None
;
6329 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6336 (char *) "self",(char *) "style", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 Py_INCREF(Py_None
); resultobj
= Py_None
;
6358 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6363 PyObject
* obj1
= 0 ;
6365 (char *) "self",(char *) "weight", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6371 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 Py_INCREF(Py_None
); resultobj
= Py_None
;
6387 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6394 (char *) "self",(char *) "underlined", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 arg2
= (bool) SWIG_AsBool(obj1
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 (arg1
)->SetUnderlined(arg2
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 Py_INCREF(Py_None
); resultobj
= Py_None
;
6416 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
;
6418 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6421 PyObject
* obj1
= 0 ;
6423 (char *) "self",(char *) "facename", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6430 wxString
* sptr
= wxString_in_helper(obj1
);
6431 if (sptr
== NULL
) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 (arg1
)->SetFaceName(arg2
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 Py_INCREF(Py_None
); resultobj
= Py_None
;
6449 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6451 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6453 PyObject
* obj0
= 0 ;
6454 PyObject
* obj1
= 0 ;
6456 (char *) "self",(char *) "family", NULL
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6462 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 Py_INCREF(Py_None
); resultobj
= Py_None
;
6478 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
;
6480 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6485 (char *) "self",(char *) "encoding", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6491 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6500 Py_INCREF(Py_None
); resultobj
= Py_None
;
6507 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
*resultobj
;
6509 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6510 wxString
*arg2
= 0 ;
6512 bool temp2
= False
;
6513 PyObject
* obj0
= 0 ;
6514 PyObject
* obj1
= 0 ;
6516 (char *) "self",(char *) "s", NULL
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6523 arg2
= wxString_in_helper(obj1
);
6524 if (arg2
== NULL
) SWIG_fail
;
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6551 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6557 (char *) "self", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6583 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6589 (char *) "self", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= wxNativeFontInfo___str__(arg1
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6615 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
;
6617 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6618 wxString
*arg2
= 0 ;
6620 bool temp2
= False
;
6621 PyObject
* obj0
= 0 ;
6622 PyObject
* obj1
= 0 ;
6624 (char *) "self",(char *) "s", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6631 arg2
= wxString_in_helper(obj1
);
6632 if (arg2
== NULL
) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6659 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6663 PyObject
* obj0
= 0 ;
6665 (char *) "self", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6691 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6694 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6696 return Py_BuildValue((char *)"");
6698 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6701 wxString
*arg2
= (wxString
*) 0 ;
6702 bool temp2
= False
;
6703 PyObject
* obj0
= 0 ;
6704 PyObject
* obj1
= 0 ;
6706 (char *) "self",(char *) "facename", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6713 arg2
= wxString_in_helper(obj1
);
6714 if (arg2
== NULL
) SWIG_fail
;
6717 if (arg1
) (arg1
)->facename
= *arg2
;
6719 Py_INCREF(Py_None
); resultobj
= Py_None
;
6734 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6738 PyObject
* obj0
= 0 ;
6740 (char *) "self", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6746 result
= (wxString
*)& ((arg1
)->facename
);
6750 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6752 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6761 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
*resultobj
;
6763 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6765 PyObject
* obj0
= 0 ;
6766 PyObject
* obj1
= 0 ;
6768 (char *) "self",(char *) "encoding", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6774 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6776 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6778 Py_INCREF(Py_None
); resultobj
= Py_None
;
6785 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6789 PyObject
* obj0
= 0 ;
6791 (char *) "self", NULL
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6797 result
= (int) ((arg1
)->encoding
);
6799 resultobj
= SWIG_FromInt((int)result
);
6806 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
;
6808 wxNativeEncodingInfo
*result
;
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6828 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6831 PyObject
* obj0
= 0 ;
6833 (char *) "self", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 Py_INCREF(Py_None
); resultobj
= Py_None
;
6853 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6856 wxString
*arg2
= 0 ;
6858 bool temp2
= False
;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6862 (char *) "self",(char *) "s", NULL
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6869 arg2
= wxString_in_helper(obj1
);
6870 if (arg2
== NULL
) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6897 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
;
6899 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6901 PyObject
* obj0
= 0 ;
6903 (char *) "self", NULL
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6929 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6932 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6934 return Py_BuildValue((char *)"");
6936 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6939 wxNativeEncodingInfo
*result
;
6940 PyObject
* obj0
= 0 ;
6942 (char *) "encoding", NULL
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6946 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6962 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxNativeEncodingInfo
*arg1
= 0 ;
6966 PyObject
* obj0
= 0 ;
6968 (char *) "info", NULL
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6976 PyErr_SetString(PyExc_TypeError
,"null reference");
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6995 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxFontMapper
*result
;
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 result
= (wxFontMapper
*)new wxFontMapper();
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7017 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7020 PyObject
* obj0
= 0 ;
7022 (char *) "self", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 Py_INCREF(Py_None
); resultobj
= Py_None
;
7042 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxFontMapper
*result
;
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 result
= (wxFontMapper
*)wxFontMapper::Get();
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7064 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
;
7066 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7067 wxFontMapper
*result
;
7068 PyObject
* obj0
= 0 ;
7070 (char *) "mapper", NULL
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7090 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7092 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7093 wxString
*arg2
= 0 ;
7094 bool arg3
= (bool) True
;
7096 bool temp2
= False
;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7099 PyObject
* obj2
= 0 ;
7101 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7108 arg2
= wxString_in_helper(obj1
);
7109 if (arg2
== NULL
) SWIG_fail
;
7113 arg3
= (bool) SWIG_AsBool(obj2
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= SWIG_FromInt((int)result
);
7138 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7160 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7164 PyObject
* obj0
= 0 ;
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7170 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 result
= (int)wxFontMapper::GetEncoding(arg1
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= SWIG_FromInt((int)result
);
7186 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7190 PyObject
* obj0
= 0 ;
7192 (char *) "encoding", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7196 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7218 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "encoding", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7228 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7250 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxString
*arg1
= 0 ;
7254 bool temp1
= False
;
7255 PyObject
* obj0
= 0 ;
7257 (char *) "name", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7262 arg1
= wxString_in_helper(obj0
);
7263 if (arg1
== NULL
) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= SWIG_FromInt((int)result
);
7288 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7291 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7292 PyObject
* obj0
= 0 ;
7293 PyObject
* obj1
= 0 ;
7295 (char *) "self",(char *) "config", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 (arg1
)->SetConfig(arg2
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7317 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7320 wxString
*arg2
= 0 ;
7321 bool temp2
= False
;
7322 PyObject
* obj0
= 0 ;
7323 PyObject
* obj1
= 0 ;
7325 (char *) "self",(char *) "prefix", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7332 arg2
= wxString_in_helper(obj1
);
7333 if (arg2
== NULL
) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 Py_INCREF(Py_None
); resultobj
= Py_None
;
7358 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= wxFontMapper::GetDefaultConfigPath();
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7386 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7388 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7390 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7391 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7392 bool arg4
= (bool) True
;
7394 bool temp3
= False
;
7395 PyObject
* obj0
= 0 ;
7396 PyObject
* obj1
= 0 ;
7397 PyObject
* obj2
= 0 ;
7398 PyObject
* obj3
= 0 ;
7400 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7406 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7410 arg3
= wxString_in_helper(obj2
);
7411 if (arg3
== NULL
) SWIG_fail
;
7416 arg4
= (bool) SWIG_AsBool(obj3
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7441 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
;
7443 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7445 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7446 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7448 bool temp3
= False
;
7449 PyObject
* obj0
= 0 ;
7450 PyObject
* obj1
= 0 ;
7451 PyObject
* obj2
= 0 ;
7453 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7459 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7463 arg3
= wxString_in_helper(obj2
);
7464 if (arg3
== NULL
) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7492 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7495 wxWindow
*arg2
= (wxWindow
*) 0 ;
7496 PyObject
* obj0
= 0 ;
7497 PyObject
* obj1
= 0 ;
7499 (char *) "self",(char *) "parent", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 (arg1
)->SetDialogParent(arg2
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 Py_INCREF(Py_None
); resultobj
= Py_None
;
7521 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7524 wxString
*arg2
= 0 ;
7525 bool temp2
= False
;
7526 PyObject
* obj0
= 0 ;
7527 PyObject
* obj1
= 0 ;
7529 (char *) "self",(char *) "title", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7536 arg2
= wxString_in_helper(obj1
);
7537 if (arg2
== NULL
) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7547 Py_INCREF(Py_None
); resultobj
= Py_None
;
7562 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7565 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7567 return Py_BuildValue((char *)"");
7569 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7575 bool arg5
= (bool) False
;
7576 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7577 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7578 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7580 bool temp6
= False
;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj1
= 0 ;
7583 PyObject
* obj2
= 0 ;
7584 PyObject
* obj3
= 0 ;
7585 PyObject
* obj4
= 0 ;
7586 PyObject
* obj5
= 0 ;
7587 PyObject
* obj6
= 0 ;
7589 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7593 arg1
= (int) SWIG_AsInt(obj0
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7595 arg2
= (int) SWIG_AsInt(obj1
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7597 arg3
= (int) SWIG_AsInt(obj2
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7599 arg4
= (int) SWIG_AsInt(obj3
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 arg5
= (bool) SWIG_AsBool(obj4
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7607 arg6
= wxString_in_helper(obj5
);
7608 if (arg6
== NULL
) SWIG_fail
;
7613 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7617 if (!wxPyCheckForApp()) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7639 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxFont
*arg1
= (wxFont
*) 0 ;
7642 PyObject
* obj0
= 0 ;
7644 (char *) "self", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 Py_INCREF(Py_None
); resultobj
= Py_None
;
7664 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxNativeFontInfo
*arg1
= 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "info", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7678 PyErr_SetString(PyExc_TypeError
,"null reference");
7682 if (!wxPyCheckForApp()) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7696 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxString
*arg1
= 0 ;
7700 bool temp1
= False
;
7701 PyObject
* obj0
= 0 ;
7703 (char *) "info", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7708 arg1
= wxString_in_helper(obj0
);
7709 if (arg1
== NULL
) SWIG_fail
;
7713 if (!wxPyCheckForApp()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7735 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7739 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7740 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7741 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7742 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7744 bool temp4
= False
;
7745 PyObject
* obj0
= 0 ;
7746 PyObject
* obj1
= 0 ;
7747 PyObject
* obj2
= 0 ;
7748 PyObject
* obj3
= 0 ;
7749 PyObject
* obj4
= 0 ;
7751 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7755 arg1
= (int) SWIG_AsInt(obj0
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7757 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 arg3
= (int) SWIG_AsInt(obj2
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7765 arg4
= wxString_in_helper(obj3
);
7766 if (arg4
== NULL
) SWIG_fail
;
7771 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7775 if (!wxPyCheckForApp()) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7797 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxFont
*arg1
= (wxFont
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7803 (char *) "self", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (bool)((wxFont
const *)arg1
)->Ok();
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7825 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
;
7827 wxFont
*arg1
= (wxFont
*) 0 ;
7828 wxFont
*arg2
= (wxFont
*) 0 ;
7830 PyObject
* obj0
= 0 ;
7831 PyObject
* obj1
= 0 ;
7833 (char *) "self",(char *) "other", NULL
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7857 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxFont
*arg1
= (wxFont
*) 0 ;
7860 wxFont
*arg2
= (wxFont
*) 0 ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7865 (char *) "self",(char *) "other", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7889 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7891 wxFont
*arg1
= (wxFont
*) 0 ;
7893 PyObject
* obj0
= 0 ;
7895 (char *) "self", NULL
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= SWIG_FromInt((int)result
);
7915 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
;
7917 wxFont
*arg1
= (wxFont
*) 0 ;
7919 PyObject
* obj0
= 0 ;
7921 (char *) "self", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= SWIG_FromInt((int)result
);
7941 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
;
7943 wxFont
*arg1
= (wxFont
*) 0 ;
7945 PyObject
* obj0
= 0 ;
7947 (char *) "self", NULL
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= SWIG_FromInt((int)result
);
7967 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
;
7969 wxFont
*arg1
= (wxFont
*) 0 ;
7971 PyObject
* obj0
= 0 ;
7973 (char *) "self", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_FromInt((int)result
);
7993 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
7995 wxFont
*arg1
= (wxFont
*) 0 ;
7997 PyObject
* obj0
= 0 ;
7999 (char *) "self", NULL
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8021 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
;
8023 wxFont
*arg1
= (wxFont
*) 0 ;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "self", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= ((wxFont
const *)arg1
)->GetFaceName();
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8053 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxFont
*arg1
= (wxFont
*) 0 ;
8057 PyObject
* obj0
= 0 ;
8059 (char *) "self", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= SWIG_FromInt((int)result
);
8079 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxFont
*arg1
= (wxFont
*) 0 ;
8082 wxNativeFontInfo
*result
;
8083 PyObject
* obj0
= 0 ;
8085 (char *) "self", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8105 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxFont
*arg1
= (wxFont
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8111 (char *) "self", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8133 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxFont
*arg1
= (wxFont
*) 0 ;
8137 PyObject
* obj0
= 0 ;
8139 (char *) "self", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8165 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
;
8167 wxFont
*arg1
= (wxFont
*) 0 ;
8169 PyObject
* obj0
= 0 ;
8171 (char *) "self", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8197 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxFont
*arg1
= (wxFont
*) 0 ;
8201 PyObject
* obj0
= 0 ;
8202 PyObject
* obj1
= 0 ;
8204 (char *) "self",(char *) "pointSize", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8210 arg2
= (int) SWIG_AsInt(obj1
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 (arg1
)->SetPointSize(arg2
);
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8219 Py_INCREF(Py_None
); resultobj
= Py_None
;
8226 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
*resultobj
;
8228 wxFont
*arg1
= (wxFont
*) 0 ;
8230 PyObject
* obj0
= 0 ;
8231 PyObject
* obj1
= 0 ;
8233 (char *) "self",(char *) "family", NULL
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8239 arg2
= (int) SWIG_AsInt(obj1
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 (arg1
)->SetFamily(arg2
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 Py_INCREF(Py_None
); resultobj
= Py_None
;
8255 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxFont
*arg1
= (wxFont
*) 0 ;
8259 PyObject
* obj0
= 0 ;
8260 PyObject
* obj1
= 0 ;
8262 (char *) "self",(char *) "style", NULL
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8268 arg2
= (int) SWIG_AsInt(obj1
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 (arg1
)->SetStyle(arg2
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 Py_INCREF(Py_None
); resultobj
= Py_None
;
8284 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxFont
*arg1
= (wxFont
*) 0 ;
8288 PyObject
* obj0
= 0 ;
8289 PyObject
* obj1
= 0 ;
8291 (char *) "self",(char *) "weight", NULL
8294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8297 arg2
= (int) SWIG_AsInt(obj1
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 (arg1
)->SetWeight(arg2
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 Py_INCREF(Py_None
); resultobj
= Py_None
;
8313 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxFont
*arg1
= (wxFont
*) 0 ;
8316 wxString
*arg2
= 0 ;
8317 bool temp2
= False
;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8321 (char *) "self",(char *) "faceName", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 arg2
= wxString_in_helper(obj1
);
8329 if (arg2
== NULL
) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 Py_INCREF(Py_None
); resultobj
= Py_None
;
8354 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
;
8356 wxFont
*arg1
= (wxFont
*) 0 ;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8361 (char *) "self",(char *) "underlined", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8367 arg2
= (bool) SWIG_AsBool(obj1
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 (arg1
)->SetUnderlined(arg2
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 Py_INCREF(Py_None
); resultobj
= Py_None
;
8383 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxFont
*arg1
= (wxFont
*) 0 ;
8387 PyObject
* obj0
= 0 ;
8388 PyObject
* obj1
= 0 ;
8390 (char *) "self",(char *) "encoding", NULL
8393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8396 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 Py_INCREF(Py_None
); resultobj
= Py_None
;
8412 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxFont
*arg1
= (wxFont
*) 0 ;
8415 wxNativeFontInfo
*arg2
= 0 ;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8419 (char *) "self",(char *) "info", NULL
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8429 PyErr_SetString(PyExc_TypeError
,"null reference");
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 Py_INCREF(Py_None
); resultobj
= Py_None
;
8446 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxFont
*arg1
= (wxFont
*) 0 ;
8449 wxString
*arg2
= 0 ;
8450 bool temp2
= False
;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8454 (char *) "self",(char *) "info", NULL
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8461 arg2
= wxString_in_helper(obj1
);
8462 if (arg2
== NULL
) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 Py_INCREF(Py_None
); resultobj
= Py_None
;
8487 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxFont
*arg1
= (wxFont
*) 0 ;
8490 wxString
*arg2
= 0 ;
8491 bool temp2
= False
;
8492 PyObject
* obj0
= 0 ;
8493 PyObject
* obj1
= 0 ;
8495 (char *) "self",(char *) "info", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 arg2
= wxString_in_helper(obj1
);
8503 if (arg2
== NULL
) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 Py_INCREF(Py_None
); resultobj
= Py_None
;
8528 static PyObject
*_wrap_Font_GetFamilyString(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_GetFamilyString",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
)->GetFamilyString();
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_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
;
8562 wxFont
*arg1
= (wxFont
*) 0 ;
8564 PyObject
* obj0
= 0 ;
8566 (char *) "self", NULL
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 result
= ((wxFont
const *)arg1
)->GetStyleString();
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8592 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8594 wxFont
*arg1
= (wxFont
*) 0 ;
8596 PyObject
* obj0
= 0 ;
8598 (char *) "self", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 result
= ((wxFont
const *)arg1
)->GetWeightString();
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8624 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxFont
*arg1
= (wxFont
*) 0 ;
8627 bool arg2
= (bool) True
;
8628 PyObject
* obj0
= 0 ;
8629 PyObject
* obj1
= 0 ;
8631 (char *) "self",(char *) "no", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8638 arg2
= (bool) SWIG_AsBool(obj1
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 (arg1
)->SetNoAntiAliasing(arg2
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 Py_INCREF(Py_None
); resultobj
= Py_None
;
8655 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxFont
*arg1
= (wxFont
*) 0 ;
8659 PyObject
* obj0
= 0 ;
8661 (char *) "self", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 result
= (bool)(arg1
)->GetNoAntiAliasing();
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8683 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
*resultobj
;
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8692 if (!wxPyCheckForApp()) SWIG_fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 result
= (int)wxFont::GetDefaultEncoding();
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_FromInt((int)result
);
8706 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8709 PyObject
* obj0
= 0 ;
8711 (char *) "encoding", NULL
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8715 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 if (!wxPyCheckForApp()) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 Py_INCREF(Py_None
); resultobj
= Py_None
;
8732 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8735 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8737 return Py_BuildValue((char *)"");
8739 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxPyFontEnumerator
*result
;
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8748 if (!wxPyCheckForApp()) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8762 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8765 PyObject
* obj0
= 0 ;
8767 (char *) "self", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 Py_INCREF(Py_None
); resultobj
= Py_None
;
8787 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8790 PyObject
*arg2
= (PyObject
*) 0 ;
8791 PyObject
*arg3
= (PyObject
*) 0 ;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8795 PyObject
* obj2
= 0 ;
8796 PyObject
* obj3
= 0 ;
8798 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8806 arg4
= (bool) SWIG_AsBool(obj3
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 Py_INCREF(Py_None
); resultobj
= Py_None
;
8822 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8825 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8826 bool arg3
= (bool) False
;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8830 PyObject
* obj2
= 0 ;
8832 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8839 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8843 arg3
= (bool) SWIG_AsBool(obj2
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8862 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8865 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8866 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8868 bool temp2
= False
;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8872 (char *) "self",(char *) "facename", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8880 arg2
= wxString_in_helper(obj1
);
8881 if (arg2
== NULL
) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8909 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8915 (char *) "self", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8935 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
;
8937 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8939 PyObject
* obj0
= 0 ;
8941 (char *) "self", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8961 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8964 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8966 return Py_BuildValue((char *)"");
8968 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8975 (char *) "self",(char *) "Language", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8981 arg2
= (int) SWIG_AsInt(obj1
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8983 if (arg1
) (arg1
)->Language
= arg2
;
8985 Py_INCREF(Py_None
); resultobj
= Py_None
;
8992 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8994 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8996 PyObject
* obj0
= 0 ;
8998 (char *) "self", NULL
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9004 result
= (int) ((arg1
)->Language
);
9006 resultobj
= SWIG_FromInt((int)result
);
9013 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9016 wxString
*arg2
= (wxString
*) 0 ;
9017 bool temp2
= False
;
9018 PyObject
* obj0
= 0 ;
9019 PyObject
* obj1
= 0 ;
9021 (char *) "self",(char *) "CanonicalName", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9028 arg2
= wxString_in_helper(obj1
);
9029 if (arg2
== NULL
) SWIG_fail
;
9032 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9049 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9053 PyObject
* obj0
= 0 ;
9055 (char *) "self", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9061 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9065 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9067 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9076 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
;
9078 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9079 wxString
*arg2
= (wxString
*) 0 ;
9080 bool temp2
= False
;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9084 (char *) "self",(char *) "Description", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9091 arg2
= wxString_in_helper(obj1
);
9092 if (arg2
== NULL
) SWIG_fail
;
9095 if (arg1
) (arg1
)->Description
= *arg2
;
9097 Py_INCREF(Py_None
); resultobj
= Py_None
;
9112 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9114 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9118 (char *) "self", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9124 result
= (wxString
*)& ((arg1
)->Description
);
9128 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9130 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9139 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9142 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9144 return Py_BuildValue((char *)"");
9146 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
;
9148 int arg1
= (int) -1 ;
9149 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9154 (char *) "language",(char *) "flags", NULL
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9159 arg1
= (int) SWIG_AsInt(obj0
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 arg2
= (int) SWIG_AsInt(obj1
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9180 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxLocale
*arg1
= (wxLocale
*) 0 ;
9183 PyObject
* obj0
= 0 ;
9185 (char *) "self", NULL
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 Py_INCREF(Py_None
); resultobj
= Py_None
;
9205 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9207 wxLocale
*arg1
= (wxLocale
*) 0 ;
9208 wxString
*arg2
= 0 ;
9209 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9210 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9211 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9212 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9213 bool arg5
= (bool) True
;
9214 bool arg6
= (bool) False
;
9216 bool temp2
= False
;
9217 bool temp3
= False
;
9218 bool temp4
= False
;
9219 PyObject
* obj0
= 0 ;
9220 PyObject
* obj1
= 0 ;
9221 PyObject
* obj2
= 0 ;
9222 PyObject
* obj3
= 0 ;
9223 PyObject
* obj4
= 0 ;
9224 PyObject
* obj5
= 0 ;
9226 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9233 arg2
= wxString_in_helper(obj1
);
9234 if (arg2
== NULL
) SWIG_fail
;
9239 arg3
= wxString_in_helper(obj2
);
9240 if (arg3
== NULL
) SWIG_fail
;
9246 arg4
= wxString_in_helper(obj3
);
9247 if (arg4
== NULL
) SWIG_fail
;
9252 arg5
= (bool) SWIG_AsBool(obj4
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9256 arg6
= (bool) SWIG_AsBool(obj5
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9299 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxLocale
*arg1
= (wxLocale
*) 0 ;
9302 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9303 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9305 PyObject
* obj0
= 0 ;
9306 PyObject
* obj1
= 0 ;
9307 PyObject
* obj2
= 0 ;
9309 (char *) "self",(char *) "language",(char *) "flags", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 arg2
= (int) SWIG_AsInt(obj1
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9320 arg3
= (int) SWIG_AsInt(obj2
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9339 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (int)wxLocale::GetSystemLanguage();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_FromInt((int)result
);
9361 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (int)wxLocale::GetSystemEncoding();
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= SWIG_FromInt((int)result
);
9383 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
;
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= wxLocale::GetSystemEncodingName();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9411 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
;
9413 wxLocale
*arg1
= (wxLocale
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9417 (char *) "self", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9439 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 wxLocale
*arg1
= (wxLocale
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "self", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 result
= ((wxLocale
const *)arg1
)->GetLocale();
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9471 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxLocale
*arg1
= (wxLocale
*) 0 ;
9475 PyObject
* obj0
= 0 ;
9477 (char *) "self", NULL
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_FromInt((int)result
);
9497 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxLocale
*arg1
= (wxLocale
*) 0 ;
9501 PyObject
* obj0
= 0 ;
9503 (char *) "self", NULL
9506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= ((wxLocale
const *)arg1
)->GetSysName();
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9529 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxLocale
*arg1
= (wxLocale
*) 0 ;
9533 PyObject
* obj0
= 0 ;
9535 (char *) "self", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9561 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxString
*arg1
= 0 ;
9564 bool temp1
= False
;
9565 PyObject
* obj0
= 0 ;
9567 (char *) "prefix", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9572 arg1
= wxString_in_helper(obj0
);
9573 if (arg1
== NULL
) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 Py_INCREF(Py_None
); resultobj
= Py_None
;
9598 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxLocale
*arg1
= (wxLocale
*) 0 ;
9601 wxString
*arg2
= 0 ;
9603 bool temp2
= False
;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9607 (char *) "self",(char *) "szDomain", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9614 arg2
= wxString_in_helper(obj1
);
9615 if (arg2
== NULL
) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9642 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9644 wxLocale
*arg1
= (wxLocale
*) 0 ;
9645 wxString
*arg2
= 0 ;
9647 bool temp2
= False
;
9648 PyObject
* obj0
= 0 ;
9649 PyObject
* obj1
= 0 ;
9651 (char *) "self",(char *) "szDomain", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9658 arg2
= wxString_in_helper(obj1
);
9659 if (arg2
== NULL
) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9686 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9689 wxLanguageInfo
*result
;
9690 PyObject
* obj0
= 0 ;
9692 (char *) "lang", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9696 arg1
= (int) SWIG_AsInt(obj0
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9712 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9716 PyObject
* obj0
= 0 ;
9718 (char *) "lang", NULL
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9722 arg1
= (int) SWIG_AsInt(obj0
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 result
= wxLocale::GetLanguageName(arg1
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9744 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxString
*arg1
= 0 ;
9747 wxLanguageInfo
*result
;
9748 bool temp1
= False
;
9749 PyObject
* obj0
= 0 ;
9751 (char *) "locale", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9756 arg1
= wxString_in_helper(obj0
);
9757 if (arg1
== NULL
) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9782 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxLanguageInfo
*arg1
= 0 ;
9785 PyObject
* obj0
= 0 ;
9787 (char *) "info", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9795 PyErr_SetString(PyExc_TypeError
,"null reference");
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 Py_INCREF(Py_None
); resultobj
= Py_None
;
9812 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxLocale
*arg1
= (wxLocale
*) 0 ;
9815 wxString
*arg2
= 0 ;
9816 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9817 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9819 bool temp2
= False
;
9820 bool temp3
= False
;
9821 PyObject
* obj0
= 0 ;
9822 PyObject
* obj1
= 0 ;
9823 PyObject
* obj2
= 0 ;
9825 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9832 arg2
= wxString_in_helper(obj1
);
9833 if (arg2
== NULL
) SWIG_fail
;
9838 arg3
= wxString_in_helper(obj2
);
9839 if (arg3
== NULL
) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9879 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxLocale
*arg1
= (wxLocale
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9885 (char *) "self", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9895 result
= (wxString
*) &_result_ref
;
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9905 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9914 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9917 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9919 return Py_BuildValue((char *)"");
9921 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (wxLocale
*)wxGetLocale();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9943 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9944 PyObject
*resultobj
;
9945 wxString
*arg1
= 0 ;
9947 bool temp1
= False
;
9948 PyObject
* obj0
= 0 ;
9950 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9952 arg1
= wxString_in_helper(obj0
);
9953 if (arg1
== NULL
) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= wxGetTranslation((wxString
const &)*arg1
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9984 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9985 PyObject
*resultobj
;
9986 wxString
*arg1
= 0 ;
9987 wxString
*arg2
= 0 ;
9990 bool temp1
= False
;
9991 bool temp2
= False
;
9992 PyObject
* obj0
= 0 ;
9993 PyObject
* obj1
= 0 ;
9994 PyObject
* obj2
= 0 ;
9996 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9998 arg1
= wxString_in_helper(obj0
);
9999 if (arg1
== NULL
) SWIG_fail
;
10003 arg2
= wxString_in_helper(obj1
);
10004 if (arg2
== NULL
) SWIG_fail
;
10007 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10045 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10050 argc
= PyObject_Length(args
);
10051 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10052 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10057 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10060 return _wrap_GetTranslation__SWIG_0(self
,args
);
10066 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10070 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10073 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10075 return _wrap_GetTranslation__SWIG_1(self
,args
);
10081 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10086 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxEncodingConverter
*result
;
10089 char *kwnames
[] = {
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10108 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10111 PyObject
* obj0
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "self", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 Py_INCREF(Py_None
); resultobj
= Py_None
;
10133 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10138 int arg4
= (int) wxCONVERT_STRICT
;
10140 PyObject
* obj0
= 0 ;
10141 PyObject
* obj1
= 0 ;
10142 PyObject
* obj2
= 0 ;
10143 PyObject
* obj3
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10151 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10153 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 arg4
= (int) SWIG_AsInt(obj3
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10175 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10178 wxString
*arg2
= 0 ;
10180 bool temp2
= False
;
10181 PyObject
* obj0
= 0 ;
10182 PyObject
* obj1
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self",(char *) "input", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10191 arg2
= wxString_in_helper(obj1
);
10192 if (arg2
== NULL
) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10223 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
;
10226 int arg2
= (int) wxPLATFORM_CURRENT
;
10227 wxFontEncodingArray result
;
10228 PyObject
* obj0
= 0 ;
10229 PyObject
* obj1
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "enc",(char *) "platform", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10235 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 arg2
= (int) SWIG_AsInt(obj1
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= PyList_New(0);
10250 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10251 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10252 PyList_Append(resultobj
, number
);
10262 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10265 wxFontEncodingArray result
;
10266 PyObject
* obj0
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "enc", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10272 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= PyList_New(0);
10283 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10284 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10285 PyList_Append(resultobj
, number
);
10295 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "encIn",(char *) "encOut", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10307 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10309 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10327 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10330 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10332 return Py_BuildValue((char *)"");
10334 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxDC
*arg1
= (wxDC
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 Py_INCREF(Py_None
); resultobj
= Py_None
;
10359 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxDC
*arg1
= (wxDC
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 (arg1
)->BeginDrawing();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 Py_INCREF(Py_None
); resultobj
= Py_None
;
10384 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxDC
*arg1
= (wxDC
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 (arg1
)->EndDrawing();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 Py_INCREF(Py_None
); resultobj
= Py_None
;
10409 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxDC
*arg1
= (wxDC
*) 0 ;
10414 wxColour
*arg4
= 0 ;
10415 int arg5
= (int) wxFLOOD_SURFACE
;
10418 PyObject
* obj0
= 0 ;
10419 PyObject
* obj1
= 0 ;
10420 PyObject
* obj2
= 0 ;
10421 PyObject
* obj3
= 0 ;
10422 PyObject
* obj4
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10430 arg2
= (int) SWIG_AsInt(obj1
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10432 arg3
= (int) SWIG_AsInt(obj2
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10436 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10439 arg5
= (int) SWIG_AsInt(obj4
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10458 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxDC
*arg1
= (wxDC
*) 0 ;
10461 wxPoint
*arg2
= 0 ;
10462 wxColour
*arg3
= 0 ;
10463 int arg4
= (int) wxFLOOD_SURFACE
;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 PyObject
* obj3
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10480 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10484 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10487 arg4
= (int) SWIG_AsInt(obj3
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10506 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
;
10508 wxDC
*arg1
= (wxDC
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 PyObject
* obj1
= 0 ;
10514 PyObject
* obj2
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self",(char *) "x",(char *) "y", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 arg2
= (int) SWIG_AsInt(obj1
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10524 arg3
= (int) SWIG_AsInt(obj2
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10534 wxColour
* resultptr
;
10535 resultptr
= new wxColour((wxColour
&) result
);
10536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10544 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxDC
*arg1
= (wxDC
*) 0 ;
10547 wxPoint
*arg2
= 0 ;
10550 PyObject
* obj0
= 0 ;
10551 PyObject
* obj1
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "self",(char *) "pt", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 wxColour
* resultptr
;
10572 resultptr
= new wxColour((wxColour
&) result
);
10573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10581 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxDC
*arg1
= (wxDC
*) 0 ;
10588 PyObject
* obj0
= 0 ;
10589 PyObject
* obj1
= 0 ;
10590 PyObject
* obj2
= 0 ;
10591 PyObject
* obj3
= 0 ;
10592 PyObject
* obj4
= 0 ;
10593 char *kwnames
[] = {
10594 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10600 arg2
= (int) SWIG_AsInt(obj1
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10602 arg3
= (int) SWIG_AsInt(obj2
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10604 arg4
= (int) SWIG_AsInt(obj3
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10606 arg5
= (int) SWIG_AsInt(obj4
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 Py_INCREF(Py_None
); resultobj
= Py_None
;
10622 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxDC
*arg1
= (wxDC
*) 0 ;
10625 wxPoint
*arg2
= 0 ;
10626 wxPoint
*arg3
= 0 ;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 PyObject
* obj2
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 Py_INCREF(Py_None
); resultobj
= Py_None
;
10661 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxDC
*arg1
= (wxDC
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 PyObject
* obj2
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self",(char *) "x",(char *) "y", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10676 arg2
= (int) SWIG_AsInt(obj1
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10678 arg3
= (int) SWIG_AsInt(obj2
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 (arg1
)->CrossHair(arg2
,arg3
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 Py_INCREF(Py_None
); resultobj
= Py_None
;
10694 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxDC
*arg1
= (wxDC
*) 0 ;
10697 wxPoint
*arg2
= 0 ;
10699 PyObject
* obj0
= 0 ;
10700 PyObject
* obj1
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self",(char *) "pt", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10710 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 Py_INCREF(Py_None
); resultobj
= Py_None
;
10726 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxDC
*arg1
= (wxDC
*) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 PyObject
* obj2
= 0 ;
10738 PyObject
* obj3
= 0 ;
10739 PyObject
* obj4
= 0 ;
10740 PyObject
* obj5
= 0 ;
10741 PyObject
* obj6
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10749 arg2
= (int) SWIG_AsInt(obj1
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10751 arg3
= (int) SWIG_AsInt(obj2
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10753 arg4
= (int) SWIG_AsInt(obj3
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10755 arg5
= (int) SWIG_AsInt(obj4
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10757 arg6
= (int) SWIG_AsInt(obj5
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10759 arg7
= (int) SWIG_AsInt(obj6
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 Py_INCREF(Py_None
); resultobj
= Py_None
;
10775 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxDC
*arg1
= (wxDC
*) 0 ;
10778 wxPoint
*arg2
= 0 ;
10779 wxPoint
*arg3
= 0 ;
10780 wxPoint
*arg4
= 0 ;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 PyObject
* obj2
= 0 ;
10787 PyObject
* obj3
= 0 ;
10788 char *kwnames
[] = {
10789 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10801 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10805 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 Py_INCREF(Py_None
); resultobj
= Py_None
;
10821 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxDC
*arg1
= (wxDC
*) 0 ;
10828 PyObject
* obj0
= 0 ;
10829 PyObject
* obj1
= 0 ;
10830 PyObject
* obj2
= 0 ;
10831 PyObject
* obj3
= 0 ;
10832 PyObject
* obj4
= 0 ;
10833 char *kwnames
[] = {
10834 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10840 arg2
= (int) SWIG_AsInt(obj1
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10842 arg3
= (int) SWIG_AsInt(obj2
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10844 arg4
= (int) SWIG_AsInt(obj3
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10846 arg5
= (int) SWIG_AsInt(obj4
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 Py_INCREF(Py_None
); resultobj
= Py_None
;
10862 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxDC
*arg1
= (wxDC
*) 0 ;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self",(char *) "rect", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10878 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10884 wxPyEndAllowThreads(__tstate
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10887 Py_INCREF(Py_None
); resultobj
= Py_None
;
10894 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
;
10896 wxDC
*arg1
= (wxDC
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 PyObject
* obj2
= 0 ;
10906 PyObject
* obj3
= 0 ;
10907 PyObject
* obj4
= 0 ;
10908 PyObject
* obj5
= 0 ;
10909 PyObject
* obj6
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10917 arg2
= (int) SWIG_AsInt(obj1
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10919 arg3
= (int) SWIG_AsInt(obj2
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10921 arg4
= (int) SWIG_AsInt(obj3
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10923 arg5
= (int) SWIG_AsInt(obj4
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10925 arg6
= (double) SWIG_AsDouble(obj5
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10927 arg7
= (double) SWIG_AsDouble(obj6
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxDC
*arg1
= (wxDC
*) 0 ;
10946 wxPoint
*arg2
= 0 ;
10952 PyObject
* obj0
= 0 ;
10953 PyObject
* obj1
= 0 ;
10954 PyObject
* obj2
= 0 ;
10955 PyObject
* obj3
= 0 ;
10956 PyObject
* obj4
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10966 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10970 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10972 arg4
= (double) SWIG_AsDouble(obj3
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10974 arg5
= (double) SWIG_AsDouble(obj4
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 Py_INCREF(Py_None
); resultobj
= Py_None
;
10990 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxDC
*arg1
= (wxDC
*) 0 ;
10995 PyObject
* obj0
= 0 ;
10996 PyObject
* obj1
= 0 ;
10997 PyObject
* obj2
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "self",(char *) "x",(char *) "y", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11005 arg2
= (int) SWIG_AsInt(obj1
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11007 arg3
= (int) SWIG_AsInt(obj2
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 (arg1
)->DrawPoint(arg2
,arg3
);
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 Py_INCREF(Py_None
); resultobj
= Py_None
;
11023 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxDC
*arg1
= (wxDC
*) 0 ;
11026 wxPoint
*arg2
= 0 ;
11028 PyObject
* obj0
= 0 ;
11029 PyObject
* obj1
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self",(char *) "pt", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 Py_INCREF(Py_None
); resultobj
= Py_None
;
11055 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
*resultobj
;
11057 wxDC
*arg1
= (wxDC
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 PyObject
* obj2
= 0 ;
11065 PyObject
* obj3
= 0 ;
11066 PyObject
* obj4
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11074 arg2
= (int) SWIG_AsInt(obj1
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11076 arg3
= (int) SWIG_AsInt(obj2
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11078 arg4
= (int) SWIG_AsInt(obj3
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11080 arg5
= (int) SWIG_AsInt(obj4
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 Py_INCREF(Py_None
); resultobj
= Py_None
;
11096 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxDC
*arg1
= (wxDC
*) 0 ;
11101 PyObject
* obj0
= 0 ;
11102 PyObject
* obj1
= 0 ;
11103 char *kwnames
[] = {
11104 (char *) "self",(char *) "rect", NULL
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11112 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11121 Py_INCREF(Py_None
); resultobj
= Py_None
;
11128 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
;
11130 wxDC
*arg1
= (wxDC
*) 0 ;
11131 wxPoint
*arg2
= 0 ;
11135 PyObject
* obj0
= 0 ;
11136 PyObject
* obj1
= 0 ;
11137 PyObject
* obj2
= 0 ;
11138 char *kwnames
[] = {
11139 (char *) "self",(char *) "pt",(char *) "sz", NULL
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11151 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11160 Py_INCREF(Py_None
); resultobj
= Py_None
;
11167 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
;
11169 wxDC
*arg1
= (wxDC
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 PyObject
* obj1
= 0 ;
11177 PyObject
* obj2
= 0 ;
11178 PyObject
* obj3
= 0 ;
11179 PyObject
* obj4
= 0 ;
11180 PyObject
* obj5
= 0 ;
11181 char *kwnames
[] = {
11182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11188 arg2
= (int) SWIG_AsInt(obj1
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11190 arg3
= (int) SWIG_AsInt(obj2
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11192 arg4
= (int) SWIG_AsInt(obj3
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11194 arg5
= (int) SWIG_AsInt(obj4
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11196 arg6
= (double) SWIG_AsDouble(obj5
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 Py_INCREF(Py_None
); resultobj
= Py_None
;
11212 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
;
11214 wxDC
*arg1
= (wxDC
*) 0 ;
11218 PyObject
* obj0
= 0 ;
11219 PyObject
* obj1
= 0 ;
11220 PyObject
* obj2
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self",(char *) "r",(char *) "radius", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11230 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11232 arg3
= (double) SWIG_AsDouble(obj2
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 Py_INCREF(Py_None
); resultobj
= Py_None
;
11248 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
;
11250 wxDC
*arg1
= (wxDC
*) 0 ;
11251 wxPoint
*arg2
= 0 ;
11256 PyObject
* obj0
= 0 ;
11257 PyObject
* obj1
= 0 ;
11258 PyObject
* obj2
= 0 ;
11259 PyObject
* obj3
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11269 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11273 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11275 arg4
= (double) SWIG_AsDouble(obj3
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 Py_INCREF(Py_None
); resultobj
= Py_None
;
11291 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
;
11293 wxDC
*arg1
= (wxDC
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 PyObject
* obj2
= 0 ;
11300 PyObject
* obj3
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11308 arg2
= (int) SWIG_AsInt(obj1
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11310 arg3
= (int) SWIG_AsInt(obj2
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11312 arg4
= (int) SWIG_AsInt(obj3
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxDC
*arg1
= (wxDC
*) 0 ;
11331 wxPoint
*arg2
= 0 ;
11334 PyObject
* obj0
= 0 ;
11335 PyObject
* obj1
= 0 ;
11336 PyObject
* obj2
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self",(char *) "pt",(char *) "radius", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11348 arg3
= (int) SWIG_AsInt(obj2
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 Py_INCREF(Py_None
); resultobj
= Py_None
;
11364 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxDC
*arg1
= (wxDC
*) 0 ;
11371 PyObject
* obj0
= 0 ;
11372 PyObject
* obj1
= 0 ;
11373 PyObject
* obj2
= 0 ;
11374 PyObject
* obj3
= 0 ;
11375 PyObject
* obj4
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11383 arg2
= (int) SWIG_AsInt(obj1
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11385 arg3
= (int) SWIG_AsInt(obj2
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11387 arg4
= (int) SWIG_AsInt(obj3
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11389 arg5
= (int) SWIG_AsInt(obj4
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 Py_INCREF(Py_None
); resultobj
= Py_None
;
11405 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
;
11407 wxDC
*arg1
= (wxDC
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "rect", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11421 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 Py_INCREF(Py_None
); resultobj
= Py_None
;
11437 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11438 PyObject
*resultobj
;
11439 wxDC
*arg1
= (wxDC
*) 0 ;
11440 wxPoint
*arg2
= 0 ;
11444 PyObject
* obj0
= 0 ;
11445 PyObject
* obj1
= 0 ;
11446 PyObject
* obj2
= 0 ;
11447 char *kwnames
[] = {
11448 (char *) "self",(char *) "pt",(char *) "sz", NULL
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11456 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11460 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11469 Py_INCREF(Py_None
); resultobj
= Py_None
;
11476 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11477 PyObject
*resultobj
;
11478 wxDC
*arg1
= (wxDC
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 PyObject
* obj2
= 0 ;
11485 PyObject
* obj3
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11496 if (arg2
== NULL
) {
11497 PyErr_SetString(PyExc_TypeError
,"null reference");
11500 arg3
= (int) SWIG_AsInt(obj2
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11502 arg4
= (int) SWIG_AsInt(obj3
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 Py_INCREF(Py_None
); resultobj
= Py_None
;
11518 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxDC
*arg1
= (wxDC
*) 0 ;
11522 wxPoint
*arg3
= 0 ;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 PyObject
* obj2
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "self",(char *) "icon",(char *) "pt", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11537 if (arg2
== NULL
) {
11538 PyErr_SetString(PyExc_TypeError
,"null reference");
11543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 Py_INCREF(Py_None
); resultobj
= Py_None
;
11559 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxDC
*arg1
= (wxDC
*) 0 ;
11562 wxBitmap
*arg2
= 0 ;
11565 bool arg5
= (bool) False
;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 PyObject
* obj2
= 0 ;
11569 PyObject
* obj3
= 0 ;
11570 PyObject
* obj4
= 0 ;
11571 char *kwnames
[] = {
11572 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11581 if (arg2
== NULL
) {
11582 PyErr_SetString(PyExc_TypeError
,"null reference");
11585 arg3
= (int) SWIG_AsInt(obj2
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11587 arg4
= (int) SWIG_AsInt(obj3
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 arg5
= (bool) SWIG_AsBool(obj4
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 Py_INCREF(Py_None
); resultobj
= Py_None
;
11607 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
;
11609 wxDC
*arg1
= (wxDC
*) 0 ;
11610 wxBitmap
*arg2
= 0 ;
11611 wxPoint
*arg3
= 0 ;
11612 bool arg4
= (bool) False
;
11614 PyObject
* obj0
= 0 ;
11615 PyObject
* obj1
= 0 ;
11616 PyObject
* obj2
= 0 ;
11617 PyObject
* obj3
= 0 ;
11618 char *kwnames
[] = {
11619 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11628 if (arg2
== NULL
) {
11629 PyErr_SetString(PyExc_TypeError
,"null reference");
11634 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11637 arg4
= (bool) SWIG_AsBool(obj3
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 Py_INCREF(Py_None
); resultobj
= Py_None
;
11654 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxDC
*arg1
= (wxDC
*) 0 ;
11657 wxString
*arg2
= 0 ;
11660 bool temp2
= False
;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 PyObject
* obj2
= 0 ;
11664 PyObject
* obj3
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11673 arg2
= wxString_in_helper(obj1
);
11674 if (arg2
== NULL
) SWIG_fail
;
11677 arg3
= (int) SWIG_AsInt(obj2
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11679 arg4
= (int) SWIG_AsInt(obj3
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11703 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxDC
*arg1
= (wxDC
*) 0 ;
11706 wxString
*arg2
= 0 ;
11707 wxPoint
*arg3
= 0 ;
11708 bool temp2
= False
;
11710 PyObject
* obj0
= 0 ;
11711 PyObject
* obj1
= 0 ;
11712 PyObject
* obj2
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "self",(char *) "text",(char *) "pt", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11721 arg2
= wxString_in_helper(obj1
);
11722 if (arg2
== NULL
) SWIG_fail
;
11727 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 Py_INCREF(Py_None
); resultobj
= Py_None
;
11751 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxDC
*arg1
= (wxDC
*) 0 ;
11754 wxString
*arg2
= 0 ;
11758 bool temp2
= False
;
11759 PyObject
* obj0
= 0 ;
11760 PyObject
* obj1
= 0 ;
11761 PyObject
* obj2
= 0 ;
11762 PyObject
* obj3
= 0 ;
11763 PyObject
* obj4
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11772 arg2
= wxString_in_helper(obj1
);
11773 if (arg2
== NULL
) SWIG_fail
;
11776 arg3
= (int) SWIG_AsInt(obj2
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11778 arg4
= (int) SWIG_AsInt(obj3
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11780 arg5
= (double) SWIG_AsDouble(obj4
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 Py_INCREF(Py_None
); resultobj
= Py_None
;
11804 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11805 PyObject
*resultobj
;
11806 wxDC
*arg1
= (wxDC
*) 0 ;
11807 wxString
*arg2
= 0 ;
11808 wxPoint
*arg3
= 0 ;
11810 bool temp2
= False
;
11812 PyObject
* obj0
= 0 ;
11813 PyObject
* obj1
= 0 ;
11814 PyObject
* obj2
= 0 ;
11815 PyObject
* obj3
= 0 ;
11816 char *kwnames
[] = {
11817 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11824 arg2
= wxString_in_helper(obj1
);
11825 if (arg2
== NULL
) SWIG_fail
;
11830 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11832 arg4
= (double) SWIG_AsDouble(obj3
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 Py_INCREF(Py_None
); resultobj
= Py_None
;
11856 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxDC
*arg1
= (wxDC
*) 0 ;
11863 wxDC
*arg6
= (wxDC
*) 0 ;
11866 int arg9
= (int) wxCOPY
;
11867 bool arg10
= (bool) False
;
11868 int arg11
= (int) -1 ;
11869 int arg12
= (int) -1 ;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 PyObject
* obj3
= 0 ;
11875 PyObject
* obj4
= 0 ;
11876 PyObject
* obj5
= 0 ;
11877 PyObject
* obj6
= 0 ;
11878 PyObject
* obj7
= 0 ;
11879 PyObject
* obj8
= 0 ;
11880 PyObject
* obj9
= 0 ;
11881 PyObject
* obj10
= 0 ;
11882 PyObject
* obj11
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "xdest",(char *) "ydest",(char *) "width",(char *) "height",(char *) "source",(char *) "xsrc",(char *) "ysrc",(char *) "rop",(char *) "useMask",(char *) "xsrcMask",(char *) "ysrcMask", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 arg2
= (int) SWIG_AsInt(obj1
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11892 arg3
= (int) SWIG_AsInt(obj2
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11894 arg4
= (int) SWIG_AsInt(obj3
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11896 arg5
= (int) SWIG_AsInt(obj4
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11898 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11900 arg7
= (int) SWIG_AsInt(obj6
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11902 arg8
= (int) SWIG_AsInt(obj7
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 arg9
= (int) SWIG_AsInt(obj8
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11909 arg10
= (bool) SWIG_AsBool(obj9
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 arg11
= (int) SWIG_AsInt(obj10
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11917 arg12
= (int) SWIG_AsInt(obj11
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11936 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
;
11938 wxDC
*arg1
= (wxDC
*) 0 ;
11939 wxPoint
*arg2
= 0 ;
11941 wxDC
*arg4
= (wxDC
*) 0 ;
11942 wxPoint
*arg5
= 0 ;
11943 int arg6
= (int) wxCOPY
;
11944 bool arg7
= (bool) False
;
11945 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11946 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 PyObject
* obj2
= 0 ;
11955 PyObject
* obj3
= 0 ;
11956 PyObject
* obj4
= 0 ;
11957 PyObject
* obj5
= 0 ;
11958 PyObject
* obj6
= 0 ;
11959 PyObject
* obj7
= 0 ;
11960 char *kwnames
[] = {
11961 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11969 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11973 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11975 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11979 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11982 arg6
= (int) SWIG_AsInt(obj5
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11986 arg7
= (bool) SWIG_AsBool(obj6
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11992 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12011 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxDC
*arg1
= (wxDC
*) 0 ;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 PyObject
* obj2
= 0 ;
12021 PyObject
* obj3
= 0 ;
12022 PyObject
* obj4
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12030 arg2
= (int) SWIG_AsInt(obj1
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12032 arg3
= (int) SWIG_AsInt(obj2
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12034 arg4
= (int) SWIG_AsInt(obj3
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12036 arg5
= (int) SWIG_AsInt(obj4
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 Py_INCREF(Py_None
); resultobj
= Py_None
;
12052 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxDC
*arg1
= (wxDC
*) 0 ;
12055 wxPoint
*arg2
= 0 ;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 PyObject
* obj2
= 0 ;
12062 char *kwnames
[] = {
12063 (char *) "self",(char *) "pt",(char *) "sz", NULL
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12071 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12075 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 Py_INCREF(Py_None
); resultobj
= Py_None
;
12091 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxDC
*arg1
= (wxDC
*) 0 ;
12094 wxRegion
*arg2
= 0 ;
12095 PyObject
* obj0
= 0 ;
12096 PyObject
* obj1
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self",(char *) "region", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12107 if (arg2
== NULL
) {
12108 PyErr_SetString(PyExc_TypeError
,"null reference");
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 Py_INCREF(Py_None
); resultobj
= Py_None
;
12125 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxDC
*arg1
= (wxDC
*) 0 ;
12130 PyObject
* obj0
= 0 ;
12131 PyObject
* obj1
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self",(char *) "rect", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12141 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 Py_INCREF(Py_None
); resultobj
= Py_None
;
12157 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
;
12159 wxDC
*arg1
= (wxDC
*) 0 ;
12161 wxPoint
*arg3
= (wxPoint
*) 0 ;
12162 int arg4
= (int) 0 ;
12163 int arg5
= (int) 0 ;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 PyObject
* obj2
= 0 ;
12167 PyObject
* obj3
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12177 if (arg3
== NULL
) SWIG_fail
;
12180 arg4
= (int) SWIG_AsInt(obj2
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 arg5
= (int) SWIG_AsInt(obj3
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 Py_INCREF(Py_None
); resultobj
= Py_None
;
12196 if (arg3
) delete [] arg3
;
12201 if (arg3
) delete [] arg3
;
12207 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxDC
*arg1
= (wxDC
*) 0 ;
12211 wxPoint
*arg3
= (wxPoint
*) 0 ;
12212 int arg4
= (int) 0 ;
12213 int arg5
= (int) 0 ;
12214 int arg6
= (int) wxODDEVEN_RULE
;
12215 PyObject
* obj0
= 0 ;
12216 PyObject
* obj1
= 0 ;
12217 PyObject
* obj2
= 0 ;
12218 PyObject
* obj3
= 0 ;
12219 PyObject
* obj4
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12228 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12229 if (arg3
== NULL
) SWIG_fail
;
12232 arg4
= (int) SWIG_AsInt(obj2
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12236 arg5
= (int) SWIG_AsInt(obj3
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12240 arg6
= (int) SWIG_AsInt(obj4
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 Py_INCREF(Py_None
); resultobj
= Py_None
;
12252 if (arg3
) delete [] arg3
;
12257 if (arg3
) delete [] arg3
;
12263 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxDC
*arg1
= (wxDC
*) 0 ;
12266 wxString
*arg2
= 0 ;
12268 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12269 int arg5
= (int) -1 ;
12270 bool temp2
= False
;
12272 PyObject
* obj0
= 0 ;
12273 PyObject
* obj1
= 0 ;
12274 PyObject
* obj2
= 0 ;
12275 PyObject
* obj3
= 0 ;
12276 PyObject
* obj4
= 0 ;
12277 char *kwnames
[] = {
12278 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12285 arg2
= wxString_in_helper(obj1
);
12286 if (arg2
== NULL
) SWIG_fail
;
12291 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12294 arg4
= (int) SWIG_AsInt(obj3
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12298 arg5
= (int) SWIG_AsInt(obj4
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 Py_INCREF(Py_None
); resultobj
= Py_None
;
12323 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxDC
*arg1
= (wxDC
*) 0 ;
12326 wxString
*arg2
= 0 ;
12327 wxBitmap
*arg3
= 0 ;
12329 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12330 int arg6
= (int) -1 ;
12332 bool temp2
= False
;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj1
= 0 ;
12336 PyObject
* obj2
= 0 ;
12337 PyObject
* obj3
= 0 ;
12338 PyObject
* obj4
= 0 ;
12339 PyObject
* obj5
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12348 arg2
= wxString_in_helper(obj1
);
12349 if (arg2
== NULL
) SWIG_fail
;
12352 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12355 if (arg3
== NULL
) {
12356 PyErr_SetString(PyExc_TypeError
,"null reference");
12361 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12364 arg5
= (int) SWIG_AsInt(obj4
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12368 arg6
= (int) SWIG_AsInt(obj5
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12379 wxRect
* resultptr
;
12380 resultptr
= new wxRect((wxRect
&) result
);
12381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12397 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxDC
*arg1
= (wxDC
*) 0 ;
12401 wxPoint
*arg3
= (wxPoint
*) 0 ;
12402 PyObject
* obj0
= 0 ;
12403 PyObject
* obj1
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self",(char *) "points", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12412 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12413 if (arg3
== NULL
) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 (arg1
)->DrawSpline(arg2
,arg3
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 Py_INCREF(Py_None
); resultobj
= Py_None
;
12424 if (arg3
) delete [] arg3
;
12429 if (arg3
) delete [] arg3
;
12435 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxDC
*arg1
= (wxDC
*) 0 ;
12438 PyObject
* obj0
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxDC
*arg1
= (wxDC
*) 0 ;
12463 wxString
*arg2
= 0 ;
12465 bool temp2
= False
;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self",(char *) "message", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12476 arg2
= wxString_in_helper(obj1
);
12477 if (arg2
== NULL
) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12504 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxDC
*arg1
= (wxDC
*) 0 ;
12507 PyObject
* obj0
= 0 ;
12508 char *kwnames
[] = {
12509 (char *) "self", NULL
12512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 Py_INCREF(Py_None
); resultobj
= Py_None
;
12529 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
;
12531 wxDC
*arg1
= (wxDC
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 (arg1
)->StartPage();
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 Py_INCREF(Py_None
); resultobj
= Py_None
;
12554 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxDC
*arg1
= (wxDC
*) 0 ;
12557 PyObject
* obj0
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 Py_INCREF(Py_None
); resultobj
= Py_None
;
12579 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxDC
*arg1
= (wxDC
*) 0 ;
12583 PyObject
* obj0
= 0 ;
12584 PyObject
* obj1
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self",(char *) "font", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12595 if (arg2
== NULL
) {
12596 PyErr_SetString(PyExc_TypeError
,"null reference");
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 (arg1
)->SetFont((wxFont
const &)*arg2
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 Py_INCREF(Py_None
); resultobj
= Py_None
;
12613 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxDC
*arg1
= (wxDC
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 PyObject
* obj1
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self",(char *) "pen", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12629 if (arg2
== NULL
) {
12630 PyErr_SetString(PyExc_TypeError
,"null reference");
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->SetPen((wxPen
const &)*arg2
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 Py_INCREF(Py_None
); resultobj
= Py_None
;
12647 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxDC
*arg1
= (wxDC
*) 0 ;
12650 wxBrush
*arg2
= 0 ;
12651 PyObject
* obj0
= 0 ;
12652 PyObject
* obj1
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "self",(char *) "brush", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12663 if (arg2
== NULL
) {
12664 PyErr_SetString(PyExc_TypeError
,"null reference");
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 Py_INCREF(Py_None
); resultobj
= Py_None
;
12681 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxDC
*arg1
= (wxDC
*) 0 ;
12684 wxBrush
*arg2
= 0 ;
12685 PyObject
* obj0
= 0 ;
12686 PyObject
* obj1
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self",(char *) "brush", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12697 if (arg2
== NULL
) {
12698 PyErr_SetString(PyExc_TypeError
,"null reference");
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 Py_INCREF(Py_None
); resultobj
= Py_None
;
12715 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxDC
*arg1
= (wxDC
*) 0 ;
12719 PyObject
* obj0
= 0 ;
12720 PyObject
* obj1
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "self",(char *) "mode", NULL
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12728 arg2
= (int) SWIG_AsInt(obj1
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 (arg1
)->SetBackgroundMode(arg2
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 Py_INCREF(Py_None
); resultobj
= Py_None
;
12744 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxDC
*arg1
= (wxDC
*) 0 ;
12747 wxPalette
*arg2
= 0 ;
12748 PyObject
* obj0
= 0 ;
12749 PyObject
* obj1
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self",(char *) "palette", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12760 if (arg2
== NULL
) {
12761 PyErr_SetString(PyExc_TypeError
,"null reference");
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 Py_INCREF(Py_None
); resultobj
= Py_None
;
12778 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12780 wxDC
*arg1
= (wxDC
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "self", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 (arg1
)->DestroyClippingRegion();
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 Py_INCREF(Py_None
); resultobj
= Py_None
;
12803 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxDC
*arg1
= (wxDC
*) 0 ;
12806 int *arg2
= (int *) 0 ;
12807 int *arg3
= (int *) 0 ;
12808 int *arg4
= (int *) 0 ;
12809 int *arg5
= (int *) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 Py_INCREF(Py_None
); resultobj
= Py_None
;
12835 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12836 resultobj
= t_output_helper(resultobj
,o
);
12839 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12840 resultobj
= t_output_helper(resultobj
,o
);
12843 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12844 resultobj
= t_output_helper(resultobj
,o
);
12847 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12848 resultobj
= t_output_helper(resultobj
,o
);
12856 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxDC
*arg1
= (wxDC
*) 0 ;
12860 PyObject
* obj0
= 0 ;
12861 char *kwnames
[] = {
12862 (char *) "self", NULL
12865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= wxDC_GetClippingRect(arg1
);
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12876 wxRect
* resultptr
;
12877 resultptr
= new wxRect((wxRect
&) result
);
12878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12886 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxDC
*arg1
= (wxDC
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 char *kwnames
[] = {
12892 (char *) "self", NULL
12895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= SWIG_FromInt((int)result
);
12912 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxDC
*arg1
= (wxDC
*) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= SWIG_FromInt((int)result
);
12938 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxDC
*arg1
= (wxDC
*) 0 ;
12941 wxString
*arg2
= 0 ;
12942 int *arg3
= (int *) 0 ;
12943 int *arg4
= (int *) 0 ;
12944 bool temp2
= False
;
12947 PyObject
* obj0
= 0 ;
12948 PyObject
* obj1
= 0 ;
12949 char *kwnames
[] = {
12950 (char *) "self",(char *) "string", NULL
12955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12959 arg2
= wxString_in_helper(obj1
);
12960 if (arg2
== NULL
) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 Py_INCREF(Py_None
); resultobj
= Py_None
;
12972 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12973 resultobj
= t_output_helper(resultobj
,o
);
12976 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12977 resultobj
= t_output_helper(resultobj
,o
);
12993 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
;
12995 wxDC
*arg1
= (wxDC
*) 0 ;
12996 wxString
*arg2
= 0 ;
12997 int *arg3
= (int *) 0 ;
12998 int *arg4
= (int *) 0 ;
12999 int *arg5
= (int *) 0 ;
13000 int *arg6
= (int *) 0 ;
13001 wxFont
*arg7
= (wxFont
*) NULL
;
13002 bool temp2
= False
;
13007 PyObject
* obj0
= 0 ;
13008 PyObject
* obj1
= 0 ;
13009 PyObject
* obj2
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "self",(char *) "string",(char *) "font", NULL
13018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13022 arg2
= wxString_in_helper(obj1
);
13023 if (arg2
== NULL
) SWIG_fail
;
13027 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 Py_INCREF(Py_None
); resultobj
= Py_None
;
13039 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13040 resultobj
= t_output_helper(resultobj
,o
);
13043 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13044 resultobj
= t_output_helper(resultobj
,o
);
13047 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13048 resultobj
= t_output_helper(resultobj
,o
);
13051 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13052 resultobj
= t_output_helper(resultobj
,o
);
13068 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxDC
*arg1
= (wxDC
*) 0 ;
13071 wxString
*arg2
= 0 ;
13072 int *arg3
= (int *) 0 ;
13073 int *arg4
= (int *) 0 ;
13074 int *arg5
= (int *) 0 ;
13075 wxFont
*arg6
= (wxFont
*) NULL
;
13076 bool temp2
= False
;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 PyObject
* obj2
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self",(char *) "text",(char *) "font", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13094 arg2
= wxString_in_helper(obj1
);
13095 if (arg2
== NULL
) SWIG_fail
;
13099 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 Py_INCREF(Py_None
); resultobj
= Py_None
;
13111 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13112 resultobj
= t_output_helper(resultobj
,o
);
13115 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13116 resultobj
= t_output_helper(resultobj
,o
);
13119 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13120 resultobj
= t_output_helper(resultobj
,o
);
13136 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxDC
*arg1
= (wxDC
*) 0 ;
13139 wxString
*arg2
= 0 ;
13141 bool temp2
= False
;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self",(char *) "text", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13152 arg2
= wxString_in_helper(obj1
);
13153 if (arg2
== NULL
) SWIG_fail
;
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= PyList_New(0);
13166 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13167 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13168 PyList_Append(resultobj
, val
);
13186 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxDC
*arg1
= (wxDC
*) 0 ;
13190 PyObject
* obj0
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 result
= (arg1
)->GetSize();
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13206 wxSize
* resultptr
;
13207 resultptr
= new wxSize((wxSize
&) result
);
13208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13216 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxDC
*arg1
= (wxDC
*) 0 ;
13219 int *arg2
= (int *) 0 ;
13220 int *arg3
= (int *) 0 ;
13223 PyObject
* obj0
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 (arg1
)->GetSize(arg2
,arg3
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 Py_INCREF(Py_None
); resultobj
= Py_None
;
13242 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13243 resultobj
= t_output_helper(resultobj
,o
);
13246 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13247 resultobj
= t_output_helper(resultobj
,o
);
13255 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxDC
*arg1
= (wxDC
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13275 wxSize
* resultptr
;
13276 resultptr
= new wxSize((wxSize
&) result
);
13277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13285 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
;
13287 wxDC
*arg1
= (wxDC
*) 0 ;
13288 int *arg2
= (int *) 0 ;
13289 int *arg3
= (int *) 0 ;
13292 PyObject
* obj0
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 Py_INCREF(Py_None
); resultobj
= Py_None
;
13311 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13312 resultobj
= t_output_helper(resultobj
,o
);
13315 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13316 resultobj
= t_output_helper(resultobj
,o
);
13324 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
;
13326 wxDC
*arg1
= (wxDC
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 PyObject
* obj1
= 0 ;
13331 char *kwnames
[] = {
13332 (char *) "self",(char *) "x", NULL
13335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13338 arg2
= (int) SWIG_AsInt(obj1
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_FromInt((int)result
);
13354 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxDC
*arg1
= (wxDC
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self",(char *) "y", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13368 arg2
= (int) SWIG_AsInt(obj1
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= SWIG_FromInt((int)result
);
13384 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxDC
*arg1
= (wxDC
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "self",(char *) "x", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13398 arg2
= (int) SWIG_AsInt(obj1
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= SWIG_FromInt((int)result
);
13414 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxDC
*arg1
= (wxDC
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self",(char *) "y", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13428 arg2
= (int) SWIG_AsInt(obj1
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_FromInt((int)result
);
13444 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxDC
*arg1
= (wxDC
*) 0 ;
13449 PyObject
* obj0
= 0 ;
13450 PyObject
* obj1
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self",(char *) "x", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13458 arg2
= (int) SWIG_AsInt(obj1
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_FromInt((int)result
);
13474 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxDC
*arg1
= (wxDC
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 PyObject
* obj1
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self",(char *) "y", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 arg2
= (int) SWIG_AsInt(obj1
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= SWIG_FromInt((int)result
);
13504 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxDC
*arg1
= (wxDC
*) 0 ;
13509 PyObject
* obj0
= 0 ;
13510 PyObject
* obj1
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self",(char *) "x", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13518 arg2
= (int) SWIG_AsInt(obj1
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13527 resultobj
= SWIG_FromInt((int)result
);
13534 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxDC
*arg1
= (wxDC
*) 0 ;
13539 PyObject
* obj0
= 0 ;
13540 PyObject
* obj1
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self",(char *) "y", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13548 arg2
= (int) SWIG_AsInt(obj1
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_FromInt((int)result
);
13564 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxDC
*arg1
= (wxDC
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13592 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxDC
*arg1
= (wxDC
*) 0 ;
13596 PyObject
* obj0
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13620 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxDC
*arg1
= (wxDC
*) 0 ;
13624 PyObject
* obj0
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= SWIG_FromInt((int)result
);
13646 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxDC
*arg1
= (wxDC
*) 0 ;
13650 PyObject
* obj0
= 0 ;
13651 char *kwnames
[] = {
13652 (char *) "self", NULL
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 result
= ((wxDC
const *)arg1
)->GetPPI();
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13666 wxSize
* resultptr
;
13667 resultptr
= new wxSize((wxSize
&) result
);
13668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13676 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxDC
*arg1
= (wxDC
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "self", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (bool)((wxDC
const *)arg1
)->Ok();
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13704 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxDC
*arg1
= (wxDC
*) 0 ;
13708 PyObject
* obj0
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= SWIG_FromInt((int)result
);
13730 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxDC
*arg1
= (wxDC
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13746 result
= (wxBrush
*) &_result_ref
;
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13753 wxBrush
* resultptr
= new wxBrush(*result
);
13754 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13762 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxDC
*arg1
= (wxDC
*) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13778 result
= (wxBrush
*) &_result_ref
;
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13785 wxBrush
* resultptr
= new wxBrush(*result
);
13786 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13794 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
;
13796 wxDC
*arg1
= (wxDC
*) 0 ;
13798 PyObject
* obj0
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13810 result
= (wxFont
*) &_result_ref
;
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13817 wxFont
* resultptr
= new wxFont(*result
);
13818 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13826 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxDC
*arg1
= (wxDC
*) 0 ;
13830 PyObject
* obj0
= 0 ;
13831 char *kwnames
[] = {
13832 (char *) "self", NULL
13835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13842 result
= (wxPen
*) &_result_ref
;
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13849 wxPen
* resultptr
= new wxPen(*result
);
13850 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13858 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxDC
*arg1
= (wxDC
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13874 result
= (wxColour
*) &_result_ref
;
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13887 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
;
13889 wxDC
*arg1
= (wxDC
*) 0 ;
13891 PyObject
* obj0
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13903 result
= (wxColour
*) &_result_ref
;
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13916 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxDC
*arg1
= (wxDC
*) 0 ;
13919 wxColour
*arg2
= 0 ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 char *kwnames
[] = {
13924 (char *) "self",(char *) "colour", NULL
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13932 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 Py_INCREF(Py_None
); resultobj
= Py_None
;
13948 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
;
13950 wxDC
*arg1
= (wxDC
*) 0 ;
13951 wxColour
*arg2
= 0 ;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj1
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self",(char *) "colour", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13964 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 Py_INCREF(Py_None
); resultobj
= Py_None
;
13980 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13981 PyObject
*resultobj
;
13982 wxDC
*arg1
= (wxDC
*) 0 ;
13984 PyObject
* obj0
= 0 ;
13985 char *kwnames
[] = {
13986 (char *) "self", NULL
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_FromInt((int)result
);
14006 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 wxDC
*arg1
= (wxDC
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "mode", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14019 arg2
= (int) SWIG_AsInt(obj1
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 (arg1
)->SetMapMode(arg2
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxDC
*arg1
= (wxDC
*) 0 ;
14038 double *arg2
= (double *) 0 ;
14039 double *arg3
= (double *) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 char *kwnames
[] = {
14044 (char *) "self", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 Py_INCREF(Py_None
); resultobj
= Py_None
;
14061 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14062 resultobj
= t_output_helper(resultobj
,o
);
14065 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14066 resultobj
= t_output_helper(resultobj
,o
);
14074 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxDC
*arg1
= (wxDC
*) 0 ;
14079 PyObject
* obj0
= 0 ;
14080 PyObject
* obj1
= 0 ;
14081 PyObject
* obj2
= 0 ;
14082 char *kwnames
[] = {
14083 (char *) "self",(char *) "x",(char *) "y", NULL
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14089 arg2
= (double) SWIG_AsDouble(obj1
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14091 arg3
= (double) SWIG_AsDouble(obj2
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 (arg1
)->SetUserScale(arg2
,arg3
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 Py_INCREF(Py_None
); resultobj
= Py_None
;
14107 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxDC
*arg1
= (wxDC
*) 0 ;
14110 double *arg2
= (double *) 0 ;
14111 double *arg3
= (double *) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 (arg1
)->GetLogicalScale(arg2
,arg3
);
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 Py_INCREF(Py_None
); resultobj
= Py_None
;
14133 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14134 resultobj
= t_output_helper(resultobj
,o
);
14137 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14138 resultobj
= t_output_helper(resultobj
,o
);
14146 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxDC
*arg1
= (wxDC
*) 0 ;
14151 PyObject
* obj0
= 0 ;
14152 PyObject
* obj1
= 0 ;
14153 PyObject
* obj2
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self",(char *) "x",(char *) "y", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14161 arg2
= (double) SWIG_AsDouble(obj1
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14163 arg3
= (double) SWIG_AsDouble(obj2
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 (arg1
)->SetLogicalScale(arg2
,arg3
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 Py_INCREF(Py_None
); resultobj
= Py_None
;
14179 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxDC
*arg1
= (wxDC
*) 0 ;
14183 PyObject
* obj0
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14199 wxPoint
* resultptr
;
14200 resultptr
= new wxPoint((wxPoint
&) result
);
14201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14209 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxDC
*arg1
= (wxDC
*) 0 ;
14212 int *arg2
= (int *) 0 ;
14213 int *arg3
= (int *) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 char *kwnames
[] = {
14218 (char *) "self", NULL
14223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14233 Py_INCREF(Py_None
); resultobj
= Py_None
;
14235 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14236 resultobj
= t_output_helper(resultobj
,o
);
14239 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14240 resultobj
= t_output_helper(resultobj
,o
);
14248 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxDC
*arg1
= (wxDC
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 PyObject
* obj1
= 0 ;
14255 PyObject
* obj2
= 0 ;
14256 char *kwnames
[] = {
14257 (char *) "self",(char *) "x",(char *) "y", NULL
14260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14263 arg2
= (int) SWIG_AsInt(obj1
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14265 arg3
= (int) SWIG_AsInt(obj2
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 Py_INCREF(Py_None
); resultobj
= Py_None
;
14281 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxDC
*arg1
= (wxDC
*) 0 ;
14284 wxPoint
*arg2
= 0 ;
14286 PyObject
* obj0
= 0 ;
14287 PyObject
* obj1
= 0 ;
14288 char *kwnames
[] = {
14289 (char *) "self",(char *) "point", NULL
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 Py_INCREF(Py_None
); resultobj
= Py_None
;
14313 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14314 PyObject
*resultobj
;
14315 wxDC
*arg1
= (wxDC
*) 0 ;
14317 PyObject
* obj0
= 0 ;
14318 char *kwnames
[] = {
14319 (char *) "self", NULL
14322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14329 wxPyEndAllowThreads(__tstate
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14333 wxPoint
* resultptr
;
14334 resultptr
= new wxPoint((wxPoint
&) result
);
14335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14343 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
;
14345 wxDC
*arg1
= (wxDC
*) 0 ;
14346 int *arg2
= (int *) 0 ;
14347 int *arg3
= (int *) 0 ;
14350 PyObject
* obj0
= 0 ;
14351 char *kwnames
[] = {
14352 (char *) "self", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 Py_INCREF(Py_None
); resultobj
= Py_None
;
14369 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14370 resultobj
= t_output_helper(resultobj
,o
);
14373 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14374 resultobj
= t_output_helper(resultobj
,o
);
14382 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxDC
*arg1
= (wxDC
*) 0 ;
14387 PyObject
* obj0
= 0 ;
14388 PyObject
* obj1
= 0 ;
14389 PyObject
* obj2
= 0 ;
14390 char *kwnames
[] = {
14391 (char *) "self",(char *) "x",(char *) "y", NULL
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14397 arg2
= (int) SWIG_AsInt(obj1
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14399 arg3
= (int) SWIG_AsInt(obj2
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 Py_INCREF(Py_None
); resultobj
= Py_None
;
14415 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 wxDC
*arg1
= (wxDC
*) 0 ;
14418 wxPoint
*arg2
= 0 ;
14420 PyObject
* obj0
= 0 ;
14421 PyObject
* obj1
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self",(char *) "point", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14431 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 Py_INCREF(Py_None
); resultobj
= Py_None
;
14447 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxDC
*arg1
= (wxDC
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 PyObject
* obj2
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14462 arg2
= (bool) SWIG_AsBool(obj1
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14464 arg3
= (bool) SWIG_AsBool(obj2
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14468 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14473 Py_INCREF(Py_None
); resultobj
= Py_None
;
14480 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14481 PyObject
*resultobj
;
14482 wxDC
*arg1
= (wxDC
*) 0 ;
14484 PyObject
* obj0
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "self", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= SWIG_FromInt((int)result
);
14506 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxDC
*arg1
= (wxDC
*) 0 ;
14510 PyObject
* obj0
= 0 ;
14511 PyObject
* obj1
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self",(char *) "function", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14519 arg2
= (int) SWIG_AsInt(obj1
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 (arg1
)->SetLogicalFunction(arg2
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 Py_INCREF(Py_None
); resultobj
= Py_None
;
14535 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxDC
*arg1
= (wxDC
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 char *kwnames
[] = {
14542 (char *) "self",(char *) "opt", NULL
14545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14548 arg2
= (bool) SWIG_AsBool(obj1
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 (arg1
)->SetOptimization(arg2
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 Py_INCREF(Py_None
); resultobj
= Py_None
;
14564 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxDC
*arg1
= (wxDC
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (bool)(arg1
)->GetOptimization();
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14592 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14593 PyObject
*resultobj
;
14594 wxDC
*arg1
= (wxDC
*) 0 ;
14597 PyObject
* obj0
= 0 ;
14598 PyObject
* obj1
= 0 ;
14599 PyObject
* obj2
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "self",(char *) "x",(char *) "y", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14607 arg2
= (int) SWIG_AsInt(obj1
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14609 arg3
= (int) SWIG_AsInt(obj2
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 Py_INCREF(Py_None
); resultobj
= Py_None
;
14625 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxDC
*arg1
= (wxDC
*) 0 ;
14628 wxPoint
*arg2
= 0 ;
14630 PyObject
* obj0
= 0 ;
14631 PyObject
* obj1
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self",(char *) "point", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 Py_INCREF(Py_None
); resultobj
= Py_None
;
14657 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
;
14659 wxDC
*arg1
= (wxDC
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "self", NULL
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 (arg1
)->ResetBoundingBox();
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14675 Py_INCREF(Py_None
); resultobj
= Py_None
;
14682 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxDC
*arg1
= (wxDC
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "self", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= (int)((wxDC
const *)arg1
)->MinX();
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14701 resultobj
= SWIG_FromInt((int)result
);
14708 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
;
14710 wxDC
*arg1
= (wxDC
*) 0 ;
14712 PyObject
* obj0
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 result
= (int)((wxDC
const *)arg1
)->MaxX();
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= SWIG_FromInt((int)result
);
14734 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
;
14736 wxDC
*arg1
= (wxDC
*) 0 ;
14738 PyObject
* obj0
= 0 ;
14739 char *kwnames
[] = {
14740 (char *) "self", NULL
14743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 result
= (int)((wxDC
const *)arg1
)->MinY();
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= SWIG_FromInt((int)result
);
14760 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxDC
*arg1
= (wxDC
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (int)((wxDC
const *)arg1
)->MaxY();
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= SWIG_FromInt((int)result
);
14786 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxDC
*arg1
= (wxDC
*) 0 ;
14789 int *arg2
= (int *) 0 ;
14790 int *arg3
= (int *) 0 ;
14791 int *arg4
= (int *) 0 ;
14792 int *arg5
= (int *) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14813 wxPyEndAllowThreads(__tstate
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14816 Py_INCREF(Py_None
); resultobj
= Py_None
;
14818 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14819 resultobj
= t_output_helper(resultobj
,o
);
14822 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14823 resultobj
= t_output_helper(resultobj
,o
);
14826 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14827 resultobj
= t_output_helper(resultobj
,o
);
14830 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14831 resultobj
= t_output_helper(resultobj
,o
);
14839 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxDC
*arg1
= (wxDC
*) 0 ;
14842 PyObject
*arg2
= (PyObject
*) 0 ;
14843 PyObject
*arg3
= (PyObject
*) 0 ;
14844 PyObject
*arg4
= (PyObject
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 PyObject
* obj1
= 0 ;
14848 PyObject
* obj2
= 0 ;
14849 PyObject
* obj3
= 0 ;
14850 char *kwnames
[] = {
14851 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14864 wxPyEndAllowThreads(__tstate
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= result
;
14874 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxDC
*arg1
= (wxDC
*) 0 ;
14877 PyObject
*arg2
= (PyObject
*) 0 ;
14878 PyObject
*arg3
= (PyObject
*) 0 ;
14879 PyObject
*arg4
= (PyObject
*) 0 ;
14881 PyObject
* obj0
= 0 ;
14882 PyObject
* obj1
= 0 ;
14883 PyObject
* obj2
= 0 ;
14884 PyObject
* obj3
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= result
;
14909 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxDC
*arg1
= (wxDC
*) 0 ;
14912 PyObject
*arg2
= (PyObject
*) 0 ;
14913 PyObject
*arg3
= (PyObject
*) 0 ;
14914 PyObject
*arg4
= (PyObject
*) 0 ;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 PyObject
* obj2
= 0 ;
14919 PyObject
* obj3
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= result
;
14944 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 wxDC
*arg1
= (wxDC
*) 0 ;
14947 PyObject
*arg2
= (PyObject
*) 0 ;
14948 PyObject
*arg3
= (PyObject
*) 0 ;
14949 PyObject
*arg4
= (PyObject
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 PyObject
* obj2
= 0 ;
14954 PyObject
* obj3
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 resultobj
= result
;
14979 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
;
14981 wxDC
*arg1
= (wxDC
*) 0 ;
14982 PyObject
*arg2
= (PyObject
*) 0 ;
14983 PyObject
*arg3
= (PyObject
*) 0 ;
14984 PyObject
*arg4
= (PyObject
*) 0 ;
14986 PyObject
* obj0
= 0 ;
14987 PyObject
* obj1
= 0 ;
14988 PyObject
* obj2
= 0 ;
14989 PyObject
* obj3
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= result
;
15014 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
;
15016 wxDC
*arg1
= (wxDC
*) 0 ;
15017 PyObject
*arg2
= (PyObject
*) 0 ;
15018 PyObject
*arg3
= (PyObject
*) 0 ;
15019 PyObject
*arg4
= (PyObject
*) 0 ;
15020 PyObject
*arg5
= (PyObject
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 PyObject
* obj2
= 0 ;
15025 PyObject
* obj3
= 0 ;
15026 PyObject
* obj4
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= result
;
15052 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15055 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15057 return Py_BuildValue((char *)"");
15059 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxMemoryDC
*result
;
15062 char *kwnames
[] = {
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15068 if (!wxPyCheckForApp()) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (wxMemoryDC
*)new wxMemoryDC();
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15082 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15083 PyObject
*resultobj
;
15084 wxDC
*arg1
= (wxDC
*) 0 ;
15085 wxMemoryDC
*result
;
15086 PyObject
* obj0
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "oldDC", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15095 if (!wxPyCheckForApp()) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15109 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15112 wxBitmap
*arg2
= 0 ;
15113 PyObject
* obj0
= 0 ;
15114 PyObject
* obj1
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self",(char *) "bitmap", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15125 if (arg2
== NULL
) {
15126 PyErr_SetString(PyExc_TypeError
,"null reference");
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 Py_INCREF(Py_None
); resultobj
= Py_None
;
15143 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15146 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15148 return Py_BuildValue((char *)"");
15150 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15151 PyObject
*resultobj
;
15152 wxDC
*arg1
= (wxDC
*) 0 ;
15153 wxBitmap
*arg2
= 0 ;
15154 wxBufferedDC
*result
;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15158 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15162 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15164 if (arg2
== NULL
) {
15165 PyErr_SetString(PyExc_TypeError
,"null reference");
15169 if (!wxPyCheckForApp()) SWIG_fail
;
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15183 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15184 PyObject
*resultobj
;
15185 wxDC
*arg1
= (wxDC
*) 0 ;
15187 wxBufferedDC
*result
;
15189 PyObject
* obj0
= 0 ;
15190 PyObject
* obj1
= 0 ;
15192 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15197 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15200 if (!wxPyCheckForApp()) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15214 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15219 argc
= PyObject_Length(args
);
15220 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15221 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15227 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15237 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15245 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15253 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15262 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15265 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15270 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15275 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15276 PyObject
*resultobj
;
15277 wxDC
*arg1
= (wxDC
*) 0 ;
15279 wxBufferedDC
*result
;
15281 PyObject
* obj0
= 0 ;
15282 PyObject
* obj1
= 0 ;
15284 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15289 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15292 if (!wxPyCheckForApp()) SWIG_fail
;
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15306 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
;
15308 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15309 PyObject
* obj0
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 Py_INCREF(Py_None
); resultobj
= Py_None
;
15331 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 Py_INCREF(Py_None
); resultobj
= Py_None
;
15356 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15359 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15361 return Py_BuildValue((char *)"");
15363 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxWindow
*arg1
= (wxWindow
*) 0 ;
15366 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15367 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15368 wxBufferedPaintDC
*result
;
15369 PyObject
* obj0
= 0 ;
15370 PyObject
* obj1
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "window",(char *) "buffer", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15382 if (arg2
== NULL
) {
15383 PyErr_SetString(PyExc_TypeError
,"null reference");
15388 if (!wxPyCheckForApp()) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15402 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15405 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15407 return Py_BuildValue((char *)"");
15409 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxScreenDC
*result
;
15412 char *kwnames
[] = {
15416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15418 if (!wxPyCheckForApp()) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (wxScreenDC
*)new wxScreenDC();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15432 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15435 wxWindow
*arg2
= (wxWindow
*) 0 ;
15437 PyObject
* obj0
= 0 ;
15438 PyObject
* obj1
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self",(char *) "window", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15464 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15466 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15467 wxRect
*arg2
= (wxRect
*) NULL
;
15469 PyObject
* obj0
= 0 ;
15470 PyObject
* obj1
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self",(char *) "rect", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15498 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= (bool)(arg1
)->EndDrawingOnTop();
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15526 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15529 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15531 return Py_BuildValue((char *)"");
15533 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxWindow
*arg1
= (wxWindow
*) 0 ;
15536 wxClientDC
*result
;
15537 PyObject
* obj0
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "win", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15546 if (!wxPyCheckForApp()) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (wxClientDC
*)new wxClientDC(arg1
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15560 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15563 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15565 return Py_BuildValue((char *)"");
15567 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxWindow
*arg1
= (wxWindow
*) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "win", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15580 if (!wxPyCheckForApp()) SWIG_fail
;
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15594 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15597 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15599 return Py_BuildValue((char *)"");
15601 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxWindow
*arg1
= (wxWindow
*) 0 ;
15604 wxWindowDC
*result
;
15605 PyObject
* obj0
= 0 ;
15606 char *kwnames
[] = {
15607 (char *) "win", NULL
15610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15614 if (!wxPyCheckForApp()) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15628 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15631 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15633 return Py_BuildValue((char *)"");
15635 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15639 wxMirrorDC
*result
;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 char *kwnames
[] = {
15643 (char *) "dc",(char *) "mirror", NULL
15646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15650 if (arg1
== NULL
) {
15651 PyErr_SetString(PyExc_TypeError
,"null reference");
15654 arg2
= (bool) SWIG_AsBool(obj1
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 if (!wxPyCheckForApp()) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15671 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15674 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15676 return Py_BuildValue((char *)"");
15678 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxPrintData
*arg1
= 0 ;
15681 wxPostScriptDC
*result
;
15682 PyObject
* obj0
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "printData", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15691 if (arg1
== NULL
) {
15692 PyErr_SetString(PyExc_TypeError
,"null reference");
15696 if (!wxPyCheckForApp()) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15710 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15713 wxPrintData
*result
;
15714 PyObject
* obj0
= 0 ;
15715 char *kwnames
[] = {
15716 (char *) "self", NULL
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15726 result
= (wxPrintData
*) &_result_ref
;
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15739 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
;
15741 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15742 wxPrintData
*arg2
= 0 ;
15743 PyObject
* obj0
= 0 ;
15744 PyObject
* obj1
= 0 ;
15745 char *kwnames
[] = {
15746 (char *) "self",(char *) "data", NULL
15749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15755 if (arg2
== NULL
) {
15756 PyErr_SetString(PyExc_TypeError
,"null reference");
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 Py_INCREF(Py_None
); resultobj
= Py_None
;
15773 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15776 PyObject
* obj0
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "ppi", NULL
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15782 arg1
= (int) SWIG_AsInt(obj0
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 wxPostScriptDC::SetResolution(arg1
);
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 Py_INCREF(Py_None
); resultobj
= Py_None
;
15798 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15801 char *kwnames
[] = {
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15808 result
= (int)wxPostScriptDC::GetResolution();
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= SWIG_FromInt((int)result
);
15820 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15823 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15825 return Py_BuildValue((char *)"");
15827 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15828 PyObject
*resultobj
;
15829 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15830 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15831 wxMetaFile
*result
;
15832 bool temp1
= False
;
15833 PyObject
* obj0
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "filename", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15841 arg1
= wxString_in_helper(obj0
);
15842 if (arg1
== NULL
) SWIG_fail
;
15847 if (!wxPyCheckForApp()) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15869 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15872 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15874 return Py_BuildValue((char *)"");
15876 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15879 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15880 int arg2
= (int) 0 ;
15881 int arg3
= (int) 0 ;
15882 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15883 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15884 wxMetaFileDC
*result
;
15885 bool temp1
= False
;
15886 bool temp4
= False
;
15887 PyObject
* obj0
= 0 ;
15888 PyObject
* obj1
= 0 ;
15889 PyObject
* obj2
= 0 ;
15890 PyObject
* obj3
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15898 arg1
= wxString_in_helper(obj0
);
15899 if (arg1
== NULL
) SWIG_fail
;
15904 arg2
= (int) SWIG_AsInt(obj1
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15908 arg3
= (int) SWIG_AsInt(obj2
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15913 arg4
= wxString_in_helper(obj3
);
15914 if (arg4
== NULL
) SWIG_fail
;
15919 if (!wxPyCheckForApp()) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15949 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15952 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15954 return Py_BuildValue((char *)"");
15956 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxPrintData
*arg1
= 0 ;
15959 wxPrinterDC
*result
;
15960 PyObject
* obj0
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "printData", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15969 if (arg1
== NULL
) {
15970 PyErr_SetString(PyExc_TypeError
,"null reference");
15974 if (!wxPyCheckForApp()) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15988 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15991 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15993 return Py_BuildValue((char *)"");
15995 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15999 int arg3
= (int) True
;
16000 int arg4
= (int) 1 ;
16001 wxImageList
*result
;
16002 PyObject
* obj0
= 0 ;
16003 PyObject
* obj1
= 0 ;
16004 PyObject
* obj2
= 0 ;
16005 PyObject
* obj3
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16011 arg1
= (int) SWIG_AsInt(obj0
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16013 arg2
= (int) SWIG_AsInt(obj1
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16016 arg3
= (int) SWIG_AsInt(obj2
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16020 arg4
= (int) SWIG_AsInt(obj3
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16024 if (!wxPyCheckForApp()) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= wxPyMake_wxObject(result
, 1);
16040 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxImageList
*arg1
= (wxImageList
*) 0 ;
16043 PyObject
* obj0
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16058 Py_INCREF(Py_None
); resultobj
= Py_None
;
16065 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
;
16067 wxImageList
*arg1
= (wxImageList
*) 0 ;
16068 wxBitmap
*arg2
= 0 ;
16069 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16070 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16072 PyObject
* obj0
= 0 ;
16073 PyObject
* obj1
= 0 ;
16074 PyObject
* obj2
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16085 if (arg2
== NULL
) {
16086 PyErr_SetString(PyExc_TypeError
,"null reference");
16090 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16093 if (arg3
== NULL
) {
16094 PyErr_SetString(PyExc_TypeError
,"null reference");
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= SWIG_FromInt((int)result
);
16112 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxImageList
*arg1
= (wxImageList
*) 0 ;
16115 wxBitmap
*arg2
= 0 ;
16116 wxColour
*arg3
= 0 ;
16119 PyObject
* obj0
= 0 ;
16120 PyObject
* obj1
= 0 ;
16121 PyObject
* obj2
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16132 if (arg2
== NULL
) {
16133 PyErr_SetString(PyExc_TypeError
,"null reference");
16138 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= SWIG_FromInt((int)result
);
16154 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
;
16156 wxImageList
*arg1
= (wxImageList
*) 0 ;
16159 PyObject
* obj0
= 0 ;
16160 PyObject
* obj1
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "self",(char *) "icon", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16171 if (arg2
== NULL
) {
16172 PyErr_SetString(PyExc_TypeError
,"null reference");
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16182 resultobj
= SWIG_FromInt((int)result
);
16189 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16190 PyObject
*resultobj
;
16191 wxImageList
*arg1
= (wxImageList
*) 0 ;
16193 wxBitmap
*arg3
= 0 ;
16195 PyObject
* obj0
= 0 ;
16196 PyObject
* obj1
= 0 ;
16197 PyObject
* obj2
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16205 arg2
= (int) SWIG_AsInt(obj1
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16207 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16210 if (arg3
== NULL
) {
16211 PyErr_SetString(PyExc_TypeError
,"null reference");
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16230 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxImageList
*arg1
= (wxImageList
*) 0 ;
16237 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16238 bool arg7
= (bool) (bool)False
;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 PyObject
* obj2
= 0 ;
16243 PyObject
* obj3
= 0 ;
16244 PyObject
* obj4
= 0 ;
16245 PyObject
* obj5
= 0 ;
16246 PyObject
* obj6
= 0 ;
16247 char *kwnames
[] = {
16248 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16254 arg2
= (int) SWIG_AsInt(obj1
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16256 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16257 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16259 if (arg3
== NULL
) {
16260 PyErr_SetString(PyExc_TypeError
,"null reference");
16263 arg4
= (int) SWIG_AsInt(obj3
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16265 arg5
= (int) SWIG_AsInt(obj4
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 arg6
= (int) SWIG_AsInt(obj5
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16272 arg7
= (bool const) SWIG_AsBool(obj6
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16291 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxImageList
*arg1
= (wxImageList
*) 0 ;
16295 PyObject
* obj0
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (int)(arg1
)->GetImageCount();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= SWIG_FromInt((int)result
);
16317 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxImageList
*arg1
= (wxImageList
*) 0 ;
16322 PyObject
* obj0
= 0 ;
16323 PyObject
* obj1
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self",(char *) "index", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16331 arg2
= (int) SWIG_AsInt(obj1
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 result
= (bool)(arg1
)->Remove(arg2
);
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16349 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxImageList
*arg1
= (wxImageList
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (bool)(arg1
)->RemoveAll();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16377 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
;
16379 wxImageList
*arg1
= (wxImageList
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 PyObject
* obj1
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self",(char *) "index", NULL
16393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16396 arg2
= (int) SWIG_AsInt(obj1
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16405 Py_INCREF(Py_None
); resultobj
= Py_None
;
16407 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16408 resultobj
= t_output_helper(resultobj
,o
);
16411 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16412 resultobj
= t_output_helper(resultobj
,o
);
16420 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16423 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16425 return Py_BuildValue((char *)"");
16427 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16428 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16433 static PyObject
*_wrap_NORMAL_FONT_get() {
16436 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16441 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16442 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16447 static PyObject
*_wrap_SMALL_FONT_get() {
16450 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16455 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16456 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16461 static PyObject
*_wrap_ITALIC_FONT_get() {
16464 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16469 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16470 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16475 static PyObject
*_wrap_SWISS_FONT_get() {
16478 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16483 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16484 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16489 static PyObject
*_wrap_RED_PEN_get() {
16492 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16497 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16498 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16503 static PyObject
*_wrap_CYAN_PEN_get() {
16506 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16511 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16512 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16517 static PyObject
*_wrap_GREEN_PEN_get() {
16520 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16525 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16526 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16531 static PyObject
*_wrap_BLACK_PEN_get() {
16534 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16539 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16540 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16545 static PyObject
*_wrap_WHITE_PEN_get() {
16548 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16553 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16554 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16559 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16562 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16567 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16568 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16573 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16576 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16581 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16582 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16587 static PyObject
*_wrap_GREY_PEN_get() {
16590 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16595 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16596 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16601 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16604 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16609 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16610 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16615 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16618 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16623 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16624 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16629 static PyObject
*_wrap_BLUE_BRUSH_get() {
16632 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16637 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16638 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16643 static PyObject
*_wrap_GREEN_BRUSH_get() {
16646 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16651 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16652 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16657 static PyObject
*_wrap_WHITE_BRUSH_get() {
16660 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16665 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16666 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16671 static PyObject
*_wrap_BLACK_BRUSH_get() {
16674 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16679 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16680 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16685 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16688 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16693 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16694 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16699 static PyObject
*_wrap_CYAN_BRUSH_get() {
16702 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16707 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16708 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16713 static PyObject
*_wrap_RED_BRUSH_get() {
16716 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16721 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16722 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16727 static PyObject
*_wrap_GREY_BRUSH_get() {
16730 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16735 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16736 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16741 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16744 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16749 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16750 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16755 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16758 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16763 static int _wrap_BLACK_set(PyObject
*_val
) {
16764 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16769 static PyObject
*_wrap_BLACK_get() {
16772 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16777 static int _wrap_WHITE_set(PyObject
*_val
) {
16778 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16783 static PyObject
*_wrap_WHITE_get() {
16786 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16791 static int _wrap_RED_set(PyObject
*_val
) {
16792 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16797 static PyObject
*_wrap_RED_get() {
16800 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16805 static int _wrap_BLUE_set(PyObject
*_val
) {
16806 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16811 static PyObject
*_wrap_BLUE_get() {
16814 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16819 static int _wrap_GREEN_set(PyObject
*_val
) {
16820 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16825 static PyObject
*_wrap_GREEN_get() {
16828 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16833 static int _wrap_CYAN_set(PyObject
*_val
) {
16834 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16839 static PyObject
*_wrap_CYAN_get() {
16842 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16847 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16848 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16853 static PyObject
*_wrap_LIGHT_GREY_get() {
16856 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16861 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16862 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16867 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16870 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16875 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16876 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16881 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16884 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16889 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16890 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16895 static PyObject
*_wrap_CROSS_CURSOR_get() {
16898 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16903 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16904 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16909 static PyObject
*_wrap_NullBitmap_get() {
16912 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16917 static int _wrap_NullIcon_set(PyObject
*_val
) {
16918 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16923 static PyObject
*_wrap_NullIcon_get() {
16926 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16931 static int _wrap_NullCursor_set(PyObject
*_val
) {
16932 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16937 static PyObject
*_wrap_NullCursor_get() {
16940 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16945 static int _wrap_NullPen_set(PyObject
*_val
) {
16946 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16951 static PyObject
*_wrap_NullPen_get() {
16954 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16959 static int _wrap_NullBrush_set(PyObject
*_val
) {
16960 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16965 static PyObject
*_wrap_NullBrush_get() {
16968 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16973 static int _wrap_NullPalette_set(PyObject
*_val
) {
16974 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16979 static PyObject
*_wrap_NullPalette_get() {
16982 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16987 static int _wrap_NullFont_set(PyObject
*_val
) {
16988 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16993 static PyObject
*_wrap_NullFont_get() {
16996 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17001 static int _wrap_NullColour_set(PyObject
*_val
) {
17002 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17007 static PyObject
*_wrap_NullColour_get() {
17010 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17015 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxPenList
*arg1
= (wxPenList
*) 0 ;
17018 wxPen
*arg2
= (wxPen
*) 0 ;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 char *kwnames
[] = {
17022 (char *) "self",(char *) "pen", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 (arg1
)->AddPen(arg2
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17037 Py_INCREF(Py_None
); resultobj
= Py_None
;
17044 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17046 wxPenList
*arg1
= (wxPenList
*) 0 ;
17047 wxColour
*arg2
= 0 ;
17052 PyObject
* obj0
= 0 ;
17053 PyObject
* obj1
= 0 ;
17054 PyObject
* obj2
= 0 ;
17055 PyObject
* obj3
= 0 ;
17056 char *kwnames
[] = {
17057 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17065 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17067 arg3
= (int) SWIG_AsInt(obj2
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17069 arg4
= (int) SWIG_AsInt(obj3
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17085 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxPenList
*arg1
= (wxPenList
*) 0 ;
17088 wxPen
*arg2
= (wxPen
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 PyObject
* obj1
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self",(char *) "pen", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 (arg1
)->RemovePen(arg2
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 Py_INCREF(Py_None
); resultobj
= Py_None
;
17114 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxPenList
*arg1
= (wxPenList
*) 0 ;
17118 PyObject
* obj0
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (int)(arg1
)->GetCount();
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= SWIG_FromInt((int)result
);
17140 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17143 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17145 return Py_BuildValue((char *)"");
17147 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
;
17149 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17150 wxBrush
*arg2
= (wxBrush
*) 0 ;
17151 PyObject
* obj0
= 0 ;
17152 PyObject
* obj1
= 0 ;
17153 char *kwnames
[] = {
17154 (char *) "self",(char *) "brush", NULL
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 (arg1
)->AddBrush(arg2
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 Py_INCREF(Py_None
); resultobj
= Py_None
;
17176 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17178 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17179 wxColour
*arg2
= 0 ;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 PyObject
* obj2
= 0 ;
17186 char *kwnames
[] = {
17187 (char *) "self",(char *) "colour",(char *) "style", NULL
17190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17195 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17197 arg3
= (int) SWIG_AsInt(obj2
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17213 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17216 wxBrush
*arg2
= (wxBrush
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 PyObject
* obj1
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self",(char *) "brush", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 (arg1
)->RemoveBrush(arg2
);
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 Py_INCREF(Py_None
); resultobj
= Py_None
;
17242 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (int)(arg1
)->GetCount();
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= SWIG_FromInt((int)result
);
17268 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17271 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17273 return Py_BuildValue((char *)"");
17275 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17277 wxColourDatabase
*result
;
17278 char *kwnames
[] = {
17282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17284 if (!wxPyCheckForApp()) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (wxColourDatabase
*)new wxColourDatabase();
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17298 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 wxPyEndAllowThreads(__tstate
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 Py_INCREF(Py_None
); resultobj
= Py_None
;
17323 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17324 PyObject
*resultobj
;
17325 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17326 wxString
*arg2
= 0 ;
17328 bool temp2
= False
;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self",(char *) "name", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17339 arg2
= wxString_in_helper(obj1
);
17340 if (arg2
== NULL
) SWIG_fail
;
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17347 wxPyEndAllowThreads(__tstate
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17351 wxColour
* resultptr
;
17352 resultptr
= new wxColour((wxColour
&) result
);
17353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17369 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17372 wxColour
*arg2
= 0 ;
17375 PyObject
* obj0
= 0 ;
17376 PyObject
* obj1
= 0 ;
17377 char *kwnames
[] = {
17378 (char *) "self",(char *) "colour", NULL
17381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17386 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17408 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17411 wxString
*arg2
= 0 ;
17412 wxColour
*arg3
= 0 ;
17413 bool temp2
= False
;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 PyObject
* obj2
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self",(char *) "name",(char *) "colour", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17426 arg2
= wxString_in_helper(obj1
);
17427 if (arg2
== NULL
) SWIG_fail
;
17432 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17441 Py_INCREF(Py_None
); resultobj
= Py_None
;
17456 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
;
17458 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17459 wxString
*arg2
= 0 ;
17463 bool temp2
= False
;
17464 PyObject
* obj0
= 0 ;
17465 PyObject
* obj1
= 0 ;
17466 PyObject
* obj2
= 0 ;
17467 PyObject
* obj3
= 0 ;
17468 PyObject
* obj4
= 0 ;
17469 char *kwnames
[] = {
17470 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17477 arg2
= wxString_in_helper(obj1
);
17478 if (arg2
== NULL
) SWIG_fail
;
17481 arg3
= (int) SWIG_AsInt(obj2
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17483 arg4
= (int) SWIG_AsInt(obj3
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17485 arg5
= (int) SWIG_AsInt(obj4
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 Py_INCREF(Py_None
); resultobj
= Py_None
;
17509 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17512 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17514 return Py_BuildValue((char *)"");
17516 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxFontList
*arg1
= (wxFontList
*) 0 ;
17519 wxFont
*arg2
= (wxFont
*) 0 ;
17520 PyObject
* obj0
= 0 ;
17521 PyObject
* obj1
= 0 ;
17522 char *kwnames
[] = {
17523 (char *) "self",(char *) "font", NULL
17526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 (arg1
)->AddFont(arg2
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 Py_INCREF(Py_None
); resultobj
= Py_None
;
17545 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 wxFontList
*arg1
= (wxFontList
*) 0 ;
17552 bool arg6
= (bool) False
;
17553 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17554 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17555 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17557 bool temp7
= False
;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 PyObject
* obj2
= 0 ;
17561 PyObject
* obj3
= 0 ;
17562 PyObject
* obj4
= 0 ;
17563 PyObject
* obj5
= 0 ;
17564 PyObject
* obj6
= 0 ;
17565 PyObject
* obj7
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17573 arg2
= (int) SWIG_AsInt(obj1
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17575 arg3
= (int) SWIG_AsInt(obj2
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17577 arg4
= (int) SWIG_AsInt(obj3
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17579 arg5
= (int) SWIG_AsInt(obj4
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 arg6
= (bool) SWIG_AsBool(obj5
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17587 arg7
= wxString_in_helper(obj6
);
17588 if (arg7
== NULL
) SWIG_fail
;
17593 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17618 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 wxFontList
*arg1
= (wxFontList
*) 0 ;
17621 wxFont
*arg2
= (wxFont
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 PyObject
* obj1
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self",(char *) "font", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 (arg1
)->RemoveFont(arg2
);
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 Py_INCREF(Py_None
); resultobj
= Py_None
;
17647 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17649 wxFontList
*arg1
= (wxFontList
*) 0 ;
17651 PyObject
* obj0
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 result
= (int)(arg1
)->GetCount();
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17666 resultobj
= SWIG_FromInt((int)result
);
17673 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17676 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17678 return Py_BuildValue((char *)"");
17680 static int _wrap_TheFontList_set(PyObject
*_val
) {
17681 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17686 static PyObject
*_wrap_TheFontList_get() {
17689 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17694 static int _wrap_ThePenList_set(PyObject
*_val
) {
17695 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17700 static PyObject
*_wrap_ThePenList_get() {
17703 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17708 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17709 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17714 static PyObject
*_wrap_TheBrushList_get() {
17717 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17722 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17723 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17728 static PyObject
*_wrap_TheColourDatabase_get() {
17731 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17736 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
;
17739 char *kwnames
[] = {
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 result
= (wxEffects
*)new wxEffects();
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17758 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxEffects
*arg1
= (wxEffects
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17778 wxColour
* resultptr
;
17779 resultptr
= new wxColour((wxColour
&) result
);
17780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17788 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxEffects
*arg1
= (wxEffects
*) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17808 wxColour
* resultptr
;
17809 resultptr
= new wxColour((wxColour
&) result
);
17810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17818 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxEffects
*arg1
= (wxEffects
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17838 wxColour
* resultptr
;
17839 resultptr
= new wxColour((wxColour
&) result
);
17840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17848 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxEffects
*arg1
= (wxEffects
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17868 wxColour
* resultptr
;
17869 resultptr
= new wxColour((wxColour
&) result
);
17870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17878 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxEffects
*arg1
= (wxEffects
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17898 wxColour
* resultptr
;
17899 resultptr
= new wxColour((wxColour
&) result
);
17900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17908 static PyObject
*_wrap_Effects_SetHighlightColour(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_SetHighlightColour",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
)->SetHighlightColour((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_SetLightShadow(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_SetLightShadow",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
)->SetLightShadow((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_SetFaceColour(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_SetFaceColour",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
)->SetFaceColour((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_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxEffects
*arg1
= (wxEffects
*) 0 ;
18007 wxColour
*arg2
= 0 ;
18009 PyObject
* obj0
= 0 ;
18010 PyObject
* obj1
= 0 ;
18011 char *kwnames
[] = {
18012 (char *) "self",(char *) "c", NULL
18015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18020 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 Py_INCREF(Py_None
); resultobj
= Py_None
;
18036 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxEffects
*arg1
= (wxEffects
*) 0 ;
18039 wxColour
*arg2
= 0 ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 char *kwnames
[] = {
18044 (char *) "self",(char *) "c", NULL
18047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18052 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 Py_INCREF(Py_None
); resultobj
= Py_None
;
18068 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18070 wxEffects
*arg1
= (wxEffects
*) 0 ;
18071 wxColour
*arg2
= 0 ;
18072 wxColour
*arg3
= 0 ;
18073 wxColour
*arg4
= 0 ;
18074 wxColour
*arg5
= 0 ;
18075 wxColour
*arg6
= 0 ;
18081 PyObject
* obj0
= 0 ;
18082 PyObject
* obj1
= 0 ;
18083 PyObject
* obj2
= 0 ;
18084 PyObject
* obj3
= 0 ;
18085 PyObject
* obj4
= 0 ;
18086 PyObject
* obj5
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18096 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18100 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18104 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18108 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18112 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 Py_INCREF(Py_None
); resultobj
= Py_None
;
18128 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
;
18130 wxEffects
*arg1
= (wxEffects
*) 0 ;
18133 int arg4
= (int) 1 ;
18135 PyObject
* obj0
= 0 ;
18136 PyObject
* obj1
= 0 ;
18137 PyObject
* obj2
= 0 ;
18138 PyObject
* obj3
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18149 if (arg2
== NULL
) {
18150 PyErr_SetString(PyExc_TypeError
,"null reference");
18155 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18158 arg4
= (int) SWIG_AsInt(obj3
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 Py_INCREF(Py_None
); resultobj
= Py_None
;
18175 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
;
18177 wxEffects
*arg1
= (wxEffects
*) 0 ;
18180 wxBitmap
*arg4
= 0 ;
18183 PyObject
* obj0
= 0 ;
18184 PyObject
* obj1
= 0 ;
18185 PyObject
* obj2
= 0 ;
18186 PyObject
* obj3
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18196 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18198 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18201 if (arg3
== NULL
) {
18202 PyErr_SetString(PyExc_TypeError
,"null reference");
18205 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18208 if (arg4
== NULL
) {
18209 PyErr_SetString(PyExc_TypeError
,"null reference");
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18228 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18231 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18233 return Py_BuildValue((char *)"");
18235 static PyMethodDef SwigMethods
[] = {
18236 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18237 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18238 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18239 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18240 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18241 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18242 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18243 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18244 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18245 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18246 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18247 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18248 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18249 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18250 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18251 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18252 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18253 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18254 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18255 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18256 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18257 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18258 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18259 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18260 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18261 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18262 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18263 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18264 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18265 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18266 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18267 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18268 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18269 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18270 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18272 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18273 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18274 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18275 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18276 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18282 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18283 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18284 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18285 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18287 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18288 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18289 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18290 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18292 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18293 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18294 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18295 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18296 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18297 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18298 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18299 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18302 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18305 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18307 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18311 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18313 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18315 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18316 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18321 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18322 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18323 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18324 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18329 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18340 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18347 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18348 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18353 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18356 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18358 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18362 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18366 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18371 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18387 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18391 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18405 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18429 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18438 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18458 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18495 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18503 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18510 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18532 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18534 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18542 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18659 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18671 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18675 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18676 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18677 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18680 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18682 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18687 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18689 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18690 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18691 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18692 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18693 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18695 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18698 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18699 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18701 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18703 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18704 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18705 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18707 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18708 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18710 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18712 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18714 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18718 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18719 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18724 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18728 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18729 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18730 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18732 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18736 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18737 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18740 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18741 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18751 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18755 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18760 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18762 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18763 return (void *)((wxWindow
*) ((wxControl
*) x
));
18765 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18766 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18768 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18769 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18771 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18772 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18774 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18775 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18777 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18778 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18780 static void *_p_wxPenTo_p_wxObject(void *x
) {
18781 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18783 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18784 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18786 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18787 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18789 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18790 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18792 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18793 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18795 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18796 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18798 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18799 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18801 static void *_p_wxIconTo_p_wxObject(void *x
) {
18802 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18804 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18805 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18807 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18808 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18810 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18811 return (void *)((wxObject
*) ((wxSizer
*) x
));
18813 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18814 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18816 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18817 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18819 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18820 return (void *)((wxObject
*) ((wxPenList
*) x
));
18822 static void *_p_wxEventTo_p_wxObject(void *x
) {
18823 return (void *)((wxObject
*) ((wxEvent
*) x
));
18825 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18826 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18828 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18829 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18831 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18832 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18834 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18835 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18837 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18838 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18840 static void *_p_wxDCTo_p_wxObject(void *x
) {
18841 return (void *)((wxObject
*) ((wxDC
*) x
));
18843 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18844 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18846 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18847 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18849 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18850 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18852 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18853 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18855 static void *_p_wxControlTo_p_wxObject(void *x
) {
18856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18858 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18859 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18861 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18862 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18864 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18865 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18867 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18868 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18870 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18871 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18873 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18874 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18876 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18877 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18879 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18880 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18882 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18883 return (void *)((wxObject
*) ((wxEffects
*) x
));
18885 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18886 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18888 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18891 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18892 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18894 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18895 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18897 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18898 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18900 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18901 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18903 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18904 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18906 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18907 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18909 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18910 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18912 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18913 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18915 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18916 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18918 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18919 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18921 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18922 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18924 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18925 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18927 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18928 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18930 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18931 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18933 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18934 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18936 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18937 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18939 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18940 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18942 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18943 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18945 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18946 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18948 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18949 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18951 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18952 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18954 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18955 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18957 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18958 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18960 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18961 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18963 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18964 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18966 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18967 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18969 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18970 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18972 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18973 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18975 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18976 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18978 static void *_p_wxImageTo_p_wxObject(void *x
) {
18979 return (void *)((wxObject
*) ((wxImage
*) x
));
18981 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18982 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18984 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18985 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18987 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18988 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18990 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18991 return (void *)((wxObject
*) ((wxImageList
*) x
));
18993 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18994 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18996 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18997 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18999 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19000 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19002 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19003 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19005 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19006 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19008 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19009 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19011 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19012 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19014 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19015 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19017 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19020 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19021 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19023 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19024 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19026 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19027 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19029 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19030 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19032 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19033 return (void *)((wxObject
*) ((wxMask
*) x
));
19035 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19036 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19038 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19039 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19041 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19042 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19044 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19045 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19047 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19048 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19050 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19051 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19053 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19054 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19056 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19057 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19059 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19060 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19062 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19063 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19065 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19066 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19068 static void *_p_wxFontTo_p_wxObject(void *x
) {
19069 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19071 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19072 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19074 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19075 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19077 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19080 static void *_p_wxColourTo_p_wxObject(void *x
) {
19081 return (void *)((wxObject
*) ((wxColour
*) x
));
19083 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19084 return (void *)((wxObject
*) ((wxFontList
*) x
));
19086 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19087 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19089 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19090 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19092 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19093 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19095 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19096 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19098 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19099 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19101 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19102 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19104 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19105 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19107 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19108 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19110 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19111 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19113 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19114 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19116 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19117 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19119 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19120 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19122 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19123 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19125 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19126 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19128 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19129 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19131 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19132 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19134 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19135 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19137 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19138 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19140 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19141 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19143 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19144 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19146 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19147 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19149 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19150 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19152 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}};
19153 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}};
19154 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}};
19155 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}};
19156 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}};
19157 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}};
19158 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}};
19159 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}};
19160 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}};
19161 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}};
19162 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}};
19163 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}};
19164 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}};
19165 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}};
19166 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}};
19167 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}};
19168 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}};
19169 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}};
19170 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}};
19171 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}};
19172 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}};
19173 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}};
19174 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}};
19175 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}};
19176 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}};
19177 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}};
19178 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}};
19179 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}};
19180 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}};
19181 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}};
19182 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}};
19183 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}};
19184 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}};
19185 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}};
19186 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}};
19187 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}};
19188 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}};
19189 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}};
19190 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}};
19191 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}};
19192 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}};
19193 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}};
19194 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}};
19195 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}};
19196 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}};
19197 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}};
19198 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}};
19199 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}};
19200 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}};
19201 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}};
19202 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}};
19203 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}};
19204 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}};
19205 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}};
19206 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}};
19208 static swig_type_info
*swig_types_initial
[] = {
19209 _swigt__p_wxPostScriptDC
,
19211 _swigt__p_wxColour
,
19213 _swigt__p_wxMirrorDC
,
19215 _swigt__p_wxPyFontEnumerator
,
19217 _swigt__p_wxIconLocation
,
19219 _swigt__p_wxMetaFileDC
,
19223 _swigt__p_wxWindow
,
19225 _swigt__p_wxMemoryDC
,
19226 _swigt__p_wxFontMapper
,
19227 _swigt__p_wxEffects
,
19228 _swigt__p_wxNativeEncodingInfo
,
19229 _swigt__p_wxPalette
,
19230 _swigt__p_wxBitmap
,
19231 _swigt__p_wxObject
,
19232 _swigt__p_wxRegionIterator
,
19234 _swigt__p_wxString
,
19235 _swigt__p_wxPrinterDC
,
19236 _swigt__p_wxIconBundle
,
19239 _swigt__p_wxScreenDC
,
19240 _swigt__p_wxCursor
,
19241 _swigt__p_wxClientDC
,
19242 _swigt__p_wxBufferedDC
,
19243 _swigt__p_wxImageList
,
19244 _swigt__p_unsigned_char
,
19245 _swigt__p_wxGDIObject
,
19247 _swigt__p_wxLocale
,
19248 _swigt__p_wxRegion
,
19249 _swigt__p_wxLanguageInfo
,
19250 _swigt__p_wxConfigBase
,
19251 _swigt__p_wxWindowDC
,
19252 _swigt__p_wxPrintData
,
19253 _swigt__p_wxBrushList
,
19254 _swigt__p_wxFontList
,
19256 _swigt__p_wxBufferedPaintDC
,
19257 _swigt__p_wxPaintDC
,
19258 _swigt__p_wxPenList
,
19260 _swigt__p_wxMetaFile
,
19261 _swigt__p_wxNativeFontInfo
,
19262 _swigt__p_wxEncodingConverter
,
19263 _swigt__p_wxColourDatabase
,
19268 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19270 static swig_const_info swig_const_table
[] = {
19280 SWIGEXPORT(void) SWIG_init(void) {
19281 static PyObject
*SWIG_globals
= 0;
19282 static int typeinit
= 0;
19285 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19286 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19287 d
= PyModule_GetDict(m
);
19290 for (i
= 0; swig_types_initial
[i
]; i
++) {
19291 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19295 SWIG_InstallConstants(d
,swig_const_table
);
19297 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19298 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19299 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19300 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19301 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19302 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19303 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19304 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19305 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19306 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19307 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19308 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19309 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19310 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19311 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19312 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19313 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19314 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19315 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19316 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19317 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19318 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19319 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19320 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19321 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19322 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19323 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19324 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19325 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19326 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19327 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19328 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19329 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19330 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19331 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19332 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19333 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19334 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19335 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19336 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19337 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19338 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19339 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19340 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19341 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19342 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19343 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19344 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19345 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19346 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19347 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19348 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19349 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19350 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19351 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19352 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19353 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19354 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19355 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19356 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19357 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19358 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19359 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19360 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19361 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19362 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19363 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19364 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19365 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19366 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19367 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19368 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19369 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19370 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19371 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19372 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19373 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19374 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19375 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19376 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19377 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19378 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19379 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19380 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19381 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19382 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19383 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19384 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19385 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19386 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19387 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19388 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19389 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19390 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19391 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19392 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19393 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19394 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19395 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19396 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19397 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19398 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19399 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19400 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19401 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19402 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19403 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19404 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19405 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19406 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19407 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19408 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19409 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19410 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19411 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19412 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19413 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19414 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19415 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19416 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19417 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19418 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19419 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19420 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19421 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19422 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19423 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19425 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19427 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19428 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19429 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19430 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19431 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19432 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19433 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19434 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19435 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19436 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19437 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19438 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19439 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19440 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19441 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19442 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19443 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19444 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19445 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19446 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19447 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19448 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19449 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19450 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19451 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19452 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19453 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19454 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19455 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19456 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19457 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19458 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19459 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19460 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19461 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19462 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19463 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19464 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19465 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19466 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19467 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19468 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19469 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19470 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19471 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19472 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19473 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19474 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19475 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19476 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19477 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19478 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19479 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19480 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19481 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19482 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19483 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19484 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19485 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19486 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19487 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19488 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19489 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19490 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19491 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19492 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19493 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19494 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19495 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19496 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19497 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19498 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19499 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19500 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19501 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19502 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19503 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19504 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19505 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19506 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19507 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19508 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19509 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19510 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19511 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19512 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19513 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19514 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19515 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19516 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19517 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19518 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19519 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19520 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19521 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19522 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19523 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19524 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19525 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19526 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19527 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19528 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19529 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19530 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19531 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19532 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19533 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19534 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19535 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19536 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19537 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19538 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19539 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19540 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19541 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19542 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19543 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19544 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19545 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19546 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19547 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19548 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19549 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19550 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19551 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19552 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19553 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19554 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19555 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19556 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19557 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19558 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19559 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19560 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19561 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19562 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19563 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19564 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19565 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19566 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19567 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19568 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19569 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19570 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19571 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19572 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19573 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19574 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19575 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19576 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19577 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19578 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19579 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19580 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19581 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19582 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19583 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19584 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19585 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19586 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19587 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19588 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19589 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19590 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19591 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19592 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19593 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19594 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19595 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19596 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19597 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19598 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19599 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19600 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19601 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19602 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19603 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19604 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19605 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19606 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19607 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19608 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19609 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19610 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19611 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19612 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19613 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19614 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19615 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19616 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19617 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19618 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19619 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19620 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19621 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19622 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19623 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19624 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19625 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19626 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19627 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19628 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19629 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19630 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19631 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19632 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19633 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19634 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19635 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19636 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19637 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19638 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19639 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19640 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19641 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19642 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19643 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19644 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19645 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19646 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19647 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19648 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19649 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19650 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19651 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19652 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19653 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19654 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19655 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19656 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19657 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19658 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19659 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19660 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19661 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19662 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19663 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19664 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19665 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19666 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19667 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19668 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19669 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19670 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19671 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19672 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19673 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19674 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19675 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19676 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19677 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19678 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19679 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19680 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19681 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19682 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19683 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19684 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19685 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19686 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19687 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19688 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19689 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19690 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19691 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19692 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19693 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19694 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19695 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19696 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19697 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19698 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19699 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19700 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19701 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19702 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19703 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19704 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19705 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19706 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19707 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19708 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19709 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19710 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19711 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19712 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19713 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19714 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19715 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19716 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19717 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19718 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19719 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19720 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19721 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19722 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19723 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19724 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19725 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19726 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19728 // Work around a chicken/egg problem in drawlist.cpp
19729 wxPyDrawList_SetAPIPtr();