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();
750 return wxArrayString2PyList_helper(*arr
);
752 return PyList_New(0);
754 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
755 wxArrayString
* arr
= self
->GetFacenames();
757 return wxArrayString2PyList_helper(*arr
);
759 return PyList_New(0);
763 wxLocale
*new_wxLocale(int language
,int flags
){
765 return new wxLocale();
767 return new wxLocale(language
, flags
);
770 #include "wx/wxPython/pydrawxxx.h"
772 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
774 self
->GetPixel(x
, y
, &col
);
777 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
779 self
->GetPixel(pt
, &col
);
783 SWIGSTATICINLINE(double)
784 SWIG_AsDouble(PyObject
*obj
)
786 if (PyNumber_Check(obj
))
787 return PyFloat_AsDouble(obj
);
789 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
790 obj
->ob_type
->tp_name
);
791 PyErr_SetObject(PyExc_TypeError
, errmsg
);
798 SWIGSTATICINLINE(int)
799 SWIG_CheckDouble(PyObject
* obj
)
802 if (PyErr_Occurred()) {
810 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
812 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
815 wxRect
wxDC_GetClippingRect(wxDC
*self
){
817 self
->GetClippingBox(rect
);
820 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
822 self
->GetPartialTextExtents(text
, widths
);
825 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
826 self
->SetLogicalOrigin(point
.x
, point
.y
);
828 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
829 self
->SetDeviceOrigin(point
.x
, point
.y
);
831 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
832 self
->CalcBoundingBox(point
.x
, point
.y
);
834 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
835 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
837 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
838 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
840 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
841 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
843 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
844 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
846 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
847 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
849 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
850 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
853 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
861 #include <wx/dcbuffer.h>
867 class wxMetaFile
: public wxObject
{
869 wxMetaFile(const wxString
&)
870 { wxPyRaiseNotImplemented(); }
873 class wxMetaFileDC
: public wxClientDC
{
875 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
876 { wxPyRaiseNotImplemented(); }
881 class wxPrinterDC
: public wxClientDC
{
883 wxPrinterDC(const wxPrintData
&)
884 { wxPyRaiseNotImplemented(); }
886 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
887 // { wxPyRaiseNotImplemented(); }
892 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
893 self
->AddColour(name
, wxColour(red
, green
, blue
));
896 #include <wx/effects.h>
901 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
910 if (!wxPyCheckForApp()) SWIG_fail
;
911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
912 result
= (wxGDIObject
*)new wxGDIObject();
914 wxPyEndAllowThreads(__tstate
);
915 if (PyErr_Occurred()) SWIG_fail
;
917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
924 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
927 PyObject
* obj0
= 0 ;
929 (char *) "self", NULL
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
939 wxPyEndAllowThreads(__tstate
);
940 if (PyErr_Occurred()) SWIG_fail
;
942 Py_INCREF(Py_None
); resultobj
= Py_None
;
949 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
951 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
953 PyObject
* obj0
= 0 ;
955 (char *) "self", NULL
958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
963 result
= (bool)(arg1
)->GetVisible();
965 wxPyEndAllowThreads(__tstate
);
966 if (PyErr_Occurred()) SWIG_fail
;
969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
977 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
981 PyObject
* obj0
= 0 ;
982 PyObject
* obj1
= 0 ;
984 (char *) "self",(char *) "visible", NULL
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
990 arg2
= (bool) SWIG_AsBool(obj1
);
991 if (PyErr_Occurred()) SWIG_fail
;
993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
994 (arg1
)->SetVisible(arg2
);
996 wxPyEndAllowThreads(__tstate
);
997 if (PyErr_Occurred()) SWIG_fail
;
999 Py_INCREF(Py_None
); resultobj
= Py_None
;
1006 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
*resultobj
;
1008 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1010 PyObject
* obj0
= 0 ;
1012 (char *) "self", NULL
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1020 result
= (bool)(arg1
)->IsNull();
1022 wxPyEndAllowThreads(__tstate
);
1023 if (PyErr_Occurred()) SWIG_fail
;
1026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1034 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1037 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1039 return Py_BuildValue((char *)"");
1041 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
*resultobj
;
1043 byte arg1
= (byte
) 0 ;
1044 byte arg2
= (byte
) 0 ;
1045 byte arg3
= (byte
) 0 ;
1047 PyObject
* obj0
= 0 ;
1048 PyObject
* obj1
= 0 ;
1049 PyObject
* obj2
= 0 ;
1051 (char *) "red",(char *) "green",(char *) "blue", NULL
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1056 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1057 if (PyErr_Occurred()) SWIG_fail
;
1060 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1061 if (PyErr_Occurred()) SWIG_fail
;
1064 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1065 if (PyErr_Occurred()) SWIG_fail
;
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) SWIG_fail
;
1074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1081 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
*resultobj
;
1083 wxString
*arg1
= 0 ;
1085 bool temp1
= False
;
1086 PyObject
* obj0
= 0 ;
1088 (char *) "colorName", NULL
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1093 arg1
= wxString_in_helper(obj0
);
1094 if (arg1
== NULL
) SWIG_fail
;
1098 if (!wxPyCheckForApp()) SWIG_fail
;
1099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1100 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1102 wxPyEndAllowThreads(__tstate
);
1103 if (PyErr_Occurred()) SWIG_fail
;
1105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1120 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
*resultobj
;
1122 unsigned long arg1
;
1124 PyObject
* obj0
= 0 ;
1126 (char *) "colRGB", NULL
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1130 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1131 if (PyErr_Occurred()) SWIG_fail
;
1133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1134 result
= (wxColour
*)new wxColour(arg1
);
1136 wxPyEndAllowThreads(__tstate
);
1137 if (PyErr_Occurred()) SWIG_fail
;
1139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1146 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
*resultobj
;
1148 wxColour
*arg1
= (wxColour
*) 0 ;
1149 PyObject
* obj0
= 0 ;
1151 (char *) "self", NULL
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) SWIG_fail
;
1164 Py_INCREF(Py_None
); resultobj
= Py_None
;
1171 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
*resultobj
;
1173 wxColour
*arg1
= (wxColour
*) 0 ;
1175 PyObject
* obj0
= 0 ;
1177 (char *) "self", NULL
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1185 result
= (byte
)(arg1
)->Red();
1187 wxPyEndAllowThreads(__tstate
);
1188 if (PyErr_Occurred()) SWIG_fail
;
1190 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1197 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
*resultobj
;
1199 wxColour
*arg1
= (wxColour
*) 0 ;
1201 PyObject
* obj0
= 0 ;
1203 (char *) "self", NULL
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1211 result
= (byte
)(arg1
)->Green();
1213 wxPyEndAllowThreads(__tstate
);
1214 if (PyErr_Occurred()) SWIG_fail
;
1216 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1223 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
*resultobj
;
1225 wxColour
*arg1
= (wxColour
*) 0 ;
1227 PyObject
* obj0
= 0 ;
1229 (char *) "self", NULL
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1237 result
= (byte
)(arg1
)->Blue();
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) SWIG_fail
;
1242 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1249 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
*resultobj
;
1251 wxColour
*arg1
= (wxColour
*) 0 ;
1253 PyObject
* obj0
= 0 ;
1255 (char *) "self", NULL
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1263 result
= (bool)(arg1
)->Ok();
1265 wxPyEndAllowThreads(__tstate
);
1266 if (PyErr_Occurred()) SWIG_fail
;
1269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1277 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
*resultobj
;
1279 wxColour
*arg1
= (wxColour
*) 0 ;
1283 PyObject
* obj0
= 0 ;
1284 PyObject
* obj1
= 0 ;
1285 PyObject
* obj2
= 0 ;
1286 PyObject
* obj3
= 0 ;
1288 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1294 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1295 if (PyErr_Occurred()) SWIG_fail
;
1296 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1298 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1299 if (PyErr_Occurred()) SWIG_fail
;
1301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1302 (arg1
)->Set(arg2
,arg3
,arg4
);
1304 wxPyEndAllowThreads(__tstate
);
1305 if (PyErr_Occurred()) SWIG_fail
;
1307 Py_INCREF(Py_None
); resultobj
= Py_None
;
1314 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
*resultobj
;
1316 wxColour
*arg1
= (wxColour
*) 0 ;
1317 unsigned long arg2
;
1318 PyObject
* obj0
= 0 ;
1319 PyObject
* obj1
= 0 ;
1321 (char *) "self",(char *) "colRGB", NULL
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1327 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1328 if (PyErr_Occurred()) SWIG_fail
;
1330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1333 wxPyEndAllowThreads(__tstate
);
1334 if (PyErr_Occurred()) SWIG_fail
;
1336 Py_INCREF(Py_None
); resultobj
= Py_None
;
1343 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
*resultobj
;
1345 wxColour
*arg1
= (wxColour
*) 0 ;
1346 wxString
*arg2
= 0 ;
1347 bool temp2
= False
;
1348 PyObject
* obj0
= 0 ;
1349 PyObject
* obj1
= 0 ;
1351 (char *) "self",(char *) "colourName", NULL
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1358 arg2
= wxString_in_helper(obj1
);
1359 if (arg2
== NULL
) SWIG_fail
;
1363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1364 (arg1
)->InitFromName((wxString
const &)*arg2
);
1366 wxPyEndAllowThreads(__tstate
);
1367 if (PyErr_Occurred()) SWIG_fail
;
1369 Py_INCREF(Py_None
); resultobj
= Py_None
;
1384 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
*resultobj
;
1386 wxColour
*arg1
= (wxColour
*) 0 ;
1388 PyObject
* obj0
= 0 ;
1390 (char *) "self", NULL
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1398 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1400 wxPyEndAllowThreads(__tstate
);
1401 if (PyErr_Occurred()) SWIG_fail
;
1403 resultobj
= SWIG_FromLong((long)result
);
1410 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
*resultobj
;
1412 wxColour
*arg1
= (wxColour
*) 0 ;
1413 wxColour
*arg2
= 0 ;
1416 PyObject
* obj0
= 0 ;
1417 PyObject
* obj1
= 0 ;
1419 (char *) "self",(char *) "colour", NULL
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1427 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) SWIG_fail
;
1437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1445 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
*resultobj
;
1447 wxColour
*arg1
= (wxColour
*) 0 ;
1448 wxColour
*arg2
= 0 ;
1451 PyObject
* obj0
= 0 ;
1452 PyObject
* obj1
= 0 ;
1454 (char *) "self",(char *) "colour", NULL
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1462 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1480 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
*resultobj
;
1482 wxColour
*arg1
= (wxColour
*) 0 ;
1484 PyObject
* obj0
= 0 ;
1486 (char *) "self", NULL
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1494 result
= (PyObject
*)wxColour_Get(arg1
);
1496 wxPyEndAllowThreads(__tstate
);
1497 if (PyErr_Occurred()) SWIG_fail
;
1506 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
*resultobj
;
1508 wxColour
*arg1
= (wxColour
*) 0 ;
1509 unsigned long result
;
1510 PyObject
* obj0
= 0 ;
1512 (char *) "self", NULL
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1520 result
= (unsigned long)wxColour_GetRGB(arg1
);
1522 wxPyEndAllowThreads(__tstate
);
1523 if (PyErr_Occurred()) SWIG_fail
;
1525 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1532 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1535 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1537 return Py_BuildValue((char *)"");
1539 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
*resultobj
;
1542 unsigned char *arg2
= (unsigned char *) 0 ;
1543 unsigned char *arg3
= (unsigned char *) 0 ;
1544 unsigned char *arg4
= (unsigned char *) 0 ;
1546 PyObject
* obj0
= 0 ;
1547 PyObject
* obj1
= 0 ;
1548 PyObject
* obj2
= 0 ;
1549 PyObject
* obj3
= 0 ;
1551 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1555 arg1
= (int) SWIG_AsInt(obj0
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1559 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1561 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1564 if (!wxPyCheckForApp()) SWIG_fail
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1578 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
*resultobj
;
1580 wxPalette
*arg1
= (wxPalette
*) 0 ;
1581 PyObject
* obj0
= 0 ;
1583 (char *) "self", NULL
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 Py_INCREF(Py_None
); resultobj
= Py_None
;
1603 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
*resultobj
;
1605 wxPalette
*arg1
= (wxPalette
*) 0 ;
1610 PyObject
* obj0
= 0 ;
1611 PyObject
* obj1
= 0 ;
1612 PyObject
* obj2
= 0 ;
1613 PyObject
* obj3
= 0 ;
1615 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1621 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1623 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1624 if (PyErr_Occurred()) SWIG_fail
;
1625 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) SWIG_fail
;
1634 resultobj
= SWIG_FromInt((int)result
);
1641 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxPalette
*arg1
= (wxPalette
*) 0 ;
1645 byte
*arg3
= (byte
*) 0 ;
1646 byte
*arg4
= (byte
*) 0 ;
1647 byte
*arg5
= (byte
*) 0 ;
1652 PyObject
* obj0
= 0 ;
1653 PyObject
* obj1
= 0 ;
1655 (char *) "self",(char *) "pixel", NULL
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1664 arg2
= (int) SWIG_AsInt(obj1
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1677 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1678 resultobj
= t_output_helper(resultobj
,o
);
1681 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1682 resultobj
= t_output_helper(resultobj
,o
);
1685 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1686 resultobj
= t_output_helper(resultobj
,o
);
1694 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
*resultobj
;
1696 wxPalette
*arg1
= (wxPalette
*) 0 ;
1698 PyObject
* obj0
= 0 ;
1700 (char *) "self", NULL
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1708 result
= (bool)(arg1
)->Ok();
1710 wxPyEndAllowThreads(__tstate
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1722 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1725 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1727 return Py_BuildValue((char *)"");
1729 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
*resultobj
;
1731 wxColour
*arg1
= 0 ;
1732 int arg2
= (int) 1 ;
1733 int arg3
= (int) wxSOLID
;
1736 PyObject
* obj0
= 0 ;
1737 PyObject
* obj1
= 0 ;
1738 PyObject
* obj2
= 0 ;
1740 (char *) "colour",(char *) "width",(char *) "style", NULL
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1746 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1749 arg2
= (int) SWIG_AsInt(obj1
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1753 arg3
= (int) SWIG_AsInt(obj2
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1757 if (!wxPyCheckForApp()) SWIG_fail
;
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) SWIG_fail
;
1764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1771 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
*resultobj
;
1773 wxPen
*arg1
= (wxPen
*) 0 ;
1774 PyObject
* obj0
= 0 ;
1776 (char *) "self", NULL
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1789 Py_INCREF(Py_None
); resultobj
= Py_None
;
1796 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
*resultobj
;
1798 wxPen
*arg1
= (wxPen
*) 0 ;
1800 PyObject
* obj0
= 0 ;
1802 (char *) "self", NULL
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 result
= (int)(arg1
)->GetCap();
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 resultobj
= SWIG_FromInt((int)result
);
1822 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
*resultobj
;
1824 wxPen
*arg1
= (wxPen
*) 0 ;
1826 PyObject
* obj0
= 0 ;
1828 (char *) "self", NULL
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 result
= (arg1
)->GetColour();
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1842 wxColour
* resultptr
;
1843 resultptr
= new wxColour((wxColour
&) result
);
1844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1852 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
*resultobj
;
1854 wxPen
*arg1
= (wxPen
*) 0 ;
1856 PyObject
* obj0
= 0 ;
1858 (char *) "self", NULL
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 result
= (int)(arg1
)->GetJoin();
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1871 resultobj
= SWIG_FromInt((int)result
);
1878 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
*resultobj
;
1880 wxPen
*arg1
= (wxPen
*) 0 ;
1882 PyObject
* obj0
= 0 ;
1884 (char *) "self", NULL
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 result
= (int)(arg1
)->GetStyle();
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 resultobj
= SWIG_FromInt((int)result
);
1904 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1906 wxPen
*arg1
= (wxPen
*) 0 ;
1908 PyObject
* obj0
= 0 ;
1910 (char *) "self", NULL
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 result
= (int)(arg1
)->GetWidth();
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1923 resultobj
= SWIG_FromInt((int)result
);
1930 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
*resultobj
;
1932 wxPen
*arg1
= (wxPen
*) 0 ;
1934 PyObject
* obj0
= 0 ;
1936 (char *) "self", NULL
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1944 result
= (bool)(arg1
)->Ok();
1946 wxPyEndAllowThreads(__tstate
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1958 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1960 wxPen
*arg1
= (wxPen
*) 0 ;
1962 PyObject
* obj0
= 0 ;
1963 PyObject
* obj1
= 0 ;
1965 (char *) "self",(char *) "cap_style", NULL
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1971 arg2
= (int) SWIG_AsInt(obj1
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 (arg1
)->SetCap(arg2
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 Py_INCREF(Py_None
); resultobj
= Py_None
;
1987 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
*resultobj
;
1989 wxPen
*arg1
= (wxPen
*) 0 ;
1990 wxColour
*arg2
= 0 ;
1992 PyObject
* obj0
= 0 ;
1993 PyObject
* obj1
= 0 ;
1995 (char *) "self",(char *) "colour", NULL
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2003 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 (arg1
)->SetColour(*arg2
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2012 Py_INCREF(Py_None
); resultobj
= Py_None
;
2019 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
*resultobj
;
2021 wxPen
*arg1
= (wxPen
*) 0 ;
2023 PyObject
* obj0
= 0 ;
2024 PyObject
* obj1
= 0 ;
2026 (char *) "self",(char *) "join_style", NULL
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2032 arg2
= (int) SWIG_AsInt(obj1
);
2033 if (PyErr_Occurred()) SWIG_fail
;
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 (arg1
)->SetJoin(arg2
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) SWIG_fail
;
2041 Py_INCREF(Py_None
); resultobj
= Py_None
;
2048 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
*resultobj
;
2050 wxPen
*arg1
= (wxPen
*) 0 ;
2052 PyObject
* obj0
= 0 ;
2053 PyObject
* obj1
= 0 ;
2055 (char *) "self",(char *) "style", NULL
2058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2061 arg2
= (int) SWIG_AsInt(obj1
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2065 (arg1
)->SetStyle(arg2
);
2067 wxPyEndAllowThreads(__tstate
);
2068 if (PyErr_Occurred()) SWIG_fail
;
2070 Py_INCREF(Py_None
); resultobj
= Py_None
;
2077 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2078 PyObject
*resultobj
;
2079 wxPen
*arg1
= (wxPen
*) 0 ;
2081 PyObject
* obj0
= 0 ;
2082 PyObject
* obj1
= 0 ;
2084 (char *) "self",(char *) "width", NULL
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2090 arg2
= (int) SWIG_AsInt(obj1
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2094 (arg1
)->SetWidth(arg2
);
2096 wxPyEndAllowThreads(__tstate
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2099 Py_INCREF(Py_None
); resultobj
= Py_None
;
2106 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
*resultobj
;
2108 wxPen
*arg1
= (wxPen
*) 0 ;
2110 wxDash
*arg3
= (wxDash
*) 0 ;
2111 PyObject
* obj0
= 0 ;
2112 PyObject
* obj1
= 0 ;
2114 (char *) "self",(char *) "dashes", NULL
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 arg2
= PyList_Size(obj1
);
2122 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2123 if (arg3
== NULL
) SWIG_fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 (arg1
)->SetDashes(arg2
,arg3
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2132 Py_INCREF(Py_None
); resultobj
= Py_None
;
2134 if (arg3
) delete [] arg3
;
2139 if (arg3
) delete [] arg3
;
2145 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
*resultobj
;
2147 wxPen
*arg1
= (wxPen
*) 0 ;
2149 PyObject
* obj0
= 0 ;
2151 (char *) "self", NULL
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) SWIG_fail
;
2171 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
*resultobj
;
2173 wxPen
*arg1
= (wxPen
*) 0 ;
2174 PyObject
*arg2
= (PyObject
*) 0 ;
2175 PyObject
*arg3
= (PyObject
*) 0 ;
2176 PyObject
* obj0
= 0 ;
2177 PyObject
* obj1
= 0 ;
2178 PyObject
* obj2
= 0 ;
2180 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 wxPen__SetDashes(arg1
,arg2
,arg3
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2195 Py_INCREF(Py_None
); resultobj
= Py_None
;
2202 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxPen
*arg1
= (wxPen
*) 0 ;
2206 PyObject
* obj0
= 0 ;
2208 (char *) "self", NULL
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) SWIG_fail
;
2221 resultobj
= SWIG_FromInt((int)result
);
2228 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
*resultobj
;
2230 wxPen
*arg1
= (wxPen
*) 0 ;
2231 wxPen
*arg2
= (wxPen
*) 0 ;
2233 PyObject
* obj0
= 0 ;
2234 PyObject
* obj1
= 0 ;
2236 (char *) "self",(char *) "other", NULL
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2246 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) SWIG_fail
;
2252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2260 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 wxPen
*arg1
= (wxPen
*) 0 ;
2263 wxPen
*arg2
= (wxPen
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2266 PyObject
* obj1
= 0 ;
2268 (char *) "self",(char *) "other", NULL
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2292 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2295 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2297 return Py_BuildValue((char *)"");
2299 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2301 wxColour
*arg1
= 0 ;
2302 int arg2
= (int) wxSOLID
;
2305 PyObject
* obj0
= 0 ;
2306 PyObject
* obj1
= 0 ;
2308 (char *) "colour",(char *) "style", NULL
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2314 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2317 arg2
= (int) SWIG_AsInt(obj1
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2321 if (!wxPyCheckForApp()) SWIG_fail
;
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2335 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
*resultobj
;
2337 wxBrush
*arg1
= (wxBrush
*) 0 ;
2338 PyObject
* obj0
= 0 ;
2340 (char *) "self", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 Py_INCREF(Py_None
); resultobj
= Py_None
;
2360 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
*resultobj
;
2362 wxBrush
*arg1
= (wxBrush
*) 0 ;
2363 wxColour
*arg2
= 0 ;
2365 PyObject
* obj0
= 0 ;
2366 PyObject
* obj1
= 0 ;
2368 (char *) "self",(char *) "col", NULL
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2376 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 (arg1
)->SetColour((wxColour
const &)*arg2
);
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) SWIG_fail
;
2385 Py_INCREF(Py_None
); resultobj
= Py_None
;
2392 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2394 wxBrush
*arg1
= (wxBrush
*) 0 ;
2396 PyObject
* obj0
= 0 ;
2397 PyObject
* obj1
= 0 ;
2399 (char *) "self",(char *) "style", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2405 arg2
= (int) SWIG_AsInt(obj1
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 (arg1
)->SetStyle(arg2
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2414 Py_INCREF(Py_None
); resultobj
= Py_None
;
2421 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
*resultobj
;
2423 wxBrush
*arg1
= (wxBrush
*) 0 ;
2424 wxBitmap
*arg2
= 0 ;
2425 PyObject
* obj0
= 0 ;
2426 PyObject
* obj1
= 0 ;
2428 (char *) "self",(char *) "stipple", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2438 PyErr_SetString(PyExc_TypeError
,"null reference");
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2448 Py_INCREF(Py_None
); resultobj
= Py_None
;
2455 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2457 wxBrush
*arg1
= (wxBrush
*) 0 ;
2459 PyObject
* obj0
= 0 ;
2461 (char *) "self", NULL
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 result
= ((wxBrush
const *)arg1
)->GetColour();
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2475 wxColour
* resultptr
;
2476 resultptr
= new wxColour((wxColour
&) result
);
2477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2485 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
*resultobj
;
2487 wxBrush
*arg1
= (wxBrush
*) 0 ;
2489 PyObject
* obj0
= 0 ;
2491 (char *) "self", NULL
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2499 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2501 wxPyEndAllowThreads(__tstate
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2504 resultobj
= SWIG_FromInt((int)result
);
2511 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2513 wxBrush
*arg1
= (wxBrush
*) 0 ;
2515 PyObject
* obj0
= 0 ;
2517 (char *) "self", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) SWIG_fail
;
2530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2537 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxBrush
*arg1
= (wxBrush
*) 0 ;
2541 PyObject
* obj0
= 0 ;
2543 (char *) "self", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 result
= (bool)(arg1
)->Ok();
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2565 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2568 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2570 return Py_BuildValue((char *)"");
2572 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
*resultobj
;
2574 wxString
*arg1
= 0 ;
2575 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2577 bool temp1
= False
;
2578 PyObject
* obj0
= 0 ;
2579 PyObject
* obj1
= 0 ;
2581 (char *) "name",(char *) "type", NULL
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2586 arg1
= wxString_in_helper(obj0
);
2587 if (arg1
== NULL
) SWIG_fail
;
2591 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2592 if (PyErr_Occurred()) SWIG_fail
;
2595 if (!wxPyCheckForApp()) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2617 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2620 PyObject
* obj0
= 0 ;
2622 (char *) "self", NULL
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2635 Py_INCREF(Py_None
); resultobj
= Py_None
;
2642 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2646 int arg3
= (int) -1 ;
2648 PyObject
* obj0
= 0 ;
2649 PyObject
* obj1
= 0 ;
2650 PyObject
* obj2
= 0 ;
2652 (char *) "width",(char *) "height",(char *) "depth", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2656 arg1
= (int) SWIG_AsInt(obj0
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2658 arg2
= (int) SWIG_AsInt(obj1
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2661 arg3
= (int) SWIG_AsInt(obj2
);
2662 if (PyErr_Occurred()) SWIG_fail
;
2665 if (!wxPyCheckForApp()) SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2679 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2683 PyObject
* obj0
= 0 ;
2685 (char *) "icon", NULL
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2693 PyErr_SetString(PyExc_TypeError
,"null reference");
2697 if (!wxPyCheckForApp()) SWIG_fail
;
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2699 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) SWIG_fail
;
2704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2711 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
*resultobj
;
2714 int arg2
= (int) -1 ;
2716 PyObject
* obj0
= 0 ;
2717 PyObject
* obj1
= 0 ;
2719 (char *) "image",(char *) "depth", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2727 PyErr_SetString(PyExc_TypeError
,"null reference");
2731 arg2
= (int) SWIG_AsInt(obj1
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2735 if (!wxPyCheckForApp()) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2749 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
;
2751 PyObject
*arg1
= (PyObject
*) 0 ;
2753 PyObject
* obj0
= 0 ;
2755 (char *) "listOfStrings", NULL
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2761 if (!wxPyCheckForApp()) SWIG_fail
;
2762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2763 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2765 wxPyEndAllowThreads(__tstate
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2775 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
*resultobj
;
2777 PyObject
*arg1
= (PyObject
*) 0 ;
2780 int arg4
= (int) 1 ;
2782 PyObject
* obj0
= 0 ;
2783 PyObject
* obj1
= 0 ;
2784 PyObject
* obj2
= 0 ;
2785 PyObject
* obj3
= 0 ;
2787 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2792 arg2
= (int) SWIG_AsInt(obj1
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2794 arg3
= (int) SWIG_AsInt(obj2
);
2795 if (PyErr_Occurred()) SWIG_fail
;
2797 arg4
= (int) SWIG_AsInt(obj3
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2801 if (!wxPyCheckForApp()) SWIG_fail
;
2802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2803 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2805 wxPyEndAllowThreads(__tstate
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2815 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2817 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2819 PyObject
* obj0
= 0 ;
2821 (char *) "self", NULL
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 result
= (bool)(arg1
)->Ok();
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2843 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
*resultobj
;
2845 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2847 PyObject
* obj0
= 0 ;
2849 (char *) "self", NULL
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 result
= (int)(arg1
)->GetWidth();
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= SWIG_FromInt((int)result
);
2869 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
*resultobj
;
2871 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2873 PyObject
* obj0
= 0 ;
2875 (char *) "self", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 result
= (int)(arg1
)->GetHeight();
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2888 resultobj
= SWIG_FromInt((int)result
);
2895 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
;
2897 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2899 PyObject
* obj0
= 0 ;
2901 (char *) "self", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 result
= (int)(arg1
)->GetDepth();
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2914 resultobj
= SWIG_FromInt((int)result
);
2921 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
*resultobj
;
2923 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2925 PyObject
* obj0
= 0 ;
2927 (char *) "self", NULL
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
2931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 result
= wxBitmap_GetSize(arg1
);
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2942 resultptr
= new wxSize((wxSize
&) result
);
2943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2951 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2954 SwigValueWrapper
< wxImage
> result
;
2955 PyObject
* obj0
= 0 ;
2957 (char *) "self", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2971 wxImage
* resultptr
;
2972 resultptr
= new wxImage((wxImage
&) result
);
2973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
2981 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
*resultobj
;
2983 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2985 PyObject
* obj0
= 0 ;
2987 (char *) "self", NULL
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3007 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
*resultobj
;
3009 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3010 wxMask
*arg2
= (wxMask
*) 0 ;
3011 PyObject
* obj0
= 0 ;
3012 PyObject
* obj1
= 0 ;
3014 (char *) "self",(char *) "mask", NULL
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 (arg1
)->SetMask(arg2
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3029 Py_INCREF(Py_None
); resultobj
= Py_None
;
3036 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3039 wxColour
*arg2
= 0 ;
3041 PyObject
* obj0
= 0 ;
3042 PyObject
* obj1
= 0 ;
3044 (char *) "self",(char *) "colour", NULL
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3052 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 Py_INCREF(Py_None
); resultobj
= Py_None
;
3068 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3072 SwigValueWrapper
< wxBitmap
> result
;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3077 (char *) "self",(char *) "rect", NULL
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3085 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3095 wxBitmap
* resultptr
;
3096 resultptr
= new wxBitmap((wxBitmap
&) result
);
3097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3105 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
*resultobj
;
3107 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3108 wxString
*arg2
= 0 ;
3110 wxPalette
*arg4
= (wxPalette
*) NULL
;
3112 bool temp2
= False
;
3113 PyObject
* obj0
= 0 ;
3114 PyObject
* obj1
= 0 ;
3115 PyObject
* obj2
= 0 ;
3116 PyObject
* obj3
= 0 ;
3118 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3125 arg2
= wxString_in_helper(obj1
);
3126 if (arg2
== NULL
) SWIG_fail
;
3129 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3130 if (PyErr_Occurred()) SWIG_fail
;
3132 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3159 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3162 wxString
*arg2
= 0 ;
3165 bool temp2
= False
;
3166 PyObject
* obj0
= 0 ;
3167 PyObject
* obj1
= 0 ;
3168 PyObject
* obj2
= 0 ;
3170 (char *) "self",(char *) "name",(char *) "type", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3177 arg2
= wxString_in_helper(obj1
);
3178 if (arg2
== NULL
) SWIG_fail
;
3181 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3207 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3209 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3212 PyObject
* obj0
= 0 ;
3213 PyObject
* obj1
= 0 ;
3215 (char *) "self",(char *) "icon", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3225 PyErr_SetString(PyExc_TypeError
,"null reference");
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3244 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
*resultobj
;
3246 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3248 PyObject
* obj0
= 0 ;
3249 PyObject
* obj1
= 0 ;
3251 (char *) "self",(char *) "height", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3257 arg2
= (int) SWIG_AsInt(obj1
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 (arg1
)->SetHeight(arg2
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 Py_INCREF(Py_None
); resultobj
= Py_None
;
3273 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3277 PyObject
* obj0
= 0 ;
3278 PyObject
* obj1
= 0 ;
3280 (char *) "self",(char *) "width", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3286 arg2
= (int) SWIG_AsInt(obj1
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 (arg1
)->SetWidth(arg2
);
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3295 Py_INCREF(Py_None
); resultobj
= Py_None
;
3302 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3307 PyObject
* obj1
= 0 ;
3309 (char *) "self",(char *) "depth", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3315 arg2
= (int) SWIG_AsInt(obj1
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 (arg1
)->SetDepth(arg2
);
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 Py_INCREF(Py_None
); resultobj
= Py_None
;
3331 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3339 (char *) "self",(char *) "size", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3347 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3356 Py_INCREF(Py_None
); resultobj
= Py_None
;
3363 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3366 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3368 PyObject
* obj0
= 0 ;
3369 PyObject
* obj1
= 0 ;
3371 (char *) "self",(char *) "other", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3395 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3398 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3403 (char *) "self",(char *) "other", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3427 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3430 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3432 return Py_BuildValue((char *)"");
3434 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxBitmap
*arg1
= 0 ;
3437 wxColour
const &arg2_defvalue
= wxNullColour
;
3438 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3441 PyObject
* obj0
= 0 ;
3442 PyObject
* obj1
= 0 ;
3444 (char *) "bitmap",(char *) "colour", NULL
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3452 PyErr_SetString(PyExc_TypeError
,"null reference");
3458 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3462 if (!wxPyCheckForApp()) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3476 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3479 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3481 return Py_BuildValue((char *)"");
3483 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxString
*arg1
= 0 ;
3487 int arg3
= (int) -1 ;
3488 int arg4
= (int) -1 ;
3490 bool temp1
= False
;
3491 PyObject
* obj0
= 0 ;
3492 PyObject
* obj1
= 0 ;
3493 PyObject
* obj2
= 0 ;
3494 PyObject
* obj3
= 0 ;
3496 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3501 arg1
= wxString_in_helper(obj0
);
3502 if (arg1
== NULL
) SWIG_fail
;
3505 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 arg3
= (int) SWIG_AsInt(obj2
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3512 arg4
= (int) SWIG_AsInt(obj3
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3516 if (!wxPyCheckForApp()) SWIG_fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3538 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
;
3540 wxIcon
*arg1
= (wxIcon
*) 0 ;
3541 PyObject
* obj0
= 0 ;
3543 (char *) "self", NULL
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 Py_INCREF(Py_None
); resultobj
= Py_None
;
3563 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
;
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3572 if (!wxPyCheckForApp()) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 result
= (wxIcon
*)new wxIcon();
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3586 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
;
3588 wxIconLocation
*arg1
= 0 ;
3590 PyObject
* obj0
= 0 ;
3592 (char *) "loc", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3600 PyErr_SetString(PyExc_TypeError
,"null reference");
3604 if (!wxPyCheckForApp()) SWIG_fail
;
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3618 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
;
3620 wxBitmap
*arg1
= 0 ;
3622 PyObject
* obj0
= 0 ;
3624 (char *) "bmp", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3632 PyErr_SetString(PyExc_TypeError
,"null reference");
3636 if (!wxPyCheckForApp()) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3650 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 PyObject
*arg1
= (PyObject
*) 0 ;
3654 PyObject
* obj0
= 0 ;
3656 (char *) "listOfStrings", NULL
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3662 if (!wxPyCheckForApp()) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 result
= (wxIcon
*)new_wxIcon(arg1
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3676 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 wxIcon
*arg1
= (wxIcon
*) 0 ;
3679 wxString
*arg2
= 0 ;
3682 bool temp2
= False
;
3683 PyObject
* obj0
= 0 ;
3684 PyObject
* obj1
= 0 ;
3685 PyObject
* obj2
= 0 ;
3687 (char *) "self",(char *) "name",(char *) "type", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3694 arg2
= wxString_in_helper(obj1
);
3695 if (arg2
== NULL
) SWIG_fail
;
3698 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3724 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxIcon
*arg1
= (wxIcon
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3730 (char *) "self", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (bool)(arg1
)->Ok();
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3752 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxIcon
*arg1
= (wxIcon
*) 0 ;
3756 PyObject
* obj0
= 0 ;
3758 (char *) "self", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 result
= (int)(arg1
)->GetWidth();
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 resultobj
= SWIG_FromInt((int)result
);
3778 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxIcon
*arg1
= (wxIcon
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "self", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (int)(arg1
)->GetHeight();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_FromInt((int)result
);
3804 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxIcon
*arg1
= (wxIcon
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3810 (char *) "self", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (int)(arg1
)->GetDepth();
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 resultobj
= SWIG_FromInt((int)result
);
3830 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
;
3832 wxIcon
*arg1
= (wxIcon
*) 0 ;
3834 PyObject
* obj0
= 0 ;
3835 PyObject
* obj1
= 0 ;
3837 (char *) "self",(char *) "w", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3843 arg2
= (int) SWIG_AsInt(obj1
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 (arg1
)->SetWidth(arg2
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 Py_INCREF(Py_None
); resultobj
= Py_None
;
3859 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxIcon
*arg1
= (wxIcon
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3864 PyObject
* obj1
= 0 ;
3866 (char *) "self",(char *) "h", NULL
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 arg2
= (int) SWIG_AsInt(obj1
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 (arg1
)->SetHeight(arg2
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 Py_INCREF(Py_None
); resultobj
= Py_None
;
3888 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 wxIcon
*arg1
= (wxIcon
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3893 PyObject
* obj1
= 0 ;
3895 (char *) "self",(char *) "d", NULL
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3901 arg2
= (int) SWIG_AsInt(obj1
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 (arg1
)->SetDepth(arg2
);
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3910 Py_INCREF(Py_None
); resultobj
= Py_None
;
3917 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 wxIcon
*arg1
= (wxIcon
*) 0 ;
3920 wxBitmap
*arg2
= 0 ;
3921 PyObject
* obj0
= 0 ;
3922 PyObject
* obj1
= 0 ;
3924 (char *) "self",(char *) "bmp", NULL
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3934 PyErr_SetString(PyExc_TypeError
,"null reference");
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3944 Py_INCREF(Py_None
); resultobj
= Py_None
;
3951 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3954 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3956 return Py_BuildValue((char *)"");
3958 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3961 int arg2
= (int) 0 ;
3962 wxIconLocation
*result
;
3963 bool temp1
= False
;
3964 PyObject
* obj0
= 0 ;
3965 PyObject
* obj1
= 0 ;
3967 (char *) "filename",(char *) "num", NULL
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3973 arg1
= wxString_in_helper(obj0
);
3974 if (arg1
== NULL
) SWIG_fail
;
3979 arg2
= (int) SWIG_AsInt(obj1
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4004 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
;
4006 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4007 PyObject
* obj0
= 0 ;
4009 (char *) "self", NULL
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4022 Py_INCREF(Py_None
); resultobj
= Py_None
;
4029 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4033 PyObject
* obj0
= 0 ;
4035 (char *) "self", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4057 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4060 wxString
*arg2
= 0 ;
4061 bool temp2
= False
;
4062 PyObject
* obj0
= 0 ;
4063 PyObject
* obj1
= 0 ;
4065 (char *) "self",(char *) "filename", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4072 arg2
= wxString_in_helper(obj1
);
4073 if (arg2
== NULL
) SWIG_fail
;
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 (arg1
)->SetFileName((wxString
const &)*arg2
);
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 Py_INCREF(Py_None
); resultobj
= Py_None
;
4098 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
;
4100 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4102 PyObject
* obj0
= 0 ;
4104 (char *) "self", NULL
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4114 result
= (wxString
*) &_result_ref
;
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4122 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4124 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4133 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4140 (char *) "self",(char *) "num", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4146 arg2
= (int) SWIG_AsInt(obj1
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 wxIconLocation_SetIndex(arg1
,arg2
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 Py_INCREF(Py_None
); resultobj
= Py_None
;
4162 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4164 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4166 PyObject
* obj0
= 0 ;
4168 (char *) "self", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 result
= (int)wxIconLocation_GetIndex(arg1
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= SWIG_FromInt((int)result
);
4188 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4191 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4193 return Py_BuildValue((char *)"");
4195 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4197 wxIconBundle
*result
;
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (wxIconBundle
*)new wxIconBundle();
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4217 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
;
4219 wxString
*arg1
= 0 ;
4221 wxIconBundle
*result
;
4222 bool temp1
= False
;
4223 PyObject
* obj0
= 0 ;
4224 PyObject
* obj1
= 0 ;
4226 (char *) "file",(char *) "type", NULL
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4231 arg1
= wxString_in_helper(obj0
);
4232 if (arg1
== NULL
) SWIG_fail
;
4235 arg2
= (long) SWIG_AsLong(obj1
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4259 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4262 wxIconBundle
*result
;
4263 PyObject
* obj0
= 0 ;
4265 (char *) "icon", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4273 PyErr_SetString(PyExc_TypeError
,"null reference");
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4290 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
*resultobj
;
4292 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4293 PyObject
* obj0
= 0 ;
4295 (char *) "self", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4308 Py_INCREF(Py_None
); resultobj
= Py_None
;
4315 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
;
4317 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4322 (char *) "self",(char *) "icon", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4332 PyErr_SetString(PyExc_TypeError
,"null reference");
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4352 wxString
*arg2
= 0 ;
4354 bool temp2
= False
;
4355 PyObject
* obj0
= 0 ;
4356 PyObject
* obj1
= 0 ;
4357 PyObject
* obj2
= 0 ;
4359 (char *) "self",(char *) "file",(char *) "type", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4366 arg2
= wxString_in_helper(obj1
);
4367 if (arg2
== NULL
) SWIG_fail
;
4370 arg3
= (long) SWIG_AsLong(obj2
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 Py_INCREF(Py_None
); resultobj
= Py_None
;
4394 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4396 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4401 PyObject
* obj1
= 0 ;
4403 (char *) "self",(char *) "size", NULL
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4411 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4417 result
= (wxIcon
*) &_result_ref
;
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4424 wxIcon
* resultptr
= new wxIcon(*result
);
4425 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4433 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4436 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4438 return Py_BuildValue((char *)"");
4440 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
;
4442 wxString
*arg1
= (wxString
*) 0 ;
4444 int arg3
= (int) 0 ;
4445 int arg4
= (int) 0 ;
4447 bool temp1
= False
;
4448 PyObject
* obj0
= 0 ;
4449 PyObject
* obj1
= 0 ;
4450 PyObject
* obj2
= 0 ;
4451 PyObject
* obj3
= 0 ;
4453 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4458 arg1
= wxString_in_helper(obj0
);
4459 if (arg1
== NULL
) SWIG_fail
;
4462 arg2
= (long) SWIG_AsLong(obj1
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 arg3
= (int) SWIG_AsInt(obj2
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4469 arg4
= (int) SWIG_AsInt(obj3
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4473 if (!wxPyCheckForApp()) SWIG_fail
;
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4495 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4497 wxCursor
*arg1
= (wxCursor
*) 0 ;
4498 PyObject
* obj0
= 0 ;
4500 (char *) "self", NULL
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 Py_INCREF(Py_None
); resultobj
= Py_None
;
4520 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4524 PyObject
* obj0
= 0 ;
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4530 arg1
= (int) SWIG_AsInt(obj0
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 if (!wxPyCheckForApp()) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (wxCursor
*)new wxCursor(arg1
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4547 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
;
4551 PyObject
* obj0
= 0 ;
4553 (char *) "image", NULL
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4561 PyErr_SetString(PyExc_TypeError
,"null reference");
4565 if (!wxPyCheckForApp()) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4579 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxCursor
*arg1
= (wxCursor
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4585 (char *) "self", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 result
= (bool)(arg1
)->Ok();
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4607 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4610 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4612 return Py_BuildValue((char *)"");
4614 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4616 int arg1
= (int) 0 ;
4617 int arg2
= (int) 0 ;
4618 int arg3
= (int) 0 ;
4619 int arg4
= (int) 0 ;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4623 PyObject
* obj2
= 0 ;
4624 PyObject
* obj3
= 0 ;
4626 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4631 arg1
= (int) SWIG_AsInt(obj0
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4635 arg2
= (int) SWIG_AsInt(obj1
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4639 arg3
= (int) SWIG_AsInt(obj2
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4643 arg4
= (int) SWIG_AsInt(obj3
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4647 if (!wxPyCheckForApp()) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4661 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxBitmap
*arg1
= 0 ;
4665 PyObject
* obj0
= 0 ;
4667 (char *) "bmp", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4675 PyErr_SetString(PyExc_TypeError
,"null reference");
4679 if (!wxPyCheckForApp()) SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4693 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxBitmap
*arg1
= 0 ;
4696 wxColour
*arg2
= 0 ;
4697 int arg3
= (int) 0 ;
4700 PyObject
* obj0
= 0 ;
4701 PyObject
* obj1
= 0 ;
4702 PyObject
* obj2
= 0 ;
4704 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4712 PyErr_SetString(PyExc_TypeError
,"null reference");
4717 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4720 arg3
= (int) SWIG_AsInt(obj2
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4724 if (!wxPyCheckForApp()) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4738 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4741 wxPoint
*arg2
= (wxPoint
*) 0 ;
4742 int arg3
= (int) wxWINDING_RULE
;
4744 PyObject
* obj0
= 0 ;
4745 PyObject
* obj1
= 0 ;
4747 (char *) "points",(char *) "fillStyle", NULL
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4752 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4753 if (arg2
== NULL
) SWIG_fail
;
4756 arg3
= (int) SWIG_AsInt(obj1
);
4757 if (PyErr_Occurred()) SWIG_fail
;
4760 if (!wxPyCheckForApp()) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4769 if (arg2
) delete [] arg2
;
4774 if (arg2
) delete [] arg2
;
4780 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 wxRegion
*arg1
= (wxRegion
*) 0 ;
4783 PyObject
* obj0
= 0 ;
4785 (char *) "self", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 Py_INCREF(Py_None
); resultobj
= Py_None
;
4805 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
*resultobj
;
4807 wxRegion
*arg1
= (wxRegion
*) 0 ;
4808 PyObject
* obj0
= 0 ;
4810 (char *) "self", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 Py_INCREF(Py_None
); resultobj
= Py_None
;
4830 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4832 wxRegion
*arg1
= (wxRegion
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4838 PyObject
* obj2
= 0 ;
4840 (char *) "self",(char *) "x",(char *) "y", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4846 arg2
= (int) SWIG_AsInt(obj1
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4848 arg3
= (int) SWIG_AsInt(obj2
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4866 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4868 wxRegion
*arg1
= (wxRegion
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4874 PyObject
* obj2
= 0 ;
4876 (char *) "self",(char *) "x",(char *) "y", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4882 arg2
= (int) SWIG_AsInt(obj1
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4884 arg3
= (int) SWIG_AsInt(obj2
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_FromInt((int)result
);
4900 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxRegion
*arg1
= (wxRegion
*) 0 ;
4906 PyObject
* obj0
= 0 ;
4907 PyObject
* obj1
= 0 ;
4909 (char *) "self",(char *) "pt", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= SWIG_FromInt((int)result
);
4933 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxRegion
*arg1
= (wxRegion
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4942 (char *) "self",(char *) "rect", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4950 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= SWIG_FromInt((int)result
);
4966 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxRegion
*arg1
= (wxRegion
*) 0 ;
4974 PyObject
* obj0
= 0 ;
4975 PyObject
* obj1
= 0 ;
4976 PyObject
* obj2
= 0 ;
4977 PyObject
* obj3
= 0 ;
4978 PyObject
* obj4
= 0 ;
4980 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4986 arg2
= (int) SWIG_AsInt(obj1
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4988 arg3
= (int) SWIG_AsInt(obj2
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4990 arg4
= (int) SWIG_AsInt(obj3
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4992 arg5
= (int) SWIG_AsInt(obj4
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= SWIG_FromInt((int)result
);
5008 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxRegion
*arg1
= (wxRegion
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5014 (char *) "self", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (arg1
)->GetBox();
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5029 resultptr
= new wxRect((wxRect
&) result
);
5030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5038 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
;
5040 wxRegion
*arg1
= (wxRegion
*) 0 ;
5046 PyObject
* obj0
= 0 ;
5047 PyObject
* obj1
= 0 ;
5048 PyObject
* obj2
= 0 ;
5049 PyObject
* obj3
= 0 ;
5050 PyObject
* obj4
= 0 ;
5052 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5058 arg2
= (int) SWIG_AsInt(obj1
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5060 arg3
= (int) SWIG_AsInt(obj2
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5062 arg4
= (int) SWIG_AsInt(obj3
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5064 arg5
= (int) SWIG_AsInt(obj4
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5082 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxRegion
*arg1
= (wxRegion
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5089 PyObject
* obj1
= 0 ;
5091 (char *) "self",(char *) "rect", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5099 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5117 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
;
5119 wxRegion
*arg1
= (wxRegion
*) 0 ;
5120 wxRegion
*arg2
= 0 ;
5122 PyObject
* obj0
= 0 ;
5123 PyObject
* obj1
= 0 ;
5125 (char *) "self",(char *) "region", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5135 PyErr_SetString(PyExc_TypeError
,"null reference");
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5154 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxRegion
*arg1
= (wxRegion
*) 0 ;
5158 PyObject
* obj0
= 0 ;
5160 (char *) "self", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (bool)(arg1
)->IsEmpty();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5182 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxRegion
*arg1
= (wxRegion
*) 0 ;
5190 PyObject
* obj0
= 0 ;
5191 PyObject
* obj1
= 0 ;
5192 PyObject
* obj2
= 0 ;
5193 PyObject
* obj3
= 0 ;
5194 PyObject
* obj4
= 0 ;
5196 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5202 arg2
= (int) SWIG_AsInt(obj1
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5204 arg3
= (int) SWIG_AsInt(obj2
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5206 arg4
= (int) SWIG_AsInt(obj3
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5208 arg5
= (int) SWIG_AsInt(obj4
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5226 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxRegion
*arg1
= (wxRegion
*) 0 ;
5232 PyObject
* obj0
= 0 ;
5233 PyObject
* obj1
= 0 ;
5235 (char *) "self",(char *) "rect", NULL
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5243 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5261 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxRegion
*arg1
= (wxRegion
*) 0 ;
5264 wxRegion
*arg2
= 0 ;
5266 PyObject
* obj0
= 0 ;
5267 PyObject
* obj1
= 0 ;
5269 (char *) "self",(char *) "region", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5279 PyErr_SetString(PyExc_TypeError
,"null reference");
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5298 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxRegion
*arg1
= (wxRegion
*) 0 ;
5306 PyObject
* obj0
= 0 ;
5307 PyObject
* obj1
= 0 ;
5308 PyObject
* obj2
= 0 ;
5309 PyObject
* obj3
= 0 ;
5310 PyObject
* obj4
= 0 ;
5312 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5318 arg2
= (int) SWIG_AsInt(obj1
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5320 arg3
= (int) SWIG_AsInt(obj2
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5322 arg4
= (int) SWIG_AsInt(obj3
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5324 arg5
= (int) SWIG_AsInt(obj4
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5342 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxRegion
*arg1
= (wxRegion
*) 0 ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5351 (char *) "self",(char *) "rect", NULL
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5359 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5377 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxRegion
*arg1
= (wxRegion
*) 0 ;
5380 wxRegion
*arg2
= 0 ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5385 (char *) "self",(char *) "region", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5395 PyErr_SetString(PyExc_TypeError
,"null reference");
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5414 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxRegion
*arg1
= (wxRegion
*) 0 ;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5424 PyObject
* obj2
= 0 ;
5425 PyObject
* obj3
= 0 ;
5426 PyObject
* obj4
= 0 ;
5428 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5434 arg2
= (int) SWIG_AsInt(obj1
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5436 arg3
= (int) SWIG_AsInt(obj2
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5438 arg4
= (int) SWIG_AsInt(obj3
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5440 arg5
= (int) SWIG_AsInt(obj4
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5458 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
;
5460 wxRegion
*arg1
= (wxRegion
*) 0 ;
5464 PyObject
* obj0
= 0 ;
5465 PyObject
* obj1
= 0 ;
5467 (char *) "self",(char *) "rect", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5475 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5493 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxRegion
*arg1
= (wxRegion
*) 0 ;
5496 wxRegion
*arg2
= 0 ;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5501 (char *) "self",(char *) "region", NULL
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5511 PyErr_SetString(PyExc_TypeError
,"null reference");
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5530 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxRegion
*arg1
= (wxRegion
*) 0 ;
5533 SwigValueWrapper
< wxBitmap
> result
;
5534 PyObject
* obj0
= 0 ;
5536 (char *) "self", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (arg1
)->ConvertToBitmap();
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5550 wxBitmap
* resultptr
;
5551 resultptr
= new wxBitmap((wxBitmap
&) result
);
5552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5560 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxRegion
*arg1
= (wxRegion
*) 0 ;
5563 wxBitmap
*arg2
= 0 ;
5565 PyObject
* obj0
= 0 ;
5566 PyObject
* obj1
= 0 ;
5568 (char *) "self",(char *) "bmp", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5578 PyErr_SetString(PyExc_TypeError
,"null reference");
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5597 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxRegion
*arg1
= (wxRegion
*) 0 ;
5600 wxBitmap
*arg2
= 0 ;
5601 wxColour
*arg3
= 0 ;
5602 int arg4
= (int) 0 ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5607 PyObject
* obj2
= 0 ;
5608 PyObject
* obj3
= 0 ;
5610 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5620 PyErr_SetString(PyExc_TypeError
,"null reference");
5625 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5628 arg4
= (int) SWIG_AsInt(obj3
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5647 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5650 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5652 return Py_BuildValue((char *)"");
5654 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
*resultobj
;
5656 wxRegion
*arg1
= 0 ;
5657 wxRegionIterator
*result
;
5658 PyObject
* obj0
= 0 ;
5660 (char *) "region", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5668 PyErr_SetString(PyExc_TypeError
,"null reference");
5672 if (!wxPyCheckForApp()) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5686 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5691 (char *) "self", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 Py_INCREF(Py_None
); resultobj
= Py_None
;
5711 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5715 PyObject
* obj0
= 0 ;
5717 (char *) "self", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 result
= (int)(arg1
)->GetX();
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 resultobj
= SWIG_FromInt((int)result
);
5737 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5741 PyObject
* obj0
= 0 ;
5743 (char *) "self", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (int)(arg1
)->GetY();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5756 resultobj
= SWIG_FromInt((int)result
);
5763 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
;
5765 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5767 PyObject
* obj0
= 0 ;
5769 (char *) "self", NULL
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 result
= (int)(arg1
)->GetW();
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5782 resultobj
= SWIG_FromInt((int)result
);
5789 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
;
5791 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5793 PyObject
* obj0
= 0 ;
5795 (char *) "self", NULL
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (int)(arg1
)->GetWidth();
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 resultobj
= SWIG_FromInt((int)result
);
5815 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5821 (char *) "self", NULL
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (int)(arg1
)->GetH();
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= SWIG_FromInt((int)result
);
5841 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5845 PyObject
* obj0
= 0 ;
5847 (char *) "self", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= (int)(arg1
)->GetHeight();
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= SWIG_FromInt((int)result
);
5867 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
;
5869 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5871 PyObject
* obj0
= 0 ;
5873 (char *) "self", NULL
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 result
= (arg1
)->GetRect();
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5888 resultptr
= new wxRect((wxRect
&) result
);
5889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5897 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5903 (char *) "self", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (bool)(arg1
)->HaveRects();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5925 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5928 PyObject
* obj0
= 0 ;
5930 (char *) "self", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 Py_INCREF(Py_None
); resultobj
= Py_None
;
5950 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5952 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5953 PyObject
* obj0
= 0 ;
5955 (char *) "self", NULL
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 wxRegionIterator_Next(arg1
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 Py_INCREF(Py_None
); resultobj
= Py_None
;
5975 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5981 (char *) "self", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6003 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6006 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6008 return Py_BuildValue((char *)"");
6010 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxNativeFontInfo
*result
;
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6032 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
;
6034 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6035 PyObject
* obj0
= 0 ;
6037 (char *) "self", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 Py_INCREF(Py_None
); resultobj
= Py_None
;
6057 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6060 PyObject
* obj0
= 0 ;
6062 (char *) "self", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6075 Py_INCREF(Py_None
); resultobj
= Py_None
;
6082 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6084 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6086 PyObject
* obj0
= 0 ;
6087 PyObject
* obj1
= 0 ;
6089 (char *) "self",(char *) "font", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6099 PyErr_SetString(PyExc_TypeError
,"null reference");
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 Py_INCREF(Py_None
); resultobj
= Py_None
;
6116 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6120 PyObject
* obj0
= 0 ;
6122 (char *) "self", NULL
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 resultobj
= SWIG_FromInt((int)result
);
6142 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
;
6144 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6146 PyObject
* obj0
= 0 ;
6148 (char *) "self", NULL
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= SWIG_FromInt((int)result
);
6168 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6174 (char *) "self", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= SWIG_FromInt((int)result
);
6194 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6200 (char *) "self", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6222 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6226 PyObject
* obj0
= 0 ;
6228 (char *) "self", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6254 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
;
6256 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6258 PyObject
* obj0
= 0 ;
6260 (char *) "self", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= SWIG_FromInt((int)result
);
6280 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6284 PyObject
* obj0
= 0 ;
6286 (char *) "self", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= SWIG_FromInt((int)result
);
6306 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6308 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6310 PyObject
* obj0
= 0 ;
6311 PyObject
* obj1
= 0 ;
6313 (char *) "self",(char *) "pointsize", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6319 arg2
= (int) SWIG_AsInt(obj1
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 (arg1
)->SetPointSize(arg2
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 Py_INCREF(Py_None
); resultobj
= Py_None
;
6335 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6339 PyObject
* obj0
= 0 ;
6340 PyObject
* obj1
= 0 ;
6342 (char *) "self",(char *) "style", NULL
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6348 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 Py_INCREF(Py_None
); resultobj
= Py_None
;
6364 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6371 (char *) "self",(char *) "weight", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6386 Py_INCREF(Py_None
); resultobj
= Py_None
;
6393 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
;
6395 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6397 PyObject
* obj0
= 0 ;
6398 PyObject
* obj1
= 0 ;
6400 (char *) "self",(char *) "underlined", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6406 arg2
= (bool) SWIG_AsBool(obj1
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 (arg1
)->SetUnderlined(arg2
);
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 Py_INCREF(Py_None
); resultobj
= Py_None
;
6422 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6427 PyObject
* obj1
= 0 ;
6429 (char *) "self",(char *) "facename", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6436 wxString
* sptr
= wxString_in_helper(obj1
);
6437 if (sptr
== NULL
) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 (arg1
)->SetFaceName(arg2
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 Py_INCREF(Py_None
); resultobj
= Py_None
;
6455 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6462 (char *) "self",(char *) "family", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6468 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 Py_INCREF(Py_None
); resultobj
= Py_None
;
6484 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
*resultobj
;
6486 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6488 PyObject
* obj0
= 0 ;
6489 PyObject
* obj1
= 0 ;
6491 (char *) "self",(char *) "encoding", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6497 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 Py_INCREF(Py_None
); resultobj
= Py_None
;
6513 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
;
6515 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6516 wxString
*arg2
= 0 ;
6518 bool temp2
= False
;
6519 PyObject
* obj0
= 0 ;
6520 PyObject
* obj1
= 0 ;
6522 (char *) "self",(char *) "s", NULL
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6529 arg2
= wxString_in_helper(obj1
);
6530 if (arg2
== NULL
) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6557 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6561 PyObject
* obj0
= 0 ;
6563 (char *) "self", NULL
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6589 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
;
6591 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6595 (char *) "self", NULL
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 result
= wxNativeFontInfo___str__(arg1
);
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6621 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
;
6623 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6624 wxString
*arg2
= 0 ;
6626 bool temp2
= False
;
6627 PyObject
* obj0
= 0 ;
6628 PyObject
* obj1
= 0 ;
6630 (char *) "self",(char *) "s", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6637 arg2
= wxString_in_helper(obj1
);
6638 if (arg2
== NULL
) SWIG_fail
;
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6665 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6669 PyObject
* obj0
= 0 ;
6671 (char *) "self", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6697 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6700 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6702 return Py_BuildValue((char *)"");
6704 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6707 wxString
*arg2
= (wxString
*) 0 ;
6708 bool temp2
= False
;
6709 PyObject
* obj0
= 0 ;
6710 PyObject
* obj1
= 0 ;
6712 (char *) "self",(char *) "facename", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6719 arg2
= wxString_in_helper(obj1
);
6720 if (arg2
== NULL
) SWIG_fail
;
6723 if (arg1
) (arg1
)->facename
= *arg2
;
6725 Py_INCREF(Py_None
); resultobj
= Py_None
;
6740 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6744 PyObject
* obj0
= 0 ;
6746 (char *) "self", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6752 result
= (wxString
*)& ((arg1
)->facename
);
6756 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6758 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6767 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
*resultobj
;
6769 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6771 PyObject
* obj0
= 0 ;
6772 PyObject
* obj1
= 0 ;
6774 (char *) "self",(char *) "encoding", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6780 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6782 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6784 Py_INCREF(Py_None
); resultobj
= Py_None
;
6791 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6795 PyObject
* obj0
= 0 ;
6797 (char *) "self", NULL
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6803 result
= (int) ((arg1
)->encoding
);
6805 resultobj
= SWIG_FromInt((int)result
);
6812 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxNativeEncodingInfo
*result
;
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6834 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6837 PyObject
* obj0
= 0 ;
6839 (char *) "self", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 Py_INCREF(Py_None
); resultobj
= Py_None
;
6859 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6862 wxString
*arg2
= 0 ;
6864 bool temp2
= False
;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6868 (char *) "self",(char *) "s", NULL
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6875 arg2
= wxString_in_helper(obj1
);
6876 if (arg2
== NULL
) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6903 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
;
6905 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6907 PyObject
* obj0
= 0 ;
6909 (char *) "self", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6935 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6938 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6940 return Py_BuildValue((char *)"");
6942 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6945 wxNativeEncodingInfo
*result
;
6946 PyObject
* obj0
= 0 ;
6948 (char *) "encoding", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6952 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6968 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxNativeEncodingInfo
*arg1
= 0 ;
6972 PyObject
* obj0
= 0 ;
6974 (char *) "info", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6982 PyErr_SetString(PyExc_TypeError
,"null reference");
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7001 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxFontMapper
*result
;
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 result
= (wxFontMapper
*)new wxFontMapper();
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7023 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 Py_INCREF(Py_None
); resultobj
= Py_None
;
7048 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxFontMapper
*result
;
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 result
= (wxFontMapper
*)wxFontMapper::Get();
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7070 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7073 wxFontMapper
*result
;
7074 PyObject
* obj0
= 0 ;
7076 (char *) "mapper", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7096 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7099 wxString
*arg2
= 0 ;
7100 bool arg3
= (bool) True
;
7102 bool temp2
= False
;
7103 PyObject
* obj0
= 0 ;
7104 PyObject
* obj1
= 0 ;
7105 PyObject
* obj2
= 0 ;
7107 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7114 arg2
= wxString_in_helper(obj1
);
7115 if (arg2
== NULL
) SWIG_fail
;
7119 arg3
= (bool) SWIG_AsBool(obj2
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= SWIG_FromInt((int)result
);
7144 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7166 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7170 PyObject
* obj0
= 0 ;
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7176 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (int)wxFontMapper::GetEncoding(arg1
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 resultobj
= SWIG_FromInt((int)result
);
7192 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7196 PyObject
* obj0
= 0 ;
7198 (char *) "encoding", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7202 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7224 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7228 PyObject
* obj0
= 0 ;
7230 (char *) "encoding", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7234 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7256 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxString
*arg1
= 0 ;
7260 bool temp1
= False
;
7261 PyObject
* obj0
= 0 ;
7263 (char *) "name", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7268 arg1
= wxString_in_helper(obj0
);
7269 if (arg1
== NULL
) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= SWIG_FromInt((int)result
);
7294 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7296 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7297 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7298 PyObject
* obj0
= 0 ;
7299 PyObject
* obj1
= 0 ;
7301 (char *) "self",(char *) "config", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 (arg1
)->SetConfig(arg2
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 Py_INCREF(Py_None
); resultobj
= Py_None
;
7323 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7326 wxString
*arg2
= 0 ;
7327 bool temp2
= False
;
7328 PyObject
* obj0
= 0 ;
7329 PyObject
* obj1
= 0 ;
7331 (char *) "self",(char *) "prefix", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7338 arg2
= wxString_in_helper(obj1
);
7339 if (arg2
== NULL
) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7364 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= wxFontMapper::GetDefaultConfigPath();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7392 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7396 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7397 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7398 bool arg4
= (bool) True
;
7400 bool temp3
= False
;
7401 PyObject
* obj0
= 0 ;
7402 PyObject
* obj1
= 0 ;
7403 PyObject
* obj2
= 0 ;
7404 PyObject
* obj3
= 0 ;
7406 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7412 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7416 arg3
= wxString_in_helper(obj2
);
7417 if (arg3
== NULL
) SWIG_fail
;
7422 arg4
= (bool) SWIG_AsBool(obj3
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7447 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7451 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7452 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7454 bool temp3
= False
;
7455 PyObject
* obj0
= 0 ;
7456 PyObject
* obj1
= 0 ;
7457 PyObject
* obj2
= 0 ;
7459 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7465 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7469 arg3
= wxString_in_helper(obj2
);
7470 if (arg3
== NULL
) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7498 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7501 wxWindow
*arg2
= (wxWindow
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7505 (char *) "self",(char *) "parent", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 (arg1
)->SetDialogParent(arg2
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7520 Py_INCREF(Py_None
); resultobj
= Py_None
;
7527 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7530 wxString
*arg2
= 0 ;
7531 bool temp2
= False
;
7532 PyObject
* obj0
= 0 ;
7533 PyObject
* obj1
= 0 ;
7535 (char *) "self",(char *) "title", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7542 arg2
= wxString_in_helper(obj1
);
7543 if (arg2
== NULL
) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7553 Py_INCREF(Py_None
); resultobj
= Py_None
;
7568 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7571 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7573 return Py_BuildValue((char *)"");
7575 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7581 bool arg5
= (bool) False
;
7582 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7583 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7584 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7586 bool temp6
= False
;
7587 PyObject
* obj0
= 0 ;
7588 PyObject
* obj1
= 0 ;
7589 PyObject
* obj2
= 0 ;
7590 PyObject
* obj3
= 0 ;
7591 PyObject
* obj4
= 0 ;
7592 PyObject
* obj5
= 0 ;
7593 PyObject
* obj6
= 0 ;
7595 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7599 arg1
= (int) SWIG_AsInt(obj0
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7601 arg2
= (int) SWIG_AsInt(obj1
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7603 arg3
= (int) SWIG_AsInt(obj2
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7605 arg4
= (int) SWIG_AsInt(obj3
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 arg5
= (bool) SWIG_AsBool(obj4
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7613 arg6
= wxString_in_helper(obj5
);
7614 if (arg6
== NULL
) SWIG_fail
;
7619 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7623 if (!wxPyCheckForApp()) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7645 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxFont
*arg1
= (wxFont
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "self", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxNativeFontInfo
*arg1
= 0 ;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "info", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7684 PyErr_SetString(PyExc_TypeError
,"null reference");
7688 if (!wxPyCheckForApp()) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7702 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 wxString
*arg1
= 0 ;
7706 bool temp1
= False
;
7707 PyObject
* obj0
= 0 ;
7709 (char *) "info", NULL
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7714 arg1
= wxString_in_helper(obj0
);
7715 if (arg1
== NULL
) SWIG_fail
;
7719 if (!wxPyCheckForApp()) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7741 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7745 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7746 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7747 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7748 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7750 bool temp4
= False
;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7753 PyObject
* obj2
= 0 ;
7754 PyObject
* obj3
= 0 ;
7755 PyObject
* obj4
= 0 ;
7757 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7761 arg1
= (int) SWIG_AsInt(obj0
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7763 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 arg3
= (int) SWIG_AsInt(obj2
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7771 arg4
= wxString_in_helper(obj3
);
7772 if (arg4
== NULL
) SWIG_fail
;
7777 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7781 if (!wxPyCheckForApp()) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7803 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxFont
*arg1
= (wxFont
*) 0 ;
7807 PyObject
* obj0
= 0 ;
7809 (char *) "self", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 result
= (bool)((wxFont
const *)arg1
)->Ok();
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7831 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxFont
*arg1
= (wxFont
*) 0 ;
7834 wxFont
*arg2
= (wxFont
*) 0 ;
7836 PyObject
* obj0
= 0 ;
7837 PyObject
* obj1
= 0 ;
7839 (char *) "self",(char *) "other", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7863 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxFont
*arg1
= (wxFont
*) 0 ;
7866 wxFont
*arg2
= (wxFont
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7871 (char *) "self",(char *) "other", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7895 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxFont
*arg1
= (wxFont
*) 0 ;
7899 PyObject
* obj0
= 0 ;
7901 (char *) "self", NULL
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7914 resultobj
= SWIG_FromInt((int)result
);
7921 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
;
7923 wxFont
*arg1
= (wxFont
*) 0 ;
7925 PyObject
* obj0
= 0 ;
7927 (char *) "self", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 resultobj
= SWIG_FromInt((int)result
);
7947 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
*resultobj
;
7949 wxFont
*arg1
= (wxFont
*) 0 ;
7951 PyObject
* obj0
= 0 ;
7953 (char *) "self", NULL
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= SWIG_FromInt((int)result
);
7973 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
;
7975 wxFont
*arg1
= (wxFont
*) 0 ;
7977 PyObject
* obj0
= 0 ;
7979 (char *) "self", NULL
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_FromInt((int)result
);
7999 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxFont
*arg1
= (wxFont
*) 0 ;
8003 PyObject
* obj0
= 0 ;
8005 (char *) "self", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8027 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
;
8029 wxFont
*arg1
= (wxFont
*) 0 ;
8031 PyObject
* obj0
= 0 ;
8033 (char *) "self", NULL
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= ((wxFont
const *)arg1
)->GetFaceName();
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8059 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxFont
*arg1
= (wxFont
*) 0 ;
8063 PyObject
* obj0
= 0 ;
8065 (char *) "self", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= SWIG_FromInt((int)result
);
8085 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxFont
*arg1
= (wxFont
*) 0 ;
8088 wxNativeFontInfo
*result
;
8089 PyObject
* obj0
= 0 ;
8091 (char *) "self", NULL
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8111 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxFont
*arg1
= (wxFont
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8117 (char *) "self", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8139 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
;
8141 wxFont
*arg1
= (wxFont
*) 0 ;
8143 PyObject
* obj0
= 0 ;
8145 (char *) "self", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8171 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxFont
*arg1
= (wxFont
*) 0 ;
8175 PyObject
* obj0
= 0 ;
8177 (char *) "self", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8203 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxFont
*arg1
= (wxFont
*) 0 ;
8207 PyObject
* obj0
= 0 ;
8208 PyObject
* obj1
= 0 ;
8210 (char *) "self",(char *) "pointSize", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8216 arg2
= (int) SWIG_AsInt(obj1
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 (arg1
)->SetPointSize(arg2
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 Py_INCREF(Py_None
); resultobj
= Py_None
;
8232 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxFont
*arg1
= (wxFont
*) 0 ;
8236 PyObject
* obj0
= 0 ;
8237 PyObject
* obj1
= 0 ;
8239 (char *) "self",(char *) "family", NULL
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8245 arg2
= (int) SWIG_AsInt(obj1
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 (arg1
)->SetFamily(arg2
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 Py_INCREF(Py_None
); resultobj
= Py_None
;
8261 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
;
8263 wxFont
*arg1
= (wxFont
*) 0 ;
8265 PyObject
* obj0
= 0 ;
8266 PyObject
* obj1
= 0 ;
8268 (char *) "self",(char *) "style", NULL
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8274 arg2
= (int) SWIG_AsInt(obj1
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 (arg1
)->SetStyle(arg2
);
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 Py_INCREF(Py_None
); resultobj
= Py_None
;
8290 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxFont
*arg1
= (wxFont
*) 0 ;
8294 PyObject
* obj0
= 0 ;
8295 PyObject
* obj1
= 0 ;
8297 (char *) "self",(char *) "weight", NULL
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8303 arg2
= (int) SWIG_AsInt(obj1
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 (arg1
)->SetWeight(arg2
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 Py_INCREF(Py_None
); resultobj
= Py_None
;
8319 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8320 PyObject
*resultobj
;
8321 wxFont
*arg1
= (wxFont
*) 0 ;
8322 wxString
*arg2
= 0 ;
8323 bool temp2
= False
;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8327 (char *) "self",(char *) "faceName", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8334 arg2
= wxString_in_helper(obj1
);
8335 if (arg2
== NULL
) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 Py_INCREF(Py_None
); resultobj
= Py_None
;
8360 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 wxFont
*arg1
= (wxFont
*) 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8367 (char *) "self",(char *) "underlined", NULL
8370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8373 arg2
= (bool) SWIG_AsBool(obj1
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 (arg1
)->SetUnderlined(arg2
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 Py_INCREF(Py_None
); resultobj
= Py_None
;
8389 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxFont
*arg1
= (wxFont
*) 0 ;
8393 PyObject
* obj0
= 0 ;
8394 PyObject
* obj1
= 0 ;
8396 (char *) "self",(char *) "encoding", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8402 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 Py_INCREF(Py_None
); resultobj
= Py_None
;
8418 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
;
8420 wxFont
*arg1
= (wxFont
*) 0 ;
8421 wxNativeFontInfo
*arg2
= 0 ;
8422 PyObject
* obj0
= 0 ;
8423 PyObject
* obj1
= 0 ;
8425 (char *) "self",(char *) "info", NULL
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8435 PyErr_SetString(PyExc_TypeError
,"null reference");
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 Py_INCREF(Py_None
); resultobj
= Py_None
;
8452 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8454 wxFont
*arg1
= (wxFont
*) 0 ;
8455 wxString
*arg2
= 0 ;
8456 bool temp2
= False
;
8457 PyObject
* obj0
= 0 ;
8458 PyObject
* obj1
= 0 ;
8460 (char *) "self",(char *) "info", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 arg2
= wxString_in_helper(obj1
);
8468 if (arg2
== NULL
) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 Py_INCREF(Py_None
); resultobj
= Py_None
;
8493 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8495 wxFont
*arg1
= (wxFont
*) 0 ;
8496 wxString
*arg2
= 0 ;
8497 bool temp2
= False
;
8498 PyObject
* obj0
= 0 ;
8499 PyObject
* obj1
= 0 ;
8501 (char *) "self",(char *) "info", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8508 arg2
= wxString_in_helper(obj1
);
8509 if (arg2
== NULL
) SWIG_fail
;
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 Py_INCREF(Py_None
); resultobj
= Py_None
;
8534 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxFont
*arg1
= (wxFont
*) 0 ;
8538 PyObject
* obj0
= 0 ;
8540 (char *) "self", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8566 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
*resultobj
;
8568 wxFont
*arg1
= (wxFont
*) 0 ;
8570 PyObject
* obj0
= 0 ;
8572 (char *) "self", NULL
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 result
= ((wxFont
const *)arg1
)->GetStyleString();
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8598 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxFont
*arg1
= (wxFont
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8604 (char *) "self", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 result
= ((wxFont
const *)arg1
)->GetWeightString();
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8630 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxFont
*arg1
= (wxFont
*) 0 ;
8633 bool arg2
= (bool) True
;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8637 (char *) "self",(char *) "no", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8644 arg2
= (bool) SWIG_AsBool(obj1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 (arg1
)->SetNoAntiAliasing(arg2
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 Py_INCREF(Py_None
); resultobj
= Py_None
;
8661 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
;
8663 wxFont
*arg1
= (wxFont
*) 0 ;
8665 PyObject
* obj0
= 0 ;
8667 (char *) "self", NULL
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8689 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8698 if (!wxPyCheckForApp()) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 result
= (int)wxFont::GetDefaultEncoding();
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= SWIG_FromInt((int)result
);
8712 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
;
8715 PyObject
* obj0
= 0 ;
8717 (char *) "encoding", NULL
8720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8721 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 if (!wxPyCheckForApp()) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 Py_INCREF(Py_None
); resultobj
= Py_None
;
8738 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8741 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8743 return Py_BuildValue((char *)"");
8745 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxPyFontEnumerator
*result
;
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8754 if (!wxPyCheckForApp()) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8768 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8771 PyObject
* obj0
= 0 ;
8773 (char *) "self", NULL
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 Py_INCREF(Py_None
); resultobj
= Py_None
;
8793 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
;
8795 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8796 PyObject
*arg2
= (PyObject
*) 0 ;
8797 PyObject
*arg3
= (PyObject
*) 0 ;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8801 PyObject
* obj2
= 0 ;
8802 PyObject
* obj3
= 0 ;
8804 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8812 arg4
= (bool) SWIG_AsBool(obj3
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 Py_INCREF(Py_None
); resultobj
= Py_None
;
8828 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8831 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8832 bool arg3
= (bool) False
;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8836 PyObject
* obj2
= 0 ;
8838 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8845 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8849 arg3
= (bool) SWIG_AsBool(obj2
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8868 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
;
8870 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8871 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8872 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8874 bool temp2
= False
;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8878 (char *) "self",(char *) "facename", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8886 arg2
= wxString_in_helper(obj1
);
8887 if (arg2
== NULL
) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8915 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8921 (char *) "self", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8941 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8947 (char *) "self", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8967 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8970 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8972 return Py_BuildValue((char *)"");
8974 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8981 (char *) "self",(char *) "Language", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8987 arg2
= (int) SWIG_AsInt(obj1
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8989 if (arg1
) (arg1
)->Language
= arg2
;
8991 Py_INCREF(Py_None
); resultobj
= Py_None
;
8998 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9004 (char *) "self", NULL
9007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9010 result
= (int) ((arg1
)->Language
);
9012 resultobj
= SWIG_FromInt((int)result
);
9019 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9022 wxString
*arg2
= (wxString
*) 0 ;
9023 bool temp2
= False
;
9024 PyObject
* obj0
= 0 ;
9025 PyObject
* obj1
= 0 ;
9027 (char *) "self",(char *) "CanonicalName", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9034 arg2
= wxString_in_helper(obj1
);
9035 if (arg2
== NULL
) SWIG_fail
;
9038 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9040 Py_INCREF(Py_None
); resultobj
= Py_None
;
9055 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9061 (char *) "self", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9067 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9071 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9073 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9082 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
;
9084 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9085 wxString
*arg2
= (wxString
*) 0 ;
9086 bool temp2
= False
;
9087 PyObject
* obj0
= 0 ;
9088 PyObject
* obj1
= 0 ;
9090 (char *) "self",(char *) "Description", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9097 arg2
= wxString_in_helper(obj1
);
9098 if (arg2
== NULL
) SWIG_fail
;
9101 if (arg1
) (arg1
)->Description
= *arg2
;
9103 Py_INCREF(Py_None
); resultobj
= Py_None
;
9118 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9122 PyObject
* obj0
= 0 ;
9124 (char *) "self", NULL
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9130 result
= (wxString
*)& ((arg1
)->Description
);
9134 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9136 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9145 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9148 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9150 return Py_BuildValue((char *)"");
9152 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 int arg1
= (int) -1 ;
9155 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9157 PyObject
* obj0
= 0 ;
9158 PyObject
* obj1
= 0 ;
9160 (char *) "language",(char *) "flags", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9165 arg1
= (int) SWIG_AsInt(obj0
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9169 arg2
= (int) SWIG_AsInt(obj1
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9186 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxLocale
*arg1
= (wxLocale
*) 0 ;
9189 PyObject
* obj0
= 0 ;
9191 (char *) "self", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 Py_INCREF(Py_None
); resultobj
= Py_None
;
9211 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxLocale
*arg1
= (wxLocale
*) 0 ;
9214 wxString
*arg2
= 0 ;
9215 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9216 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9217 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9218 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9219 bool arg5
= (bool) True
;
9220 bool arg6
= (bool) False
;
9222 bool temp2
= False
;
9223 bool temp3
= False
;
9224 bool temp4
= False
;
9225 PyObject
* obj0
= 0 ;
9226 PyObject
* obj1
= 0 ;
9227 PyObject
* obj2
= 0 ;
9228 PyObject
* obj3
= 0 ;
9229 PyObject
* obj4
= 0 ;
9230 PyObject
* obj5
= 0 ;
9232 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9239 arg2
= wxString_in_helper(obj1
);
9240 if (arg2
== NULL
) SWIG_fail
;
9245 arg3
= wxString_in_helper(obj2
);
9246 if (arg3
== NULL
) SWIG_fail
;
9252 arg4
= wxString_in_helper(obj3
);
9253 if (arg4
== NULL
) SWIG_fail
;
9258 arg5
= (bool) SWIG_AsBool(obj4
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9262 arg6
= (bool) SWIG_AsBool(obj5
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9305 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxLocale
*arg1
= (wxLocale
*) 0 ;
9308 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9309 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9311 PyObject
* obj0
= 0 ;
9312 PyObject
* obj1
= 0 ;
9313 PyObject
* obj2
= 0 ;
9315 (char *) "self",(char *) "language",(char *) "flags", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9322 arg2
= (int) SWIG_AsInt(obj1
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9326 arg3
= (int) SWIG_AsInt(obj2
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9345 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (int)wxLocale::GetSystemLanguage();
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 resultobj
= SWIG_FromInt((int)result
);
9367 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
;
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (int)wxLocale::GetSystemEncoding();
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= SWIG_FromInt((int)result
);
9389 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= wxLocale::GetSystemEncodingName();
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9417 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxLocale
*arg1
= (wxLocale
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "self", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9445 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxLocale
*arg1
= (wxLocale
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= ((wxLocale
const *)arg1
)->GetLocale();
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9477 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 wxLocale
*arg1
= (wxLocale
*) 0 ;
9481 PyObject
* obj0
= 0 ;
9483 (char *) "self", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= SWIG_FromInt((int)result
);
9503 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
;
9505 wxLocale
*arg1
= (wxLocale
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9509 (char *) "self", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= ((wxLocale
const *)arg1
)->GetSysName();
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9535 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxLocale
*arg1
= (wxLocale
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9541 (char *) "self", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9567 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
;
9569 wxString
*arg1
= 0 ;
9570 bool temp1
= False
;
9571 PyObject
* obj0
= 0 ;
9573 (char *) "prefix", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9578 arg1
= wxString_in_helper(obj0
);
9579 if (arg1
== NULL
) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 Py_INCREF(Py_None
); resultobj
= Py_None
;
9604 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxLocale
*arg1
= (wxLocale
*) 0 ;
9607 wxString
*arg2
= 0 ;
9609 bool temp2
= False
;
9610 PyObject
* obj0
= 0 ;
9611 PyObject
* obj1
= 0 ;
9613 (char *) "self",(char *) "szDomain", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9620 arg2
= wxString_in_helper(obj1
);
9621 if (arg2
== NULL
) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9648 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
*resultobj
;
9650 wxLocale
*arg1
= (wxLocale
*) 0 ;
9651 wxString
*arg2
= 0 ;
9653 bool temp2
= False
;
9654 PyObject
* obj0
= 0 ;
9655 PyObject
* obj1
= 0 ;
9657 (char *) "self",(char *) "szDomain", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9664 arg2
= wxString_in_helper(obj1
);
9665 if (arg2
== NULL
) SWIG_fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9692 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9695 wxLanguageInfo
*result
;
9696 PyObject
* obj0
= 0 ;
9698 (char *) "lang", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9702 arg1
= (int) SWIG_AsInt(obj0
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9718 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9722 PyObject
* obj0
= 0 ;
9724 (char *) "lang", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9728 arg1
= (int) SWIG_AsInt(obj0
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 result
= wxLocale::GetLanguageName(arg1
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9750 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxString
*arg1
= 0 ;
9753 wxLanguageInfo
*result
;
9754 bool temp1
= False
;
9755 PyObject
* obj0
= 0 ;
9757 (char *) "locale", NULL
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9762 arg1
= wxString_in_helper(obj0
);
9763 if (arg1
== NULL
) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9788 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxLanguageInfo
*arg1
= 0 ;
9791 PyObject
* obj0
= 0 ;
9793 (char *) "info", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9801 PyErr_SetString(PyExc_TypeError
,"null reference");
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 Py_INCREF(Py_None
); resultobj
= Py_None
;
9818 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxLocale
*arg1
= (wxLocale
*) 0 ;
9821 wxString
*arg2
= 0 ;
9822 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9823 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9825 bool temp2
= False
;
9826 bool temp3
= False
;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9831 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9838 arg2
= wxString_in_helper(obj1
);
9839 if (arg2
== NULL
) SWIG_fail
;
9844 arg3
= wxString_in_helper(obj2
);
9845 if (arg3
== NULL
) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9885 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxLocale
*arg1
= (wxLocale
*) 0 ;
9889 PyObject
* obj0
= 0 ;
9891 (char *) "self", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9901 result
= (wxString
*) &_result_ref
;
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9911 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9920 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9923 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9925 return Py_BuildValue((char *)"");
9927 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
;
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 result
= (wxLocale
*)wxGetLocale();
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9949 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9950 PyObject
*resultobj
;
9951 wxString
*arg1
= 0 ;
9953 bool temp1
= False
;
9954 PyObject
* obj0
= 0 ;
9956 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9958 arg1
= wxString_in_helper(obj0
);
9959 if (arg1
== NULL
) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= wxGetTranslation((wxString
const &)*arg1
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9990 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9991 PyObject
*resultobj
;
9992 wxString
*arg1
= 0 ;
9993 wxString
*arg2
= 0 ;
9996 bool temp1
= False
;
9997 bool temp2
= False
;
9998 PyObject
* obj0
= 0 ;
9999 PyObject
* obj1
= 0 ;
10000 PyObject
* obj2
= 0 ;
10002 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10004 arg1
= wxString_in_helper(obj0
);
10005 if (arg1
== NULL
) SWIG_fail
;
10009 arg2
= wxString_in_helper(obj1
);
10010 if (arg2
== NULL
) SWIG_fail
;
10013 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10051 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10056 argc
= PyObject_Length(args
);
10057 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10058 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10063 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10066 return _wrap_GetTranslation__SWIG_0(self
,args
);
10072 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10076 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10079 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10081 return _wrap_GetTranslation__SWIG_1(self
,args
);
10087 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10092 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxEncodingConverter
*result
;
10095 char *kwnames
[] = {
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10114 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10117 PyObject
* obj0
= 0 ;
10118 char *kwnames
[] = {
10119 (char *) "self", NULL
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10132 Py_INCREF(Py_None
); resultobj
= Py_None
;
10139 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10140 PyObject
*resultobj
;
10141 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10144 int arg4
= (int) wxCONVERT_STRICT
;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 PyObject
* obj2
= 0 ;
10149 PyObject
* obj3
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10157 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10159 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 arg4
= (int) SWIG_AsInt(obj3
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10181 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10184 wxString
*arg2
= 0 ;
10186 bool temp2
= False
;
10187 PyObject
* obj0
= 0 ;
10188 PyObject
* obj1
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self",(char *) "input", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10197 arg2
= wxString_in_helper(obj1
);
10198 if (arg2
== NULL
) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10229 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10232 int arg2
= (int) wxPLATFORM_CURRENT
;
10233 wxFontEncodingArray result
;
10234 PyObject
* obj0
= 0 ;
10235 PyObject
* obj1
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "enc",(char *) "platform", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10241 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 arg2
= (int) SWIG_AsInt(obj1
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= PyList_New(0);
10256 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10257 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10258 PyList_Append(resultobj
, number
);
10268 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
;
10271 wxFontEncodingArray result
;
10272 PyObject
* obj0
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "enc", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10278 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= PyList_New(0);
10289 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10290 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10291 PyList_Append(resultobj
, number
);
10301 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 char *kwnames
[] = {
10309 (char *) "encIn",(char *) "encOut", NULL
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10313 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10315 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10333 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10336 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10338 return Py_BuildValue((char *)"");
10340 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxDC
*arg1
= (wxDC
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 Py_INCREF(Py_None
); resultobj
= Py_None
;
10365 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxDC
*arg1
= (wxDC
*) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 (arg1
)->BeginDrawing();
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 Py_INCREF(Py_None
); resultobj
= Py_None
;
10390 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxDC
*arg1
= (wxDC
*) 0 ;
10393 PyObject
* obj0
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 (arg1
)->EndDrawing();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 Py_INCREF(Py_None
); resultobj
= Py_None
;
10415 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxDC
*arg1
= (wxDC
*) 0 ;
10420 wxColour
*arg4
= 0 ;
10421 int arg5
= (int) wxFLOOD_SURFACE
;
10424 PyObject
* obj0
= 0 ;
10425 PyObject
* obj1
= 0 ;
10426 PyObject
* obj2
= 0 ;
10427 PyObject
* obj3
= 0 ;
10428 PyObject
* obj4
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10436 arg2
= (int) SWIG_AsInt(obj1
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10438 arg3
= (int) SWIG_AsInt(obj2
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10442 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10445 arg5
= (int) SWIG_AsInt(obj4
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10464 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxDC
*arg1
= (wxDC
*) 0 ;
10467 wxPoint
*arg2
= 0 ;
10468 wxColour
*arg3
= 0 ;
10469 int arg4
= (int) wxFLOOD_SURFACE
;
10473 PyObject
* obj0
= 0 ;
10474 PyObject
* obj1
= 0 ;
10475 PyObject
* obj2
= 0 ;
10476 PyObject
* obj3
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10486 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10490 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10493 arg4
= (int) SWIG_AsInt(obj3
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10512 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxDC
*arg1
= (wxDC
*) 0 ;
10518 PyObject
* obj0
= 0 ;
10519 PyObject
* obj1
= 0 ;
10520 PyObject
* obj2
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self",(char *) "x",(char *) "y", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10528 arg2
= (int) SWIG_AsInt(obj1
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10530 arg3
= (int) SWIG_AsInt(obj2
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10540 wxColour
* resultptr
;
10541 resultptr
= new wxColour((wxColour
&) result
);
10542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10550 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxDC
*arg1
= (wxDC
*) 0 ;
10553 wxPoint
*arg2
= 0 ;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 char *kwnames
[] = {
10559 (char *) "self",(char *) "pt", NULL
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10567 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10577 wxColour
* resultptr
;
10578 resultptr
= new wxColour((wxColour
&) result
);
10579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10587 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
;
10589 wxDC
*arg1
= (wxDC
*) 0 ;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 PyObject
* obj2
= 0 ;
10597 PyObject
* obj3
= 0 ;
10598 PyObject
* obj4
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 arg2
= (int) SWIG_AsInt(obj1
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10608 arg3
= (int) SWIG_AsInt(obj2
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10610 arg4
= (int) SWIG_AsInt(obj3
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10612 arg5
= (int) SWIG_AsInt(obj4
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 Py_INCREF(Py_None
); resultobj
= Py_None
;
10628 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxDC
*arg1
= (wxDC
*) 0 ;
10631 wxPoint
*arg2
= 0 ;
10632 wxPoint
*arg3
= 0 ;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 PyObject
* obj2
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10651 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 Py_INCREF(Py_None
); resultobj
= Py_None
;
10667 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxDC
*arg1
= (wxDC
*) 0 ;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 PyObject
* obj2
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self",(char *) "x",(char *) "y", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10682 arg2
= (int) SWIG_AsInt(obj1
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10684 arg3
= (int) SWIG_AsInt(obj2
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 (arg1
)->CrossHair(arg2
,arg3
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 Py_INCREF(Py_None
); resultobj
= Py_None
;
10700 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxDC
*arg1
= (wxDC
*) 0 ;
10703 wxPoint
*arg2
= 0 ;
10705 PyObject
* obj0
= 0 ;
10706 PyObject
* obj1
= 0 ;
10707 char *kwnames
[] = {
10708 (char *) "self",(char *) "pt", NULL
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 Py_INCREF(Py_None
); resultobj
= Py_None
;
10732 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxDC
*arg1
= (wxDC
*) 0 ;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 PyObject
* obj2
= 0 ;
10744 PyObject
* obj3
= 0 ;
10745 PyObject
* obj4
= 0 ;
10746 PyObject
* obj5
= 0 ;
10747 PyObject
* obj6
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10755 arg2
= (int) SWIG_AsInt(obj1
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10757 arg3
= (int) SWIG_AsInt(obj2
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10759 arg4
= (int) SWIG_AsInt(obj3
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10761 arg5
= (int) SWIG_AsInt(obj4
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10763 arg6
= (int) SWIG_AsInt(obj5
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10765 arg7
= (int) SWIG_AsInt(obj6
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 Py_INCREF(Py_None
); resultobj
= Py_None
;
10781 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10783 wxDC
*arg1
= (wxDC
*) 0 ;
10784 wxPoint
*arg2
= 0 ;
10785 wxPoint
*arg3
= 0 ;
10786 wxPoint
*arg4
= 0 ;
10790 PyObject
* obj0
= 0 ;
10791 PyObject
* obj1
= 0 ;
10792 PyObject
* obj2
= 0 ;
10793 PyObject
* obj3
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10803 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10807 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10811 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 Py_INCREF(Py_None
); resultobj
= Py_None
;
10827 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxDC
*arg1
= (wxDC
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 PyObject
* obj2
= 0 ;
10837 PyObject
* obj3
= 0 ;
10838 PyObject
* obj4
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10846 arg2
= (int) SWIG_AsInt(obj1
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10848 arg3
= (int) SWIG_AsInt(obj2
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10850 arg4
= (int) SWIG_AsInt(obj3
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10852 arg5
= (int) SWIG_AsInt(obj4
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10861 Py_INCREF(Py_None
); resultobj
= Py_None
;
10868 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
;
10870 wxDC
*arg1
= (wxDC
*) 0 ;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self",(char *) "rect", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10884 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 Py_INCREF(Py_None
); resultobj
= Py_None
;
10900 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxDC
*arg1
= (wxDC
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 PyObject
* obj2
= 0 ;
10912 PyObject
* obj3
= 0 ;
10913 PyObject
* obj4
= 0 ;
10914 PyObject
* obj5
= 0 ;
10915 PyObject
* obj6
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10923 arg2
= (int) SWIG_AsInt(obj1
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10925 arg3
= (int) SWIG_AsInt(obj2
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10927 arg4
= (int) SWIG_AsInt(obj3
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10929 arg5
= (int) SWIG_AsInt(obj4
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10931 arg6
= (double) SWIG_AsDouble(obj5
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10933 arg7
= (double) SWIG_AsDouble(obj6
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 Py_INCREF(Py_None
); resultobj
= Py_None
;
10949 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxDC
*arg1
= (wxDC
*) 0 ;
10952 wxPoint
*arg2
= 0 ;
10958 PyObject
* obj0
= 0 ;
10959 PyObject
* obj1
= 0 ;
10960 PyObject
* obj2
= 0 ;
10961 PyObject
* obj3
= 0 ;
10962 PyObject
* obj4
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10976 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10978 arg4
= (double) SWIG_AsDouble(obj3
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10980 arg5
= (double) SWIG_AsDouble(obj4
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 Py_INCREF(Py_None
); resultobj
= Py_None
;
10996 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxDC
*arg1
= (wxDC
*) 0 ;
11001 PyObject
* obj0
= 0 ;
11002 PyObject
* obj1
= 0 ;
11003 PyObject
* obj2
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self",(char *) "x",(char *) "y", NULL
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11011 arg2
= (int) SWIG_AsInt(obj1
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11013 arg3
= (int) SWIG_AsInt(obj2
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 (arg1
)->DrawPoint(arg2
,arg3
);
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 Py_INCREF(Py_None
); resultobj
= Py_None
;
11029 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxDC
*arg1
= (wxDC
*) 0 ;
11032 wxPoint
*arg2
= 0 ;
11034 PyObject
* obj0
= 0 ;
11035 PyObject
* obj1
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "self",(char *) "pt", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11054 Py_INCREF(Py_None
); resultobj
= Py_None
;
11061 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxDC
*arg1
= (wxDC
*) 0 ;
11068 PyObject
* obj0
= 0 ;
11069 PyObject
* obj1
= 0 ;
11070 PyObject
* obj2
= 0 ;
11071 PyObject
* obj3
= 0 ;
11072 PyObject
* obj4
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11080 arg2
= (int) SWIG_AsInt(obj1
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11082 arg3
= (int) SWIG_AsInt(obj2
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11084 arg4
= (int) SWIG_AsInt(obj3
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11086 arg5
= (int) SWIG_AsInt(obj4
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11095 Py_INCREF(Py_None
); resultobj
= Py_None
;
11102 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 wxDC
*arg1
= (wxDC
*) 0 ;
11107 PyObject
* obj0
= 0 ;
11108 PyObject
* obj1
= 0 ;
11109 char *kwnames
[] = {
11110 (char *) "self",(char *) "rect", NULL
11113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11118 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11127 Py_INCREF(Py_None
); resultobj
= Py_None
;
11134 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
*resultobj
;
11136 wxDC
*arg1
= (wxDC
*) 0 ;
11137 wxPoint
*arg2
= 0 ;
11141 PyObject
* obj0
= 0 ;
11142 PyObject
* obj1
= 0 ;
11143 PyObject
* obj2
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "self",(char *) "pt",(char *) "sz", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11153 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11157 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 Py_INCREF(Py_None
); resultobj
= Py_None
;
11173 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11175 wxDC
*arg1
= (wxDC
*) 0 ;
11181 PyObject
* obj0
= 0 ;
11182 PyObject
* obj1
= 0 ;
11183 PyObject
* obj2
= 0 ;
11184 PyObject
* obj3
= 0 ;
11185 PyObject
* obj4
= 0 ;
11186 PyObject
* obj5
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11194 arg2
= (int) SWIG_AsInt(obj1
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11196 arg3
= (int) SWIG_AsInt(obj2
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11198 arg4
= (int) SWIG_AsInt(obj3
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11200 arg5
= (int) SWIG_AsInt(obj4
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11202 arg6
= (double) SWIG_AsDouble(obj5
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 Py_INCREF(Py_None
); resultobj
= Py_None
;
11218 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11220 wxDC
*arg1
= (wxDC
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 PyObject
* obj1
= 0 ;
11226 PyObject
* obj2
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self",(char *) "r",(char *) "radius", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11236 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11238 arg3
= (double) SWIG_AsDouble(obj2
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 Py_INCREF(Py_None
); resultobj
= Py_None
;
11254 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxDC
*arg1
= (wxDC
*) 0 ;
11257 wxPoint
*arg2
= 0 ;
11262 PyObject
* obj0
= 0 ;
11263 PyObject
* obj1
= 0 ;
11264 PyObject
* obj2
= 0 ;
11265 PyObject
* obj3
= 0 ;
11266 char *kwnames
[] = {
11267 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11275 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11279 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11281 arg4
= (double) SWIG_AsDouble(obj3
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 Py_INCREF(Py_None
); resultobj
= Py_None
;
11297 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxDC
*arg1
= (wxDC
*) 0 ;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 PyObject
* obj2
= 0 ;
11306 PyObject
* obj3
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11314 arg2
= (int) SWIG_AsInt(obj1
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11316 arg3
= (int) SWIG_AsInt(obj2
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11318 arg4
= (int) SWIG_AsInt(obj3
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 Py_INCREF(Py_None
); resultobj
= Py_None
;
11334 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxDC
*arg1
= (wxDC
*) 0 ;
11337 wxPoint
*arg2
= 0 ;
11340 PyObject
* obj0
= 0 ;
11341 PyObject
* obj1
= 0 ;
11342 PyObject
* obj2
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self",(char *) "pt",(char *) "radius", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11354 arg3
= (int) SWIG_AsInt(obj2
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 Py_INCREF(Py_None
); resultobj
= Py_None
;
11370 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxDC
*arg1
= (wxDC
*) 0 ;
11377 PyObject
* obj0
= 0 ;
11378 PyObject
* obj1
= 0 ;
11379 PyObject
* obj2
= 0 ;
11380 PyObject
* obj3
= 0 ;
11381 PyObject
* obj4
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11389 arg2
= (int) SWIG_AsInt(obj1
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11391 arg3
= (int) SWIG_AsInt(obj2
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11393 arg4
= (int) SWIG_AsInt(obj3
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11395 arg5
= (int) SWIG_AsInt(obj4
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11401 wxPyEndAllowThreads(__tstate
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 Py_INCREF(Py_None
); resultobj
= Py_None
;
11411 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
;
11413 wxDC
*arg1
= (wxDC
*) 0 ;
11416 PyObject
* obj0
= 0 ;
11417 PyObject
* obj1
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self",(char *) "rect", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11427 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 Py_INCREF(Py_None
); resultobj
= Py_None
;
11443 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
;
11445 wxDC
*arg1
= (wxDC
*) 0 ;
11446 wxPoint
*arg2
= 0 ;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11452 PyObject
* obj2
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self",(char *) "pt",(char *) "sz", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11466 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 Py_INCREF(Py_None
); resultobj
= Py_None
;
11482 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxDC
*arg1
= (wxDC
*) 0 ;
11488 PyObject
* obj0
= 0 ;
11489 PyObject
* obj1
= 0 ;
11490 PyObject
* obj2
= 0 ;
11491 PyObject
* obj3
= 0 ;
11492 char *kwnames
[] = {
11493 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11502 if (arg2
== NULL
) {
11503 PyErr_SetString(PyExc_TypeError
,"null reference");
11506 arg3
= (int) SWIG_AsInt(obj2
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11508 arg4
= (int) SWIG_AsInt(obj3
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 Py_INCREF(Py_None
); resultobj
= Py_None
;
11524 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxDC
*arg1
= (wxDC
*) 0 ;
11528 wxPoint
*arg3
= 0 ;
11530 PyObject
* obj0
= 0 ;
11531 PyObject
* obj1
= 0 ;
11532 PyObject
* obj2
= 0 ;
11533 char *kwnames
[] = {
11534 (char *) "self",(char *) "icon",(char *) "pt", NULL
11537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11543 if (arg2
== NULL
) {
11544 PyErr_SetString(PyExc_TypeError
,"null reference");
11549 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 Py_INCREF(Py_None
); resultobj
= Py_None
;
11565 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11566 PyObject
*resultobj
;
11567 wxDC
*arg1
= (wxDC
*) 0 ;
11568 wxBitmap
*arg2
= 0 ;
11571 bool arg5
= (bool) False
;
11572 PyObject
* obj0
= 0 ;
11573 PyObject
* obj1
= 0 ;
11574 PyObject
* obj2
= 0 ;
11575 PyObject
* obj3
= 0 ;
11576 PyObject
* obj4
= 0 ;
11577 char *kwnames
[] = {
11578 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11587 if (arg2
== NULL
) {
11588 PyErr_SetString(PyExc_TypeError
,"null reference");
11591 arg3
= (int) SWIG_AsInt(obj2
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11593 arg4
= (int) SWIG_AsInt(obj3
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 arg5
= (bool) SWIG_AsBool(obj4
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11606 Py_INCREF(Py_None
); resultobj
= Py_None
;
11613 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
;
11615 wxDC
*arg1
= (wxDC
*) 0 ;
11616 wxBitmap
*arg2
= 0 ;
11617 wxPoint
*arg3
= 0 ;
11618 bool arg4
= (bool) False
;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 PyObject
* obj2
= 0 ;
11623 PyObject
* obj3
= 0 ;
11624 char *kwnames
[] = {
11625 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11634 if (arg2
== NULL
) {
11635 PyErr_SetString(PyExc_TypeError
,"null reference");
11640 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11643 arg4
= (bool) SWIG_AsBool(obj3
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 Py_INCREF(Py_None
); resultobj
= Py_None
;
11660 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxDC
*arg1
= (wxDC
*) 0 ;
11663 wxString
*arg2
= 0 ;
11666 bool temp2
= False
;
11667 PyObject
* obj0
= 0 ;
11668 PyObject
* obj1
= 0 ;
11669 PyObject
* obj2
= 0 ;
11670 PyObject
* obj3
= 0 ;
11671 char *kwnames
[] = {
11672 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11679 arg2
= wxString_in_helper(obj1
);
11680 if (arg2
== NULL
) SWIG_fail
;
11683 arg3
= (int) SWIG_AsInt(obj2
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11685 arg4
= (int) SWIG_AsInt(obj3
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11694 Py_INCREF(Py_None
); resultobj
= Py_None
;
11709 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
;
11711 wxDC
*arg1
= (wxDC
*) 0 ;
11712 wxString
*arg2
= 0 ;
11713 wxPoint
*arg3
= 0 ;
11714 bool temp2
= False
;
11716 PyObject
* obj0
= 0 ;
11717 PyObject
* obj1
= 0 ;
11718 PyObject
* obj2
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "self",(char *) "text",(char *) "pt", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11727 arg2
= wxString_in_helper(obj1
);
11728 if (arg2
== NULL
) SWIG_fail
;
11733 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11742 Py_INCREF(Py_None
); resultobj
= Py_None
;
11757 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
;
11759 wxDC
*arg1
= (wxDC
*) 0 ;
11760 wxString
*arg2
= 0 ;
11764 bool temp2
= False
;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 PyObject
* obj2
= 0 ;
11768 PyObject
* obj3
= 0 ;
11769 PyObject
* obj4
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11778 arg2
= wxString_in_helper(obj1
);
11779 if (arg2
== NULL
) SWIG_fail
;
11782 arg3
= (int) SWIG_AsInt(obj2
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11784 arg4
= (int) SWIG_AsInt(obj3
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11786 arg5
= (double) SWIG_AsDouble(obj4
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11790 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 Py_INCREF(Py_None
); resultobj
= Py_None
;
11810 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxDC
*arg1
= (wxDC
*) 0 ;
11813 wxString
*arg2
= 0 ;
11814 wxPoint
*arg3
= 0 ;
11816 bool temp2
= False
;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 PyObject
* obj2
= 0 ;
11821 PyObject
* obj3
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11830 arg2
= wxString_in_helper(obj1
);
11831 if (arg2
== NULL
) SWIG_fail
;
11836 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11838 arg4
= (double) SWIG_AsDouble(obj3
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 Py_INCREF(Py_None
); resultobj
= Py_None
;
11862 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
;
11864 wxDC
*arg1
= (wxDC
*) 0 ;
11869 wxDC
*arg6
= (wxDC
*) 0 ;
11872 int arg9
= (int) wxCOPY
;
11873 bool arg10
= (bool) False
;
11874 int arg11
= (int) -1 ;
11875 int arg12
= (int) -1 ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 PyObject
* obj2
= 0 ;
11880 PyObject
* obj3
= 0 ;
11881 PyObject
* obj4
= 0 ;
11882 PyObject
* obj5
= 0 ;
11883 PyObject
* obj6
= 0 ;
11884 PyObject
* obj7
= 0 ;
11885 PyObject
* obj8
= 0 ;
11886 PyObject
* obj9
= 0 ;
11887 PyObject
* obj10
= 0 ;
11888 PyObject
* obj11
= 0 ;
11889 char *kwnames
[] = {
11890 (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
11893 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
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11896 arg2
= (int) SWIG_AsInt(obj1
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11898 arg3
= (int) SWIG_AsInt(obj2
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11900 arg4
= (int) SWIG_AsInt(obj3
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11902 arg5
= (int) SWIG_AsInt(obj4
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11904 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11906 arg7
= (int) SWIG_AsInt(obj6
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11908 arg8
= (int) SWIG_AsInt(obj7
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 arg9
= (int) SWIG_AsInt(obj8
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11915 arg10
= (bool) SWIG_AsBool(obj9
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11919 arg11
= (int) SWIG_AsInt(obj10
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11923 arg12
= (int) SWIG_AsInt(obj11
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11942 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxDC
*arg1
= (wxDC
*) 0 ;
11945 wxPoint
*arg2
= 0 ;
11947 wxDC
*arg4
= (wxDC
*) 0 ;
11948 wxPoint
*arg5
= 0 ;
11949 int arg6
= (int) wxCOPY
;
11950 bool arg7
= (bool) False
;
11951 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11952 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11958 PyObject
* obj0
= 0 ;
11959 PyObject
* obj1
= 0 ;
11960 PyObject
* obj2
= 0 ;
11961 PyObject
* obj3
= 0 ;
11962 PyObject
* obj4
= 0 ;
11963 PyObject
* obj5
= 0 ;
11964 PyObject
* obj6
= 0 ;
11965 PyObject
* obj7
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11975 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11979 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11981 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11988 arg6
= (int) SWIG_AsInt(obj5
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11992 arg7
= (bool) SWIG_AsBool(obj6
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11998 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12017 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
;
12019 wxDC
*arg1
= (wxDC
*) 0 ;
12024 PyObject
* obj0
= 0 ;
12025 PyObject
* obj1
= 0 ;
12026 PyObject
* obj2
= 0 ;
12027 PyObject
* obj3
= 0 ;
12028 PyObject
* obj4
= 0 ;
12029 char *kwnames
[] = {
12030 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12036 arg2
= (int) SWIG_AsInt(obj1
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12038 arg3
= (int) SWIG_AsInt(obj2
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12040 arg4
= (int) SWIG_AsInt(obj3
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12042 arg5
= (int) SWIG_AsInt(obj4
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 Py_INCREF(Py_None
); resultobj
= Py_None
;
12058 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxDC
*arg1
= (wxDC
*) 0 ;
12061 wxPoint
*arg2
= 0 ;
12065 PyObject
* obj0
= 0 ;
12066 PyObject
* obj1
= 0 ;
12067 PyObject
* obj2
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self",(char *) "pt",(char *) "sz", NULL
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12081 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12090 Py_INCREF(Py_None
); resultobj
= Py_None
;
12097 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
;
12099 wxDC
*arg1
= (wxDC
*) 0 ;
12100 wxRegion
*arg2
= 0 ;
12101 PyObject
* obj0
= 0 ;
12102 PyObject
* obj1
= 0 ;
12103 char *kwnames
[] = {
12104 (char *) "self",(char *) "region", NULL
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12113 if (arg2
== NULL
) {
12114 PyErr_SetString(PyExc_TypeError
,"null reference");
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 Py_INCREF(Py_None
); resultobj
= Py_None
;
12131 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxDC
*arg1
= (wxDC
*) 0 ;
12136 PyObject
* obj0
= 0 ;
12137 PyObject
* obj1
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "rect", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12147 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 Py_INCREF(Py_None
); resultobj
= Py_None
;
12163 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxDC
*arg1
= (wxDC
*) 0 ;
12167 wxPoint
*arg3
= (wxPoint
*) 0 ;
12168 int arg4
= (int) 0 ;
12169 int arg5
= (int) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 PyObject
* obj2
= 0 ;
12173 PyObject
* obj3
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12182 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12183 if (arg3
== NULL
) SWIG_fail
;
12186 arg4
= (int) SWIG_AsInt(obj2
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12190 arg5
= (int) SWIG_AsInt(obj3
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12200 Py_INCREF(Py_None
); resultobj
= Py_None
;
12202 if (arg3
) delete [] arg3
;
12207 if (arg3
) delete [] arg3
;
12213 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12214 PyObject
*resultobj
;
12215 wxDC
*arg1
= (wxDC
*) 0 ;
12217 wxPoint
*arg3
= (wxPoint
*) 0 ;
12218 int arg4
= (int) 0 ;
12219 int arg5
= (int) 0 ;
12220 int arg6
= (int) wxODDEVEN_RULE
;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 PyObject
* obj2
= 0 ;
12224 PyObject
* obj3
= 0 ;
12225 PyObject
* obj4
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12234 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12235 if (arg3
== NULL
) SWIG_fail
;
12238 arg4
= (int) SWIG_AsInt(obj2
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12242 arg5
= (int) SWIG_AsInt(obj3
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12246 arg6
= (int) SWIG_AsInt(obj4
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 Py_INCREF(Py_None
); resultobj
= Py_None
;
12258 if (arg3
) delete [] arg3
;
12263 if (arg3
) delete [] arg3
;
12269 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
;
12271 wxDC
*arg1
= (wxDC
*) 0 ;
12272 wxString
*arg2
= 0 ;
12274 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12275 int arg5
= (int) -1 ;
12276 bool temp2
= False
;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 PyObject
* obj2
= 0 ;
12281 PyObject
* obj3
= 0 ;
12282 PyObject
* obj4
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12291 arg2
= wxString_in_helper(obj1
);
12292 if (arg2
== NULL
) SWIG_fail
;
12297 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12300 arg4
= (int) SWIG_AsInt(obj3
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12304 arg5
= (int) SWIG_AsInt(obj4
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 Py_INCREF(Py_None
); resultobj
= Py_None
;
12329 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxDC
*arg1
= (wxDC
*) 0 ;
12332 wxString
*arg2
= 0 ;
12333 wxBitmap
*arg3
= 0 ;
12335 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12336 int arg6
= (int) -1 ;
12338 bool temp2
= False
;
12340 PyObject
* obj0
= 0 ;
12341 PyObject
* obj1
= 0 ;
12342 PyObject
* obj2
= 0 ;
12343 PyObject
* obj3
= 0 ;
12344 PyObject
* obj4
= 0 ;
12345 PyObject
* obj5
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12354 arg2
= wxString_in_helper(obj1
);
12355 if (arg2
== NULL
) SWIG_fail
;
12358 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12361 if (arg3
== NULL
) {
12362 PyErr_SetString(PyExc_TypeError
,"null reference");
12367 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12370 arg5
= (int) SWIG_AsInt(obj4
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12374 arg6
= (int) SWIG_AsInt(obj5
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12385 wxRect
* resultptr
;
12386 resultptr
= new wxRect((wxRect
&) result
);
12387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12403 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxDC
*arg1
= (wxDC
*) 0 ;
12407 wxPoint
*arg3
= (wxPoint
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self",(char *) "points", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12418 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12419 if (arg3
== NULL
) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 (arg1
)->DrawSpline(arg2
,arg3
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 Py_INCREF(Py_None
); resultobj
= Py_None
;
12430 if (arg3
) delete [] arg3
;
12435 if (arg3
) delete [] arg3
;
12441 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxDC
*arg1
= (wxDC
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12459 Py_INCREF(Py_None
); resultobj
= Py_None
;
12466 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxDC
*arg1
= (wxDC
*) 0 ;
12469 wxString
*arg2
= 0 ;
12471 bool temp2
= False
;
12472 PyObject
* obj0
= 0 ;
12473 PyObject
* obj1
= 0 ;
12474 char *kwnames
[] = {
12475 (char *) "self",(char *) "message", NULL
12478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12482 arg2
= wxString_in_helper(obj1
);
12483 if (arg2
== NULL
) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12510 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxDC
*arg1
= (wxDC
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 Py_INCREF(Py_None
); resultobj
= Py_None
;
12535 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxDC
*arg1
= (wxDC
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->StartPage();
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxDC
*arg1
= (wxDC
*) 0 ;
12563 PyObject
* obj0
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 Py_INCREF(Py_None
); resultobj
= Py_None
;
12585 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxDC
*arg1
= (wxDC
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 PyObject
* obj1
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self",(char *) "font", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12601 if (arg2
== NULL
) {
12602 PyErr_SetString(PyExc_TypeError
,"null reference");
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 (arg1
)->SetFont((wxFont
const &)*arg2
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 Py_INCREF(Py_None
); resultobj
= Py_None
;
12619 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxDC
*arg1
= (wxDC
*) 0 ;
12623 PyObject
* obj0
= 0 ;
12624 PyObject
* obj1
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self",(char *) "pen", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12635 if (arg2
== NULL
) {
12636 PyErr_SetString(PyExc_TypeError
,"null reference");
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 (arg1
)->SetPen((wxPen
const &)*arg2
);
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 Py_INCREF(Py_None
); resultobj
= Py_None
;
12653 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxDC
*arg1
= (wxDC
*) 0 ;
12656 wxBrush
*arg2
= 0 ;
12657 PyObject
* obj0
= 0 ;
12658 PyObject
* obj1
= 0 ;
12659 char *kwnames
[] = {
12660 (char *) "self",(char *) "brush", NULL
12663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12669 if (arg2
== NULL
) {
12670 PyErr_SetString(PyExc_TypeError
,"null reference");
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 Py_INCREF(Py_None
); resultobj
= Py_None
;
12687 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxDC
*arg1
= (wxDC
*) 0 ;
12690 wxBrush
*arg2
= 0 ;
12691 PyObject
* obj0
= 0 ;
12692 PyObject
* obj1
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self",(char *) "brush", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12703 if (arg2
== NULL
) {
12704 PyErr_SetString(PyExc_TypeError
,"null reference");
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12714 Py_INCREF(Py_None
); resultobj
= Py_None
;
12721 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
;
12723 wxDC
*arg1
= (wxDC
*) 0 ;
12725 PyObject
* obj0
= 0 ;
12726 PyObject
* obj1
= 0 ;
12727 char *kwnames
[] = {
12728 (char *) "self",(char *) "mode", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12734 arg2
= (int) SWIG_AsInt(obj1
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 (arg1
)->SetBackgroundMode(arg2
);
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 Py_INCREF(Py_None
); resultobj
= Py_None
;
12750 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
;
12752 wxDC
*arg1
= (wxDC
*) 0 ;
12753 wxPalette
*arg2
= 0 ;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self",(char *) "palette", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12766 if (arg2
== NULL
) {
12767 PyErr_SetString(PyExc_TypeError
,"null reference");
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 Py_INCREF(Py_None
); resultobj
= Py_None
;
12784 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxDC
*arg1
= (wxDC
*) 0 ;
12787 PyObject
* obj0
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 (arg1
)->DestroyClippingRegion();
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12802 Py_INCREF(Py_None
); resultobj
= Py_None
;
12809 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxDC
*arg1
= (wxDC
*) 0 ;
12812 int *arg2
= (int *) 0 ;
12813 int *arg3
= (int *) 0 ;
12814 int *arg4
= (int *) 0 ;
12815 int *arg5
= (int *) 0 ;
12820 PyObject
* obj0
= 0 ;
12821 char *kwnames
[] = {
12822 (char *) "self", NULL
12829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 Py_INCREF(Py_None
); resultobj
= Py_None
;
12841 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12842 resultobj
= t_output_helper(resultobj
,o
);
12845 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12846 resultobj
= t_output_helper(resultobj
,o
);
12849 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12850 resultobj
= t_output_helper(resultobj
,o
);
12853 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12854 resultobj
= t_output_helper(resultobj
,o
);
12862 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxDC
*arg1
= (wxDC
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= wxDC_GetClippingRect(arg1
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12882 wxRect
* resultptr
;
12883 resultptr
= new wxRect((wxRect
&) result
);
12884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12892 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
;
12894 wxDC
*arg1
= (wxDC
*) 0 ;
12896 PyObject
* obj0
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "self", NULL
12901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= SWIG_FromInt((int)result
);
12918 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
;
12920 wxDC
*arg1
= (wxDC
*) 0 ;
12922 PyObject
* obj0
= 0 ;
12923 char *kwnames
[] = {
12924 (char *) "self", NULL
12927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_FromInt((int)result
);
12944 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxDC
*arg1
= (wxDC
*) 0 ;
12947 wxString
*arg2
= 0 ;
12948 int *arg3
= (int *) 0 ;
12949 int *arg4
= (int *) 0 ;
12950 bool temp2
= False
;
12953 PyObject
* obj0
= 0 ;
12954 PyObject
* obj1
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "self",(char *) "string", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12965 arg2
= wxString_in_helper(obj1
);
12966 if (arg2
== NULL
) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12976 Py_INCREF(Py_None
); resultobj
= Py_None
;
12978 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12979 resultobj
= t_output_helper(resultobj
,o
);
12982 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12983 resultobj
= t_output_helper(resultobj
,o
);
12999 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxDC
*arg1
= (wxDC
*) 0 ;
13002 wxString
*arg2
= 0 ;
13003 int *arg3
= (int *) 0 ;
13004 int *arg4
= (int *) 0 ;
13005 int *arg5
= (int *) 0 ;
13006 int *arg6
= (int *) 0 ;
13007 wxFont
*arg7
= (wxFont
*) NULL
;
13008 bool temp2
= False
;
13013 PyObject
* obj0
= 0 ;
13014 PyObject
* obj1
= 0 ;
13015 PyObject
* obj2
= 0 ;
13016 char *kwnames
[] = {
13017 (char *) "self",(char *) "string",(char *) "font", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 arg2
= wxString_in_helper(obj1
);
13029 if (arg2
== NULL
) SWIG_fail
;
13033 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 Py_INCREF(Py_None
); resultobj
= Py_None
;
13045 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13046 resultobj
= t_output_helper(resultobj
,o
);
13049 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13050 resultobj
= t_output_helper(resultobj
,o
);
13053 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13054 resultobj
= t_output_helper(resultobj
,o
);
13057 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13058 resultobj
= t_output_helper(resultobj
,o
);
13074 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxDC
*arg1
= (wxDC
*) 0 ;
13077 wxString
*arg2
= 0 ;
13078 int *arg3
= (int *) 0 ;
13079 int *arg4
= (int *) 0 ;
13080 int *arg5
= (int *) 0 ;
13081 wxFont
*arg6
= (wxFont
*) NULL
;
13082 bool temp2
= False
;
13086 PyObject
* obj0
= 0 ;
13087 PyObject
* obj1
= 0 ;
13088 PyObject
* obj2
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self",(char *) "text",(char *) "font", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13100 arg2
= wxString_in_helper(obj1
);
13101 if (arg2
== NULL
) SWIG_fail
;
13105 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 Py_INCREF(Py_None
); resultobj
= Py_None
;
13117 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13118 resultobj
= t_output_helper(resultobj
,o
);
13121 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13122 resultobj
= t_output_helper(resultobj
,o
);
13125 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13126 resultobj
= t_output_helper(resultobj
,o
);
13142 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxDC
*arg1
= (wxDC
*) 0 ;
13145 wxString
*arg2
= 0 ;
13147 bool temp2
= False
;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self",(char *) "text", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13158 arg2
= wxString_in_helper(obj1
);
13159 if (arg2
== NULL
) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= PyList_New(0);
13172 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13173 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13174 PyList_Append(resultobj
, val
);
13192 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxDC
*arg1
= (wxDC
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 char *kwnames
[] = {
13198 (char *) "self", NULL
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 result
= (arg1
)->GetSize();
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13212 wxSize
* resultptr
;
13213 resultptr
= new wxSize((wxSize
&) result
);
13214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13222 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxDC
*arg1
= (wxDC
*) 0 ;
13225 int *arg2
= (int *) 0 ;
13226 int *arg3
= (int *) 0 ;
13229 PyObject
* obj0
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "self", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 (arg1
)->GetSize(arg2
,arg3
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 Py_INCREF(Py_None
); resultobj
= Py_None
;
13248 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13249 resultobj
= t_output_helper(resultobj
,o
);
13252 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13253 resultobj
= t_output_helper(resultobj
,o
);
13261 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
;
13263 wxDC
*arg1
= (wxDC
*) 0 ;
13265 PyObject
* obj0
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13281 wxSize
* resultptr
;
13282 resultptr
= new wxSize((wxSize
&) result
);
13283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13291 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxDC
*arg1
= (wxDC
*) 0 ;
13294 int *arg2
= (int *) 0 ;
13295 int *arg3
= (int *) 0 ;
13298 PyObject
* obj0
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 Py_INCREF(Py_None
); resultobj
= Py_None
;
13317 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13318 resultobj
= t_output_helper(resultobj
,o
);
13321 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13322 resultobj
= t_output_helper(resultobj
,o
);
13330 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxDC
*arg1
= (wxDC
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self",(char *) "x", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 arg2
= (int) SWIG_AsInt(obj1
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_FromInt((int)result
);
13360 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
;
13362 wxDC
*arg1
= (wxDC
*) 0 ;
13365 PyObject
* obj0
= 0 ;
13366 PyObject
* obj1
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self",(char *) "y", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13374 arg2
= (int) SWIG_AsInt(obj1
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_FromInt((int)result
);
13390 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxDC
*arg1
= (wxDC
*) 0 ;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj1
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self",(char *) "x", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13404 arg2
= (int) SWIG_AsInt(obj1
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= SWIG_FromInt((int)result
);
13420 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxDC
*arg1
= (wxDC
*) 0 ;
13425 PyObject
* obj0
= 0 ;
13426 PyObject
* obj1
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self",(char *) "y", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13434 arg2
= (int) SWIG_AsInt(obj1
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= SWIG_FromInt((int)result
);
13450 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxDC
*arg1
= (wxDC
*) 0 ;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self",(char *) "x", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13464 arg2
= (int) SWIG_AsInt(obj1
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= SWIG_FromInt((int)result
);
13480 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxDC
*arg1
= (wxDC
*) 0 ;
13485 PyObject
* obj0
= 0 ;
13486 PyObject
* obj1
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self",(char *) "y", NULL
13491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13494 arg2
= (int) SWIG_AsInt(obj1
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= SWIG_FromInt((int)result
);
13510 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxDC
*arg1
= (wxDC
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 PyObject
* obj1
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self",(char *) "x", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13524 arg2
= (int) SWIG_AsInt(obj1
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= SWIG_FromInt((int)result
);
13540 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
;
13542 wxDC
*arg1
= (wxDC
*) 0 ;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "self",(char *) "y", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13554 arg2
= (int) SWIG_AsInt(obj1
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= SWIG_FromInt((int)result
);
13570 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxDC
*arg1
= (wxDC
*) 0 ;
13574 PyObject
* obj0
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "self", NULL
13579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13598 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxDC
*arg1
= (wxDC
*) 0 ;
13602 PyObject
* obj0
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "self", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13626 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxDC
*arg1
= (wxDC
*) 0 ;
13630 PyObject
* obj0
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= SWIG_FromInt((int)result
);
13652 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxDC
*arg1
= (wxDC
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= ((wxDC
const *)arg1
)->GetPPI();
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13672 wxSize
* resultptr
;
13673 resultptr
= new wxSize((wxSize
&) result
);
13674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13682 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxDC
*arg1
= (wxDC
*) 0 ;
13686 PyObject
* obj0
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 result
= (bool)((wxDC
const *)arg1
)->Ok();
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13710 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13711 PyObject
*resultobj
;
13712 wxDC
*arg1
= (wxDC
*) 0 ;
13714 PyObject
* obj0
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= SWIG_FromInt((int)result
);
13736 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13737 PyObject
*resultobj
;
13738 wxDC
*arg1
= (wxDC
*) 0 ;
13740 PyObject
* obj0
= 0 ;
13741 char *kwnames
[] = {
13742 (char *) "self", NULL
13745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13752 result
= (wxBrush
*) &_result_ref
;
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13759 wxBrush
* resultptr
= new wxBrush(*result
);
13760 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13768 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxDC
*arg1
= (wxDC
*) 0 ;
13772 PyObject
* obj0
= 0 ;
13773 char *kwnames
[] = {
13774 (char *) "self", NULL
13777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13784 result
= (wxBrush
*) &_result_ref
;
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13791 wxBrush
* resultptr
= new wxBrush(*result
);
13792 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13800 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
;
13802 wxDC
*arg1
= (wxDC
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "self", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13816 result
= (wxFont
*) &_result_ref
;
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13823 wxFont
* resultptr
= new wxFont(*result
);
13824 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13832 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
;
13834 wxDC
*arg1
= (wxDC
*) 0 ;
13836 PyObject
* obj0
= 0 ;
13837 char *kwnames
[] = {
13838 (char *) "self", NULL
13841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13848 result
= (wxPen
*) &_result_ref
;
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13855 wxPen
* resultptr
= new wxPen(*result
);
13856 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13864 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
;
13866 wxDC
*arg1
= (wxDC
*) 0 ;
13868 PyObject
* obj0
= 0 ;
13869 char *kwnames
[] = {
13870 (char *) "self", NULL
13873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13880 result
= (wxColour
*) &_result_ref
;
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13893 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
;
13895 wxDC
*arg1
= (wxDC
*) 0 ;
13897 PyObject
* obj0
= 0 ;
13898 char *kwnames
[] = {
13899 (char *) "self", NULL
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13909 result
= (wxColour
*) &_result_ref
;
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13922 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
;
13924 wxDC
*arg1
= (wxDC
*) 0 ;
13925 wxColour
*arg2
= 0 ;
13927 PyObject
* obj0
= 0 ;
13928 PyObject
* obj1
= 0 ;
13929 char *kwnames
[] = {
13930 (char *) "self",(char *) "colour", NULL
13933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13938 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13947 Py_INCREF(Py_None
); resultobj
= Py_None
;
13954 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxDC
*arg1
= (wxDC
*) 0 ;
13957 wxColour
*arg2
= 0 ;
13959 PyObject
* obj0
= 0 ;
13960 PyObject
* obj1
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self",(char *) "colour", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13970 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 Py_INCREF(Py_None
); resultobj
= Py_None
;
13986 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxDC
*arg1
= (wxDC
*) 0 ;
13990 PyObject
* obj0
= 0 ;
13991 char *kwnames
[] = {
13992 (char *) "self", NULL
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_FromInt((int)result
);
14012 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxDC
*arg1
= (wxDC
*) 0 ;
14016 PyObject
* obj0
= 0 ;
14017 PyObject
* obj1
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self",(char *) "mode", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14025 arg2
= (int) SWIG_AsInt(obj1
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 (arg1
)->SetMapMode(arg2
);
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 Py_INCREF(Py_None
); resultobj
= Py_None
;
14041 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
;
14043 wxDC
*arg1
= (wxDC
*) 0 ;
14044 double *arg2
= (double *) 0 ;
14045 double *arg3
= (double *) 0 ;
14048 PyObject
* obj0
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "self", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14060 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14065 Py_INCREF(Py_None
); resultobj
= Py_None
;
14067 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14068 resultobj
= t_output_helper(resultobj
,o
);
14071 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14072 resultobj
= t_output_helper(resultobj
,o
);
14080 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxDC
*arg1
= (wxDC
*) 0 ;
14085 PyObject
* obj0
= 0 ;
14086 PyObject
* obj1
= 0 ;
14087 PyObject
* obj2
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self",(char *) "x",(char *) "y", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 arg2
= (double) SWIG_AsDouble(obj1
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14097 arg3
= (double) SWIG_AsDouble(obj2
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 (arg1
)->SetUserScale(arg2
,arg3
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14106 Py_INCREF(Py_None
); resultobj
= Py_None
;
14113 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
;
14115 wxDC
*arg1
= (wxDC
*) 0 ;
14116 double *arg2
= (double *) 0 ;
14117 double *arg3
= (double *) 0 ;
14120 PyObject
* obj0
= 0 ;
14121 char *kwnames
[] = {
14122 (char *) "self", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 (arg1
)->GetLogicalScale(arg2
,arg3
);
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 Py_INCREF(Py_None
); resultobj
= Py_None
;
14139 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14140 resultobj
= t_output_helper(resultobj
,o
);
14143 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14144 resultobj
= t_output_helper(resultobj
,o
);
14152 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
*resultobj
;
14154 wxDC
*arg1
= (wxDC
*) 0 ;
14157 PyObject
* obj0
= 0 ;
14158 PyObject
* obj1
= 0 ;
14159 PyObject
* obj2
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self",(char *) "x",(char *) "y", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14167 arg2
= (double) SWIG_AsDouble(obj1
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14169 arg3
= (double) SWIG_AsDouble(obj2
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 (arg1
)->SetLogicalScale(arg2
,arg3
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14178 Py_INCREF(Py_None
); resultobj
= Py_None
;
14185 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxDC
*arg1
= (wxDC
*) 0 ;
14189 PyObject
* obj0
= 0 ;
14190 char *kwnames
[] = {
14191 (char *) "self", NULL
14194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14205 wxPoint
* resultptr
;
14206 resultptr
= new wxPoint((wxPoint
&) result
);
14207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14215 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
;
14217 wxDC
*arg1
= (wxDC
*) 0 ;
14218 int *arg2
= (int *) 0 ;
14219 int *arg3
= (int *) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 Py_INCREF(Py_None
); resultobj
= Py_None
;
14241 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14242 resultobj
= t_output_helper(resultobj
,o
);
14245 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14246 resultobj
= t_output_helper(resultobj
,o
);
14254 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxDC
*arg1
= (wxDC
*) 0 ;
14259 PyObject
* obj0
= 0 ;
14260 PyObject
* obj1
= 0 ;
14261 PyObject
* obj2
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self",(char *) "x",(char *) "y", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14269 arg2
= (int) SWIG_AsInt(obj1
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14271 arg3
= (int) SWIG_AsInt(obj2
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 Py_INCREF(Py_None
); resultobj
= Py_None
;
14287 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxDC
*arg1
= (wxDC
*) 0 ;
14290 wxPoint
*arg2
= 0 ;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj1
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self",(char *) "point", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 Py_INCREF(Py_None
); resultobj
= Py_None
;
14319 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxDC
*arg1
= (wxDC
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14339 wxPoint
* resultptr
;
14340 resultptr
= new wxPoint((wxPoint
&) result
);
14341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14349 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxDC
*arg1
= (wxDC
*) 0 ;
14352 int *arg2
= (int *) 0 ;
14353 int *arg3
= (int *) 0 ;
14356 PyObject
* obj0
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "self", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 Py_INCREF(Py_None
); resultobj
= Py_None
;
14375 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14376 resultobj
= t_output_helper(resultobj
,o
);
14379 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14380 resultobj
= t_output_helper(resultobj
,o
);
14388 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxDC
*arg1
= (wxDC
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 PyObject
* obj1
= 0 ;
14395 PyObject
* obj2
= 0 ;
14396 char *kwnames
[] = {
14397 (char *) "self",(char *) "x",(char *) "y", NULL
14400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14403 arg2
= (int) SWIG_AsInt(obj1
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14405 arg3
= (int) SWIG_AsInt(obj2
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 Py_INCREF(Py_None
); resultobj
= Py_None
;
14421 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxDC
*arg1
= (wxDC
*) 0 ;
14424 wxPoint
*arg2
= 0 ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self",(char *) "point", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14437 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14446 Py_INCREF(Py_None
); resultobj
= Py_None
;
14453 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14454 PyObject
*resultobj
;
14455 wxDC
*arg1
= (wxDC
*) 0 ;
14458 PyObject
* obj0
= 0 ;
14459 PyObject
* obj1
= 0 ;
14460 PyObject
* obj2
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14468 arg2
= (bool) SWIG_AsBool(obj1
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14470 arg3
= (bool) SWIG_AsBool(obj2
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14479 Py_INCREF(Py_None
); resultobj
= Py_None
;
14486 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxDC
*arg1
= (wxDC
*) 0 ;
14490 PyObject
* obj0
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "self", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 resultobj
= SWIG_FromInt((int)result
);
14512 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
;
14514 wxDC
*arg1
= (wxDC
*) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 PyObject
* obj1
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self",(char *) "function", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14525 arg2
= (int) SWIG_AsInt(obj1
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 (arg1
)->SetLogicalFunction(arg2
);
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14534 Py_INCREF(Py_None
); resultobj
= Py_None
;
14541 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxDC
*arg1
= (wxDC
*) 0 ;
14545 PyObject
* obj0
= 0 ;
14546 PyObject
* obj1
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "self",(char *) "optimize", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14554 arg2
= (bool) SWIG_AsBool(obj1
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 (arg1
)->SetOptimization(arg2
);
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14563 Py_INCREF(Py_None
); resultobj
= Py_None
;
14570 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14571 PyObject
*resultobj
;
14572 wxDC
*arg1
= (wxDC
*) 0 ;
14574 PyObject
* obj0
= 0 ;
14575 char *kwnames
[] = {
14576 (char *) "self", NULL
14579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 result
= (bool)(arg1
)->GetOptimization();
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14598 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxDC
*arg1
= (wxDC
*) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 PyObject
* obj1
= 0 ;
14605 PyObject
* obj2
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self",(char *) "x",(char *) "y", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14613 arg2
= (int) SWIG_AsInt(obj1
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14615 arg3
= (int) SWIG_AsInt(obj2
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 Py_INCREF(Py_None
); resultobj
= Py_None
;
14631 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxDC
*arg1
= (wxDC
*) 0 ;
14634 wxPoint
*arg2
= 0 ;
14636 PyObject
* obj0
= 0 ;
14637 PyObject
* obj1
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self",(char *) "point", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 Py_INCREF(Py_None
); resultobj
= Py_None
;
14663 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
;
14665 wxDC
*arg1
= (wxDC
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 (arg1
)->ResetBoundingBox();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14681 Py_INCREF(Py_None
); resultobj
= Py_None
;
14688 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxDC
*arg1
= (wxDC
*) 0 ;
14692 PyObject
* obj0
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 result
= (int)((wxDC
const *)arg1
)->MinX();
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_FromInt((int)result
);
14714 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 wxDC
*arg1
= (wxDC
*) 0 ;
14718 PyObject
* obj0
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 result
= (int)((wxDC
const *)arg1
)->MaxX();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= SWIG_FromInt((int)result
);
14740 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxDC
*arg1
= (wxDC
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (int)((wxDC
const *)arg1
)->MinY();
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= SWIG_FromInt((int)result
);
14766 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxDC
*arg1
= (wxDC
*) 0 ;
14770 PyObject
* obj0
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "self", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (int)((wxDC
const *)arg1
)->MaxY();
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_FromInt((int)result
);
14792 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxDC
*arg1
= (wxDC
*) 0 ;
14795 int *arg2
= (int *) 0 ;
14796 int *arg3
= (int *) 0 ;
14797 int *arg4
= (int *) 0 ;
14798 int *arg5
= (int *) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 char *kwnames
[] = {
14805 (char *) "self", NULL
14812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14822 Py_INCREF(Py_None
); resultobj
= Py_None
;
14824 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14825 resultobj
= t_output_helper(resultobj
,o
);
14828 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14829 resultobj
= t_output_helper(resultobj
,o
);
14832 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14833 resultobj
= t_output_helper(resultobj
,o
);
14836 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14837 resultobj
= t_output_helper(resultobj
,o
);
14845 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
;
14847 wxDC
*arg1
= (wxDC
*) 0 ;
14848 PyObject
*arg2
= (PyObject
*) 0 ;
14849 PyObject
*arg3
= (PyObject
*) 0 ;
14850 PyObject
*arg4
= (PyObject
*) 0 ;
14852 PyObject
* obj0
= 0 ;
14853 PyObject
* obj1
= 0 ;
14854 PyObject
* obj2
= 0 ;
14855 PyObject
* obj3
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= result
;
14880 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxDC
*arg1
= (wxDC
*) 0 ;
14883 PyObject
*arg2
= (PyObject
*) 0 ;
14884 PyObject
*arg3
= (PyObject
*) 0 ;
14885 PyObject
*arg4
= (PyObject
*) 0 ;
14887 PyObject
* obj0
= 0 ;
14888 PyObject
* obj1
= 0 ;
14889 PyObject
* obj2
= 0 ;
14890 PyObject
* obj3
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= result
;
14915 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxDC
*arg1
= (wxDC
*) 0 ;
14918 PyObject
*arg2
= (PyObject
*) 0 ;
14919 PyObject
*arg3
= (PyObject
*) 0 ;
14920 PyObject
*arg4
= (PyObject
*) 0 ;
14922 PyObject
* obj0
= 0 ;
14923 PyObject
* obj1
= 0 ;
14924 PyObject
* obj2
= 0 ;
14925 PyObject
* obj3
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= result
;
14950 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
;
14952 wxDC
*arg1
= (wxDC
*) 0 ;
14953 PyObject
*arg2
= (PyObject
*) 0 ;
14954 PyObject
*arg3
= (PyObject
*) 0 ;
14955 PyObject
*arg4
= (PyObject
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 PyObject
* obj2
= 0 ;
14960 PyObject
* obj3
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= result
;
14985 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxDC
*arg1
= (wxDC
*) 0 ;
14988 PyObject
*arg2
= (PyObject
*) 0 ;
14989 PyObject
*arg3
= (PyObject
*) 0 ;
14990 PyObject
*arg4
= (PyObject
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 PyObject
* obj1
= 0 ;
14994 PyObject
* obj2
= 0 ;
14995 PyObject
* obj3
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= result
;
15020 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
;
15022 wxDC
*arg1
= (wxDC
*) 0 ;
15023 PyObject
*arg2
= (PyObject
*) 0 ;
15024 PyObject
*arg3
= (PyObject
*) 0 ;
15025 PyObject
*arg4
= (PyObject
*) 0 ;
15026 PyObject
*arg5
= (PyObject
*) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 PyObject
* obj1
= 0 ;
15030 PyObject
* obj2
= 0 ;
15031 PyObject
* obj3
= 0 ;
15032 PyObject
* obj4
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= result
;
15058 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15061 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15063 return Py_BuildValue((char *)"");
15065 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
;
15067 wxMemoryDC
*result
;
15068 char *kwnames
[] = {
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15074 if (!wxPyCheckForApp()) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= (wxMemoryDC
*)new wxMemoryDC();
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15088 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxDC
*arg1
= (wxDC
*) 0 ;
15091 wxMemoryDC
*result
;
15092 PyObject
* obj0
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "oldDC", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15101 if (!wxPyCheckForApp()) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15115 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15116 PyObject
*resultobj
;
15117 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15118 wxBitmap
*arg2
= 0 ;
15119 PyObject
* obj0
= 0 ;
15120 PyObject
* obj1
= 0 ;
15121 char *kwnames
[] = {
15122 (char *) "self",(char *) "bitmap", NULL
15125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15131 if (arg2
== NULL
) {
15132 PyErr_SetString(PyExc_TypeError
,"null reference");
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15142 Py_INCREF(Py_None
); resultobj
= Py_None
;
15149 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15152 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15154 return Py_BuildValue((char *)"");
15156 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15157 PyObject
*resultobj
;
15158 wxDC
*arg1
= (wxDC
*) 0 ;
15159 wxBitmap
*arg2
= 0 ;
15160 wxBufferedDC
*result
;
15161 PyObject
* obj0
= 0 ;
15162 PyObject
* obj1
= 0 ;
15164 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15170 if (arg2
== NULL
) {
15171 PyErr_SetString(PyExc_TypeError
,"null reference");
15175 if (!wxPyCheckForApp()) SWIG_fail
;
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15189 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15190 PyObject
*resultobj
;
15191 wxDC
*arg1
= (wxDC
*) 0 ;
15193 wxBufferedDC
*result
;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15198 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15203 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15206 if (!wxPyCheckForApp()) SWIG_fail
;
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15220 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15225 argc
= PyObject_Length(args
);
15226 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15227 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15233 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15243 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15251 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15259 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15268 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15271 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15276 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15281 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15284 PyObject
* obj0
= 0 ;
15285 char *kwnames
[] = {
15286 (char *) "self", NULL
15289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 Py_INCREF(Py_None
); resultobj
= Py_None
;
15306 static PyObject
*_wrap_BufferedDC_UnMask(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:BufferedDC_UnMask",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
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15334 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15336 return Py_BuildValue((char *)"");
15338 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
;
15340 wxWindow
*arg1
= (wxWindow
*) 0 ;
15341 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15342 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15343 wxBufferedPaintDC
*result
;
15344 PyObject
* obj0
= 0 ;
15345 PyObject
* obj1
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "window",(char *) "buffer", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15357 if (arg2
== NULL
) {
15358 PyErr_SetString(PyExc_TypeError
,"null reference");
15363 if (!wxPyCheckForApp()) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15377 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15380 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15382 return Py_BuildValue((char *)"");
15384 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxScreenDC
*result
;
15387 char *kwnames
[] = {
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15393 if (!wxPyCheckForApp()) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= (wxScreenDC
*)new wxScreenDC();
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15407 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
;
15409 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15410 wxWindow
*arg2
= (wxWindow
*) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 PyObject
* obj1
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self",(char *) "window", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15439 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15442 wxRect
*arg2
= (wxRect
*) NULL
;
15444 PyObject
* obj0
= 0 ;
15445 PyObject
* obj1
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "self",(char *) "rect", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15473 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "self", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 result
= (bool)(arg1
)->EndDrawingOnTop();
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15501 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15504 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15506 return Py_BuildValue((char *)"");
15508 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxWindow
*arg1
= (wxWindow
*) 0 ;
15511 wxClientDC
*result
;
15512 PyObject
* obj0
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "win", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15521 if (!wxPyCheckForApp()) SWIG_fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 result
= (wxClientDC
*)new wxClientDC(arg1
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15535 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15538 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15540 return Py_BuildValue((char *)"");
15542 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxWindow
*arg1
= (wxWindow
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "win", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 if (!wxPyCheckForApp()) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15569 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15572 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15574 return Py_BuildValue((char *)"");
15576 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxWindow
*arg1
= (wxWindow
*) 0 ;
15579 wxWindowDC
*result
;
15580 PyObject
* obj0
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "win", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 if (!wxPyCheckForApp()) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15603 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15606 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15608 return Py_BuildValue((char *)"");
15610 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15614 wxMirrorDC
*result
;
15615 PyObject
* obj0
= 0 ;
15616 PyObject
* obj1
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "dc",(char *) "mirror", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15625 if (arg1
== NULL
) {
15626 PyErr_SetString(PyExc_TypeError
,"null reference");
15629 arg2
= (bool) SWIG_AsBool(obj1
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 if (!wxPyCheckForApp()) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15646 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15649 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15651 return Py_BuildValue((char *)"");
15653 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
;
15655 wxPrintData
*arg1
= 0 ;
15656 wxPostScriptDC
*result
;
15657 PyObject
* obj0
= 0 ;
15658 char *kwnames
[] = {
15659 (char *) "printData", NULL
15662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15666 if (arg1
== NULL
) {
15667 PyErr_SetString(PyExc_TypeError
,"null reference");
15671 if (!wxPyCheckForApp()) SWIG_fail
;
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15685 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15687 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15688 wxPrintData
*result
;
15689 PyObject
* obj0
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15701 result
= (wxPrintData
*) &_result_ref
;
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15714 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15717 wxPrintData
*arg2
= 0 ;
15718 PyObject
* obj0
= 0 ;
15719 PyObject
* obj1
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self",(char *) "data", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15730 if (arg2
== NULL
) {
15731 PyErr_SetString(PyExc_TypeError
,"null reference");
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15741 Py_INCREF(Py_None
); resultobj
= Py_None
;
15748 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "ppi", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15757 arg1
= (int) SWIG_AsInt(obj0
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 wxPostScriptDC::SetResolution(arg1
);
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 Py_INCREF(Py_None
); resultobj
= Py_None
;
15773 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15776 char *kwnames
[] = {
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= (int)wxPostScriptDC::GetResolution();
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= SWIG_FromInt((int)result
);
15795 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15798 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15800 return Py_BuildValue((char *)"");
15802 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15805 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15806 wxMetaFile
*result
;
15807 bool temp1
= False
;
15808 PyObject
* obj0
= 0 ;
15809 char *kwnames
[] = {
15810 (char *) "filename", NULL
15813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15816 arg1
= wxString_in_helper(obj0
);
15817 if (arg1
== NULL
) SWIG_fail
;
15822 if (!wxPyCheckForApp()) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15844 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15847 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15849 return Py_BuildValue((char *)"");
15851 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
;
15853 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15854 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15855 int arg2
= (int) 0 ;
15856 int arg3
= (int) 0 ;
15857 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15858 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15859 wxMetaFileDC
*result
;
15860 bool temp1
= False
;
15861 bool temp4
= False
;
15862 PyObject
* obj0
= 0 ;
15863 PyObject
* obj1
= 0 ;
15864 PyObject
* obj2
= 0 ;
15865 PyObject
* obj3
= 0 ;
15866 char *kwnames
[] = {
15867 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15873 arg1
= wxString_in_helper(obj0
);
15874 if (arg1
== NULL
) SWIG_fail
;
15879 arg2
= (int) SWIG_AsInt(obj1
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15883 arg3
= (int) SWIG_AsInt(obj2
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15888 arg4
= wxString_in_helper(obj3
);
15889 if (arg4
== NULL
) SWIG_fail
;
15894 if (!wxPyCheckForApp()) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15924 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15927 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15929 return Py_BuildValue((char *)"");
15931 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
;
15933 wxPrintData
*arg1
= 0 ;
15934 wxPrinterDC
*result
;
15935 PyObject
* obj0
= 0 ;
15936 char *kwnames
[] = {
15937 (char *) "printData", NULL
15940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15944 if (arg1
== NULL
) {
15945 PyErr_SetString(PyExc_TypeError
,"null reference");
15949 if (!wxPyCheckForApp()) SWIG_fail
;
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15963 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15966 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15968 return Py_BuildValue((char *)"");
15970 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15974 int arg3
= (int) True
;
15975 int arg4
= (int) 1 ;
15976 wxImageList
*result
;
15977 PyObject
* obj0
= 0 ;
15978 PyObject
* obj1
= 0 ;
15979 PyObject
* obj2
= 0 ;
15980 PyObject
* obj3
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15986 arg1
= (int) SWIG_AsInt(obj0
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15988 arg2
= (int) SWIG_AsInt(obj1
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15991 arg3
= (int) SWIG_AsInt(obj2
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15995 arg4
= (int) SWIG_AsInt(obj3
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15999 if (!wxPyCheckForApp()) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= wxPyMake_wxObject(result
, 1);
16015 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxImageList
*arg1
= (wxImageList
*) 0 ;
16018 PyObject
* obj0
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16033 Py_INCREF(Py_None
); resultobj
= Py_None
;
16040 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxImageList
*arg1
= (wxImageList
*) 0 ;
16043 wxBitmap
*arg2
= 0 ;
16044 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16045 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16047 PyObject
* obj0
= 0 ;
16048 PyObject
* obj1
= 0 ;
16049 PyObject
* obj2
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16060 if (arg2
== NULL
) {
16061 PyErr_SetString(PyExc_TypeError
,"null reference");
16065 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16068 if (arg3
== NULL
) {
16069 PyErr_SetString(PyExc_TypeError
,"null reference");
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= SWIG_FromInt((int)result
);
16087 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxImageList
*arg1
= (wxImageList
*) 0 ;
16090 wxBitmap
*arg2
= 0 ;
16091 wxColour
*arg3
= 0 ;
16094 PyObject
* obj0
= 0 ;
16095 PyObject
* obj1
= 0 ;
16096 PyObject
* obj2
= 0 ;
16097 char *kwnames
[] = {
16098 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16107 if (arg2
== NULL
) {
16108 PyErr_SetString(PyExc_TypeError
,"null reference");
16113 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16122 resultobj
= SWIG_FromInt((int)result
);
16129 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 wxImageList
*arg1
= (wxImageList
*) 0 ;
16134 PyObject
* obj0
= 0 ;
16135 PyObject
* obj1
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "self",(char *) "icon", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16146 if (arg2
== NULL
) {
16147 PyErr_SetString(PyExc_TypeError
,"null reference");
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= SWIG_FromInt((int)result
);
16164 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
;
16166 wxImageList
*arg1
= (wxImageList
*) 0 ;
16168 wxBitmap
*arg3
= 0 ;
16170 PyObject
* obj0
= 0 ;
16171 PyObject
* obj1
= 0 ;
16172 PyObject
* obj2
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16180 arg2
= (int) SWIG_AsInt(obj1
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16182 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16185 if (arg3
== NULL
) {
16186 PyErr_SetString(PyExc_TypeError
,"null reference");
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16205 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16206 PyObject
*resultobj
;
16207 wxImageList
*arg1
= (wxImageList
*) 0 ;
16212 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16213 bool arg7
= (bool) (bool)False
;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 PyObject
* obj2
= 0 ;
16218 PyObject
* obj3
= 0 ;
16219 PyObject
* obj4
= 0 ;
16220 PyObject
* obj5
= 0 ;
16221 PyObject
* obj6
= 0 ;
16222 char *kwnames
[] = {
16223 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16229 arg2
= (int) SWIG_AsInt(obj1
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16231 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16234 if (arg3
== NULL
) {
16235 PyErr_SetString(PyExc_TypeError
,"null reference");
16238 arg4
= (int) SWIG_AsInt(obj3
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16240 arg5
= (int) SWIG_AsInt(obj4
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16243 arg6
= (int) SWIG_AsInt(obj5
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16247 arg7
= (bool const) SWIG_AsBool(obj6
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16266 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
;
16268 wxImageList
*arg1
= (wxImageList
*) 0 ;
16270 PyObject
* obj0
= 0 ;
16271 char *kwnames
[] = {
16272 (char *) "self", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 result
= (int)(arg1
)->GetImageCount();
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 resultobj
= SWIG_FromInt((int)result
);
16292 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
;
16294 wxImageList
*arg1
= (wxImageList
*) 0 ;
16297 PyObject
* obj0
= 0 ;
16298 PyObject
* obj1
= 0 ;
16299 char *kwnames
[] = {
16300 (char *) "self",(char *) "index", NULL
16303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16306 arg2
= (int) SWIG_AsInt(obj1
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16310 result
= (bool)(arg1
)->Remove(arg2
);
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16324 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxImageList
*arg1
= (wxImageList
*) 0 ;
16328 PyObject
* obj0
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "self", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 result
= (bool)(arg1
)->RemoveAll();
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16352 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxImageList
*arg1
= (wxImageList
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 PyObject
* obj1
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self",(char *) "index", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16371 arg2
= (int) SWIG_AsInt(obj1
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16375 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16380 Py_INCREF(Py_None
); resultobj
= Py_None
;
16382 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16383 resultobj
= t_output_helper(resultobj
,o
);
16386 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16387 resultobj
= t_output_helper(resultobj
,o
);
16395 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16398 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16400 return Py_BuildValue((char *)"");
16402 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16403 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16408 static PyObject
*_wrap_NORMAL_FONT_get() {
16411 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16416 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16417 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16422 static PyObject
*_wrap_SMALL_FONT_get() {
16425 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16430 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16431 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16436 static PyObject
*_wrap_ITALIC_FONT_get() {
16439 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16444 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16445 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16450 static PyObject
*_wrap_SWISS_FONT_get() {
16453 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16458 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16459 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16464 static PyObject
*_wrap_RED_PEN_get() {
16467 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16472 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16473 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16478 static PyObject
*_wrap_CYAN_PEN_get() {
16481 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16486 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16487 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16492 static PyObject
*_wrap_GREEN_PEN_get() {
16495 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16500 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16501 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16506 static PyObject
*_wrap_BLACK_PEN_get() {
16509 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16514 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16515 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16520 static PyObject
*_wrap_WHITE_PEN_get() {
16523 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16528 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16529 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16534 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16537 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16542 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16543 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16548 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16551 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16556 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16557 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16562 static PyObject
*_wrap_GREY_PEN_get() {
16565 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16570 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16571 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16576 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16579 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16584 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16585 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16590 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16593 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16598 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16599 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16604 static PyObject
*_wrap_BLUE_BRUSH_get() {
16607 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16612 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16613 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16618 static PyObject
*_wrap_GREEN_BRUSH_get() {
16621 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16626 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16627 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16632 static PyObject
*_wrap_WHITE_BRUSH_get() {
16635 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16640 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16641 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16646 static PyObject
*_wrap_BLACK_BRUSH_get() {
16649 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16654 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16655 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16660 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16663 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16668 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16669 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16674 static PyObject
*_wrap_CYAN_BRUSH_get() {
16677 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16682 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16683 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16688 static PyObject
*_wrap_RED_BRUSH_get() {
16691 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16696 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16697 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16702 static PyObject
*_wrap_GREY_BRUSH_get() {
16705 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16710 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16711 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16716 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16719 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16724 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16725 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16730 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16733 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16738 static int _wrap_BLACK_set(PyObject
*_val
) {
16739 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16744 static PyObject
*_wrap_BLACK_get() {
16747 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16752 static int _wrap_WHITE_set(PyObject
*_val
) {
16753 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16758 static PyObject
*_wrap_WHITE_get() {
16761 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16766 static int _wrap_RED_set(PyObject
*_val
) {
16767 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16772 static PyObject
*_wrap_RED_get() {
16775 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16780 static int _wrap_BLUE_set(PyObject
*_val
) {
16781 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16786 static PyObject
*_wrap_BLUE_get() {
16789 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16794 static int _wrap_GREEN_set(PyObject
*_val
) {
16795 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16800 static PyObject
*_wrap_GREEN_get() {
16803 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16808 static int _wrap_CYAN_set(PyObject
*_val
) {
16809 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16814 static PyObject
*_wrap_CYAN_get() {
16817 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16822 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16823 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16828 static PyObject
*_wrap_LIGHT_GREY_get() {
16831 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16836 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16837 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16842 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16845 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16850 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16851 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16856 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16859 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16864 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16865 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16870 static PyObject
*_wrap_CROSS_CURSOR_get() {
16873 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16878 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16879 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16884 static PyObject
*_wrap_NullBitmap_get() {
16887 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16892 static int _wrap_NullIcon_set(PyObject
*_val
) {
16893 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16898 static PyObject
*_wrap_NullIcon_get() {
16901 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16906 static int _wrap_NullCursor_set(PyObject
*_val
) {
16907 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16912 static PyObject
*_wrap_NullCursor_get() {
16915 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16920 static int _wrap_NullPen_set(PyObject
*_val
) {
16921 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16926 static PyObject
*_wrap_NullPen_get() {
16929 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16934 static int _wrap_NullBrush_set(PyObject
*_val
) {
16935 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16940 static PyObject
*_wrap_NullBrush_get() {
16943 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16948 static int _wrap_NullPalette_set(PyObject
*_val
) {
16949 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16954 static PyObject
*_wrap_NullPalette_get() {
16957 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16962 static int _wrap_NullFont_set(PyObject
*_val
) {
16963 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16968 static PyObject
*_wrap_NullFont_get() {
16971 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
16976 static int _wrap_NullColour_set(PyObject
*_val
) {
16977 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16982 static PyObject
*_wrap_NullColour_get() {
16985 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
16990 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
;
16992 wxPenList
*arg1
= (wxPenList
*) 0 ;
16993 wxPen
*arg2
= (wxPen
*) 0 ;
16994 PyObject
* obj0
= 0 ;
16995 PyObject
* obj1
= 0 ;
16996 char *kwnames
[] = {
16997 (char *) "self",(char *) "pen", NULL
17000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 (arg1
)->AddPen(arg2
);
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17012 Py_INCREF(Py_None
); resultobj
= Py_None
;
17019 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17020 PyObject
*resultobj
;
17021 wxPenList
*arg1
= (wxPenList
*) 0 ;
17022 wxColour
*arg2
= 0 ;
17027 PyObject
* obj0
= 0 ;
17028 PyObject
* obj1
= 0 ;
17029 PyObject
* obj2
= 0 ;
17030 PyObject
* obj3
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17040 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17042 arg3
= (int) SWIG_AsInt(obj2
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17044 arg4
= (int) SWIG_AsInt(obj3
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17060 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxPenList
*arg1
= (wxPenList
*) 0 ;
17063 wxPen
*arg2
= (wxPen
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 PyObject
* obj1
= 0 ;
17066 char *kwnames
[] = {
17067 (char *) "self",(char *) "pen", NULL
17070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 (arg1
)->RemovePen(arg2
);
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 Py_INCREF(Py_None
); resultobj
= Py_None
;
17089 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 wxPenList
*arg1
= (wxPenList
*) 0 ;
17093 PyObject
* obj0
= 0 ;
17094 char *kwnames
[] = {
17095 (char *) "self", NULL
17098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17103 result
= (int)(arg1
)->GetCount();
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= SWIG_FromInt((int)result
);
17115 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17118 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17120 return Py_BuildValue((char *)"");
17122 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
;
17124 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17125 wxBrush
*arg2
= (wxBrush
*) 0 ;
17126 PyObject
* obj0
= 0 ;
17127 PyObject
* obj1
= 0 ;
17128 char *kwnames
[] = {
17129 (char *) "self",(char *) "brush", NULL
17132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 (arg1
)->AddBrush(arg2
);
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17144 Py_INCREF(Py_None
); resultobj
= Py_None
;
17151 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
;
17153 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17154 wxColour
*arg2
= 0 ;
17158 PyObject
* obj0
= 0 ;
17159 PyObject
* obj1
= 0 ;
17160 PyObject
* obj2
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "self",(char *) "colour",(char *) "style", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17170 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17172 arg3
= (int) SWIG_AsInt(obj2
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17188 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17191 wxBrush
*arg2
= (wxBrush
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self",(char *) "brush", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 (arg1
)->RemoveBrush(arg2
);
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 Py_INCREF(Py_None
); resultobj
= Py_None
;
17217 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "self", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (int)(arg1
)->GetCount();
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= SWIG_FromInt((int)result
);
17243 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17246 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17248 return Py_BuildValue((char *)"");
17250 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 wxColourDatabase
*result
;
17253 char *kwnames
[] = {
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17259 if (!wxPyCheckForApp()) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= (wxColourDatabase
*)new wxColourDatabase();
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17273 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17276 PyObject
* obj0
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "self", NULL
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 Py_INCREF(Py_None
); resultobj
= Py_None
;
17298 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17301 wxString
*arg2
= 0 ;
17303 bool temp2
= False
;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj1
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self",(char *) "name", NULL
17310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17314 arg2
= wxString_in_helper(obj1
);
17315 if (arg2
== NULL
) SWIG_fail
;
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17326 wxColour
* resultptr
;
17327 resultptr
= new wxColour((wxColour
&) result
);
17328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17344 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17346 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17347 wxColour
*arg2
= 0 ;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self",(char *) "colour", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17361 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17383 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17386 wxString
*arg2
= 0 ;
17387 wxColour
*arg3
= 0 ;
17388 bool temp2
= False
;
17390 PyObject
* obj0
= 0 ;
17391 PyObject
* obj1
= 0 ;
17392 PyObject
* obj2
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "self",(char *) "name",(char *) "colour", NULL
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17401 arg2
= wxString_in_helper(obj1
);
17402 if (arg2
== NULL
) SWIG_fail
;
17407 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 Py_INCREF(Py_None
); resultobj
= Py_None
;
17431 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17434 wxString
*arg2
= 0 ;
17438 bool temp2
= False
;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 PyObject
* obj2
= 0 ;
17442 PyObject
* obj3
= 0 ;
17443 PyObject
* obj4
= 0 ;
17444 char *kwnames
[] = {
17445 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17452 arg2
= wxString_in_helper(obj1
);
17453 if (arg2
== NULL
) SWIG_fail
;
17456 arg3
= (int) SWIG_AsInt(obj2
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17458 arg4
= (int) SWIG_AsInt(obj3
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17460 arg5
= (int) SWIG_AsInt(obj4
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 Py_INCREF(Py_None
); resultobj
= Py_None
;
17484 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17487 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17489 return Py_BuildValue((char *)"");
17491 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
;
17493 wxFontList
*arg1
= (wxFontList
*) 0 ;
17494 wxFont
*arg2
= (wxFont
*) 0 ;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "self",(char *) "font", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 (arg1
)->AddFont(arg2
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 Py_INCREF(Py_None
); resultobj
= Py_None
;
17520 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxFontList
*arg1
= (wxFontList
*) 0 ;
17527 bool arg6
= (bool) False
;
17528 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17529 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17530 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17532 bool temp7
= False
;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj1
= 0 ;
17535 PyObject
* obj2
= 0 ;
17536 PyObject
* obj3
= 0 ;
17537 PyObject
* obj4
= 0 ;
17538 PyObject
* obj5
= 0 ;
17539 PyObject
* obj6
= 0 ;
17540 PyObject
* obj7
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17548 arg2
= (int) SWIG_AsInt(obj1
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17550 arg3
= (int) SWIG_AsInt(obj2
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17552 arg4
= (int) SWIG_AsInt(obj3
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17554 arg5
= (int) SWIG_AsInt(obj4
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 arg6
= (bool) SWIG_AsBool(obj5
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17562 arg7
= wxString_in_helper(obj6
);
17563 if (arg7
== NULL
) SWIG_fail
;
17568 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17593 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxFontList
*arg1
= (wxFontList
*) 0 ;
17596 wxFont
*arg2
= (wxFont
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self",(char *) "font", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 (arg1
)->RemoveFont(arg2
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 Py_INCREF(Py_None
); resultobj
= Py_None
;
17622 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxFontList
*arg1
= (wxFontList
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 result
= (int)(arg1
)->GetCount();
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= SWIG_FromInt((int)result
);
17648 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17651 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17653 return Py_BuildValue((char *)"");
17655 static int _wrap_TheFontList_set(PyObject
*_val
) {
17656 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17661 static PyObject
*_wrap_TheFontList_get() {
17664 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17669 static int _wrap_ThePenList_set(PyObject
*_val
) {
17670 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17675 static PyObject
*_wrap_ThePenList_get() {
17678 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17683 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17684 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17689 static PyObject
*_wrap_TheBrushList_get() {
17692 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17697 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17698 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17703 static PyObject
*_wrap_TheColourDatabase_get() {
17706 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17711 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17712 PyObject
*resultobj
;
17714 char *kwnames
[] = {
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= (wxEffects
*)new wxEffects();
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17733 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxEffects
*arg1
= (wxEffects
*) 0 ;
17737 PyObject
* obj0
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17753 wxColour
* resultptr
;
17754 resultptr
= new wxColour((wxColour
&) result
);
17755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17763 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxEffects
*arg1
= (wxEffects
*) 0 ;
17767 PyObject
* obj0
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17783 wxColour
* resultptr
;
17784 resultptr
= new wxColour((wxColour
&) result
);
17785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17793 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxEffects
*arg1
= (wxEffects
*) 0 ;
17797 PyObject
* obj0
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17813 wxColour
* resultptr
;
17814 resultptr
= new wxColour((wxColour
&) result
);
17815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17823 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxEffects
*arg1
= (wxEffects
*) 0 ;
17827 PyObject
* obj0
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17843 wxColour
* resultptr
;
17844 resultptr
= new wxColour((wxColour
&) result
);
17845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17853 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxEffects
*arg1
= (wxEffects
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17873 wxColour
* resultptr
;
17874 resultptr
= new wxColour((wxColour
&) result
);
17875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17883 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
;
17885 wxEffects
*arg1
= (wxEffects
*) 0 ;
17886 wxColour
*arg2
= 0 ;
17888 PyObject
* obj0
= 0 ;
17889 PyObject
* obj1
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "self",(char *) "c", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 Py_INCREF(Py_None
); resultobj
= Py_None
;
17915 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxEffects
*arg1
= (wxEffects
*) 0 ;
17918 wxColour
*arg2
= 0 ;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "self",(char *) "c", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 Py_INCREF(Py_None
); resultobj
= Py_None
;
17947 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxEffects
*arg1
= (wxEffects
*) 0 ;
17950 wxColour
*arg2
= 0 ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "c", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17963 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 Py_INCREF(Py_None
); resultobj
= Py_None
;
17979 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxEffects
*arg1
= (wxEffects
*) 0 ;
17982 wxColour
*arg2
= 0 ;
17984 PyObject
* obj0
= 0 ;
17985 PyObject
* obj1
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self",(char *) "c", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17995 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 Py_INCREF(Py_None
); resultobj
= Py_None
;
18011 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
;
18013 wxEffects
*arg1
= (wxEffects
*) 0 ;
18014 wxColour
*arg2
= 0 ;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self",(char *) "c", NULL
18022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18027 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 Py_INCREF(Py_None
); resultobj
= Py_None
;
18043 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxEffects
*arg1
= (wxEffects
*) 0 ;
18046 wxColour
*arg2
= 0 ;
18047 wxColour
*arg3
= 0 ;
18048 wxColour
*arg4
= 0 ;
18049 wxColour
*arg5
= 0 ;
18050 wxColour
*arg6
= 0 ;
18056 PyObject
* obj0
= 0 ;
18057 PyObject
* obj1
= 0 ;
18058 PyObject
* obj2
= 0 ;
18059 PyObject
* obj3
= 0 ;
18060 PyObject
* obj4
= 0 ;
18061 PyObject
* obj5
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18071 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18075 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18079 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18083 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18087 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 Py_INCREF(Py_None
); resultobj
= Py_None
;
18103 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxEffects
*arg1
= (wxEffects
*) 0 ;
18108 int arg4
= (int) 1 ;
18110 PyObject
* obj0
= 0 ;
18111 PyObject
* obj1
= 0 ;
18112 PyObject
* obj2
= 0 ;
18113 PyObject
* obj3
= 0 ;
18114 char *kwnames
[] = {
18115 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18124 if (arg2
== NULL
) {
18125 PyErr_SetString(PyExc_TypeError
,"null reference");
18130 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18133 arg4
= (int) SWIG_AsInt(obj3
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 Py_INCREF(Py_None
); resultobj
= Py_None
;
18150 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxEffects
*arg1
= (wxEffects
*) 0 ;
18155 wxBitmap
*arg4
= 0 ;
18158 PyObject
* obj0
= 0 ;
18159 PyObject
* obj1
= 0 ;
18160 PyObject
* obj2
= 0 ;
18161 PyObject
* obj3
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18171 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18173 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18176 if (arg3
== NULL
) {
18177 PyErr_SetString(PyExc_TypeError
,"null reference");
18180 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18181 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18183 if (arg4
== NULL
) {
18184 PyErr_SetString(PyExc_TypeError
,"null reference");
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18203 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18206 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18208 return Py_BuildValue((char *)"");
18210 static PyMethodDef SwigMethods
[] = {
18211 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18212 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18213 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18214 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18215 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18216 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18217 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18218 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18219 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18220 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18221 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18222 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18223 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18224 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18225 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18226 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18227 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18228 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18229 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18230 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18231 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18232 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18233 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18234 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18235 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18236 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18237 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18238 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18239 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18240 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18241 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18242 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18243 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18244 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18245 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18246 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18247 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18248 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18249 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18250 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18251 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18252 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18253 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18254 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18255 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18256 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18257 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18258 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18259 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18260 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18261 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18262 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18263 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18264 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18265 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18266 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18267 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18268 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18269 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18270 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18272 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18273 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18274 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18275 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18276 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18282 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18283 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18284 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18285 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18287 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18288 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18289 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18290 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18292 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18293 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18294 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18295 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18296 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18297 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18298 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18299 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18302 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18305 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18307 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18311 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18313 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18315 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18316 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18321 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18322 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18323 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18324 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18329 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18331 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18337 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18347 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18348 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18353 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18356 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18358 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18366 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18371 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18380 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18387 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18404 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18413 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18429 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18433 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18470 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18478 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18485 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18507 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18509 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18517 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18646 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18650 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18651 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18654 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18656 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18659 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18661 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18663 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18665 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18667 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18669 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18675 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18677 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18679 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18681 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18690 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18691 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18692 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18693 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18698 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18699 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18701 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18703 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18704 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18705 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18708 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18710 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18712 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18714 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18715 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18718 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18719 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18724 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18728 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18734 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18736 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18737 return (void *)((wxWindow
*) ((wxControl
*) x
));
18739 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18740 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18742 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18743 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18745 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18746 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18748 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18749 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18751 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18752 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18754 static void *_p_wxPenTo_p_wxObject(void *x
) {
18755 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18757 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18758 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18760 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18761 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18763 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18764 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18766 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18767 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18769 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18772 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18773 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18775 static void *_p_wxIconTo_p_wxObject(void *x
) {
18776 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18778 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18779 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18781 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18782 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18784 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18785 return (void *)((wxObject
*) ((wxSizer
*) x
));
18787 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18788 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18790 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18793 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18794 return (void *)((wxObject
*) ((wxPenList
*) x
));
18796 static void *_p_wxEventTo_p_wxObject(void *x
) {
18797 return (void *)((wxObject
*) ((wxEvent
*) x
));
18799 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18800 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18802 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18803 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18805 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18806 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18808 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18809 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18811 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18812 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18814 static void *_p_wxDCTo_p_wxObject(void *x
) {
18815 return (void *)((wxObject
*) ((wxDC
*) x
));
18817 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18818 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18820 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18821 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18823 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18824 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18826 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18827 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18829 static void *_p_wxControlTo_p_wxObject(void *x
) {
18830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18832 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18833 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18835 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18836 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18838 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18839 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18841 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18842 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18844 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18845 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18847 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18848 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18850 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18851 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18853 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18854 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18856 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18857 return (void *)((wxObject
*) ((wxEffects
*) x
));
18859 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18860 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18862 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18863 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18865 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18866 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18868 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18869 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18871 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18872 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18874 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18875 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18877 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18878 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18880 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18881 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18883 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18884 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18886 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18887 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18889 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18890 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18892 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18893 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18895 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18896 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18898 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18899 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18901 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18902 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18904 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18905 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18907 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18908 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18910 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18911 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18913 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18914 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18916 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18917 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18919 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18920 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18922 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18923 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18925 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18928 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18929 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18931 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18932 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18934 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18935 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18937 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18938 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18940 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18941 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18943 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18944 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18946 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18947 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18949 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18950 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18952 static void *_p_wxImageTo_p_wxObject(void *x
) {
18953 return (void *)((wxObject
*) ((wxImage
*) x
));
18955 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18958 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18961 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18964 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) ((wxImageList
*) x
));
18967 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18970 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18973 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18976 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18979 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18982 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18985 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18988 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18991 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18994 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18997 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19000 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19003 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19004 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19006 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19007 return (void *)((wxObject
*) ((wxMask
*) x
));
19009 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19010 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19012 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19013 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19015 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19016 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19018 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19019 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19021 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19022 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19024 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19025 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19027 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19030 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19031 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19033 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19034 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19036 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19037 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19039 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19042 static void *_p_wxFontTo_p_wxObject(void *x
) {
19043 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19045 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19046 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19048 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19049 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19051 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19054 static void *_p_wxColourTo_p_wxObject(void *x
) {
19055 return (void *)((wxObject
*) ((wxColour
*) x
));
19057 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19058 return (void *)((wxObject
*) ((wxFontList
*) x
));
19060 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19063 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19064 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19066 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19067 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19069 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19070 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19072 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19073 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19075 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19076 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19078 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19079 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19081 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19082 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19084 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19085 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19087 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19088 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19090 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19091 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19093 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19094 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19096 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19097 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19099 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19100 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19102 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19103 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19105 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19106 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19108 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19109 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19111 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19112 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19114 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19115 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19117 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19118 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19120 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19121 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19123 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19124 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19126 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}};
19127 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}};
19128 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}};
19129 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}};
19130 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}};
19131 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}};
19132 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}};
19133 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}};
19134 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}};
19135 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}};
19136 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}};
19137 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}};
19138 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}};
19139 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}};
19140 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}};
19141 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}};
19142 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}};
19143 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}};
19144 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}};
19145 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}};
19146 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}};
19147 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}};
19148 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}};
19149 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}};
19150 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}};
19151 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}};
19152 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}};
19153 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}};
19154 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}};
19155 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}};
19156 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}};
19157 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}};
19158 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}};
19159 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}};
19160 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}};
19161 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}};
19162 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}};
19163 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}};
19164 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}};
19165 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}};
19166 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}};
19167 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}};
19168 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}};
19169 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}};
19170 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}};
19171 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}};
19172 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}};
19173 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}};
19174 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}};
19175 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}};
19176 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}};
19177 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}};
19178 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}};
19179 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}};
19180 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}};
19182 static swig_type_info
*swig_types_initial
[] = {
19183 _swigt__p_wxPostScriptDC
,
19185 _swigt__p_wxColour
,
19187 _swigt__p_wxMirrorDC
,
19189 _swigt__p_wxPyFontEnumerator
,
19191 _swigt__p_wxIconLocation
,
19193 _swigt__p_wxMetaFileDC
,
19197 _swigt__p_wxWindow
,
19199 _swigt__p_wxMemoryDC
,
19200 _swigt__p_wxFontMapper
,
19201 _swigt__p_wxEffects
,
19202 _swigt__p_wxNativeEncodingInfo
,
19203 _swigt__p_wxPalette
,
19204 _swigt__p_wxBitmap
,
19205 _swigt__p_wxObject
,
19206 _swigt__p_wxRegionIterator
,
19208 _swigt__p_wxString
,
19209 _swigt__p_wxPrinterDC
,
19210 _swigt__p_wxIconBundle
,
19213 _swigt__p_wxScreenDC
,
19214 _swigt__p_wxCursor
,
19215 _swigt__p_wxClientDC
,
19216 _swigt__p_wxBufferedDC
,
19217 _swigt__p_wxImageList
,
19218 _swigt__p_unsigned_char
,
19219 _swigt__p_wxGDIObject
,
19221 _swigt__p_wxLocale
,
19222 _swigt__p_wxRegion
,
19223 _swigt__p_wxLanguageInfo
,
19224 _swigt__p_wxConfigBase
,
19225 _swigt__p_wxWindowDC
,
19226 _swigt__p_wxPrintData
,
19227 _swigt__p_wxBrushList
,
19228 _swigt__p_wxFontList
,
19230 _swigt__p_wxBufferedPaintDC
,
19231 _swigt__p_wxPaintDC
,
19232 _swigt__p_wxPenList
,
19234 _swigt__p_wxMetaFile
,
19235 _swigt__p_wxNativeFontInfo
,
19236 _swigt__p_wxEncodingConverter
,
19237 _swigt__p_wxColourDatabase
,
19242 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19244 static swig_const_info swig_const_table
[] = {
19254 SWIGEXPORT(void) SWIG_init(void) {
19255 static PyObject
*SWIG_globals
= 0;
19256 static int typeinit
= 0;
19259 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19260 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19261 d
= PyModule_GetDict(m
);
19264 for (i
= 0; swig_types_initial
[i
]; i
++) {
19265 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19269 SWIG_InstallConstants(d
,swig_const_table
);
19271 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19272 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19273 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19274 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19275 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19276 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19277 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19278 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19279 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19280 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19281 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19282 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19283 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19284 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19285 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19286 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19287 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19288 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19289 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19290 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19291 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19292 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19293 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19294 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19295 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19296 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19297 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19298 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19299 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19300 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19301 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19302 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19303 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19304 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19305 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19306 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19307 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19308 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19309 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19310 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19311 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19312 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19313 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19314 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19315 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19316 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19317 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19318 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19319 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19320 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19321 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19322 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19323 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19324 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19325 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19326 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19327 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19328 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19329 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19330 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19331 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19332 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19333 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19334 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19335 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19336 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19337 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19338 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19339 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19340 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19341 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19342 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19343 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19344 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19345 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19346 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19347 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19348 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19349 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19350 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19351 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19352 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19353 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19354 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19355 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19356 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19357 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19358 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19359 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19360 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19361 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19362 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19363 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19364 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19365 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19366 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19367 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19368 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19369 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19370 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19371 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19372 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19373 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19374 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19375 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19376 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19377 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19378 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19379 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19380 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19381 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19382 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19383 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19384 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19385 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19386 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19387 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19388 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19389 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19390 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19391 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19392 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19393 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19394 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19395 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19396 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19397 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19399 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19401 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19402 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19403 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19404 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19405 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19406 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19407 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19408 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19409 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19410 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19411 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19412 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19413 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19414 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19415 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19416 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19417 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19418 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19419 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19420 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19421 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19422 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19423 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19424 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19425 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19426 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19427 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19428 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19429 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19430 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19431 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19432 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19433 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19434 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19435 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19436 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19437 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19438 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19439 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19440 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19441 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19442 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19443 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19444 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19445 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19446 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19447 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19448 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19449 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19450 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19451 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19452 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19453 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19454 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19455 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19456 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19457 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19458 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19459 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19460 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19461 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19462 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19463 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19464 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19465 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19466 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19467 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19468 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19469 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19470 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19471 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19472 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19473 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19474 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19475 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19476 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19477 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19478 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19479 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19480 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19481 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19482 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19483 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19484 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19485 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19486 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19487 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19488 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19489 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19490 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19491 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19492 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19493 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19494 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19495 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19496 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19497 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19498 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19499 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19500 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19501 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19502 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19503 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19504 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19505 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19506 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19507 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19508 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19509 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19510 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19511 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19512 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19513 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19514 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19515 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19516 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19517 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19518 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19519 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19520 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19521 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19522 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19523 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19524 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19525 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19526 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19527 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19528 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19529 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19530 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19531 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19532 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19533 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19534 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19535 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19536 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19537 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19538 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19539 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19540 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19541 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19542 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19543 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19544 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19545 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19546 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19547 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19548 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19549 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19550 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19551 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19552 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19553 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19554 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19555 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19556 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19557 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19558 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19559 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19560 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19561 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19562 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19563 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19564 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19565 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19566 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19567 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19568 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19569 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19570 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19571 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19572 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19573 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19574 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19575 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19576 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19577 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19578 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19579 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19580 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19581 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19582 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19583 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19584 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19585 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19586 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19587 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19588 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19589 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19590 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19591 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19592 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19593 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19594 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19595 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19596 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19597 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19598 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19599 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19600 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19601 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19602 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19603 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19604 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19605 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19606 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19607 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19608 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19609 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19610 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19611 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19612 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19613 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19614 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19615 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19616 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19617 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19618 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19619 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19620 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19621 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19622 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19623 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19624 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19625 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19626 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19627 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19628 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19629 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19630 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19631 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19632 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19633 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19634 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19635 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19636 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19637 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19638 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19639 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19640 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19641 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19642 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19643 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19644 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19645 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19646 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19647 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19648 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19649 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19650 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19651 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19652 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19653 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19654 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19655 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19656 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19657 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19658 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19659 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19660 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19661 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19662 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19663 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19664 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19665 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19666 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19667 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19668 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19669 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19670 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19671 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19672 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19673 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19674 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19675 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19676 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19677 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19678 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19679 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19680 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19681 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19682 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19683 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19684 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19685 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19686 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19687 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19688 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19689 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19690 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19691 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19692 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19693 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19694 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19695 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19696 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19697 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19698 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19699 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19700 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19702 // Work around a chicken/egg problem in drawlist.cpp
19703 wxPyDrawList_SetAPIPtr();