1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxSize swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxWindow swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250 #define SWIGTYPE_p_wxConfigBase swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_int swig_types[50]
260 #define SWIGTYPE_p_wxMetaFile swig_types[51]
261 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
262 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
263 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
264 static swig_type_info
*swig_types
[56];
266 /* -------- TYPES TABLE (END) -------- */
269 /*-----------------------------------------------
271 ------------------------------------------------*/
272 #define SWIG_init init_gdi_
274 #define SWIG_name "_gdi_"
276 /* Auxiliar swig macros */
279 #define SWIGSTATICINLINE(a) static inline a
280 #define SWIGSTATIC(a) static a
281 #define swig_new_array(type, size) (new type[(size)])
282 #define swig_delete_array(cptr) delete[] cptr
283 #define swig_const_cast(type,a) const_cast<type>(a)
284 #define swig_static_cast(type,a) static_cast<type>(a)
285 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
287 #ifdef HAVE_NUMERIC_CAST
288 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
290 #define swig_numeric_cast(type,a) static_cast<type>(a)
295 #define SWIGSTATICINLINE(a) static a
296 #define SWIGSTATIC(a) static a
297 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
298 #define swig_delete_array(cptr) free((char*)cptr)
299 #define swig_const_cast(type,a) (type)(a)
300 #define swig_static_cast(type,a) (type)(a)
301 #define swig_reinterpret_cast(type,a) (type)(a)
302 #define swig_numeric_cast(type,a) (type)(a)
304 #endif /* __cplusplus */
307 #define SWIG_FromSignedChar PyInt_FromLong
308 #define SWIG_FromUnsignedChar PyInt_FromLong
309 #define SWIG_FromShort PyInt_FromLong
310 #define SWIG_FromUnsignedShort PyInt_FromLong
311 #define SWIG_FromInt PyInt_FromLong
312 #define SWIG_FromLong PyInt_FromLong
313 #define SWIG_FromFloat PyFloat_FromDouble
314 #define SWIG_FromDouble PyFloat_FromDouble
315 #define SWIG_FromFloat PyFloat_FromDouble
316 #define SWIG_FromDouble PyFloat_FromDouble
319 #include "wx/wxPython/wxPython.h"
320 #include "wx/wxPython/pyclasses.h"
323 static const wxString
wxPyEmptyString(wxEmptyString
);
325 SWIGSTATICINLINE(bool)
326 SWIG_AsBool(PyObject
*obj
)
328 return PyObject_IsTrue(obj
) ? true : false;
332 SWIGSTATICINLINE(int)
333 SWIG_CheckBool(PyObject
* obj
)
336 if (PyErr_Occurred()) {
348 SWIGSTATICINLINE(unsigned long)
349 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
350 unsigned long max_value
)
352 if (!PyErr_Occurred()) {
353 if (value
> max_value
) {
355 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
356 value
, type
, max_value
);
357 PyErr_SetObject(PyExc_OverflowError
, err
);
365 SWIGSTATICINLINE(long)
366 SWIG_AsLong(PyObject
* obj
)
368 if (PyNumber_Check(obj
))
369 return PyInt_AsLong(obj
);
371 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
372 obj
->ob_type
->tp_name
);
373 PyErr_SetObject(PyExc_TypeError
, errmsg
);
380 SWIGSTATICINLINE(unsigned long)
381 SWIG_AsUnsignedLong(PyObject
* obj
)
383 if (PyLong_Check(obj
)) {
384 return PyLong_AsUnsignedLong(obj
);
386 long i
= SWIG_AsLong(obj
);
387 if ( !PyErr_Occurred() && (i
< 0)) {
388 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
395 SWIGSTATICINLINE(unsigned char)
396 SWIG_AsUnsignedChar(PyObject
*obj
)
398 return swig_numeric_cast(unsigned char,
399 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
400 "unsigned char", UCHAR_MAX
));
404 SWIGSTATICINLINE(int)
405 SWIG_CheckUnsignedChar(PyObject
* obj
)
407 SWIG_AsUnsignedChar(obj
);
408 if (PyErr_Occurred()) {
417 SWIGSTATICINLINE(int)
418 SWIG_CheckUnsignedLong(PyObject
* obj
)
420 SWIG_AsUnsignedLong(obj
);
421 if (PyErr_Occurred()) {
429 PyObject
*wxColour_Get(wxColour
*self
){
430 PyObject
* rv
= PyTuple_New(3);
436 green
= self
->Green();
439 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
440 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
441 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
444 unsigned long wxColour_GetRGB(wxColour
*self
){
445 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
448 SWIGSTATICINLINE(PyObject
* )
449 SWIG_FromUnsignedLong(unsigned long value
)
451 return (value
> LONG_MAX
) ?
452 PyLong_FromUnsignedLong(value
)
453 : PyInt_FromLong(swig_numeric_cast(long,value
));
457 SWIGSTATICINLINE(long)
458 SWIG_CheckLongInRange(long value
, const char* type
,
459 long min_value
, long max_value
)
461 if (!PyErr_Occurred()) {
462 if (value
< min_value
) {
464 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
465 value
, type
, min_value
);
467 PyErr_SetObject(PyExc_OverflowError
, err
);
469 } else if (value
> max_value
) {
471 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
472 value
, type
, max_value
);
473 PyErr_SetObject(PyExc_OverflowError
, err
);
481 #if INT_MAX != LONG_MAX
482 SWIGSTATICINLINE(int)
483 SWIG_AsInt(PyObject
*obj
)
485 return swig_numeric_cast(int,
486 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
487 "int", INT_MIN
, INT_MAX
));
490 #define SWIG_AsInt SWIG_AsLong
494 SWIGSTATICINLINE(int)
495 SWIG_CheckInt(PyObject
* obj
)
498 if (PyErr_Occurred()) {
507 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
513 } else if (target
== Py_None
) {
517 if (!PyTuple_Check(target
)) {
519 target
= PyTuple_New(1);
520 PyTuple_SetItem(target
, 0, o2
);
523 PyTuple_SetItem(o3
, 0, o
);
526 target
= PySequence_Concat(o2
, o3
);
533 PyObject
*wxPen_GetDashes(wxPen
*self
){
535 int count
= self
->GetDashes(&dashes
);
536 bool blocked
= wxPyBeginBlockThreads();
537 PyObject
* retval
= PyList_New(0);
538 for (int x
=0; x
<count
; x
++) {
539 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
540 PyList_Append(retval
, pyint
);
543 wxPyEndBlockThreads(blocked
);
546 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
547 bool blocked
= wxPyBeginBlockThreads();
548 int size
= PyList_Size(pyDashes
);
549 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
551 // black magic warning! The array of wxDashes needs to exist as
552 // long as the pen does because wxPen does not copy the array. So
553 // stick a copy in a Python string object and attach it to _self,
554 // and then call SetDashes with a pointer to that array. Then
555 // when the Python pen object is destroyed the array will be
557 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
558 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
560 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
562 Py_DECREF(strDashes
);
563 wxPyEndBlockThreads(blocked
);
565 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
566 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
568 #include <wx/image.h>
570 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
571 char** cArray
= NULL
;
574 if (!PyList_Check(listOfStrings
)) {
575 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
578 count
= PyList_Size(listOfStrings
);
579 cArray
= new char*[count
];
581 for(int x
=0; x
<count
; x
++) {
582 // TODO: Need some validation and error checking here
583 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
589 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
590 char** cArray
= NULL
;
593 cArray
= ConvertListOfStrings(listOfStrings
);
596 bmp
= new wxBitmap(cArray
);
600 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
603 PyString_AsStringAndSize(bits
, &buf
, &length
);
604 return new wxBitmap(buf
, width
, height
, depth
);
606 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
607 wxSize
size(self
->GetWidth(), self
->GetHeight());
610 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
611 wxMask
*mask
= new wxMask(*self
, colour
);
614 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
615 self
->SetWidth(size
.x
);
616 self
->SetHeight(size
.y
);
618 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
619 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
620 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
622 return new wxMask(bitmap
, *wxBLACK
);
624 return new wxMask(bitmap
, colour
);
627 #include <wx/iconbndl.h>
629 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
630 wxIcon
* icon
= new wxIcon();
631 icon
->CopyFromBitmap(bmp
);
634 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
635 char** cArray
= NULL
;
638 cArray
= ConvertListOfStrings(listOfStrings
);
641 icon
= new wxIcon(cArray
);
645 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
649 return new wxIconLocation(*filename
);
652 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
659 int wxIconLocation_GetIndex(wxIconLocation
*self
){
667 SWIGSTATICINLINE(int)
668 SWIG_CheckLong(PyObject
* obj
)
671 if (PyErr_Occurred()) {
679 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
681 wxCHECK_MSG(False
, NULL
,
682 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
684 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
689 void wxRegionIterator_Next(wxRegionIterator
*self
){
692 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
693 return self
->operator bool();
696 #include <wx/fontutil.h>
697 #include <wx/fontmap.h>
698 #include <wx/fontenum.h>
700 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
701 return self
->ToString();
704 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
705 static wxNativeEncodingInfo info
;
706 if ( wxGetNativeFontEncoding(encoding
, &info
) )
712 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
713 wxFontEncoding alt_enc
;
714 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
715 return PyInt_FromLong(alt_enc
);
721 wxFont
*new_wxFont(wxString
const &info
){
722 wxNativeFontInfo nfi
;
723 nfi
.FromString(info
);
724 return new wxFont(nfi
);
726 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
727 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
729 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
730 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
732 class wxPyFontEnumerator
: public wxFontEnumerator
{
734 wxPyFontEnumerator() {}
735 ~wxPyFontEnumerator() {}
737 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
738 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
743 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
744 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
747 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
748 wxArrayString
* arr
= self
->GetEncodings();
749 return wxArrayString2PyList_helper(*arr
);
751 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
752 wxArrayString
* arr
= self
->GetFacenames();
753 return wxArrayString2PyList_helper(*arr
);
757 wxLocale
*new_wxLocale(int language
,int flags
){
759 return new wxLocale();
761 return new wxLocale(language
, flags
);
764 #include "wx/wxPython/pydrawxxx.h"
766 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
768 self
->GetPixel(x
, y
, &col
);
771 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
773 self
->GetPixel(pt
, &col
);
777 SWIGSTATICINLINE(double)
778 SWIG_AsDouble(PyObject
*obj
)
780 if (PyNumber_Check(obj
))
781 return PyFloat_AsDouble(obj
);
783 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
784 obj
->ob_type
->tp_name
);
785 PyErr_SetObject(PyExc_TypeError
, errmsg
);
792 SWIGSTATICINLINE(int)
793 SWIG_CheckDouble(PyObject
* obj
)
796 if (PyErr_Occurred()) {
804 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
806 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
809 wxRect
wxDC_GetClippingRect(wxDC
*self
){
811 self
->GetClippingBox(rect
);
814 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
816 self
->GetPartialTextExtents(text
, widths
);
819 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
820 self
->SetLogicalOrigin(point
.x
, point
.y
);
822 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
823 self
->SetDeviceOrigin(point
.x
, point
.y
);
825 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
826 self
->CalcBoundingBox(point
.x
, point
.y
);
828 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
829 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
831 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
832 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
834 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
835 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
837 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
838 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
840 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
841 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
843 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
844 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
847 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
855 #include <wx/dcbuffer.h>
861 class wxMetaFile
: public wxObject
{
863 wxMetaFile(const wxString
&)
864 { wxPyRaiseNotImplemented(); }
867 class wxMetaFileDC
: public wxClientDC
{
869 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
870 { wxPyRaiseNotImplemented(); }
875 class wxPrinterDC
: public wxClientDC
{
877 wxPrinterDC(const wxPrintData
&)
878 { wxPyRaiseNotImplemented(); }
880 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
881 // { wxPyRaiseNotImplemented(); }
886 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
887 self
->AddColour(name
, wxColour(red
, green
, blue
));
890 #include <wx/effects.h>
895 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
904 if (!wxPyCheckForApp()) SWIG_fail
;
905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
906 result
= (wxGDIObject
*)new wxGDIObject();
908 wxPyEndAllowThreads(__tstate
);
909 if (PyErr_Occurred()) SWIG_fail
;
911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
918 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
921 PyObject
* obj0
= 0 ;
923 (char *) "self", NULL
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
933 wxPyEndAllowThreads(__tstate
);
934 if (PyErr_Occurred()) SWIG_fail
;
936 Py_INCREF(Py_None
); resultobj
= Py_None
;
943 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
947 PyObject
* obj0
= 0 ;
949 (char *) "self", NULL
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
957 result
= (bool)(arg1
)->GetVisible();
959 wxPyEndAllowThreads(__tstate
);
960 if (PyErr_Occurred()) SWIG_fail
;
963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
971 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
975 PyObject
* obj0
= 0 ;
976 PyObject
* obj1
= 0 ;
978 (char *) "self",(char *) "visible", NULL
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
984 arg2
= (bool) SWIG_AsBool(obj1
);
985 if (PyErr_Occurred()) SWIG_fail
;
987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
988 (arg1
)->SetVisible(arg2
);
990 wxPyEndAllowThreads(__tstate
);
991 if (PyErr_Occurred()) SWIG_fail
;
993 Py_INCREF(Py_None
); resultobj
= Py_None
;
1000 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
*resultobj
;
1002 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1004 PyObject
* obj0
= 0 ;
1006 (char *) "self", NULL
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1014 result
= (bool)(arg1
)->IsNull();
1016 wxPyEndAllowThreads(__tstate
);
1017 if (PyErr_Occurred()) SWIG_fail
;
1020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1028 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1031 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1033 return Py_BuildValue((char *)"");
1035 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
*resultobj
;
1037 byte arg1
= (byte
) 0 ;
1038 byte arg2
= (byte
) 0 ;
1039 byte arg3
= (byte
) 0 ;
1041 PyObject
* obj0
= 0 ;
1042 PyObject
* obj1
= 0 ;
1043 PyObject
* obj2
= 0 ;
1045 (char *) "red",(char *) "green",(char *) "blue", NULL
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1050 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1051 if (PyErr_Occurred()) SWIG_fail
;
1054 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1055 if (PyErr_Occurred()) SWIG_fail
;
1058 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1059 if (PyErr_Occurred()) SWIG_fail
;
1062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1063 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1065 wxPyEndAllowThreads(__tstate
);
1066 if (PyErr_Occurred()) SWIG_fail
;
1068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1075 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
*resultobj
;
1077 wxString
*arg1
= 0 ;
1079 bool temp1
= False
;
1080 PyObject
* obj0
= 0 ;
1082 (char *) "colorName", NULL
1085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1087 arg1
= wxString_in_helper(obj0
);
1088 if (arg1
== NULL
) SWIG_fail
;
1092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1093 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1095 wxPyEndAllowThreads(__tstate
);
1096 if (PyErr_Occurred()) SWIG_fail
;
1098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1113 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
*resultobj
;
1115 unsigned long arg1
;
1117 PyObject
* obj0
= 0 ;
1119 (char *) "colRGB", NULL
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1123 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1127 result
= (wxColour
*)new wxColour(arg1
);
1129 wxPyEndAllowThreads(__tstate
);
1130 if (PyErr_Occurred()) SWIG_fail
;
1132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1139 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
*resultobj
;
1141 wxColour
*arg1
= (wxColour
*) 0 ;
1142 PyObject
* obj0
= 0 ;
1144 (char *) "self", NULL
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1157 Py_INCREF(Py_None
); resultobj
= Py_None
;
1164 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
*resultobj
;
1166 wxColour
*arg1
= (wxColour
*) 0 ;
1168 PyObject
* obj0
= 0 ;
1170 (char *) "self", NULL
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 result
= (byte
)(arg1
)->Red();
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) SWIG_fail
;
1183 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1190 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
*resultobj
;
1192 wxColour
*arg1
= (wxColour
*) 0 ;
1194 PyObject
* obj0
= 0 ;
1196 (char *) "self", NULL
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 result
= (byte
)(arg1
)->Green();
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) SWIG_fail
;
1209 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1216 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
*resultobj
;
1218 wxColour
*arg1
= (wxColour
*) 0 ;
1220 PyObject
* obj0
= 0 ;
1222 (char *) "self", NULL
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1230 result
= (byte
)(arg1
)->Blue();
1232 wxPyEndAllowThreads(__tstate
);
1233 if (PyErr_Occurred()) SWIG_fail
;
1235 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1242 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
*resultobj
;
1244 wxColour
*arg1
= (wxColour
*) 0 ;
1246 PyObject
* obj0
= 0 ;
1248 (char *) "self", NULL
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 result
= (bool)(arg1
)->Ok();
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1270 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
*resultobj
;
1272 wxColour
*arg1
= (wxColour
*) 0 ;
1276 PyObject
* obj0
= 0 ;
1277 PyObject
* obj1
= 0 ;
1278 PyObject
* obj2
= 0 ;
1279 PyObject
* obj3
= 0 ;
1281 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1287 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1288 if (PyErr_Occurred()) SWIG_fail
;
1289 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1290 if (PyErr_Occurred()) SWIG_fail
;
1291 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1292 if (PyErr_Occurred()) SWIG_fail
;
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 (arg1
)->Set(arg2
,arg3
,arg4
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1300 Py_INCREF(Py_None
); resultobj
= Py_None
;
1307 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
*resultobj
;
1309 wxColour
*arg1
= (wxColour
*) 0 ;
1310 unsigned long arg2
;
1311 PyObject
* obj0
= 0 ;
1312 PyObject
* obj1
= 0 ;
1314 (char *) "self",(char *) "colRGB", NULL
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1320 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1321 if (PyErr_Occurred()) SWIG_fail
;
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 Py_INCREF(Py_None
); resultobj
= Py_None
;
1336 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
*resultobj
;
1338 wxColour
*arg1
= (wxColour
*) 0 ;
1339 wxString
*arg2
= 0 ;
1340 bool temp2
= False
;
1341 PyObject
* obj0
= 0 ;
1342 PyObject
* obj1
= 0 ;
1344 (char *) "self",(char *) "colourName", NULL
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1351 arg2
= wxString_in_helper(obj1
);
1352 if (arg2
== NULL
) SWIG_fail
;
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 (arg1
)->InitFromName((wxString
const &)*arg2
);
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) SWIG_fail
;
1362 Py_INCREF(Py_None
); resultobj
= Py_None
;
1377 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
*resultobj
;
1379 wxColour
*arg1
= (wxColour
*) 0 ;
1381 PyObject
* obj0
= 0 ;
1383 (char *) "self", NULL
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) SWIG_fail
;
1396 resultobj
= SWIG_FromLong((long)result
);
1403 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
*resultobj
;
1405 wxColour
*arg1
= (wxColour
*) 0 ;
1406 wxColour
*arg2
= 0 ;
1409 PyObject
* obj0
= 0 ;
1410 PyObject
* obj1
= 0 ;
1412 (char *) "self",(char *) "colour", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1424 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1426 wxPyEndAllowThreads(__tstate
);
1427 if (PyErr_Occurred()) SWIG_fail
;
1430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1438 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
*resultobj
;
1440 wxColour
*arg1
= (wxColour
*) 0 ;
1441 wxColour
*arg2
= 0 ;
1444 PyObject
* obj0
= 0 ;
1445 PyObject
* obj1
= 0 ;
1447 (char *) "self",(char *) "colour", NULL
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1455 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) SWIG_fail
;
1465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1473 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
*resultobj
;
1475 wxColour
*arg1
= (wxColour
*) 0 ;
1477 PyObject
* obj0
= 0 ;
1479 (char *) "self", NULL
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 result
= (PyObject
*)wxColour_Get(arg1
);
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1499 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
*resultobj
;
1501 wxColour
*arg1
= (wxColour
*) 0 ;
1502 unsigned long result
;
1503 PyObject
* obj0
= 0 ;
1505 (char *) "self", NULL
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 result
= (unsigned long)wxColour_GetRGB(arg1
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1518 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1525 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1528 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1530 return Py_BuildValue((char *)"");
1532 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
*resultobj
;
1535 unsigned char *arg2
= (unsigned char *) 0 ;
1536 unsigned char *arg3
= (unsigned char *) 0 ;
1537 unsigned char *arg4
= (unsigned char *) 0 ;
1539 PyObject
* obj0
= 0 ;
1540 PyObject
* obj1
= 0 ;
1541 PyObject
* obj2
= 0 ;
1542 PyObject
* obj3
= 0 ;
1544 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1548 arg1
= (int) SWIG_AsInt(obj0
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1552 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1554 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1557 if (!wxPyCheckForApp()) SWIG_fail
;
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) SWIG_fail
;
1564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1571 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
*resultobj
;
1573 wxPalette
*arg1
= (wxPalette
*) 0 ;
1574 PyObject
* obj0
= 0 ;
1576 (char *) "self", NULL
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 wxPyEndAllowThreads(__tstate
);
1587 if (PyErr_Occurred()) SWIG_fail
;
1589 Py_INCREF(Py_None
); resultobj
= Py_None
;
1596 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
*resultobj
;
1598 wxPalette
*arg1
= (wxPalette
*) 0 ;
1603 PyObject
* obj0
= 0 ;
1604 PyObject
* obj1
= 0 ;
1605 PyObject
* obj2
= 0 ;
1606 PyObject
* obj3
= 0 ;
1608 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1614 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1615 if (PyErr_Occurred()) SWIG_fail
;
1616 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1617 if (PyErr_Occurred()) SWIG_fail
;
1618 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1627 resultobj
= SWIG_FromInt((int)result
);
1634 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
*resultobj
;
1636 wxPalette
*arg1
= (wxPalette
*) 0 ;
1638 byte
*arg3
= (byte
*) 0 ;
1639 byte
*arg4
= (byte
*) 0 ;
1640 byte
*arg5
= (byte
*) 0 ;
1645 PyObject
* obj0
= 0 ;
1646 PyObject
* obj1
= 0 ;
1648 (char *) "self",(char *) "pixel", NULL
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1657 arg2
= (int) SWIG_AsInt(obj1
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1670 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1671 resultobj
= t_output_helper(resultobj
,o
);
1674 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1675 resultobj
= t_output_helper(resultobj
,o
);
1678 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1679 resultobj
= t_output_helper(resultobj
,o
);
1687 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
*resultobj
;
1689 wxPalette
*arg1
= (wxPalette
*) 0 ;
1691 PyObject
* obj0
= 0 ;
1693 (char *) "self", NULL
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 result
= (bool)(arg1
)->Ok();
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1715 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1718 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1720 return Py_BuildValue((char *)"");
1722 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
*resultobj
;
1724 wxColour
*arg1
= 0 ;
1725 int arg2
= (int) 1 ;
1726 int arg3
= (int) wxSOLID
;
1729 PyObject
* obj0
= 0 ;
1730 PyObject
* obj1
= 0 ;
1731 PyObject
* obj2
= 0 ;
1733 (char *) "colour",(char *) "width",(char *) "style", NULL
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1739 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1742 arg2
= (int) SWIG_AsInt(obj1
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1746 arg3
= (int) SWIG_AsInt(obj2
);
1747 if (PyErr_Occurred()) SWIG_fail
;
1750 if (!wxPyCheckForApp()) SWIG_fail
;
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1764 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1766 wxPen
*arg1
= (wxPen
*) 0 ;
1767 PyObject
* obj0
= 0 ;
1769 (char *) "self", NULL
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 wxPyEndAllowThreads(__tstate
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1782 Py_INCREF(Py_None
); resultobj
= Py_None
;
1789 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
*resultobj
;
1791 wxPen
*arg1
= (wxPen
*) 0 ;
1793 PyObject
* obj0
= 0 ;
1795 (char *) "self", NULL
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 result
= (int)(arg1
)->GetCap();
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 resultobj
= SWIG_FromInt((int)result
);
1815 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
*resultobj
;
1817 wxPen
*arg1
= (wxPen
*) 0 ;
1819 PyObject
* obj0
= 0 ;
1821 (char *) "self", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 result
= (arg1
)->GetColour();
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1835 wxColour
* resultptr
;
1836 resultptr
= new wxColour((wxColour
&) result
);
1837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1845 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
*resultobj
;
1847 wxPen
*arg1
= (wxPen
*) 0 ;
1849 PyObject
* obj0
= 0 ;
1851 (char *) "self", NULL
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 result
= (int)(arg1
)->GetJoin();
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1864 resultobj
= SWIG_FromInt((int)result
);
1871 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
*resultobj
;
1873 wxPen
*arg1
= (wxPen
*) 0 ;
1875 PyObject
* obj0
= 0 ;
1877 (char *) "self", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 result
= (int)(arg1
)->GetStyle();
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1890 resultobj
= SWIG_FromInt((int)result
);
1897 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
*resultobj
;
1899 wxPen
*arg1
= (wxPen
*) 0 ;
1901 PyObject
* obj0
= 0 ;
1903 (char *) "self", NULL
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 result
= (int)(arg1
)->GetWidth();
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1916 resultobj
= SWIG_FromInt((int)result
);
1923 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
*resultobj
;
1925 wxPen
*arg1
= (wxPen
*) 0 ;
1927 PyObject
* obj0
= 0 ;
1929 (char *) "self", NULL
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 result
= (bool)(arg1
)->Ok();
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1951 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1953 wxPen
*arg1
= (wxPen
*) 0 ;
1955 PyObject
* obj0
= 0 ;
1956 PyObject
* obj1
= 0 ;
1958 (char *) "self",(char *) "cap_style", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1964 arg2
= (int) SWIG_AsInt(obj1
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 (arg1
)->SetCap(arg2
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1973 Py_INCREF(Py_None
); resultobj
= Py_None
;
1980 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
*resultobj
;
1982 wxPen
*arg1
= (wxPen
*) 0 ;
1983 wxColour
*arg2
= 0 ;
1985 PyObject
* obj0
= 0 ;
1986 PyObject
* obj1
= 0 ;
1988 (char *) "self",(char *) "colour", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 (arg1
)->SetColour(*arg2
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 Py_INCREF(Py_None
); resultobj
= Py_None
;
2012 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 wxPen
*arg1
= (wxPen
*) 0 ;
2016 PyObject
* obj0
= 0 ;
2017 PyObject
* obj1
= 0 ;
2019 (char *) "self",(char *) "join_style", NULL
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2025 arg2
= (int) SWIG_AsInt(obj1
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 (arg1
)->SetJoin(arg2
);
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 Py_INCREF(Py_None
); resultobj
= Py_None
;
2041 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
*resultobj
;
2043 wxPen
*arg1
= (wxPen
*) 0 ;
2045 PyObject
* obj0
= 0 ;
2046 PyObject
* obj1
= 0 ;
2048 (char *) "self",(char *) "style", NULL
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2054 arg2
= (int) SWIG_AsInt(obj1
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 (arg1
)->SetStyle(arg2
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 Py_INCREF(Py_None
); resultobj
= Py_None
;
2070 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxPen
*arg1
= (wxPen
*) 0 ;
2074 PyObject
* obj0
= 0 ;
2075 PyObject
* obj1
= 0 ;
2077 (char *) "self",(char *) "width", NULL
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2083 arg2
= (int) SWIG_AsInt(obj1
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 (arg1
)->SetWidth(arg2
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) SWIG_fail
;
2092 Py_INCREF(Py_None
); resultobj
= Py_None
;
2099 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
*resultobj
;
2101 wxPen
*arg1
= (wxPen
*) 0 ;
2103 wxDash
*arg3
= (wxDash
*) 0 ;
2104 PyObject
* obj0
= 0 ;
2105 PyObject
* obj1
= 0 ;
2107 (char *) "self",(char *) "dashes", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2114 arg2
= PyList_Size(obj1
);
2115 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2116 if (arg3
== NULL
) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 (arg1
)->SetDashes(arg2
,arg3
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2125 Py_INCREF(Py_None
); resultobj
= Py_None
;
2127 if (arg3
) delete [] arg3
;
2132 if (arg3
) delete [] arg3
;
2138 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
*resultobj
;
2140 wxPen
*arg1
= (wxPen
*) 0 ;
2142 PyObject
* obj0
= 0 ;
2144 (char *) "self", NULL
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2164 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
*resultobj
;
2166 wxPen
*arg1
= (wxPen
*) 0 ;
2167 PyObject
*arg2
= (PyObject
*) 0 ;
2168 PyObject
*arg3
= (PyObject
*) 0 ;
2169 PyObject
* obj0
= 0 ;
2170 PyObject
* obj1
= 0 ;
2171 PyObject
* obj2
= 0 ;
2173 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 wxPen__SetDashes(arg1
,arg2
,arg3
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) SWIG_fail
;
2188 Py_INCREF(Py_None
); resultobj
= Py_None
;
2195 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
*resultobj
;
2197 wxPen
*arg1
= (wxPen
*) 0 ;
2199 PyObject
* obj0
= 0 ;
2201 (char *) "self", NULL
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2214 resultobj
= SWIG_FromInt((int)result
);
2221 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
*resultobj
;
2223 wxPen
*arg1
= (wxPen
*) 0 ;
2224 wxPen
*arg2
= (wxPen
*) 0 ;
2226 PyObject
* obj0
= 0 ;
2227 PyObject
* obj1
= 0 ;
2229 (char *) "self",(char *) "other", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2253 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2255 wxPen
*arg1
= (wxPen
*) 0 ;
2256 wxPen
*arg2
= (wxPen
*) 0 ;
2258 PyObject
* obj0
= 0 ;
2259 PyObject
* obj1
= 0 ;
2261 (char *) "self",(char *) "other", NULL
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2271 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2273 wxPyEndAllowThreads(__tstate
);
2274 if (PyErr_Occurred()) SWIG_fail
;
2277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2285 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2288 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2290 return Py_BuildValue((char *)"");
2292 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
*resultobj
;
2294 wxColour
*arg1
= 0 ;
2295 int arg2
= (int) wxSOLID
;
2298 PyObject
* obj0
= 0 ;
2299 PyObject
* obj1
= 0 ;
2301 (char *) "colour",(char *) "style", NULL
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2307 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2310 arg2
= (int) SWIG_AsInt(obj1
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2314 if (!wxPyCheckForApp()) SWIG_fail
;
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2328 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
*resultobj
;
2330 wxBrush
*arg1
= (wxBrush
*) 0 ;
2331 PyObject
* obj0
= 0 ;
2333 (char *) "self", NULL
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 Py_INCREF(Py_None
); resultobj
= Py_None
;
2353 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
*resultobj
;
2355 wxBrush
*arg1
= (wxBrush
*) 0 ;
2356 wxColour
*arg2
= 0 ;
2358 PyObject
* obj0
= 0 ;
2359 PyObject
* obj1
= 0 ;
2361 (char *) "self",(char *) "col", NULL
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 (arg1
)->SetColour((wxColour
const &)*arg2
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2378 Py_INCREF(Py_None
); resultobj
= Py_None
;
2385 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2387 wxBrush
*arg1
= (wxBrush
*) 0 ;
2389 PyObject
* obj0
= 0 ;
2390 PyObject
* obj1
= 0 ;
2392 (char *) "self",(char *) "style", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2398 arg2
= (int) SWIG_AsInt(obj1
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 (arg1
)->SetStyle(arg2
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2407 Py_INCREF(Py_None
); resultobj
= Py_None
;
2414 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
*resultobj
;
2416 wxBrush
*arg1
= (wxBrush
*) 0 ;
2417 wxBitmap
*arg2
= 0 ;
2418 PyObject
* obj0
= 0 ;
2419 PyObject
* obj1
= 0 ;
2421 (char *) "self",(char *) "stipple", NULL
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2431 PyErr_SetString(PyExc_TypeError
,"null reference");
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2441 Py_INCREF(Py_None
); resultobj
= Py_None
;
2448 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
*resultobj
;
2450 wxBrush
*arg1
= (wxBrush
*) 0 ;
2452 PyObject
* obj0
= 0 ;
2454 (char *) "self", NULL
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 result
= ((wxBrush
const *)arg1
)->GetColour();
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) SWIG_fail
;
2468 wxColour
* resultptr
;
2469 resultptr
= new wxColour((wxColour
&) result
);
2470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2478 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2480 wxBrush
*arg1
= (wxBrush
*) 0 ;
2482 PyObject
* obj0
= 0 ;
2484 (char *) "self", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2497 resultobj
= SWIG_FromInt((int)result
);
2504 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2506 wxBrush
*arg1
= (wxBrush
*) 0 ;
2508 PyObject
* obj0
= 0 ;
2510 (char *) "self", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2530 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxBrush
*arg1
= (wxBrush
*) 0 ;
2534 PyObject
* obj0
= 0 ;
2536 (char *) "self", NULL
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 result
= (bool)(arg1
)->Ok();
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2558 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2561 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2563 return Py_BuildValue((char *)"");
2565 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2567 wxString
*arg1
= 0 ;
2568 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2570 bool temp1
= False
;
2571 PyObject
* obj0
= 0 ;
2572 PyObject
* obj1
= 0 ;
2574 (char *) "name",(char *) "type", NULL
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2579 arg1
= wxString_in_helper(obj0
);
2580 if (arg1
== NULL
) SWIG_fail
;
2584 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2588 if (!wxPyCheckForApp()) SWIG_fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2610 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2613 PyObject
* obj0
= 0 ;
2615 (char *) "self", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2628 Py_INCREF(Py_None
); resultobj
= Py_None
;
2635 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
*resultobj
;
2639 int arg3
= (int) -1 ;
2641 PyObject
* obj0
= 0 ;
2642 PyObject
* obj1
= 0 ;
2643 PyObject
* obj2
= 0 ;
2645 (char *) "width",(char *) "height",(char *) "depth", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2649 arg1
= (int) SWIG_AsInt(obj0
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2651 arg2
= (int) SWIG_AsInt(obj1
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2654 arg3
= (int) SWIG_AsInt(obj2
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2658 if (!wxPyCheckForApp()) SWIG_fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2672 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2676 PyObject
* obj0
= 0 ;
2678 (char *) "icon", NULL
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2686 PyErr_SetString(PyExc_TypeError
,"null reference");
2690 if (!wxPyCheckForApp()) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2704 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
*resultobj
;
2707 int arg2
= (int) -1 ;
2709 PyObject
* obj0
= 0 ;
2710 PyObject
* obj1
= 0 ;
2712 (char *) "image",(char *) "depth", NULL
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2720 PyErr_SetString(PyExc_TypeError
,"null reference");
2724 arg2
= (int) SWIG_AsInt(obj1
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2728 if (!wxPyCheckForApp()) SWIG_fail
;
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2742 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 PyObject
*arg1
= (PyObject
*) 0 ;
2746 PyObject
* obj0
= 0 ;
2748 (char *) "listOfStrings", NULL
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2754 if (!wxPyCheckForApp()) SWIG_fail
;
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2768 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
*resultobj
;
2770 PyObject
*arg1
= (PyObject
*) 0 ;
2773 int arg4
= (int) 1 ;
2775 PyObject
* obj0
= 0 ;
2776 PyObject
* obj1
= 0 ;
2777 PyObject
* obj2
= 0 ;
2778 PyObject
* obj3
= 0 ;
2780 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2785 arg2
= (int) SWIG_AsInt(obj1
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2787 arg3
= (int) SWIG_AsInt(obj2
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2790 arg4
= (int) SWIG_AsInt(obj3
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2794 if (!wxPyCheckForApp()) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2808 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2812 PyObject
* obj0
= 0 ;
2814 (char *) "self", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 result
= (bool)(arg1
)->Ok();
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2836 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
*resultobj
;
2838 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2840 PyObject
* obj0
= 0 ;
2842 (char *) "self", NULL
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 result
= (int)(arg1
)->GetWidth();
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2855 resultobj
= SWIG_FromInt((int)result
);
2862 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2866 PyObject
* obj0
= 0 ;
2868 (char *) "self", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 result
= (int)(arg1
)->GetHeight();
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2881 resultobj
= SWIG_FromInt((int)result
);
2888 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
*resultobj
;
2890 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2892 PyObject
* obj0
= 0 ;
2894 (char *) "self", NULL
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 result
= (int)(arg1
)->GetDepth();
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2907 resultobj
= SWIG_FromInt((int)result
);
2914 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
*resultobj
;
2916 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2918 PyObject
* obj0
= 0 ;
2920 (char *) "self", NULL
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
2924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 result
= wxBitmap_GetSize(arg1
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2935 resultptr
= new wxSize((wxSize
&) result
);
2936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2944 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
*resultobj
;
2946 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2947 SwigValueWrapper
< wxImage
> result
;
2948 PyObject
* obj0
= 0 ;
2950 (char *) "self", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) SWIG_fail
;
2964 wxImage
* resultptr
;
2965 resultptr
= new wxImage((wxImage
&) result
);
2966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
2974 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2978 PyObject
* obj0
= 0 ;
2980 (char *) "self", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3000 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
*resultobj
;
3002 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3003 wxMask
*arg2
= (wxMask
*) 0 ;
3004 PyObject
* obj0
= 0 ;
3005 PyObject
* obj1
= 0 ;
3007 (char *) "self",(char *) "mask", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 (arg1
)->SetMask(arg2
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3022 Py_INCREF(Py_None
); resultobj
= Py_None
;
3029 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
*resultobj
;
3031 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3032 wxColour
*arg2
= 0 ;
3034 PyObject
* obj0
= 0 ;
3035 PyObject
* obj1
= 0 ;
3037 (char *) "self",(char *) "colour", NULL
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 Py_INCREF(Py_None
); resultobj
= Py_None
;
3061 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3065 SwigValueWrapper
< wxBitmap
> result
;
3067 PyObject
* obj0
= 0 ;
3068 PyObject
* obj1
= 0 ;
3070 (char *) "self",(char *) "rect", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3078 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3088 wxBitmap
* resultptr
;
3089 resultptr
= new wxBitmap((wxBitmap
&) result
);
3090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3098 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3101 wxString
*arg2
= 0 ;
3103 wxPalette
*arg4
= (wxPalette
*) NULL
;
3105 bool temp2
= False
;
3106 PyObject
* obj0
= 0 ;
3107 PyObject
* obj1
= 0 ;
3108 PyObject
* obj2
= 0 ;
3109 PyObject
* obj3
= 0 ;
3111 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3118 arg2
= wxString_in_helper(obj1
);
3119 if (arg2
== NULL
) SWIG_fail
;
3122 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3125 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) SWIG_fail
;
3136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3152 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3155 wxString
*arg2
= 0 ;
3158 bool temp2
= False
;
3159 PyObject
* obj0
= 0 ;
3160 PyObject
* obj1
= 0 ;
3161 PyObject
* obj2
= 0 ;
3163 (char *) "self",(char *) "name",(char *) "type", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3170 arg2
= wxString_in_helper(obj1
);
3171 if (arg2
== NULL
) SWIG_fail
;
3174 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3200 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3205 PyObject
* obj0
= 0 ;
3206 PyObject
* obj1
= 0 ;
3208 (char *) "self",(char *) "icon", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3215 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3218 PyErr_SetString(PyExc_TypeError
,"null reference");
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) SWIG_fail
;
3229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3237 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3244 (char *) "self",(char *) "height", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3250 arg2
= (int) SWIG_AsInt(obj1
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 (arg1
)->SetHeight(arg2
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3259 Py_INCREF(Py_None
); resultobj
= Py_None
;
3266 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
;
3268 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3270 PyObject
* obj0
= 0 ;
3271 PyObject
* obj1
= 0 ;
3273 (char *) "self",(char *) "width", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3279 arg2
= (int) SWIG_AsInt(obj1
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 (arg1
)->SetWidth(arg2
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3288 Py_INCREF(Py_None
); resultobj
= Py_None
;
3295 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3299 PyObject
* obj0
= 0 ;
3300 PyObject
* obj1
= 0 ;
3302 (char *) "self",(char *) "depth", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3308 arg2
= (int) SWIG_AsInt(obj1
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 (arg1
)->SetDepth(arg2
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3317 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3329 PyObject
* obj0
= 0 ;
3330 PyObject
* obj1
= 0 ;
3332 (char *) "self",(char *) "size", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3340 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 Py_INCREF(Py_None
); resultobj
= Py_None
;
3356 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3359 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3361 PyObject
* obj0
= 0 ;
3362 PyObject
* obj1
= 0 ;
3364 (char *) "self",(char *) "other", NULL
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3388 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
*resultobj
;
3390 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3391 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3394 PyObject
* obj1
= 0 ;
3396 (char *) "self",(char *) "other", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3420 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3423 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3425 return Py_BuildValue((char *)"");
3427 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxBitmap
*arg1
= 0 ;
3430 wxColour
const &arg2_defvalue
= wxNullColour
;
3431 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3434 PyObject
* obj0
= 0 ;
3435 PyObject
* obj1
= 0 ;
3437 (char *) "bitmap",(char *) "colour", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3445 PyErr_SetString(PyExc_TypeError
,"null reference");
3451 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3455 if (!wxPyCheckForApp()) SWIG_fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3469 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3472 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3474 return Py_BuildValue((char *)"");
3476 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxString
*arg1
= 0 ;
3480 int arg3
= (int) -1 ;
3481 int arg4
= (int) -1 ;
3483 bool temp1
= False
;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3486 PyObject
* obj2
= 0 ;
3487 PyObject
* obj3
= 0 ;
3489 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3494 arg1
= wxString_in_helper(obj0
);
3495 if (arg1
== NULL
) SWIG_fail
;
3498 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 arg3
= (int) SWIG_AsInt(obj2
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3505 arg4
= (int) SWIG_AsInt(obj3
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3509 if (!wxPyCheckForApp()) SWIG_fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3531 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxIcon
*arg1
= (wxIcon
*) 0 ;
3534 PyObject
* obj0
= 0 ;
3536 (char *) "self", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 Py_INCREF(Py_None
); resultobj
= Py_None
;
3556 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3565 if (!wxPyCheckForApp()) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (wxIcon
*)new wxIcon();
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3579 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3581 wxIconLocation
*arg1
= 0 ;
3583 PyObject
* obj0
= 0 ;
3585 (char *) "loc", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3593 PyErr_SetString(PyExc_TypeError
,"null reference");
3597 if (!wxPyCheckForApp()) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3611 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxBitmap
*arg1
= 0 ;
3615 PyObject
* obj0
= 0 ;
3617 (char *) "bmp", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3625 PyErr_SetString(PyExc_TypeError
,"null reference");
3629 if (!wxPyCheckForApp()) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3643 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 PyObject
*arg1
= (PyObject
*) 0 ;
3647 PyObject
* obj0
= 0 ;
3649 (char *) "listOfStrings", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3655 if (!wxPyCheckForApp()) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 result
= (wxIcon
*)new_wxIcon(arg1
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3669 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
;
3671 wxIcon
*arg1
= (wxIcon
*) 0 ;
3672 wxString
*arg2
= 0 ;
3675 bool temp2
= False
;
3676 PyObject
* obj0
= 0 ;
3677 PyObject
* obj1
= 0 ;
3678 PyObject
* obj2
= 0 ;
3680 (char *) "self",(char *) "name",(char *) "type", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3687 arg2
= wxString_in_helper(obj1
);
3688 if (arg2
== NULL
) SWIG_fail
;
3691 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3717 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3719 wxIcon
*arg1
= (wxIcon
*) 0 ;
3721 PyObject
* obj0
= 0 ;
3723 (char *) "self", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3731 result
= (bool)(arg1
)->Ok();
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3745 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3747 wxIcon
*arg1
= (wxIcon
*) 0 ;
3749 PyObject
* obj0
= 0 ;
3751 (char *) "self", NULL
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (int)(arg1
)->GetWidth();
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 resultobj
= SWIG_FromInt((int)result
);
3771 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxIcon
*arg1
= (wxIcon
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3777 (char *) "self", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (int)(arg1
)->GetHeight();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 resultobj
= SWIG_FromInt((int)result
);
3797 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxIcon
*arg1
= (wxIcon
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3803 (char *) "self", NULL
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= (int)(arg1
)->GetDepth();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_FromInt((int)result
);
3823 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
;
3825 wxIcon
*arg1
= (wxIcon
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3830 (char *) "self",(char *) "w", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3836 arg2
= (int) SWIG_AsInt(obj1
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 (arg1
)->SetWidth(arg2
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 Py_INCREF(Py_None
); resultobj
= Py_None
;
3852 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxIcon
*arg1
= (wxIcon
*) 0 ;
3856 PyObject
* obj0
= 0 ;
3857 PyObject
* obj1
= 0 ;
3859 (char *) "self",(char *) "h", NULL
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3865 arg2
= (int) SWIG_AsInt(obj1
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 (arg1
)->SetHeight(arg2
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 Py_INCREF(Py_None
); resultobj
= Py_None
;
3881 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxIcon
*arg1
= (wxIcon
*) 0 ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3888 (char *) "self",(char *) "d", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3894 arg2
= (int) SWIG_AsInt(obj1
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 (arg1
)->SetDepth(arg2
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 Py_INCREF(Py_None
); resultobj
= Py_None
;
3910 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3912 wxIcon
*arg1
= (wxIcon
*) 0 ;
3913 wxBitmap
*arg2
= 0 ;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3917 (char *) "self",(char *) "bmp", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3927 PyErr_SetString(PyExc_TypeError
,"null reference");
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 Py_INCREF(Py_None
); resultobj
= Py_None
;
3944 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3947 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3949 return Py_BuildValue((char *)"");
3951 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
*resultobj
;
3953 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3954 int arg2
= (int) 0 ;
3955 wxIconLocation
*result
;
3956 bool temp1
= False
;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3960 (char *) "filename",(char *) "num", NULL
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3966 arg1
= wxString_in_helper(obj0
);
3967 if (arg1
== NULL
) SWIG_fail
;
3972 arg2
= (int) SWIG_AsInt(obj1
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3997 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4000 PyObject
* obj0
= 0 ;
4002 (char *) "self", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 Py_INCREF(Py_None
); resultobj
= Py_None
;
4022 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4024 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4026 PyObject
* obj0
= 0 ;
4028 (char *) "self", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4050 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4053 wxString
*arg2
= 0 ;
4054 bool temp2
= False
;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 (char *) "self",(char *) "filename", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 arg2
= wxString_in_helper(obj1
);
4066 if (arg2
== NULL
) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 (arg1
)->SetFileName((wxString
const &)*arg2
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 Py_INCREF(Py_None
); resultobj
= Py_None
;
4091 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4093 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4095 PyObject
* obj0
= 0 ;
4097 (char *) "self", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4107 result
= (wxString
*) &_result_ref
;
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4117 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4126 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
;
4128 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4130 PyObject
* obj0
= 0 ;
4131 PyObject
* obj1
= 0 ;
4133 (char *) "self",(char *) "num", NULL
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4139 arg2
= (int) SWIG_AsInt(obj1
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 wxIconLocation_SetIndex(arg1
,arg2
);
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 Py_INCREF(Py_None
); resultobj
= Py_None
;
4155 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4159 PyObject
* obj0
= 0 ;
4161 (char *) "self", NULL
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (int)wxIconLocation_GetIndex(arg1
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_FromInt((int)result
);
4181 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4184 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4186 return Py_BuildValue((char *)"");
4188 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxIconBundle
*result
;
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (wxIconBundle
*)new wxIconBundle();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4210 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxString
*arg1
= 0 ;
4214 wxIconBundle
*result
;
4215 bool temp1
= False
;
4216 PyObject
* obj0
= 0 ;
4217 PyObject
* obj1
= 0 ;
4219 (char *) "file",(char *) "type", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4224 arg1
= wxString_in_helper(obj0
);
4225 if (arg1
== NULL
) SWIG_fail
;
4228 arg2
= (long) SWIG_AsLong(obj1
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4252 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4255 wxIconBundle
*result
;
4256 PyObject
* obj0
= 0 ;
4258 (char *) "icon", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4266 PyErr_SetString(PyExc_TypeError
,"null reference");
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4283 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4286 PyObject
* obj0
= 0 ;
4288 (char *) "self", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 Py_INCREF(Py_None
); resultobj
= Py_None
;
4308 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4315 (char *) "self",(char *) "icon", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4325 PyErr_SetString(PyExc_TypeError
,"null reference");
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4344 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4345 wxString
*arg2
= 0 ;
4347 bool temp2
= False
;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4350 PyObject
* obj2
= 0 ;
4352 (char *) "self",(char *) "file",(char *) "type", NULL
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4359 arg2
= wxString_in_helper(obj1
);
4360 if (arg2
== NULL
) SWIG_fail
;
4363 arg3
= (long) SWIG_AsLong(obj2
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4372 Py_INCREF(Py_None
); resultobj
= Py_None
;
4387 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
;
4389 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4394 PyObject
* obj1
= 0 ;
4396 (char *) "self",(char *) "size", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4404 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4410 result
= (wxIcon
*) &_result_ref
;
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4417 wxIcon
* resultptr
= new wxIcon(*result
);
4418 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4426 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4429 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4431 return Py_BuildValue((char *)"");
4433 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxString
*arg1
= (wxString
*) 0 ;
4437 int arg3
= (int) 0 ;
4438 int arg4
= (int) 0 ;
4440 bool temp1
= False
;
4441 PyObject
* obj0
= 0 ;
4442 PyObject
* obj1
= 0 ;
4443 PyObject
* obj2
= 0 ;
4444 PyObject
* obj3
= 0 ;
4446 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4451 arg1
= wxString_in_helper(obj0
);
4452 if (arg1
== NULL
) SWIG_fail
;
4455 arg2
= (long) SWIG_AsLong(obj1
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4458 arg3
= (int) SWIG_AsInt(obj2
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4462 arg4
= (int) SWIG_AsInt(obj3
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4466 if (!wxPyCheckForApp()) SWIG_fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4488 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxCursor
*arg1
= (wxCursor
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4493 (char *) "self", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 Py_INCREF(Py_None
); resultobj
= Py_None
;
4513 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4517 PyObject
* obj0
= 0 ;
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4523 arg1
= (int) SWIG_AsInt(obj0
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 if (!wxPyCheckForApp()) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (wxCursor
*)new wxCursor(arg1
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4540 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
;
4544 PyObject
* obj0
= 0 ;
4546 (char *) "image", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4554 PyErr_SetString(PyExc_TypeError
,"null reference");
4558 if (!wxPyCheckForApp()) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4572 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxCursor
*arg1
= (wxCursor
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "self", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 result
= (bool)(arg1
)->Ok();
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4600 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4603 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4605 return Py_BuildValue((char *)"");
4607 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4609 int arg1
= (int) 0 ;
4610 int arg2
= (int) 0 ;
4611 int arg3
= (int) 0 ;
4612 int arg4
= (int) 0 ;
4614 PyObject
* obj0
= 0 ;
4615 PyObject
* obj1
= 0 ;
4616 PyObject
* obj2
= 0 ;
4617 PyObject
* obj3
= 0 ;
4619 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4624 arg1
= (int) SWIG_AsInt(obj0
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 arg2
= (int) SWIG_AsInt(obj1
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 arg3
= (int) SWIG_AsInt(obj2
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4636 arg4
= (int) SWIG_AsInt(obj3
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4640 if (!wxPyCheckForApp()) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4654 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
*resultobj
;
4656 wxBitmap
*arg1
= 0 ;
4658 PyObject
* obj0
= 0 ;
4660 (char *) "bmp", NULL
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4668 PyErr_SetString(PyExc_TypeError
,"null reference");
4672 if (!wxPyCheckForApp()) SWIG_fail
;
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4686 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
*resultobj
;
4688 wxBitmap
*arg1
= 0 ;
4689 wxColour
*arg2
= 0 ;
4690 int arg3
= (int) 0 ;
4693 PyObject
* obj0
= 0 ;
4694 PyObject
* obj1
= 0 ;
4695 PyObject
* obj2
= 0 ;
4697 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4705 PyErr_SetString(PyExc_TypeError
,"null reference");
4710 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4713 arg3
= (int) SWIG_AsInt(obj2
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4717 if (!wxPyCheckForApp()) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4731 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
*resultobj
;
4734 wxPoint
*arg2
= (wxPoint
*) 0 ;
4735 int arg3
= (int) wxWINDING_RULE
;
4737 PyObject
* obj0
= 0 ;
4738 PyObject
* obj1
= 0 ;
4740 (char *) "points",(char *) "fillStyle", NULL
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4745 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4746 if (arg2
== NULL
) SWIG_fail
;
4749 arg3
= (int) SWIG_AsInt(obj1
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4753 if (!wxPyCheckForApp()) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4762 if (arg2
) delete [] arg2
;
4767 if (arg2
) delete [] arg2
;
4773 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
;
4775 wxRegion
*arg1
= (wxRegion
*) 0 ;
4776 PyObject
* obj0
= 0 ;
4778 (char *) "self", NULL
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4791 Py_INCREF(Py_None
); resultobj
= Py_None
;
4798 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxRegion
*arg1
= (wxRegion
*) 0 ;
4801 PyObject
* obj0
= 0 ;
4803 (char *) "self", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 Py_INCREF(Py_None
); resultobj
= Py_None
;
4823 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4825 wxRegion
*arg1
= (wxRegion
*) 0 ;
4829 PyObject
* obj0
= 0 ;
4830 PyObject
* obj1
= 0 ;
4831 PyObject
* obj2
= 0 ;
4833 (char *) "self",(char *) "x",(char *) "y", NULL
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4839 arg2
= (int) SWIG_AsInt(obj1
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4841 arg3
= (int) SWIG_AsInt(obj2
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4859 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
;
4861 wxRegion
*arg1
= (wxRegion
*) 0 ;
4865 PyObject
* obj0
= 0 ;
4866 PyObject
* obj1
= 0 ;
4867 PyObject
* obj2
= 0 ;
4869 (char *) "self",(char *) "x",(char *) "y", NULL
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4875 arg2
= (int) SWIG_AsInt(obj1
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4877 arg3
= (int) SWIG_AsInt(obj2
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4886 resultobj
= SWIG_FromInt((int)result
);
4893 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
;
4895 wxRegion
*arg1
= (wxRegion
*) 0 ;
4899 PyObject
* obj0
= 0 ;
4900 PyObject
* obj1
= 0 ;
4902 (char *) "self",(char *) "pt", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4910 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4919 resultobj
= SWIG_FromInt((int)result
);
4926 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxRegion
*arg1
= (wxRegion
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4935 (char *) "self",(char *) "rect", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4943 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= SWIG_FromInt((int)result
);
4959 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxRegion
*arg1
= (wxRegion
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4968 PyObject
* obj1
= 0 ;
4969 PyObject
* obj2
= 0 ;
4970 PyObject
* obj3
= 0 ;
4971 PyObject
* obj4
= 0 ;
4973 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4979 arg2
= (int) SWIG_AsInt(obj1
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4981 arg3
= (int) SWIG_AsInt(obj2
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4983 arg4
= (int) SWIG_AsInt(obj3
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4985 arg5
= (int) SWIG_AsInt(obj4
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= SWIG_FromInt((int)result
);
5001 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
;
5003 wxRegion
*arg1
= (wxRegion
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5007 (char *) "self", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= (arg1
)->GetBox();
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5022 resultptr
= new wxRect((wxRect
&) result
);
5023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5031 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxRegion
*arg1
= (wxRegion
*) 0 ;
5039 PyObject
* obj0
= 0 ;
5040 PyObject
* obj1
= 0 ;
5041 PyObject
* obj2
= 0 ;
5042 PyObject
* obj3
= 0 ;
5043 PyObject
* obj4
= 0 ;
5045 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5051 arg2
= (int) SWIG_AsInt(obj1
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5053 arg3
= (int) SWIG_AsInt(obj2
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5055 arg4
= (int) SWIG_AsInt(obj3
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5057 arg5
= (int) SWIG_AsInt(obj4
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5075 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxRegion
*arg1
= (wxRegion
*) 0 ;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5084 (char *) "self",(char *) "rect", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5110 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxRegion
*arg1
= (wxRegion
*) 0 ;
5113 wxRegion
*arg2
= 0 ;
5115 PyObject
* obj0
= 0 ;
5116 PyObject
* obj1
= 0 ;
5118 (char *) "self",(char *) "region", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5128 PyErr_SetString(PyExc_TypeError
,"null reference");
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5147 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxRegion
*arg1
= (wxRegion
*) 0 ;
5151 PyObject
* obj0
= 0 ;
5153 (char *) "self", NULL
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= (bool)(arg1
)->IsEmpty();
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5175 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5177 wxRegion
*arg1
= (wxRegion
*) 0 ;
5183 PyObject
* obj0
= 0 ;
5184 PyObject
* obj1
= 0 ;
5185 PyObject
* obj2
= 0 ;
5186 PyObject
* obj3
= 0 ;
5187 PyObject
* obj4
= 0 ;
5189 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5195 arg2
= (int) SWIG_AsInt(obj1
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5197 arg3
= (int) SWIG_AsInt(obj2
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5199 arg4
= (int) SWIG_AsInt(obj3
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5201 arg5
= (int) SWIG_AsInt(obj4
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5219 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
;
5221 wxRegion
*arg1
= (wxRegion
*) 0 ;
5225 PyObject
* obj0
= 0 ;
5226 PyObject
* obj1
= 0 ;
5228 (char *) "self",(char *) "rect", NULL
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5236 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5254 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxRegion
*arg1
= (wxRegion
*) 0 ;
5257 wxRegion
*arg2
= 0 ;
5259 PyObject
* obj0
= 0 ;
5260 PyObject
* obj1
= 0 ;
5262 (char *) "self",(char *) "region", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5272 PyErr_SetString(PyExc_TypeError
,"null reference");
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5291 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5293 wxRegion
*arg1
= (wxRegion
*) 0 ;
5299 PyObject
* obj0
= 0 ;
5300 PyObject
* obj1
= 0 ;
5301 PyObject
* obj2
= 0 ;
5302 PyObject
* obj3
= 0 ;
5303 PyObject
* obj4
= 0 ;
5305 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5311 arg2
= (int) SWIG_AsInt(obj1
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5313 arg3
= (int) SWIG_AsInt(obj2
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5315 arg4
= (int) SWIG_AsInt(obj3
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5317 arg5
= (int) SWIG_AsInt(obj4
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5335 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxRegion
*arg1
= (wxRegion
*) 0 ;
5341 PyObject
* obj0
= 0 ;
5342 PyObject
* obj1
= 0 ;
5344 (char *) "self",(char *) "rect", NULL
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5370 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
;
5372 wxRegion
*arg1
= (wxRegion
*) 0 ;
5373 wxRegion
*arg2
= 0 ;
5375 PyObject
* obj0
= 0 ;
5376 PyObject
* obj1
= 0 ;
5378 (char *) "self",(char *) "region", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5388 PyErr_SetString(PyExc_TypeError
,"null reference");
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5407 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxRegion
*arg1
= (wxRegion
*) 0 ;
5415 PyObject
* obj0
= 0 ;
5416 PyObject
* obj1
= 0 ;
5417 PyObject
* obj2
= 0 ;
5418 PyObject
* obj3
= 0 ;
5419 PyObject
* obj4
= 0 ;
5421 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5427 arg2
= (int) SWIG_AsInt(obj1
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5429 arg3
= (int) SWIG_AsInt(obj2
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5431 arg4
= (int) SWIG_AsInt(obj3
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5433 arg5
= (int) SWIG_AsInt(obj4
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5451 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxRegion
*arg1
= (wxRegion
*) 0 ;
5457 PyObject
* obj0
= 0 ;
5458 PyObject
* obj1
= 0 ;
5460 (char *) "self",(char *) "rect", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5468 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5486 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
;
5488 wxRegion
*arg1
= (wxRegion
*) 0 ;
5489 wxRegion
*arg2
= 0 ;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "region", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5504 PyErr_SetString(PyExc_TypeError
,"null reference");
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5523 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
*resultobj
;
5525 wxRegion
*arg1
= (wxRegion
*) 0 ;
5526 SwigValueWrapper
< wxBitmap
> result
;
5527 PyObject
* obj0
= 0 ;
5529 (char *) "self", NULL
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= (arg1
)->ConvertToBitmap();
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5543 wxBitmap
* resultptr
;
5544 resultptr
= new wxBitmap((wxBitmap
&) result
);
5545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5553 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxRegion
*arg1
= (wxRegion
*) 0 ;
5556 wxBitmap
*arg2
= 0 ;
5558 PyObject
* obj0
= 0 ;
5559 PyObject
* obj1
= 0 ;
5561 (char *) "self",(char *) "bmp", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5571 PyErr_SetString(PyExc_TypeError
,"null reference");
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5590 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxRegion
*arg1
= (wxRegion
*) 0 ;
5593 wxBitmap
*arg2
= 0 ;
5594 wxColour
*arg3
= 0 ;
5595 int arg4
= (int) 0 ;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj1
= 0 ;
5600 PyObject
* obj2
= 0 ;
5601 PyObject
* obj3
= 0 ;
5603 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5613 PyErr_SetString(PyExc_TypeError
,"null reference");
5618 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5621 arg4
= (int) SWIG_AsInt(obj3
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5640 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5643 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5645 return Py_BuildValue((char *)"");
5647 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxRegion
*arg1
= 0 ;
5650 wxRegionIterator
*result
;
5651 PyObject
* obj0
= 0 ;
5653 (char *) "region", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5661 PyErr_SetString(PyExc_TypeError
,"null reference");
5665 if (!wxPyCheckForApp()) SWIG_fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5679 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
*resultobj
;
5681 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5682 PyObject
* obj0
= 0 ;
5684 (char *) "self", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5697 Py_INCREF(Py_None
); resultobj
= Py_None
;
5704 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
;
5706 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5708 PyObject
* obj0
= 0 ;
5710 (char *) "self", NULL
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 result
= (int)(arg1
)->GetX();
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5723 resultobj
= SWIG_FromInt((int)result
);
5730 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
*resultobj
;
5732 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5734 PyObject
* obj0
= 0 ;
5736 (char *) "self", NULL
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= (int)(arg1
)->GetY();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5749 resultobj
= SWIG_FromInt((int)result
);
5756 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
*resultobj
;
5758 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5760 PyObject
* obj0
= 0 ;
5762 (char *) "self", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= (int)(arg1
)->GetW();
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 resultobj
= SWIG_FromInt((int)result
);
5782 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5786 PyObject
* obj0
= 0 ;
5788 (char *) "self", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= (int)(arg1
)->GetWidth();
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 resultobj
= SWIG_FromInt((int)result
);
5808 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5814 (char *) "self", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 result
= (int)(arg1
)->GetH();
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= SWIG_FromInt((int)result
);
5834 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5838 PyObject
* obj0
= 0 ;
5840 (char *) "self", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (int)(arg1
)->GetHeight();
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= SWIG_FromInt((int)result
);
5860 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
;
5862 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5866 (char *) "self", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (arg1
)->GetRect();
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5881 resultptr
= new wxRect((wxRect
&) result
);
5882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5890 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5894 PyObject
* obj0
= 0 ;
5896 (char *) "self", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 result
= (bool)(arg1
)->HaveRects();
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5918 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5921 PyObject
* obj0
= 0 ;
5923 (char *) "self", NULL
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 Py_INCREF(Py_None
); resultobj
= Py_None
;
5943 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
;
5945 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5946 PyObject
* obj0
= 0 ;
5948 (char *) "self", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 wxRegionIterator_Next(arg1
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 Py_INCREF(Py_None
); resultobj
= Py_None
;
5968 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
;
5970 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5972 PyObject
* obj0
= 0 ;
5974 (char *) "self", NULL
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5996 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5999 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6001 return Py_BuildValue((char *)"");
6003 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxNativeFontInfo
*result
;
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6025 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6028 PyObject
* obj0
= 0 ;
6030 (char *) "self", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 Py_INCREF(Py_None
); resultobj
= Py_None
;
6050 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6055 (char *) "self", NULL
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 Py_INCREF(Py_None
); resultobj
= Py_None
;
6075 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6082 (char *) "self",(char *) "font", NULL
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6092 PyErr_SetString(PyExc_TypeError
,"null reference");
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 Py_INCREF(Py_None
); resultobj
= Py_None
;
6109 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6115 (char *) "self", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= SWIG_FromInt((int)result
);
6135 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6139 PyObject
* obj0
= 0 ;
6141 (char *) "self", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= SWIG_FromInt((int)result
);
6161 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6163 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6167 (char *) "self", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= SWIG_FromInt((int)result
);
6187 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6193 (char *) "self", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6215 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6221 (char *) "self", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6247 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
;
6249 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6251 PyObject
* obj0
= 0 ;
6253 (char *) "self", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_FromInt((int)result
);
6273 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6279 (char *) "self", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= SWIG_FromInt((int)result
);
6299 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6303 PyObject
* obj0
= 0 ;
6304 PyObject
* obj1
= 0 ;
6306 (char *) "self",(char *) "pointsize", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6312 arg2
= (int) SWIG_AsInt(obj1
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 (arg1
)->SetPointSize(arg2
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 Py_INCREF(Py_None
); resultobj
= Py_None
;
6328 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6335 (char *) "self",(char *) "style", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6341 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 Py_INCREF(Py_None
); resultobj
= Py_None
;
6357 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6361 PyObject
* obj0
= 0 ;
6362 PyObject
* obj1
= 0 ;
6364 (char *) "self",(char *) "weight", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6370 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 Py_INCREF(Py_None
); resultobj
= Py_None
;
6386 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6390 PyObject
* obj0
= 0 ;
6391 PyObject
* obj1
= 0 ;
6393 (char *) "self",(char *) "underlined", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6399 arg2
= (bool) SWIG_AsBool(obj1
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 (arg1
)->SetUnderlined(arg2
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 Py_INCREF(Py_None
); resultobj
= Py_None
;
6415 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6419 PyObject
* obj0
= 0 ;
6420 PyObject
* obj1
= 0 ;
6422 (char *) "self",(char *) "facename", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6429 wxString
* sptr
= wxString_in_helper(obj1
);
6430 if (sptr
== NULL
) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 (arg1
)->SetFaceName(arg2
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 Py_INCREF(Py_None
); resultobj
= Py_None
;
6448 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
*resultobj
;
6450 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6452 PyObject
* obj0
= 0 ;
6453 PyObject
* obj1
= 0 ;
6455 (char *) "self",(char *) "family", NULL
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6461 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 Py_INCREF(Py_None
); resultobj
= Py_None
;
6477 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
*resultobj
;
6479 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6484 (char *) "self",(char *) "encoding", NULL
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6490 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6499 Py_INCREF(Py_None
); resultobj
= Py_None
;
6506 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
*resultobj
;
6508 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6509 wxString
*arg2
= 0 ;
6511 bool temp2
= False
;
6512 PyObject
* obj0
= 0 ;
6513 PyObject
* obj1
= 0 ;
6515 (char *) "self",(char *) "s", NULL
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6522 arg2
= wxString_in_helper(obj1
);
6523 if (arg2
== NULL
) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6550 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6554 PyObject
* obj0
= 0 ;
6556 (char *) "self", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6582 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6586 PyObject
* obj0
= 0 ;
6588 (char *) "self", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= wxNativeFontInfo___str__(arg1
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6614 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
;
6616 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6617 wxString
*arg2
= 0 ;
6619 bool temp2
= False
;
6620 PyObject
* obj0
= 0 ;
6621 PyObject
* obj1
= 0 ;
6623 (char *) "self",(char *) "s", NULL
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6630 arg2
= wxString_in_helper(obj1
);
6631 if (arg2
== NULL
) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6658 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
*resultobj
;
6660 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6664 (char *) "self", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6690 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6693 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6695 return Py_BuildValue((char *)"");
6697 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6700 wxString
*arg2
= (wxString
*) 0 ;
6701 bool temp2
= False
;
6702 PyObject
* obj0
= 0 ;
6703 PyObject
* obj1
= 0 ;
6705 (char *) "self",(char *) "facename", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6712 arg2
= wxString_in_helper(obj1
);
6713 if (arg2
== NULL
) SWIG_fail
;
6716 if (arg1
) (arg1
)->facename
= *arg2
;
6718 Py_INCREF(Py_None
); resultobj
= Py_None
;
6733 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6737 PyObject
* obj0
= 0 ;
6739 (char *) "self", NULL
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6745 result
= (wxString
*)& ((arg1
)->facename
);
6749 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6751 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6760 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6764 PyObject
* obj0
= 0 ;
6765 PyObject
* obj1
= 0 ;
6767 (char *) "self",(char *) "encoding", NULL
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6773 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6775 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6777 Py_INCREF(Py_None
); resultobj
= Py_None
;
6784 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
;
6786 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6788 PyObject
* obj0
= 0 ;
6790 (char *) "self", NULL
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6796 result
= (int) ((arg1
)->encoding
);
6798 resultobj
= SWIG_FromInt((int)result
);
6805 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxNativeEncodingInfo
*result
;
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6827 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6832 (char *) "self", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 Py_INCREF(Py_None
); resultobj
= Py_None
;
6852 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6855 wxString
*arg2
= 0 ;
6857 bool temp2
= False
;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6861 (char *) "self",(char *) "s", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6868 arg2
= wxString_in_helper(obj1
);
6869 if (arg2
== NULL
) SWIG_fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6896 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
;
6898 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6900 PyObject
* obj0
= 0 ;
6902 (char *) "self", NULL
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6928 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6931 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6933 return Py_BuildValue((char *)"");
6935 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6938 wxNativeEncodingInfo
*result
;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "encoding", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6945 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6961 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxNativeEncodingInfo
*arg1
= 0 ;
6965 PyObject
* obj0
= 0 ;
6967 (char *) "info", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6975 PyErr_SetString(PyExc_TypeError
,"null reference");
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6994 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxFontMapper
*result
;
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= (wxFontMapper
*)new wxFontMapper();
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7016 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7019 PyObject
* obj0
= 0 ;
7021 (char *) "self", NULL
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 Py_INCREF(Py_None
); resultobj
= Py_None
;
7041 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxFontMapper
*result
;
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 result
= (wxFontMapper
*)wxFontMapper::Get();
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7063 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7066 wxFontMapper
*result
;
7067 PyObject
* obj0
= 0 ;
7069 (char *) "mapper", NULL
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7089 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7092 wxString
*arg2
= 0 ;
7093 bool arg3
= (bool) True
;
7095 bool temp2
= False
;
7096 PyObject
* obj0
= 0 ;
7097 PyObject
* obj1
= 0 ;
7098 PyObject
* obj2
= 0 ;
7100 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7107 arg2
= wxString_in_helper(obj1
);
7108 if (arg2
== NULL
) SWIG_fail
;
7112 arg3
= (bool) SWIG_AsBool(obj2
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= SWIG_FromInt((int)result
);
7137 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7159 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7163 PyObject
* obj0
= 0 ;
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7169 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 result
= (int)wxFontMapper::GetEncoding(arg1
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= SWIG_FromInt((int)result
);
7185 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7189 PyObject
* obj0
= 0 ;
7191 (char *) "encoding", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7195 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7196 if (PyErr_Occurred()) SWIG_fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7217 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7221 PyObject
* obj0
= 0 ;
7223 (char *) "encoding", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7227 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7249 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 wxString
*arg1
= 0 ;
7253 bool temp1
= False
;
7254 PyObject
* obj0
= 0 ;
7256 (char *) "name", NULL
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7261 arg1
= wxString_in_helper(obj0
);
7262 if (arg1
== NULL
) SWIG_fail
;
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= SWIG_FromInt((int)result
);
7287 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
;
7289 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7290 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7291 PyObject
* obj0
= 0 ;
7292 PyObject
* obj1
= 0 ;
7294 (char *) "self",(char *) "config", NULL
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 (arg1
)->SetConfig(arg2
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 Py_INCREF(Py_None
); resultobj
= Py_None
;
7316 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7319 wxString
*arg2
= 0 ;
7320 bool temp2
= False
;
7321 PyObject
* obj0
= 0 ;
7322 PyObject
* obj1
= 0 ;
7324 (char *) "self",(char *) "prefix", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7331 arg2
= wxString_in_helper(obj1
);
7332 if (arg2
== NULL
) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= wxFontMapper::GetDefaultConfigPath();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7385 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7389 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7390 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7391 bool arg4
= (bool) True
;
7393 bool temp3
= False
;
7394 PyObject
* obj0
= 0 ;
7395 PyObject
* obj1
= 0 ;
7396 PyObject
* obj2
= 0 ;
7397 PyObject
* obj3
= 0 ;
7399 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7405 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7409 arg3
= wxString_in_helper(obj2
);
7410 if (arg3
== NULL
) SWIG_fail
;
7415 arg4
= (bool) SWIG_AsBool(obj3
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7440 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7444 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7445 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7447 bool temp3
= False
;
7448 PyObject
* obj0
= 0 ;
7449 PyObject
* obj1
= 0 ;
7450 PyObject
* obj2
= 0 ;
7452 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7458 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7462 arg3
= wxString_in_helper(obj2
);
7463 if (arg3
== NULL
) SWIG_fail
;
7468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7491 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7494 wxWindow
*arg2
= (wxWindow
*) 0 ;
7495 PyObject
* obj0
= 0 ;
7496 PyObject
* obj1
= 0 ;
7498 (char *) "self",(char *) "parent", NULL
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 (arg1
)->SetDialogParent(arg2
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 Py_INCREF(Py_None
); resultobj
= Py_None
;
7520 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7523 wxString
*arg2
= 0 ;
7524 bool temp2
= False
;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7528 (char *) "self",(char *) "title", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7535 arg2
= wxString_in_helper(obj1
);
7536 if (arg2
== NULL
) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 Py_INCREF(Py_None
); resultobj
= Py_None
;
7561 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7564 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7566 return Py_BuildValue((char *)"");
7568 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7574 bool arg5
= (bool) False
;
7575 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7576 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7577 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7579 bool temp6
= False
;
7580 PyObject
* obj0
= 0 ;
7581 PyObject
* obj1
= 0 ;
7582 PyObject
* obj2
= 0 ;
7583 PyObject
* obj3
= 0 ;
7584 PyObject
* obj4
= 0 ;
7585 PyObject
* obj5
= 0 ;
7586 PyObject
* obj6
= 0 ;
7588 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7592 arg1
= (int) SWIG_AsInt(obj0
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7594 arg2
= (int) SWIG_AsInt(obj1
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7596 arg3
= (int) SWIG_AsInt(obj2
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7598 arg4
= (int) SWIG_AsInt(obj3
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 arg5
= (bool) SWIG_AsBool(obj4
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7606 arg6
= wxString_in_helper(obj5
);
7607 if (arg6
== NULL
) SWIG_fail
;
7612 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7616 if (!wxPyCheckForApp()) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7638 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
;
7640 wxFont
*arg1
= (wxFont
*) 0 ;
7641 PyObject
* obj0
= 0 ;
7643 (char *) "self", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 Py_INCREF(Py_None
); resultobj
= Py_None
;
7663 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxNativeFontInfo
*arg1
= 0 ;
7667 PyObject
* obj0
= 0 ;
7669 (char *) "info", NULL
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7677 PyErr_SetString(PyExc_TypeError
,"null reference");
7681 if (!wxPyCheckForApp()) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7695 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxString
*arg1
= 0 ;
7699 bool temp1
= False
;
7700 PyObject
* obj0
= 0 ;
7702 (char *) "info", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7707 arg1
= wxString_in_helper(obj0
);
7708 if (arg1
== NULL
) SWIG_fail
;
7712 if (!wxPyCheckForApp()) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7734 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7738 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7739 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7740 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7741 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7743 bool temp4
= False
;
7744 PyObject
* obj0
= 0 ;
7745 PyObject
* obj1
= 0 ;
7746 PyObject
* obj2
= 0 ;
7747 PyObject
* obj3
= 0 ;
7748 PyObject
* obj4
= 0 ;
7750 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7754 arg1
= (int) SWIG_AsInt(obj0
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7756 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 arg3
= (int) SWIG_AsInt(obj2
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7764 arg4
= wxString_in_helper(obj3
);
7765 if (arg4
== NULL
) SWIG_fail
;
7770 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7774 if (!wxPyCheckForApp()) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7796 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxFont
*arg1
= (wxFont
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7802 (char *) "self", NULL
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (bool)((wxFont
const *)arg1
)->Ok();
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7824 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxFont
*arg1
= (wxFont
*) 0 ;
7827 wxFont
*arg2
= (wxFont
*) 0 ;
7829 PyObject
* obj0
= 0 ;
7830 PyObject
* obj1
= 0 ;
7832 (char *) "self",(char *) "other", NULL
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7856 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxFont
*arg1
= (wxFont
*) 0 ;
7859 wxFont
*arg2
= (wxFont
*) 0 ;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7864 (char *) "self",(char *) "other", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7888 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxFont
*arg1
= (wxFont
*) 0 ;
7892 PyObject
* obj0
= 0 ;
7894 (char *) "self", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= SWIG_FromInt((int)result
);
7914 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxFont
*arg1
= (wxFont
*) 0 ;
7918 PyObject
* obj0
= 0 ;
7920 (char *) "self", NULL
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7933 resultobj
= SWIG_FromInt((int)result
);
7940 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxFont
*arg1
= (wxFont
*) 0 ;
7944 PyObject
* obj0
= 0 ;
7946 (char *) "self", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= SWIG_FromInt((int)result
);
7966 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxFont
*arg1
= (wxFont
*) 0 ;
7970 PyObject
* obj0
= 0 ;
7972 (char *) "self", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= SWIG_FromInt((int)result
);
7992 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 wxFont
*arg1
= (wxFont
*) 0 ;
7996 PyObject
* obj0
= 0 ;
7998 (char *) "self", NULL
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8020 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxFont
*arg1
= (wxFont
*) 0 ;
8024 PyObject
* obj0
= 0 ;
8026 (char *) "self", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= ((wxFont
const *)arg1
)->GetFaceName();
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8052 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxFont
*arg1
= (wxFont
*) 0 ;
8056 PyObject
* obj0
= 0 ;
8058 (char *) "self", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= SWIG_FromInt((int)result
);
8078 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxFont
*arg1
= (wxFont
*) 0 ;
8081 wxNativeFontInfo
*result
;
8082 PyObject
* obj0
= 0 ;
8084 (char *) "self", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8104 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxFont
*arg1
= (wxFont
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8110 (char *) "self", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8132 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxFont
*arg1
= (wxFont
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "self", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8164 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxFont
*arg1
= (wxFont
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8170 (char *) "self", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8196 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxFont
*arg1
= (wxFont
*) 0 ;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8203 (char *) "self",(char *) "pointSize", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8209 arg2
= (int) SWIG_AsInt(obj1
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 (arg1
)->SetPointSize(arg2
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 Py_INCREF(Py_None
); resultobj
= Py_None
;
8225 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxFont
*arg1
= (wxFont
*) 0 ;
8229 PyObject
* obj0
= 0 ;
8230 PyObject
* obj1
= 0 ;
8232 (char *) "self",(char *) "family", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8238 arg2
= (int) SWIG_AsInt(obj1
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 (arg1
)->SetFamily(arg2
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxFont
*arg1
= (wxFont
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8261 (char *) "self",(char *) "style", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8267 arg2
= (int) SWIG_AsInt(obj1
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 (arg1
)->SetStyle(arg2
);
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8276 Py_INCREF(Py_None
); resultobj
= Py_None
;
8283 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxFont
*arg1
= (wxFont
*) 0 ;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8290 (char *) "self",(char *) "weight", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8296 arg2
= (int) SWIG_AsInt(obj1
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 (arg1
)->SetWeight(arg2
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 Py_INCREF(Py_None
); resultobj
= Py_None
;
8312 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxFont
*arg1
= (wxFont
*) 0 ;
8315 wxString
*arg2
= 0 ;
8316 bool temp2
= False
;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8320 (char *) "self",(char *) "faceName", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8327 arg2
= wxString_in_helper(obj1
);
8328 if (arg2
== NULL
) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 Py_INCREF(Py_None
); resultobj
= Py_None
;
8353 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxFont
*arg1
= (wxFont
*) 0 ;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8360 (char *) "self",(char *) "underlined", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8366 arg2
= (bool) SWIG_AsBool(obj1
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 (arg1
)->SetUnderlined(arg2
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 Py_INCREF(Py_None
); resultobj
= Py_None
;
8382 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxFont
*arg1
= (wxFont
*) 0 ;
8386 PyObject
* obj0
= 0 ;
8387 PyObject
* obj1
= 0 ;
8389 (char *) "self",(char *) "encoding", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8395 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 Py_INCREF(Py_None
); resultobj
= Py_None
;
8411 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxFont
*arg1
= (wxFont
*) 0 ;
8414 wxNativeFontInfo
*arg2
= 0 ;
8415 PyObject
* obj0
= 0 ;
8416 PyObject
* obj1
= 0 ;
8418 (char *) "self",(char *) "info", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8428 PyErr_SetString(PyExc_TypeError
,"null reference");
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8438 Py_INCREF(Py_None
); resultobj
= Py_None
;
8445 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxFont
*arg1
= (wxFont
*) 0 ;
8448 wxString
*arg2
= 0 ;
8449 bool temp2
= False
;
8450 PyObject
* obj0
= 0 ;
8451 PyObject
* obj1
= 0 ;
8453 (char *) "self",(char *) "info", NULL
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8460 arg2
= wxString_in_helper(obj1
);
8461 if (arg2
== NULL
) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 Py_INCREF(Py_None
); resultobj
= Py_None
;
8486 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxFont
*arg1
= (wxFont
*) 0 ;
8489 wxString
*arg2
= 0 ;
8490 bool temp2
= False
;
8491 PyObject
* obj0
= 0 ;
8492 PyObject
* obj1
= 0 ;
8494 (char *) "self",(char *) "info", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 arg2
= wxString_in_helper(obj1
);
8502 if (arg2
== NULL
) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 Py_INCREF(Py_None
); resultobj
= Py_None
;
8527 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxFont
*arg1
= (wxFont
*) 0 ;
8531 PyObject
* obj0
= 0 ;
8533 (char *) "self", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8559 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
;
8561 wxFont
*arg1
= (wxFont
*) 0 ;
8563 PyObject
* obj0
= 0 ;
8565 (char *) "self", NULL
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 result
= ((wxFont
const *)arg1
)->GetStyleString();
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8591 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxFont
*arg1
= (wxFont
*) 0 ;
8595 PyObject
* obj0
= 0 ;
8597 (char *) "self", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= ((wxFont
const *)arg1
)->GetWeightString();
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8623 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
;
8625 wxFont
*arg1
= (wxFont
*) 0 ;
8626 bool arg2
= (bool) True
;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8630 (char *) "self",(char *) "no", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8637 arg2
= (bool) SWIG_AsBool(obj1
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 (arg1
)->SetNoAntiAliasing(arg2
);
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 Py_INCREF(Py_None
); resultobj
= Py_None
;
8654 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8656 wxFont
*arg1
= (wxFont
*) 0 ;
8658 PyObject
* obj0
= 0 ;
8660 (char *) "self", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (bool)(arg1
)->GetNoAntiAliasing();
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8682 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8691 if (!wxPyCheckForApp()) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (int)wxFont::GetDefaultEncoding();
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_FromInt((int)result
);
8705 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
;
8708 PyObject
* obj0
= 0 ;
8710 (char *) "encoding", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8714 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 if (!wxPyCheckForApp()) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 Py_INCREF(Py_None
); resultobj
= Py_None
;
8731 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8734 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8736 return Py_BuildValue((char *)"");
8738 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
*resultobj
;
8740 wxPyFontEnumerator
*result
;
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8747 if (!wxPyCheckForApp()) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8761 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8766 (char *) "self", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8789 PyObject
*arg2
= (PyObject
*) 0 ;
8790 PyObject
*arg3
= (PyObject
*) 0 ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 PyObject
* obj2
= 0 ;
8795 PyObject
* obj3
= 0 ;
8797 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8805 arg4
= (bool) SWIG_AsBool(obj3
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 Py_INCREF(Py_None
); resultobj
= Py_None
;
8821 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8824 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8825 bool arg3
= (bool) False
;
8827 PyObject
* obj0
= 0 ;
8828 PyObject
* obj1
= 0 ;
8829 PyObject
* obj2
= 0 ;
8831 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8838 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8842 arg3
= (bool) SWIG_AsBool(obj2
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8861 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8863 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8864 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8865 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8867 bool temp2
= False
;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8871 (char *) "self",(char *) "facename", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8879 arg2
= wxString_in_helper(obj1
);
8880 if (arg2
== NULL
) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8908 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8912 PyObject
* obj0
= 0 ;
8914 (char *) "self", NULL
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8934 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
;
8936 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8938 PyObject
* obj0
= 0 ;
8940 (char *) "self", NULL
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8960 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8963 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8965 return Py_BuildValue((char *)"");
8967 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8974 (char *) "self",(char *) "Language", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8980 arg2
= (int) SWIG_AsInt(obj1
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8982 if (arg1
) (arg1
)->Language
= arg2
;
8984 Py_INCREF(Py_None
); resultobj
= Py_None
;
8991 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8993 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8995 PyObject
* obj0
= 0 ;
8997 (char *) "self", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9003 result
= (int) ((arg1
)->Language
);
9005 resultobj
= SWIG_FromInt((int)result
);
9012 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9015 wxString
*arg2
= (wxString
*) 0 ;
9016 bool temp2
= False
;
9017 PyObject
* obj0
= 0 ;
9018 PyObject
* obj1
= 0 ;
9020 (char *) "self",(char *) "CanonicalName", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9027 arg2
= wxString_in_helper(obj1
);
9028 if (arg2
== NULL
) SWIG_fail
;
9031 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9048 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9052 PyObject
* obj0
= 0 ;
9054 (char *) "self", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9060 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9064 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9066 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9075 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9078 wxString
*arg2
= (wxString
*) 0 ;
9079 bool temp2
= False
;
9080 PyObject
* obj0
= 0 ;
9081 PyObject
* obj1
= 0 ;
9083 (char *) "self",(char *) "Description", NULL
9086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9090 arg2
= wxString_in_helper(obj1
);
9091 if (arg2
== NULL
) SWIG_fail
;
9094 if (arg1
) (arg1
)->Description
= *arg2
;
9096 Py_INCREF(Py_None
); resultobj
= Py_None
;
9111 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9115 PyObject
* obj0
= 0 ;
9117 (char *) "self", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9123 result
= (wxString
*)& ((arg1
)->Description
);
9127 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9129 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9138 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9141 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9143 return Py_BuildValue((char *)"");
9145 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 int arg1
= (int) -1 ;
9148 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9153 (char *) "language",(char *) "flags", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9158 arg1
= (int) SWIG_AsInt(obj0
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9162 arg2
= (int) SWIG_AsInt(obj1
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9179 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxLocale
*arg1
= (wxLocale
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9184 (char *) "self", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 Py_INCREF(Py_None
); resultobj
= Py_None
;
9204 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
;
9206 wxLocale
*arg1
= (wxLocale
*) 0 ;
9207 wxString
*arg2
= 0 ;
9208 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9209 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9210 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9211 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9212 bool arg5
= (bool) True
;
9213 bool arg6
= (bool) False
;
9215 bool temp2
= False
;
9216 bool temp3
= False
;
9217 bool temp4
= False
;
9218 PyObject
* obj0
= 0 ;
9219 PyObject
* obj1
= 0 ;
9220 PyObject
* obj2
= 0 ;
9221 PyObject
* obj3
= 0 ;
9222 PyObject
* obj4
= 0 ;
9223 PyObject
* obj5
= 0 ;
9225 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9232 arg2
= wxString_in_helper(obj1
);
9233 if (arg2
== NULL
) SWIG_fail
;
9238 arg3
= wxString_in_helper(obj2
);
9239 if (arg3
== NULL
) SWIG_fail
;
9245 arg4
= wxString_in_helper(obj3
);
9246 if (arg4
== NULL
) SWIG_fail
;
9251 arg5
= (bool) SWIG_AsBool(obj4
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9255 arg6
= (bool) SWIG_AsBool(obj5
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9298 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxLocale
*arg1
= (wxLocale
*) 0 ;
9301 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9302 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9304 PyObject
* obj0
= 0 ;
9305 PyObject
* obj1
= 0 ;
9306 PyObject
* obj2
= 0 ;
9308 (char *) "self",(char *) "language",(char *) "flags", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9315 arg2
= (int) SWIG_AsInt(obj1
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9319 arg3
= (int) SWIG_AsInt(obj2
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9338 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (int)wxLocale::GetSystemLanguage();
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_FromInt((int)result
);
9360 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (int)wxLocale::GetSystemEncoding();
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= SWIG_FromInt((int)result
);
9382 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= wxLocale::GetSystemEncodingName();
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9410 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9412 wxLocale
*arg1
= (wxLocale
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9416 (char *) "self", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9438 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxLocale
*arg1
= (wxLocale
*) 0 ;
9442 PyObject
* obj0
= 0 ;
9444 (char *) "self", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= ((wxLocale
const *)arg1
)->GetLocale();
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9470 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxLocale
*arg1
= (wxLocale
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9476 (char *) "self", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= SWIG_FromInt((int)result
);
9496 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
;
9498 wxLocale
*arg1
= (wxLocale
*) 0 ;
9500 PyObject
* obj0
= 0 ;
9502 (char *) "self", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 result
= ((wxLocale
const *)arg1
)->GetSysName();
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9528 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxLocale
*arg1
= (wxLocale
*) 0 ;
9532 PyObject
* obj0
= 0 ;
9534 (char *) "self", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9560 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxString
*arg1
= 0 ;
9563 bool temp1
= False
;
9564 PyObject
* obj0
= 0 ;
9566 (char *) "prefix", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9571 arg1
= wxString_in_helper(obj0
);
9572 if (arg1
== NULL
) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 Py_INCREF(Py_None
); resultobj
= Py_None
;
9597 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxLocale
*arg1
= (wxLocale
*) 0 ;
9600 wxString
*arg2
= 0 ;
9602 bool temp2
= False
;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9606 (char *) "self",(char *) "szDomain", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9613 arg2
= wxString_in_helper(obj1
);
9614 if (arg2
== NULL
) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9641 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxLocale
*arg1
= (wxLocale
*) 0 ;
9644 wxString
*arg2
= 0 ;
9646 bool temp2
= False
;
9647 PyObject
* obj0
= 0 ;
9648 PyObject
* obj1
= 0 ;
9650 (char *) "self",(char *) "szDomain", NULL
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9657 arg2
= wxString_in_helper(obj1
);
9658 if (arg2
== NULL
) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9685 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9688 wxLanguageInfo
*result
;
9689 PyObject
* obj0
= 0 ;
9691 (char *) "lang", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9695 arg1
= (int) SWIG_AsInt(obj0
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9711 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9715 PyObject
* obj0
= 0 ;
9717 (char *) "lang", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9721 arg1
= (int) SWIG_AsInt(obj0
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= wxLocale::GetLanguageName(arg1
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9743 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxString
*arg1
= 0 ;
9746 wxLanguageInfo
*result
;
9747 bool temp1
= False
;
9748 PyObject
* obj0
= 0 ;
9750 (char *) "locale", NULL
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9755 arg1
= wxString_in_helper(obj0
);
9756 if (arg1
== NULL
) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9781 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxLanguageInfo
*arg1
= 0 ;
9784 PyObject
* obj0
= 0 ;
9786 (char *) "info", NULL
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9794 PyErr_SetString(PyExc_TypeError
,"null reference");
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 Py_INCREF(Py_None
); resultobj
= Py_None
;
9811 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxLocale
*arg1
= (wxLocale
*) 0 ;
9814 wxString
*arg2
= 0 ;
9815 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9816 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9818 bool temp2
= False
;
9819 bool temp3
= False
;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9822 PyObject
* obj2
= 0 ;
9824 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9831 arg2
= wxString_in_helper(obj1
);
9832 if (arg2
== NULL
) SWIG_fail
;
9837 arg3
= wxString_in_helper(obj2
);
9838 if (arg3
== NULL
) SWIG_fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9878 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxLocale
*arg1
= (wxLocale
*) 0 ;
9882 PyObject
* obj0
= 0 ;
9884 (char *) "self", NULL
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9894 result
= (wxString
*) &_result_ref
;
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9904 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9913 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9916 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9918 return Py_BuildValue((char *)"");
9920 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
;
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (wxLocale
*)wxGetLocale();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9942 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9943 PyObject
*resultobj
;
9944 wxString
*arg1
= 0 ;
9946 bool temp1
= False
;
9947 PyObject
* obj0
= 0 ;
9949 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9951 arg1
= wxString_in_helper(obj0
);
9952 if (arg1
== NULL
) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= wxGetTranslation((wxString
const &)*arg1
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9983 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9984 PyObject
*resultobj
;
9985 wxString
*arg1
= 0 ;
9986 wxString
*arg2
= 0 ;
9989 bool temp1
= False
;
9990 bool temp2
= False
;
9991 PyObject
* obj0
= 0 ;
9992 PyObject
* obj1
= 0 ;
9993 PyObject
* obj2
= 0 ;
9995 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9997 arg1
= wxString_in_helper(obj0
);
9998 if (arg1
== NULL
) SWIG_fail
;
10002 arg2
= wxString_in_helper(obj1
);
10003 if (arg2
== NULL
) SWIG_fail
;
10006 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10044 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10049 argc
= PyObject_Length(args
);
10050 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10051 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10056 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10059 return _wrap_GetTranslation__SWIG_0(self
,args
);
10065 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10069 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10072 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10074 return _wrap_GetTranslation__SWIG_1(self
,args
);
10080 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10085 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxEncodingConverter
*result
;
10088 char *kwnames
[] = {
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10107 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
*resultobj
;
10109 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10110 PyObject
* obj0
= 0 ;
10111 char *kwnames
[] = {
10112 (char *) "self", NULL
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 Py_INCREF(Py_None
); resultobj
= Py_None
;
10132 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10137 int arg4
= (int) wxCONVERT_STRICT
;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 PyObject
* obj2
= 0 ;
10142 PyObject
* obj3
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10150 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10152 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10155 arg4
= (int) SWIG_AsInt(obj3
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10174 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10177 wxString
*arg2
= 0 ;
10179 bool temp2
= False
;
10180 PyObject
* obj0
= 0 ;
10181 PyObject
* obj1
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self",(char *) "input", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10190 arg2
= wxString_in_helper(obj1
);
10191 if (arg2
== NULL
) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10222 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10225 int arg2
= (int) wxPLATFORM_CURRENT
;
10226 wxFontEncodingArray result
;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "enc",(char *) "platform", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10234 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 arg2
= (int) SWIG_AsInt(obj1
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= PyList_New(0);
10249 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10250 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10251 PyList_Append(resultobj
, number
);
10261 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10264 wxFontEncodingArray result
;
10265 PyObject
* obj0
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "enc", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10271 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= PyList_New(0);
10282 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10283 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10284 PyList_Append(resultobj
, number
);
10294 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "encIn",(char *) "encOut", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10306 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10308 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10326 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10329 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10331 return Py_BuildValue((char *)"");
10333 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxDC
*arg1
= (wxDC
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 Py_INCREF(Py_None
); resultobj
= Py_None
;
10358 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxDC
*arg1
= (wxDC
*) 0 ;
10361 PyObject
* obj0
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 (arg1
)->BeginDrawing();
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 Py_INCREF(Py_None
); resultobj
= Py_None
;
10383 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
;
10385 wxDC
*arg1
= (wxDC
*) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "self", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 (arg1
)->EndDrawing();
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 Py_INCREF(Py_None
); resultobj
= Py_None
;
10408 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxDC
*arg1
= (wxDC
*) 0 ;
10413 wxColour
*arg4
= 0 ;
10414 int arg5
= (int) wxFLOOD_SURFACE
;
10417 PyObject
* obj0
= 0 ;
10418 PyObject
* obj1
= 0 ;
10419 PyObject
* obj2
= 0 ;
10420 PyObject
* obj3
= 0 ;
10421 PyObject
* obj4
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10429 arg2
= (int) SWIG_AsInt(obj1
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10431 arg3
= (int) SWIG_AsInt(obj2
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10435 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10438 arg5
= (int) SWIG_AsInt(obj4
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10445 wxPyEndAllowThreads(__tstate
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10457 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxDC
*arg1
= (wxDC
*) 0 ;
10460 wxPoint
*arg2
= 0 ;
10461 wxColour
*arg3
= 0 ;
10462 int arg4
= (int) wxFLOOD_SURFACE
;
10466 PyObject
* obj0
= 0 ;
10467 PyObject
* obj1
= 0 ;
10468 PyObject
* obj2
= 0 ;
10469 PyObject
* obj3
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10483 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10486 arg4
= (int) SWIG_AsInt(obj3
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10505 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxDC
*arg1
= (wxDC
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 PyObject
* obj2
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self",(char *) "x",(char *) "y", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10521 arg2
= (int) SWIG_AsInt(obj1
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10523 arg3
= (int) SWIG_AsInt(obj2
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10533 wxColour
* resultptr
;
10534 resultptr
= new wxColour((wxColour
&) result
);
10535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10543 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
;
10545 wxDC
*arg1
= (wxDC
*) 0 ;
10546 wxPoint
*arg2
= 0 ;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self",(char *) "pt", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10560 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10570 wxColour
* resultptr
;
10571 resultptr
= new wxColour((wxColour
&) result
);
10572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10580 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
;
10582 wxDC
*arg1
= (wxDC
*) 0 ;
10587 PyObject
* obj0
= 0 ;
10588 PyObject
* obj1
= 0 ;
10589 PyObject
* obj2
= 0 ;
10590 PyObject
* obj3
= 0 ;
10591 PyObject
* obj4
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10599 arg2
= (int) SWIG_AsInt(obj1
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10601 arg3
= (int) SWIG_AsInt(obj2
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10603 arg4
= (int) SWIG_AsInt(obj3
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10605 arg5
= (int) SWIG_AsInt(obj4
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 Py_INCREF(Py_None
); resultobj
= Py_None
;
10621 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxDC
*arg1
= (wxDC
*) 0 ;
10624 wxPoint
*arg2
= 0 ;
10625 wxPoint
*arg3
= 0 ;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 PyObject
* obj2
= 0 ;
10631 char *kwnames
[] = {
10632 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10644 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 Py_INCREF(Py_None
); resultobj
= Py_None
;
10660 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
;
10662 wxDC
*arg1
= (wxDC
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 PyObject
* obj2
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "self",(char *) "x",(char *) "y", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10675 arg2
= (int) SWIG_AsInt(obj1
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10677 arg3
= (int) SWIG_AsInt(obj2
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 (arg1
)->CrossHair(arg2
,arg3
);
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 Py_INCREF(Py_None
); resultobj
= Py_None
;
10693 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxDC
*arg1
= (wxDC
*) 0 ;
10696 wxPoint
*arg2
= 0 ;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "self",(char *) "pt", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10709 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 Py_INCREF(Py_None
); resultobj
= Py_None
;
10725 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxDC
*arg1
= (wxDC
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 PyObject
* obj3
= 0 ;
10738 PyObject
* obj4
= 0 ;
10739 PyObject
* obj5
= 0 ;
10740 PyObject
* obj6
= 0 ;
10741 char *kwnames
[] = {
10742 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 arg2
= (int) SWIG_AsInt(obj1
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10750 arg3
= (int) SWIG_AsInt(obj2
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10752 arg4
= (int) SWIG_AsInt(obj3
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10754 arg5
= (int) SWIG_AsInt(obj4
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10756 arg6
= (int) SWIG_AsInt(obj5
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10758 arg7
= (int) SWIG_AsInt(obj6
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 Py_INCREF(Py_None
); resultobj
= Py_None
;
10774 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxDC
*arg1
= (wxDC
*) 0 ;
10777 wxPoint
*arg2
= 0 ;
10778 wxPoint
*arg3
= 0 ;
10779 wxPoint
*arg4
= 0 ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 PyObject
* obj2
= 0 ;
10786 PyObject
* obj3
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10796 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10800 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 Py_INCREF(Py_None
); resultobj
= Py_None
;
10820 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxDC
*arg1
= (wxDC
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 PyObject
* obj2
= 0 ;
10830 PyObject
* obj3
= 0 ;
10831 PyObject
* obj4
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10839 arg2
= (int) SWIG_AsInt(obj1
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10841 arg3
= (int) SWIG_AsInt(obj2
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10843 arg4
= (int) SWIG_AsInt(obj3
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10845 arg5
= (int) SWIG_AsInt(obj4
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 Py_INCREF(Py_None
); resultobj
= Py_None
;
10861 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxDC
*arg1
= (wxDC
*) 0 ;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "self",(char *) "rect", NULL
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10877 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxDC
*arg1
= (wxDC
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 PyObject
* obj2
= 0 ;
10905 PyObject
* obj3
= 0 ;
10906 PyObject
* obj4
= 0 ;
10907 PyObject
* obj5
= 0 ;
10908 PyObject
* obj6
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10916 arg2
= (int) SWIG_AsInt(obj1
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10918 arg3
= (int) SWIG_AsInt(obj2
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10920 arg4
= (int) SWIG_AsInt(obj3
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10922 arg5
= (int) SWIG_AsInt(obj4
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10924 arg6
= (double) SWIG_AsDouble(obj5
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10926 arg7
= (double) SWIG_AsDouble(obj6
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 Py_INCREF(Py_None
); resultobj
= Py_None
;
10942 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxDC
*arg1
= (wxDC
*) 0 ;
10945 wxPoint
*arg2
= 0 ;
10951 PyObject
* obj0
= 0 ;
10952 PyObject
* obj1
= 0 ;
10953 PyObject
* obj2
= 0 ;
10954 PyObject
* obj3
= 0 ;
10955 PyObject
* obj4
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10965 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10969 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10971 arg4
= (double) SWIG_AsDouble(obj3
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10973 arg5
= (double) SWIG_AsDouble(obj4
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10982 Py_INCREF(Py_None
); resultobj
= Py_None
;
10989 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10990 PyObject
*resultobj
;
10991 wxDC
*arg1
= (wxDC
*) 0 ;
10994 PyObject
* obj0
= 0 ;
10995 PyObject
* obj1
= 0 ;
10996 PyObject
* obj2
= 0 ;
10997 char *kwnames
[] = {
10998 (char *) "self",(char *) "x",(char *) "y", NULL
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11004 arg2
= (int) SWIG_AsInt(obj1
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11006 arg3
= (int) SWIG_AsInt(obj2
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 (arg1
)->DrawPoint(arg2
,arg3
);
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11015 Py_INCREF(Py_None
); resultobj
= Py_None
;
11022 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
;
11024 wxDC
*arg1
= (wxDC
*) 0 ;
11025 wxPoint
*arg2
= 0 ;
11027 PyObject
* obj0
= 0 ;
11028 PyObject
* obj1
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self",(char *) "pt", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 Py_INCREF(Py_None
); resultobj
= Py_None
;
11054 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
;
11056 wxDC
*arg1
= (wxDC
*) 0 ;
11061 PyObject
* obj0
= 0 ;
11062 PyObject
* obj1
= 0 ;
11063 PyObject
* obj2
= 0 ;
11064 PyObject
* obj3
= 0 ;
11065 PyObject
* obj4
= 0 ;
11066 char *kwnames
[] = {
11067 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11073 arg2
= (int) SWIG_AsInt(obj1
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11075 arg3
= (int) SWIG_AsInt(obj2
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11077 arg4
= (int) SWIG_AsInt(obj3
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11079 arg5
= (int) SWIG_AsInt(obj4
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 Py_INCREF(Py_None
); resultobj
= Py_None
;
11095 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxDC
*arg1
= (wxDC
*) 0 ;
11100 PyObject
* obj0
= 0 ;
11101 PyObject
* obj1
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self",(char *) "rect", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11111 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 Py_INCREF(Py_None
); resultobj
= Py_None
;
11127 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxDC
*arg1
= (wxDC
*) 0 ;
11130 wxPoint
*arg2
= 0 ;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 PyObject
* obj2
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "self",(char *) "pt",(char *) "sz", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11146 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11150 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 Py_INCREF(Py_None
); resultobj
= Py_None
;
11166 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
;
11168 wxDC
*arg1
= (wxDC
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 PyObject
* obj2
= 0 ;
11177 PyObject
* obj3
= 0 ;
11178 PyObject
* obj4
= 0 ;
11179 PyObject
* obj5
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11187 arg2
= (int) SWIG_AsInt(obj1
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11189 arg3
= (int) SWIG_AsInt(obj2
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11191 arg4
= (int) SWIG_AsInt(obj3
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11193 arg5
= (int) SWIG_AsInt(obj4
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11195 arg6
= (double) SWIG_AsDouble(obj5
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 Py_INCREF(Py_None
); resultobj
= Py_None
;
11211 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
;
11213 wxDC
*arg1
= (wxDC
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 PyObject
* obj1
= 0 ;
11219 PyObject
* obj2
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self",(char *) "r",(char *) "radius", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11229 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11231 arg3
= (double) SWIG_AsDouble(obj2
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 Py_INCREF(Py_None
); resultobj
= Py_None
;
11247 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxDC
*arg1
= (wxDC
*) 0 ;
11250 wxPoint
*arg2
= 0 ;
11255 PyObject
* obj0
= 0 ;
11256 PyObject
* obj1
= 0 ;
11257 PyObject
* obj2
= 0 ;
11258 PyObject
* obj3
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11268 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11272 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11274 arg4
= (double) SWIG_AsDouble(obj3
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 Py_INCREF(Py_None
); resultobj
= Py_None
;
11290 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxDC
*arg1
= (wxDC
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 PyObject
* obj2
= 0 ;
11299 PyObject
* obj3
= 0 ;
11300 char *kwnames
[] = {
11301 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11307 arg2
= (int) SWIG_AsInt(obj1
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11309 arg3
= (int) SWIG_AsInt(obj2
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11311 arg4
= (int) SWIG_AsInt(obj3
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 Py_INCREF(Py_None
); resultobj
= Py_None
;
11327 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxDC
*arg1
= (wxDC
*) 0 ;
11330 wxPoint
*arg2
= 0 ;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 PyObject
* obj2
= 0 ;
11336 char *kwnames
[] = {
11337 (char *) "self",(char *) "pt",(char *) "radius", NULL
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11345 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11347 arg3
= (int) SWIG_AsInt(obj2
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 Py_INCREF(Py_None
); resultobj
= Py_None
;
11363 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxDC
*arg1
= (wxDC
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 PyObject
* obj2
= 0 ;
11373 PyObject
* obj3
= 0 ;
11374 PyObject
* obj4
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11382 arg2
= (int) SWIG_AsInt(obj1
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11384 arg3
= (int) SWIG_AsInt(obj2
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11386 arg4
= (int) SWIG_AsInt(obj3
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11388 arg5
= (int) SWIG_AsInt(obj4
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 Py_INCREF(Py_None
); resultobj
= Py_None
;
11404 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxDC
*arg1
= (wxDC
*) 0 ;
11409 PyObject
* obj0
= 0 ;
11410 PyObject
* obj1
= 0 ;
11411 char *kwnames
[] = {
11412 (char *) "self",(char *) "rect", NULL
11415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11420 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 Py_INCREF(Py_None
); resultobj
= Py_None
;
11436 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
;
11438 wxDC
*arg1
= (wxDC
*) 0 ;
11439 wxPoint
*arg2
= 0 ;
11443 PyObject
* obj0
= 0 ;
11444 PyObject
* obj1
= 0 ;
11445 PyObject
* obj2
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self",(char *) "pt",(char *) "sz", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11455 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11459 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 Py_INCREF(Py_None
); resultobj
= Py_None
;
11475 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxDC
*arg1
= (wxDC
*) 0 ;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 PyObject
* obj2
= 0 ;
11484 PyObject
* obj3
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11493 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11495 if (arg2
== NULL
) {
11496 PyErr_SetString(PyExc_TypeError
,"null reference");
11499 arg3
= (int) SWIG_AsInt(obj2
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11501 arg4
= (int) SWIG_AsInt(obj3
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 Py_INCREF(Py_None
); resultobj
= Py_None
;
11517 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11519 wxDC
*arg1
= (wxDC
*) 0 ;
11521 wxPoint
*arg3
= 0 ;
11523 PyObject
* obj0
= 0 ;
11524 PyObject
* obj1
= 0 ;
11525 PyObject
* obj2
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "icon",(char *) "pt", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11536 if (arg2
== NULL
) {
11537 PyErr_SetString(PyExc_TypeError
,"null reference");
11542 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11551 Py_INCREF(Py_None
); resultobj
= Py_None
;
11558 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxDC
*arg1
= (wxDC
*) 0 ;
11561 wxBitmap
*arg2
= 0 ;
11564 bool arg5
= (bool) False
;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 PyObject
* obj2
= 0 ;
11568 PyObject
* obj3
= 0 ;
11569 PyObject
* obj4
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11580 if (arg2
== NULL
) {
11581 PyErr_SetString(PyExc_TypeError
,"null reference");
11584 arg3
= (int) SWIG_AsInt(obj2
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11586 arg4
= (int) SWIG_AsInt(obj3
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 arg5
= (bool) SWIG_AsBool(obj4
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 Py_INCREF(Py_None
); resultobj
= Py_None
;
11606 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
;
11608 wxDC
*arg1
= (wxDC
*) 0 ;
11609 wxBitmap
*arg2
= 0 ;
11610 wxPoint
*arg3
= 0 ;
11611 bool arg4
= (bool) False
;
11613 PyObject
* obj0
= 0 ;
11614 PyObject
* obj1
= 0 ;
11615 PyObject
* obj2
= 0 ;
11616 PyObject
* obj3
= 0 ;
11617 char *kwnames
[] = {
11618 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11627 if (arg2
== NULL
) {
11628 PyErr_SetString(PyExc_TypeError
,"null reference");
11633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11636 arg4
= (bool) SWIG_AsBool(obj3
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 Py_INCREF(Py_None
); resultobj
= Py_None
;
11653 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxDC
*arg1
= (wxDC
*) 0 ;
11656 wxString
*arg2
= 0 ;
11659 bool temp2
= False
;
11660 PyObject
* obj0
= 0 ;
11661 PyObject
* obj1
= 0 ;
11662 PyObject
* obj2
= 0 ;
11663 PyObject
* obj3
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11672 arg2
= wxString_in_helper(obj1
);
11673 if (arg2
== NULL
) SWIG_fail
;
11676 arg3
= (int) SWIG_AsInt(obj2
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11678 arg4
= (int) SWIG_AsInt(obj3
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 Py_INCREF(Py_None
); resultobj
= Py_None
;
11702 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
;
11704 wxDC
*arg1
= (wxDC
*) 0 ;
11705 wxString
*arg2
= 0 ;
11706 wxPoint
*arg3
= 0 ;
11707 bool temp2
= False
;
11709 PyObject
* obj0
= 0 ;
11710 PyObject
* obj1
= 0 ;
11711 PyObject
* obj2
= 0 ;
11712 char *kwnames
[] = {
11713 (char *) "self",(char *) "text",(char *) "pt", NULL
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11720 arg2
= wxString_in_helper(obj1
);
11721 if (arg2
== NULL
) SWIG_fail
;
11726 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 Py_INCREF(Py_None
); resultobj
= Py_None
;
11750 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
;
11752 wxDC
*arg1
= (wxDC
*) 0 ;
11753 wxString
*arg2
= 0 ;
11757 bool temp2
= False
;
11758 PyObject
* obj0
= 0 ;
11759 PyObject
* obj1
= 0 ;
11760 PyObject
* obj2
= 0 ;
11761 PyObject
* obj3
= 0 ;
11762 PyObject
* obj4
= 0 ;
11763 char *kwnames
[] = {
11764 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11771 arg2
= wxString_in_helper(obj1
);
11772 if (arg2
== NULL
) SWIG_fail
;
11775 arg3
= (int) SWIG_AsInt(obj2
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11777 arg4
= (int) SWIG_AsInt(obj3
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11779 arg5
= (double) SWIG_AsDouble(obj4
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 Py_INCREF(Py_None
); resultobj
= Py_None
;
11803 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
;
11805 wxDC
*arg1
= (wxDC
*) 0 ;
11806 wxString
*arg2
= 0 ;
11807 wxPoint
*arg3
= 0 ;
11809 bool temp2
= False
;
11811 PyObject
* obj0
= 0 ;
11812 PyObject
* obj1
= 0 ;
11813 PyObject
* obj2
= 0 ;
11814 PyObject
* obj3
= 0 ;
11815 char *kwnames
[] = {
11816 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11823 arg2
= wxString_in_helper(obj1
);
11824 if (arg2
== NULL
) SWIG_fail
;
11829 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11831 arg4
= (double) SWIG_AsDouble(obj3
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 Py_INCREF(Py_None
); resultobj
= Py_None
;
11855 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxDC
*arg1
= (wxDC
*) 0 ;
11862 wxDC
*arg6
= (wxDC
*) 0 ;
11865 int arg9
= (int) wxCOPY
;
11866 bool arg10
= (bool) False
;
11867 int arg11
= (int) -1 ;
11868 int arg12
= (int) -1 ;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 PyObject
* obj2
= 0 ;
11873 PyObject
* obj3
= 0 ;
11874 PyObject
* obj4
= 0 ;
11875 PyObject
* obj5
= 0 ;
11876 PyObject
* obj6
= 0 ;
11877 PyObject
* obj7
= 0 ;
11878 PyObject
* obj8
= 0 ;
11879 PyObject
* obj9
= 0 ;
11880 PyObject
* obj10
= 0 ;
11881 PyObject
* obj11
= 0 ;
11882 char *kwnames
[] = {
11883 (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
11886 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
;
11887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11889 arg2
= (int) SWIG_AsInt(obj1
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11891 arg3
= (int) SWIG_AsInt(obj2
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11893 arg4
= (int) SWIG_AsInt(obj3
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11895 arg5
= (int) SWIG_AsInt(obj4
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11897 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11899 arg7
= (int) SWIG_AsInt(obj6
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11901 arg8
= (int) SWIG_AsInt(obj7
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11904 arg9
= (int) SWIG_AsInt(obj8
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11908 arg10
= (bool) SWIG_AsBool(obj9
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11912 arg11
= (int) SWIG_AsInt(obj10
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11916 arg12
= (int) SWIG_AsInt(obj11
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11935 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxDC
*arg1
= (wxDC
*) 0 ;
11938 wxPoint
*arg2
= 0 ;
11940 wxDC
*arg4
= (wxDC
*) 0 ;
11941 wxPoint
*arg5
= 0 ;
11942 int arg6
= (int) wxCOPY
;
11943 bool arg7
= (bool) False
;
11944 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11945 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 PyObject
* obj2
= 0 ;
11954 PyObject
* obj3
= 0 ;
11955 PyObject
* obj4
= 0 ;
11956 PyObject
* obj5
= 0 ;
11957 PyObject
* obj6
= 0 ;
11958 PyObject
* obj7
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11972 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11974 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11978 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11981 arg6
= (int) SWIG_AsInt(obj5
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11985 arg7
= (bool) SWIG_AsBool(obj6
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11991 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12010 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxDC
*arg1
= (wxDC
*) 0 ;
12017 PyObject
* obj0
= 0 ;
12018 PyObject
* obj1
= 0 ;
12019 PyObject
* obj2
= 0 ;
12020 PyObject
* obj3
= 0 ;
12021 PyObject
* obj4
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12029 arg2
= (int) SWIG_AsInt(obj1
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12031 arg3
= (int) SWIG_AsInt(obj2
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12033 arg4
= (int) SWIG_AsInt(obj3
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12035 arg5
= (int) SWIG_AsInt(obj4
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 Py_INCREF(Py_None
); resultobj
= Py_None
;
12051 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxDC
*arg1
= (wxDC
*) 0 ;
12054 wxPoint
*arg2
= 0 ;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 PyObject
* obj2
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "pt",(char *) "sz", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12074 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 Py_INCREF(Py_None
); resultobj
= Py_None
;
12090 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
;
12092 wxDC
*arg1
= (wxDC
*) 0 ;
12093 wxRegion
*arg2
= 0 ;
12094 PyObject
* obj0
= 0 ;
12095 PyObject
* obj1
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self",(char *) "region", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12106 if (arg2
== NULL
) {
12107 PyErr_SetString(PyExc_TypeError
,"null reference");
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12117 Py_INCREF(Py_None
); resultobj
= Py_None
;
12124 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxDC
*arg1
= (wxDC
*) 0 ;
12129 PyObject
* obj0
= 0 ;
12130 PyObject
* obj1
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self",(char *) "rect", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12140 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 Py_INCREF(Py_None
); resultobj
= Py_None
;
12156 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxDC
*arg1
= (wxDC
*) 0 ;
12160 wxPoint
*arg3
= (wxPoint
*) 0 ;
12161 int arg4
= (int) 0 ;
12162 int arg5
= (int) 0 ;
12163 PyObject
* obj0
= 0 ;
12164 PyObject
* obj1
= 0 ;
12165 PyObject
* obj2
= 0 ;
12166 PyObject
* obj3
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12175 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12176 if (arg3
== NULL
) SWIG_fail
;
12179 arg4
= (int) SWIG_AsInt(obj2
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12183 arg5
= (int) SWIG_AsInt(obj3
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 Py_INCREF(Py_None
); resultobj
= Py_None
;
12195 if (arg3
) delete [] arg3
;
12200 if (arg3
) delete [] arg3
;
12206 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxDC
*arg1
= (wxDC
*) 0 ;
12210 wxPoint
*arg3
= (wxPoint
*) 0 ;
12211 int arg4
= (int) 0 ;
12212 int arg5
= (int) 0 ;
12213 int arg6
= (int) wxODDEVEN_RULE
;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 PyObject
* obj2
= 0 ;
12217 PyObject
* obj3
= 0 ;
12218 PyObject
* obj4
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12227 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12228 if (arg3
== NULL
) SWIG_fail
;
12231 arg4
= (int) SWIG_AsInt(obj2
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12235 arg5
= (int) SWIG_AsInt(obj3
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 arg6
= (int) SWIG_AsInt(obj4
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 Py_INCREF(Py_None
); resultobj
= Py_None
;
12251 if (arg3
) delete [] arg3
;
12256 if (arg3
) delete [] arg3
;
12262 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12264 wxDC
*arg1
= (wxDC
*) 0 ;
12265 wxString
*arg2
= 0 ;
12267 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12268 int arg5
= (int) -1 ;
12269 bool temp2
= False
;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 PyObject
* obj2
= 0 ;
12274 PyObject
* obj3
= 0 ;
12275 PyObject
* obj4
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12284 arg2
= wxString_in_helper(obj1
);
12285 if (arg2
== NULL
) SWIG_fail
;
12290 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12293 arg4
= (int) SWIG_AsInt(obj3
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12297 arg5
= (int) SWIG_AsInt(obj4
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 Py_INCREF(Py_None
); resultobj
= Py_None
;
12322 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxDC
*arg1
= (wxDC
*) 0 ;
12325 wxString
*arg2
= 0 ;
12326 wxBitmap
*arg3
= 0 ;
12328 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12329 int arg6
= (int) -1 ;
12331 bool temp2
= False
;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 PyObject
* obj2
= 0 ;
12336 PyObject
* obj3
= 0 ;
12337 PyObject
* obj4
= 0 ;
12338 PyObject
* obj5
= 0 ;
12339 char *kwnames
[] = {
12340 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12347 arg2
= wxString_in_helper(obj1
);
12348 if (arg2
== NULL
) SWIG_fail
;
12351 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12354 if (arg3
== NULL
) {
12355 PyErr_SetString(PyExc_TypeError
,"null reference");
12360 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12363 arg5
= (int) SWIG_AsInt(obj4
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12367 arg6
= (int) SWIG_AsInt(obj5
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12378 wxRect
* resultptr
;
12379 resultptr
= new wxRect((wxRect
&) result
);
12380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12396 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxDC
*arg1
= (wxDC
*) 0 ;
12400 wxPoint
*arg3
= (wxPoint
*) 0 ;
12401 PyObject
* obj0
= 0 ;
12402 PyObject
* obj1
= 0 ;
12403 char *kwnames
[] = {
12404 (char *) "self",(char *) "points", NULL
12407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12411 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12412 if (arg3
== NULL
) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 (arg1
)->DrawSpline(arg2
,arg3
);
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12421 Py_INCREF(Py_None
); resultobj
= Py_None
;
12423 if (arg3
) delete [] arg3
;
12428 if (arg3
) delete [] arg3
;
12434 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
;
12436 wxDC
*arg1
= (wxDC
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 Py_INCREF(Py_None
); resultobj
= Py_None
;
12459 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxDC
*arg1
= (wxDC
*) 0 ;
12462 wxString
*arg2
= 0 ;
12464 bool temp2
= False
;
12465 PyObject
* obj0
= 0 ;
12466 PyObject
* obj1
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self",(char *) "message", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12475 arg2
= wxString_in_helper(obj1
);
12476 if (arg2
== NULL
) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12503 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
;
12505 wxDC
*arg1
= (wxDC
*) 0 ;
12506 PyObject
* obj0
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "self", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 Py_INCREF(Py_None
); resultobj
= Py_None
;
12528 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxDC
*arg1
= (wxDC
*) 0 ;
12531 PyObject
* obj0
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 (arg1
)->StartPage();
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 Py_INCREF(Py_None
); resultobj
= Py_None
;
12553 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxDC
*arg1
= (wxDC
*) 0 ;
12556 PyObject
* obj0
= 0 ;
12557 char *kwnames
[] = {
12558 (char *) "self", NULL
12561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12571 Py_INCREF(Py_None
); resultobj
= Py_None
;
12578 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxDC
*arg1
= (wxDC
*) 0 ;
12582 PyObject
* obj0
= 0 ;
12583 PyObject
* obj1
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self",(char *) "font", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12594 if (arg2
== NULL
) {
12595 PyErr_SetString(PyExc_TypeError
,"null reference");
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 (arg1
)->SetFont((wxFont
const &)*arg2
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 Py_INCREF(Py_None
); resultobj
= Py_None
;
12612 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxDC
*arg1
= (wxDC
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self",(char *) "pen", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12628 if (arg2
== NULL
) {
12629 PyErr_SetString(PyExc_TypeError
,"null reference");
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->SetPen((wxPen
const &)*arg2
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 Py_INCREF(Py_None
); resultobj
= Py_None
;
12646 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxDC
*arg1
= (wxDC
*) 0 ;
12649 wxBrush
*arg2
= 0 ;
12650 PyObject
* obj0
= 0 ;
12651 PyObject
* obj1
= 0 ;
12652 char *kwnames
[] = {
12653 (char *) "self",(char *) "brush", NULL
12656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12662 if (arg2
== NULL
) {
12663 PyErr_SetString(PyExc_TypeError
,"null reference");
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 Py_INCREF(Py_None
); resultobj
= Py_None
;
12680 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
;
12682 wxDC
*arg1
= (wxDC
*) 0 ;
12683 wxBrush
*arg2
= 0 ;
12684 PyObject
* obj0
= 0 ;
12685 PyObject
* obj1
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self",(char *) "brush", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12696 if (arg2
== NULL
) {
12697 PyErr_SetString(PyExc_TypeError
,"null reference");
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 Py_INCREF(Py_None
); resultobj
= Py_None
;
12714 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
;
12716 wxDC
*arg1
= (wxDC
*) 0 ;
12718 PyObject
* obj0
= 0 ;
12719 PyObject
* obj1
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "self",(char *) "mode", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12727 arg2
= (int) SWIG_AsInt(obj1
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 (arg1
)->SetBackgroundMode(arg2
);
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12736 Py_INCREF(Py_None
); resultobj
= Py_None
;
12743 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxDC
*arg1
= (wxDC
*) 0 ;
12746 wxPalette
*arg2
= 0 ;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "self",(char *) "palette", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12759 if (arg2
== NULL
) {
12760 PyErr_SetString(PyExc_TypeError
,"null reference");
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 Py_INCREF(Py_None
); resultobj
= Py_None
;
12777 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxDC
*arg1
= (wxDC
*) 0 ;
12780 PyObject
* obj0
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 (arg1
)->DestroyClippingRegion();
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 Py_INCREF(Py_None
); resultobj
= Py_None
;
12802 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
;
12804 wxDC
*arg1
= (wxDC
*) 0 ;
12805 int *arg2
= (int *) 0 ;
12806 int *arg3
= (int *) 0 ;
12807 int *arg4
= (int *) 0 ;
12808 int *arg5
= (int *) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 Py_INCREF(Py_None
); resultobj
= Py_None
;
12834 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12835 resultobj
= t_output_helper(resultobj
,o
);
12838 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12839 resultobj
= t_output_helper(resultobj
,o
);
12842 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12843 resultobj
= t_output_helper(resultobj
,o
);
12846 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12847 resultobj
= t_output_helper(resultobj
,o
);
12855 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxDC
*arg1
= (wxDC
*) 0 ;
12859 PyObject
* obj0
= 0 ;
12860 char *kwnames
[] = {
12861 (char *) "self", NULL
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= wxDC_GetClippingRect(arg1
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12875 wxRect
* resultptr
;
12876 resultptr
= new wxRect((wxRect
&) result
);
12877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12885 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxDC
*arg1
= (wxDC
*) 0 ;
12889 PyObject
* obj0
= 0 ;
12890 char *kwnames
[] = {
12891 (char *) "self", NULL
12894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 resultobj
= SWIG_FromInt((int)result
);
12911 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
;
12913 wxDC
*arg1
= (wxDC
*) 0 ;
12915 PyObject
* obj0
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_FromInt((int)result
);
12937 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxDC
*arg1
= (wxDC
*) 0 ;
12940 wxString
*arg2
= 0 ;
12941 int *arg3
= (int *) 0 ;
12942 int *arg4
= (int *) 0 ;
12943 bool temp2
= False
;
12946 PyObject
* obj0
= 0 ;
12947 PyObject
* obj1
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "self",(char *) "string", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12958 arg2
= wxString_in_helper(obj1
);
12959 if (arg2
== NULL
) SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 Py_INCREF(Py_None
); resultobj
= Py_None
;
12971 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12972 resultobj
= t_output_helper(resultobj
,o
);
12975 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12976 resultobj
= t_output_helper(resultobj
,o
);
12992 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxDC
*arg1
= (wxDC
*) 0 ;
12995 wxString
*arg2
= 0 ;
12996 int *arg3
= (int *) 0 ;
12997 int *arg4
= (int *) 0 ;
12998 int *arg5
= (int *) 0 ;
12999 int *arg6
= (int *) 0 ;
13000 wxFont
*arg7
= (wxFont
*) NULL
;
13001 bool temp2
= False
;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 PyObject
* obj2
= 0 ;
13009 char *kwnames
[] = {
13010 (char *) "self",(char *) "string",(char *) "font", NULL
13017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13021 arg2
= wxString_in_helper(obj1
);
13022 if (arg2
== NULL
) SWIG_fail
;
13026 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 Py_INCREF(Py_None
); resultobj
= Py_None
;
13038 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13039 resultobj
= t_output_helper(resultobj
,o
);
13042 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13043 resultobj
= t_output_helper(resultobj
,o
);
13046 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13047 resultobj
= t_output_helper(resultobj
,o
);
13050 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13051 resultobj
= t_output_helper(resultobj
,o
);
13067 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
;
13069 wxDC
*arg1
= (wxDC
*) 0 ;
13070 wxString
*arg2
= 0 ;
13071 int *arg3
= (int *) 0 ;
13072 int *arg4
= (int *) 0 ;
13073 int *arg5
= (int *) 0 ;
13074 wxFont
*arg6
= (wxFont
*) NULL
;
13075 bool temp2
= False
;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 PyObject
* obj2
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self",(char *) "text",(char *) "font", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13093 arg2
= wxString_in_helper(obj1
);
13094 if (arg2
== NULL
) SWIG_fail
;
13098 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 Py_INCREF(Py_None
); resultobj
= Py_None
;
13110 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13111 resultobj
= t_output_helper(resultobj
,o
);
13114 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13115 resultobj
= t_output_helper(resultobj
,o
);
13118 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13119 resultobj
= t_output_helper(resultobj
,o
);
13135 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
;
13137 wxDC
*arg1
= (wxDC
*) 0 ;
13138 wxString
*arg2
= 0 ;
13140 bool temp2
= False
;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self",(char *) "text", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13151 arg2
= wxString_in_helper(obj1
);
13152 if (arg2
== NULL
) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= PyList_New(0);
13165 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13166 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13167 PyList_Append(resultobj
, val
);
13185 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxDC
*arg1
= (wxDC
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (arg1
)->GetSize();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 wxSize
* resultptr
;
13206 resultptr
= new wxSize((wxSize
&) result
);
13207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13215 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxDC
*arg1
= (wxDC
*) 0 ;
13218 int *arg2
= (int *) 0 ;
13219 int *arg3
= (int *) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self", NULL
13229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 (arg1
)->GetSize(arg2
,arg3
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 Py_INCREF(Py_None
); resultobj
= Py_None
;
13241 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13242 resultobj
= t_output_helper(resultobj
,o
);
13245 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13246 resultobj
= t_output_helper(resultobj
,o
);
13254 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxDC
*arg1
= (wxDC
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13274 wxSize
* resultptr
;
13275 resultptr
= new wxSize((wxSize
&) result
);
13276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13284 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxDC
*arg1
= (wxDC
*) 0 ;
13287 int *arg2
= (int *) 0 ;
13288 int *arg3
= (int *) 0 ;
13291 PyObject
* obj0
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13308 Py_INCREF(Py_None
); resultobj
= Py_None
;
13310 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13311 resultobj
= t_output_helper(resultobj
,o
);
13314 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13315 resultobj
= t_output_helper(resultobj
,o
);
13323 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxDC
*arg1
= (wxDC
*) 0 ;
13328 PyObject
* obj0
= 0 ;
13329 PyObject
* obj1
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self",(char *) "x", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13337 arg2
= (int) SWIG_AsInt(obj1
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= SWIG_FromInt((int)result
);
13353 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxDC
*arg1
= (wxDC
*) 0 ;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self",(char *) "y", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13367 arg2
= (int) SWIG_AsInt(obj1
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 resultobj
= SWIG_FromInt((int)result
);
13383 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
;
13385 wxDC
*arg1
= (wxDC
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 PyObject
* obj1
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self",(char *) "x", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 arg2
= (int) SWIG_AsInt(obj1
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= SWIG_FromInt((int)result
);
13413 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxDC
*arg1
= (wxDC
*) 0 ;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self",(char *) "y", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13427 arg2
= (int) SWIG_AsInt(obj1
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 resultobj
= SWIG_FromInt((int)result
);
13443 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxDC
*arg1
= (wxDC
*) 0 ;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self",(char *) "x", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13457 arg2
= (int) SWIG_AsInt(obj1
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= SWIG_FromInt((int)result
);
13473 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
;
13475 wxDC
*arg1
= (wxDC
*) 0 ;
13478 PyObject
* obj0
= 0 ;
13479 PyObject
* obj1
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self",(char *) "y", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13487 arg2
= (int) SWIG_AsInt(obj1
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_FromInt((int)result
);
13503 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxDC
*arg1
= (wxDC
*) 0 ;
13508 PyObject
* obj0
= 0 ;
13509 PyObject
* obj1
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self",(char *) "x", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13517 arg2
= (int) SWIG_AsInt(obj1
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= SWIG_FromInt((int)result
);
13533 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
;
13535 wxDC
*arg1
= (wxDC
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 PyObject
* obj1
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self",(char *) "y", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13547 arg2
= (int) SWIG_AsInt(obj1
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= SWIG_FromInt((int)result
);
13563 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxDC
*arg1
= (wxDC
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 char *kwnames
[] = {
13569 (char *) "self", NULL
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13591 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
;
13593 wxDC
*arg1
= (wxDC
*) 0 ;
13595 PyObject
* obj0
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "self", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13619 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxDC
*arg1
= (wxDC
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self", NULL
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= SWIG_FromInt((int)result
);
13645 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
;
13647 wxDC
*arg1
= (wxDC
*) 0 ;
13649 PyObject
* obj0
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= ((wxDC
const *)arg1
)->GetPPI();
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13665 wxSize
* resultptr
;
13666 resultptr
= new wxSize((wxSize
&) result
);
13667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13675 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxDC
*arg1
= (wxDC
*) 0 ;
13679 PyObject
* obj0
= 0 ;
13680 char *kwnames
[] = {
13681 (char *) "self", NULL
13684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13689 result
= (bool)((wxDC
const *)arg1
)->Ok();
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13703 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxDC
*arg1
= (wxDC
*) 0 ;
13707 PyObject
* obj0
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= SWIG_FromInt((int)result
);
13729 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 wxDC
*arg1
= (wxDC
*) 0 ;
13733 PyObject
* obj0
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "self", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13745 result
= (wxBrush
*) &_result_ref
;
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13752 wxBrush
* resultptr
= new wxBrush(*result
);
13753 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13761 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
;
13763 wxDC
*arg1
= (wxDC
*) 0 ;
13765 PyObject
* obj0
= 0 ;
13766 char *kwnames
[] = {
13767 (char *) "self", NULL
13770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13777 result
= (wxBrush
*) &_result_ref
;
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13784 wxBrush
* resultptr
= new wxBrush(*result
);
13785 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13793 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxDC
*arg1
= (wxDC
*) 0 ;
13797 PyObject
* obj0
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13809 result
= (wxFont
*) &_result_ref
;
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13816 wxFont
* resultptr
= new wxFont(*result
);
13817 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13825 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
;
13827 wxDC
*arg1
= (wxDC
*) 0 ;
13829 PyObject
* obj0
= 0 ;
13830 char *kwnames
[] = {
13831 (char *) "self", NULL
13834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13841 result
= (wxPen
*) &_result_ref
;
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13848 wxPen
* resultptr
= new wxPen(*result
);
13849 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13857 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxDC
*arg1
= (wxDC
*) 0 ;
13861 PyObject
* obj0
= 0 ;
13862 char *kwnames
[] = {
13863 (char *) "self", NULL
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13873 result
= (wxColour
*) &_result_ref
;
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13886 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxDC
*arg1
= (wxDC
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13902 result
= (wxColour
*) &_result_ref
;
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13915 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
;
13917 wxDC
*arg1
= (wxDC
*) 0 ;
13918 wxColour
*arg2
= 0 ;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 char *kwnames
[] = {
13923 (char *) "self",(char *) "colour", NULL
13926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13937 wxPyEndAllowThreads(__tstate
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13940 Py_INCREF(Py_None
); resultobj
= Py_None
;
13947 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxDC
*arg1
= (wxDC
*) 0 ;
13950 wxColour
*arg2
= 0 ;
13952 PyObject
* obj0
= 0 ;
13953 PyObject
* obj1
= 0 ;
13954 char *kwnames
[] = {
13955 (char *) "self",(char *) "colour", NULL
13958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13963 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13969 wxPyEndAllowThreads(__tstate
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13972 Py_INCREF(Py_None
); resultobj
= Py_None
;
13979 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13980 PyObject
*resultobj
;
13981 wxDC
*arg1
= (wxDC
*) 0 ;
13983 PyObject
* obj0
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= SWIG_FromInt((int)result
);
14005 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
;
14007 wxDC
*arg1
= (wxDC
*) 0 ;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj1
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self",(char *) "mode", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14018 arg2
= (int) SWIG_AsInt(obj1
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 (arg1
)->SetMapMode(arg2
);
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 Py_INCREF(Py_None
); resultobj
= Py_None
;
14034 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxDC
*arg1
= (wxDC
*) 0 ;
14037 double *arg2
= (double *) 0 ;
14038 double *arg3
= (double *) 0 ;
14041 PyObject
* obj0
= 0 ;
14042 char *kwnames
[] = {
14043 (char *) "self", NULL
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14058 Py_INCREF(Py_None
); resultobj
= Py_None
;
14060 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14061 resultobj
= t_output_helper(resultobj
,o
);
14064 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14065 resultobj
= t_output_helper(resultobj
,o
);
14073 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
;
14075 wxDC
*arg1
= (wxDC
*) 0 ;
14078 PyObject
* obj0
= 0 ;
14079 PyObject
* obj1
= 0 ;
14080 PyObject
* obj2
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self",(char *) "x",(char *) "y", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14088 arg2
= (double) SWIG_AsDouble(obj1
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14090 arg3
= (double) SWIG_AsDouble(obj2
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 (arg1
)->SetUserScale(arg2
,arg3
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 Py_INCREF(Py_None
); resultobj
= Py_None
;
14106 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxDC
*arg1
= (wxDC
*) 0 ;
14109 double *arg2
= (double *) 0 ;
14110 double *arg3
= (double *) 0 ;
14113 PyObject
* obj0
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 (arg1
)->GetLogicalScale(arg2
,arg3
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 Py_INCREF(Py_None
); resultobj
= Py_None
;
14132 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14133 resultobj
= t_output_helper(resultobj
,o
);
14136 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14137 resultobj
= t_output_helper(resultobj
,o
);
14145 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
;
14147 wxDC
*arg1
= (wxDC
*) 0 ;
14150 PyObject
* obj0
= 0 ;
14151 PyObject
* obj1
= 0 ;
14152 PyObject
* obj2
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self",(char *) "x",(char *) "y", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14160 arg2
= (double) SWIG_AsDouble(obj1
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14162 arg3
= (double) SWIG_AsDouble(obj2
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 (arg1
)->SetLogicalScale(arg2
,arg3
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 Py_INCREF(Py_None
); resultobj
= Py_None
;
14178 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxDC
*arg1
= (wxDC
*) 0 ;
14182 PyObject
* obj0
= 0 ;
14183 char *kwnames
[] = {
14184 (char *) "self", NULL
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14198 wxPoint
* resultptr
;
14199 resultptr
= new wxPoint((wxPoint
&) result
);
14200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14208 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxDC
*arg1
= (wxDC
*) 0 ;
14211 int *arg2
= (int *) 0 ;
14212 int *arg3
= (int *) 0 ;
14215 PyObject
* obj0
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14232 Py_INCREF(Py_None
); resultobj
= Py_None
;
14234 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14235 resultobj
= t_output_helper(resultobj
,o
);
14238 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14239 resultobj
= t_output_helper(resultobj
,o
);
14247 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxDC
*arg1
= (wxDC
*) 0 ;
14252 PyObject
* obj0
= 0 ;
14253 PyObject
* obj1
= 0 ;
14254 PyObject
* obj2
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self",(char *) "x",(char *) "y", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14262 arg2
= (int) SWIG_AsInt(obj1
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14264 arg3
= (int) SWIG_AsInt(obj2
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 Py_INCREF(Py_None
); resultobj
= Py_None
;
14280 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
;
14282 wxDC
*arg1
= (wxDC
*) 0 ;
14283 wxPoint
*arg2
= 0 ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self",(char *) "point", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14296 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 Py_INCREF(Py_None
); resultobj
= Py_None
;
14312 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxDC
*arg1
= (wxDC
*) 0 ;
14316 PyObject
* obj0
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14332 wxPoint
* resultptr
;
14333 resultptr
= new wxPoint((wxPoint
&) result
);
14334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14342 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
;
14344 wxDC
*arg1
= (wxDC
*) 0 ;
14345 int *arg2
= (int *) 0 ;
14346 int *arg3
= (int *) 0 ;
14349 PyObject
* obj0
= 0 ;
14350 char *kwnames
[] = {
14351 (char *) "self", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 Py_INCREF(Py_None
); resultobj
= Py_None
;
14368 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14369 resultobj
= t_output_helper(resultobj
,o
);
14372 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14373 resultobj
= t_output_helper(resultobj
,o
);
14381 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14382 PyObject
*resultobj
;
14383 wxDC
*arg1
= (wxDC
*) 0 ;
14386 PyObject
* obj0
= 0 ;
14387 PyObject
* obj1
= 0 ;
14388 PyObject
* obj2
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self",(char *) "x",(char *) "y", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14396 arg2
= (int) SWIG_AsInt(obj1
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14398 arg3
= (int) SWIG_AsInt(obj2
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 Py_INCREF(Py_None
); resultobj
= Py_None
;
14414 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxDC
*arg1
= (wxDC
*) 0 ;
14417 wxPoint
*arg2
= 0 ;
14419 PyObject
* obj0
= 0 ;
14420 PyObject
* obj1
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self",(char *) "point", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 Py_INCREF(Py_None
); resultobj
= Py_None
;
14446 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxDC
*arg1
= (wxDC
*) 0 ;
14451 PyObject
* obj0
= 0 ;
14452 PyObject
* obj1
= 0 ;
14453 PyObject
* obj2
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14461 arg2
= (bool) SWIG_AsBool(obj1
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14463 arg3
= (bool) SWIG_AsBool(obj2
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 Py_INCREF(Py_None
); resultobj
= Py_None
;
14479 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxDC
*arg1
= (wxDC
*) 0 ;
14483 PyObject
* obj0
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "self", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= SWIG_FromInt((int)result
);
14505 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14506 PyObject
*resultobj
;
14507 wxDC
*arg1
= (wxDC
*) 0 ;
14509 PyObject
* obj0
= 0 ;
14510 PyObject
* obj1
= 0 ;
14511 char *kwnames
[] = {
14512 (char *) "self",(char *) "function", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14518 arg2
= (int) SWIG_AsInt(obj1
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 (arg1
)->SetLogicalFunction(arg2
);
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14527 Py_INCREF(Py_None
); resultobj
= Py_None
;
14534 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
;
14536 wxDC
*arg1
= (wxDC
*) 0 ;
14538 PyObject
* obj0
= 0 ;
14539 PyObject
* obj1
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self",(char *) "opt", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14547 arg2
= (bool) SWIG_AsBool(obj1
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 (arg1
)->SetOptimization(arg2
);
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 Py_INCREF(Py_None
); resultobj
= Py_None
;
14563 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxDC
*arg1
= (wxDC
*) 0 ;
14567 PyObject
* obj0
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "self", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (bool)(arg1
)->GetOptimization();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14591 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxDC
*arg1
= (wxDC
*) 0 ;
14596 PyObject
* obj0
= 0 ;
14597 PyObject
* obj1
= 0 ;
14598 PyObject
* obj2
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "self",(char *) "x",(char *) "y", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14606 arg2
= (int) SWIG_AsInt(obj1
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14608 arg3
= (int) SWIG_AsInt(obj2
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14617 Py_INCREF(Py_None
); resultobj
= Py_None
;
14624 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
;
14626 wxDC
*arg1
= (wxDC
*) 0 ;
14627 wxPoint
*arg2
= 0 ;
14629 PyObject
* obj0
= 0 ;
14630 PyObject
* obj1
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self",(char *) "point", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 Py_INCREF(Py_None
); resultobj
= Py_None
;
14656 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxDC
*arg1
= (wxDC
*) 0 ;
14659 PyObject
* obj0
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 (arg1
)->ResetBoundingBox();
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14674 Py_INCREF(Py_None
); resultobj
= Py_None
;
14681 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14682 PyObject
*resultobj
;
14683 wxDC
*arg1
= (wxDC
*) 0 ;
14685 PyObject
* obj0
= 0 ;
14686 char *kwnames
[] = {
14687 (char *) "self", NULL
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 result
= (int)((wxDC
const *)arg1
)->MinX();
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 resultobj
= SWIG_FromInt((int)result
);
14707 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxDC
*arg1
= (wxDC
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (int)((wxDC
const *)arg1
)->MaxX();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= SWIG_FromInt((int)result
);
14733 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxDC
*arg1
= (wxDC
*) 0 ;
14737 PyObject
* obj0
= 0 ;
14738 char *kwnames
[] = {
14739 (char *) "self", NULL
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (int)((wxDC
const *)arg1
)->MinY();
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= SWIG_FromInt((int)result
);
14759 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxDC
*arg1
= (wxDC
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 result
= (int)((wxDC
const *)arg1
)->MaxY();
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= SWIG_FromInt((int)result
);
14785 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14786 PyObject
*resultobj
;
14787 wxDC
*arg1
= (wxDC
*) 0 ;
14788 int *arg2
= (int *) 0 ;
14789 int *arg3
= (int *) 0 ;
14790 int *arg4
= (int *) 0 ;
14791 int *arg5
= (int *) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14818 resultobj
= t_output_helper(resultobj
,o
);
14821 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14822 resultobj
= t_output_helper(resultobj
,o
);
14825 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14826 resultobj
= t_output_helper(resultobj
,o
);
14829 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14830 resultobj
= t_output_helper(resultobj
,o
);
14838 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxDC
*arg1
= (wxDC
*) 0 ;
14841 PyObject
*arg2
= (PyObject
*) 0 ;
14842 PyObject
*arg3
= (PyObject
*) 0 ;
14843 PyObject
*arg4
= (PyObject
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 PyObject
* obj1
= 0 ;
14847 PyObject
* obj2
= 0 ;
14848 PyObject
* obj3
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= result
;
14873 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxDC
*arg1
= (wxDC
*) 0 ;
14876 PyObject
*arg2
= (PyObject
*) 0 ;
14877 PyObject
*arg3
= (PyObject
*) 0 ;
14878 PyObject
*arg4
= (PyObject
*) 0 ;
14880 PyObject
* obj0
= 0 ;
14881 PyObject
* obj1
= 0 ;
14882 PyObject
* obj2
= 0 ;
14883 PyObject
* obj3
= 0 ;
14884 char *kwnames
[] = {
14885 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= result
;
14908 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxDC
*arg1
= (wxDC
*) 0 ;
14911 PyObject
*arg2
= (PyObject
*) 0 ;
14912 PyObject
*arg3
= (PyObject
*) 0 ;
14913 PyObject
*arg4
= (PyObject
*) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 PyObject
* obj2
= 0 ;
14918 PyObject
* obj3
= 0 ;
14919 char *kwnames
[] = {
14920 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= result
;
14943 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxDC
*arg1
= (wxDC
*) 0 ;
14946 PyObject
*arg2
= (PyObject
*) 0 ;
14947 PyObject
*arg3
= (PyObject
*) 0 ;
14948 PyObject
*arg4
= (PyObject
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 PyObject
* obj1
= 0 ;
14952 PyObject
* obj2
= 0 ;
14953 PyObject
* obj3
= 0 ;
14954 char *kwnames
[] = {
14955 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= result
;
14978 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxDC
*arg1
= (wxDC
*) 0 ;
14981 PyObject
*arg2
= (PyObject
*) 0 ;
14982 PyObject
*arg3
= (PyObject
*) 0 ;
14983 PyObject
*arg4
= (PyObject
*) 0 ;
14985 PyObject
* obj0
= 0 ;
14986 PyObject
* obj1
= 0 ;
14987 PyObject
* obj2
= 0 ;
14988 PyObject
* obj3
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= result
;
15013 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxDC
*arg1
= (wxDC
*) 0 ;
15016 PyObject
*arg2
= (PyObject
*) 0 ;
15017 PyObject
*arg3
= (PyObject
*) 0 ;
15018 PyObject
*arg4
= (PyObject
*) 0 ;
15019 PyObject
*arg5
= (PyObject
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 PyObject
* obj2
= 0 ;
15024 PyObject
* obj3
= 0 ;
15025 PyObject
* obj4
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= result
;
15051 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15054 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15056 return Py_BuildValue((char *)"");
15058 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxMemoryDC
*result
;
15061 char *kwnames
[] = {
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15067 if (!wxPyCheckForApp()) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 result
= (wxMemoryDC
*)new wxMemoryDC();
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15081 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxDC
*arg1
= (wxDC
*) 0 ;
15084 wxMemoryDC
*result
;
15085 PyObject
* obj0
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "oldDC", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15094 if (!wxPyCheckForApp()) SWIG_fail
;
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15108 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
;
15110 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15111 wxBitmap
*arg2
= 0 ;
15112 PyObject
* obj0
= 0 ;
15113 PyObject
* obj1
= 0 ;
15114 char *kwnames
[] = {
15115 (char *) "self",(char *) "bitmap", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15124 if (arg2
== NULL
) {
15125 PyErr_SetString(PyExc_TypeError
,"null reference");
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 Py_INCREF(Py_None
); resultobj
= Py_None
;
15142 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15145 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15147 return Py_BuildValue((char *)"");
15149 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15150 PyObject
*resultobj
;
15151 wxDC
*arg1
= (wxDC
*) 0 ;
15152 wxBitmap
*arg2
= 0 ;
15153 wxBufferedDC
*result
;
15154 PyObject
* obj0
= 0 ;
15155 PyObject
* obj1
= 0 ;
15157 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15163 if (arg2
== NULL
) {
15164 PyErr_SetString(PyExc_TypeError
,"null reference");
15168 if (!wxPyCheckForApp()) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15182 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15183 PyObject
*resultobj
;
15184 wxDC
*arg1
= (wxDC
*) 0 ;
15186 wxBufferedDC
*result
;
15188 PyObject
* obj0
= 0 ;
15189 PyObject
* obj1
= 0 ;
15191 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15196 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15199 if (!wxPyCheckForApp()) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15213 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15218 argc
= PyObject_Length(args
);
15219 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15220 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15226 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15236 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15244 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15252 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15261 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15264 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15269 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15274 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15275 PyObject
*resultobj
;
15276 wxDC
*arg1
= (wxDC
*) 0 ;
15278 wxBufferedDC
*result
;
15280 PyObject
* obj0
= 0 ;
15281 PyObject
* obj1
= 0 ;
15283 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15288 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15291 if (!wxPyCheckForApp()) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15305 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 Py_INCREF(Py_None
); resultobj
= Py_None
;
15330 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
;
15332 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15333 PyObject
* obj0
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 Py_INCREF(Py_None
); resultobj
= Py_None
;
15355 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15358 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15360 return Py_BuildValue((char *)"");
15362 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxWindow
*arg1
= (wxWindow
*) 0 ;
15365 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15366 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15367 wxBufferedPaintDC
*result
;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "window",(char *) "buffer", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15379 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15381 if (arg2
== NULL
) {
15382 PyErr_SetString(PyExc_TypeError
,"null reference");
15387 if (!wxPyCheckForApp()) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15401 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15404 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15406 return Py_BuildValue((char *)"");
15408 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
;
15410 wxScreenDC
*result
;
15411 char *kwnames
[] = {
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15417 if (!wxPyCheckForApp()) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (wxScreenDC
*)new wxScreenDC();
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15431 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15434 wxWindow
*arg2
= (wxWindow
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 PyObject
* obj1
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "self",(char *) "window", NULL
15442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15463 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
;
15465 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15466 wxRect
*arg2
= (wxRect
*) NULL
;
15468 PyObject
* obj0
= 0 ;
15469 PyObject
* obj1
= 0 ;
15470 char *kwnames
[] = {
15471 (char *) "self",(char *) "rect", NULL
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15497 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 result
= (bool)(arg1
)->EndDrawingOnTop();
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15525 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15528 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15530 return Py_BuildValue((char *)"");
15532 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
;
15534 wxWindow
*arg1
= (wxWindow
*) 0 ;
15535 wxClientDC
*result
;
15536 PyObject
* obj0
= 0 ;
15537 char *kwnames
[] = {
15538 (char *) "win", NULL
15541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15545 if (!wxPyCheckForApp()) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (wxClientDC
*)new wxClientDC(arg1
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15559 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15562 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15564 return Py_BuildValue((char *)"");
15566 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxWindow
*arg1
= (wxWindow
*) 0 ;
15570 PyObject
* obj0
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "win", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15579 if (!wxPyCheckForApp()) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15593 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15596 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15598 return Py_BuildValue((char *)"");
15600 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxWindow
*arg1
= (wxWindow
*) 0 ;
15603 wxWindowDC
*result
;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "win", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 if (!wxPyCheckForApp()) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15627 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15630 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15632 return Py_BuildValue((char *)"");
15634 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
;
15638 wxMirrorDC
*result
;
15639 PyObject
* obj0
= 0 ;
15640 PyObject
* obj1
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "dc",(char *) "mirror", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15649 if (arg1
== NULL
) {
15650 PyErr_SetString(PyExc_TypeError
,"null reference");
15653 arg2
= (bool) SWIG_AsBool(obj1
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15656 if (!wxPyCheckForApp()) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15670 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15673 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15675 return Py_BuildValue((char *)"");
15677 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxPrintData
*arg1
= 0 ;
15680 wxPostScriptDC
*result
;
15681 PyObject
* obj0
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "printData", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15690 if (arg1
== NULL
) {
15691 PyErr_SetString(PyExc_TypeError
,"null reference");
15695 if (!wxPyCheckForApp()) SWIG_fail
;
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15709 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15710 PyObject
*resultobj
;
15711 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15712 wxPrintData
*result
;
15713 PyObject
* obj0
= 0 ;
15714 char *kwnames
[] = {
15715 (char *) "self", NULL
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15725 result
= (wxPrintData
*) &_result_ref
;
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15738 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15739 PyObject
*resultobj
;
15740 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15741 wxPrintData
*arg2
= 0 ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self",(char *) "data", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15754 if (arg2
== NULL
) {
15755 PyErr_SetString(PyExc_TypeError
,"null reference");
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 Py_INCREF(Py_None
); resultobj
= Py_None
;
15772 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
;
15775 PyObject
* obj0
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "ppi", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15781 arg1
= (int) SWIG_AsInt(obj0
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 wxPostScriptDC::SetResolution(arg1
);
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 Py_INCREF(Py_None
); resultobj
= Py_None
;
15797 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
;
15800 char *kwnames
[] = {
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 result
= (int)wxPostScriptDC::GetResolution();
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15812 resultobj
= SWIG_FromInt((int)result
);
15819 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15822 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15824 return Py_BuildValue((char *)"");
15826 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15829 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15830 wxMetaFile
*result
;
15831 bool temp1
= False
;
15832 PyObject
* obj0
= 0 ;
15833 char *kwnames
[] = {
15834 (char *) "filename", NULL
15837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15840 arg1
= wxString_in_helper(obj0
);
15841 if (arg1
== NULL
) SWIG_fail
;
15846 if (!wxPyCheckForApp()) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15868 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15871 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15873 return Py_BuildValue((char *)"");
15875 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15878 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15879 int arg2
= (int) 0 ;
15880 int arg3
= (int) 0 ;
15881 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15882 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15883 wxMetaFileDC
*result
;
15884 bool temp1
= False
;
15885 bool temp4
= False
;
15886 PyObject
* obj0
= 0 ;
15887 PyObject
* obj1
= 0 ;
15888 PyObject
* obj2
= 0 ;
15889 PyObject
* obj3
= 0 ;
15890 char *kwnames
[] = {
15891 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15897 arg1
= wxString_in_helper(obj0
);
15898 if (arg1
== NULL
) SWIG_fail
;
15903 arg2
= (int) SWIG_AsInt(obj1
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15907 arg3
= (int) SWIG_AsInt(obj2
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15912 arg4
= wxString_in_helper(obj3
);
15913 if (arg4
== NULL
) SWIG_fail
;
15918 if (!wxPyCheckForApp()) SWIG_fail
;
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15922 wxPyEndAllowThreads(__tstate
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15948 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15951 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15953 return Py_BuildValue((char *)"");
15955 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxPrintData
*arg1
= 0 ;
15958 wxPrinterDC
*result
;
15959 PyObject
* obj0
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "printData", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15968 if (arg1
== NULL
) {
15969 PyErr_SetString(PyExc_TypeError
,"null reference");
15973 if (!wxPyCheckForApp()) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15987 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15990 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15992 return Py_BuildValue((char *)"");
15994 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
;
15998 int arg3
= (int) True
;
15999 int arg4
= (int) 1 ;
16000 wxImageList
*result
;
16001 PyObject
* obj0
= 0 ;
16002 PyObject
* obj1
= 0 ;
16003 PyObject
* obj2
= 0 ;
16004 PyObject
* obj3
= 0 ;
16005 char *kwnames
[] = {
16006 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16010 arg1
= (int) SWIG_AsInt(obj0
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16012 arg2
= (int) SWIG_AsInt(obj1
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 arg3
= (int) SWIG_AsInt(obj2
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16019 arg4
= (int) SWIG_AsInt(obj3
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16023 if (!wxPyCheckForApp()) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16031 resultobj
= wxPyMake_wxObject(result
);
16039 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
;
16041 wxImageList
*arg1
= (wxImageList
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 Py_INCREF(Py_None
); resultobj
= Py_None
;
16064 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxImageList
*arg1
= (wxImageList
*) 0 ;
16067 wxBitmap
*arg2
= 0 ;
16068 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16069 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16071 PyObject
* obj0
= 0 ;
16072 PyObject
* obj1
= 0 ;
16073 PyObject
* obj2
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16084 if (arg2
== NULL
) {
16085 PyErr_SetString(PyExc_TypeError
,"null reference");
16089 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16092 if (arg3
== NULL
) {
16093 PyErr_SetString(PyExc_TypeError
,"null reference");
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= SWIG_FromInt((int)result
);
16111 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
;
16113 wxImageList
*arg1
= (wxImageList
*) 0 ;
16114 wxBitmap
*arg2
= 0 ;
16115 wxColour
*arg3
= 0 ;
16118 PyObject
* obj0
= 0 ;
16119 PyObject
* obj1
= 0 ;
16120 PyObject
* obj2
= 0 ;
16121 char *kwnames
[] = {
16122 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16131 if (arg2
== NULL
) {
16132 PyErr_SetString(PyExc_TypeError
,"null reference");
16137 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= SWIG_FromInt((int)result
);
16153 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxImageList
*arg1
= (wxImageList
*) 0 ;
16158 PyObject
* obj0
= 0 ;
16159 PyObject
* obj1
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self",(char *) "icon", NULL
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16170 if (arg2
== NULL
) {
16171 PyErr_SetString(PyExc_TypeError
,"null reference");
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= SWIG_FromInt((int)result
);
16188 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxImageList
*arg1
= (wxImageList
*) 0 ;
16192 wxBitmap
*arg3
= 0 ;
16194 PyObject
* obj0
= 0 ;
16195 PyObject
* obj1
= 0 ;
16196 PyObject
* obj2
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16204 arg2
= (int) SWIG_AsInt(obj1
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16206 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16209 if (arg3
== NULL
) {
16210 PyErr_SetString(PyExc_TypeError
,"null reference");
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16229 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxImageList
*arg1
= (wxImageList
*) 0 ;
16236 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16237 bool arg7
= (bool) (bool)False
;
16239 PyObject
* obj0
= 0 ;
16240 PyObject
* obj1
= 0 ;
16241 PyObject
* obj2
= 0 ;
16242 PyObject
* obj3
= 0 ;
16243 PyObject
* obj4
= 0 ;
16244 PyObject
* obj5
= 0 ;
16245 PyObject
* obj6
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16253 arg2
= (int) SWIG_AsInt(obj1
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16255 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16258 if (arg3
== NULL
) {
16259 PyErr_SetString(PyExc_TypeError
,"null reference");
16262 arg4
= (int) SWIG_AsInt(obj3
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16264 arg5
= (int) SWIG_AsInt(obj4
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 arg6
= (int) SWIG_AsInt(obj5
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16271 arg7
= (bool const) SWIG_AsBool(obj6
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16290 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxImageList
*arg1
= (wxImageList
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 result
= (int)(arg1
)->GetImageCount();
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= SWIG_FromInt((int)result
);
16316 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxImageList
*arg1
= (wxImageList
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 PyObject
* obj1
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "self",(char *) "index", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16330 arg2
= (int) SWIG_AsInt(obj1
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 result
= (bool)(arg1
)->Remove(arg2
);
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16348 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxImageList
*arg1
= (wxImageList
*) 0 ;
16352 PyObject
* obj0
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "self", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 result
= (bool)(arg1
)->RemoveAll();
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16376 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
;
16378 wxImageList
*arg1
= (wxImageList
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self",(char *) "index", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16395 arg2
= (int) SWIG_AsInt(obj1
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16404 Py_INCREF(Py_None
); resultobj
= Py_None
;
16406 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16407 resultobj
= t_output_helper(resultobj
,o
);
16410 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16411 resultobj
= t_output_helper(resultobj
,o
);
16419 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16422 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16424 return Py_BuildValue((char *)"");
16426 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16427 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16432 static PyObject
*_wrap_NORMAL_FONT_get() {
16435 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16440 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16441 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16446 static PyObject
*_wrap_SMALL_FONT_get() {
16449 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16454 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16455 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16460 static PyObject
*_wrap_ITALIC_FONT_get() {
16463 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16468 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16469 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16474 static PyObject
*_wrap_SWISS_FONT_get() {
16477 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16482 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16483 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16488 static PyObject
*_wrap_RED_PEN_get() {
16491 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16496 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16497 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16502 static PyObject
*_wrap_CYAN_PEN_get() {
16505 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16510 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16511 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16516 static PyObject
*_wrap_GREEN_PEN_get() {
16519 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16524 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16525 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16530 static PyObject
*_wrap_BLACK_PEN_get() {
16533 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16538 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16539 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16544 static PyObject
*_wrap_WHITE_PEN_get() {
16547 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16552 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16553 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16558 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16561 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16566 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16567 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16572 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16575 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16580 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16581 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16586 static PyObject
*_wrap_GREY_PEN_get() {
16589 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16594 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16595 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16600 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16603 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16608 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16609 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16614 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16617 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16622 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16623 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16628 static PyObject
*_wrap_BLUE_BRUSH_get() {
16631 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16636 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16637 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16642 static PyObject
*_wrap_GREEN_BRUSH_get() {
16645 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16650 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16651 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16656 static PyObject
*_wrap_WHITE_BRUSH_get() {
16659 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16664 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16665 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16670 static PyObject
*_wrap_BLACK_BRUSH_get() {
16673 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16678 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16679 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16684 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16687 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16692 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16693 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16698 static PyObject
*_wrap_CYAN_BRUSH_get() {
16701 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16706 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16707 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16712 static PyObject
*_wrap_RED_BRUSH_get() {
16715 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16720 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16721 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16726 static PyObject
*_wrap_GREY_BRUSH_get() {
16729 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16734 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16735 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16740 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16743 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16748 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16749 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16754 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16757 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16762 static int _wrap_BLACK_set(PyObject
*_val
) {
16763 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16768 static PyObject
*_wrap_BLACK_get() {
16771 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16776 static int _wrap_WHITE_set(PyObject
*_val
) {
16777 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16782 static PyObject
*_wrap_WHITE_get() {
16785 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16790 static int _wrap_RED_set(PyObject
*_val
) {
16791 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16796 static PyObject
*_wrap_RED_get() {
16799 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16804 static int _wrap_BLUE_set(PyObject
*_val
) {
16805 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16810 static PyObject
*_wrap_BLUE_get() {
16813 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16818 static int _wrap_GREEN_set(PyObject
*_val
) {
16819 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16824 static PyObject
*_wrap_GREEN_get() {
16827 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16832 static int _wrap_CYAN_set(PyObject
*_val
) {
16833 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16838 static PyObject
*_wrap_CYAN_get() {
16841 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16846 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16847 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16852 static PyObject
*_wrap_LIGHT_GREY_get() {
16855 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16860 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16861 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16866 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16869 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16874 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16875 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16880 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16883 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16888 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16889 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16894 static PyObject
*_wrap_CROSS_CURSOR_get() {
16897 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16902 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16903 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16908 static PyObject
*_wrap_NullBitmap_get() {
16911 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16916 static int _wrap_NullIcon_set(PyObject
*_val
) {
16917 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16922 static PyObject
*_wrap_NullIcon_get() {
16925 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16930 static int _wrap_NullCursor_set(PyObject
*_val
) {
16931 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16936 static PyObject
*_wrap_NullCursor_get() {
16939 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16944 static int _wrap_NullPen_set(PyObject
*_val
) {
16945 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16950 static PyObject
*_wrap_NullPen_get() {
16953 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16958 static int _wrap_NullBrush_set(PyObject
*_val
) {
16959 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16964 static PyObject
*_wrap_NullBrush_get() {
16967 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16972 static int _wrap_NullPalette_set(PyObject
*_val
) {
16973 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16978 static PyObject
*_wrap_NullPalette_get() {
16981 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16986 static int _wrap_NullFont_set(PyObject
*_val
) {
16987 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16992 static PyObject
*_wrap_NullFont_get() {
16995 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17000 static int _wrap_NullColour_set(PyObject
*_val
) {
17001 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17006 static PyObject
*_wrap_NullColour_get() {
17009 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17014 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxPenList
*arg1
= (wxPenList
*) 0 ;
17017 wxPen
*arg2
= (wxPen
*) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 PyObject
* obj1
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "self",(char *) "pen", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 (arg1
)->AddPen(arg2
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 Py_INCREF(Py_None
); resultobj
= Py_None
;
17043 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxPenList
*arg1
= (wxPenList
*) 0 ;
17046 wxColour
*arg2
= 0 ;
17051 PyObject
* obj0
= 0 ;
17052 PyObject
* obj1
= 0 ;
17053 PyObject
* obj2
= 0 ;
17054 PyObject
* obj3
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17064 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17066 arg3
= (int) SWIG_AsInt(obj2
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17068 arg4
= (int) SWIG_AsInt(obj3
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17084 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxPenList
*arg1
= (wxPenList
*) 0 ;
17087 wxPen
*arg2
= (wxPen
*) 0 ;
17088 PyObject
* obj0
= 0 ;
17089 PyObject
* obj1
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self",(char *) "pen", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 (arg1
)->RemovePen(arg2
);
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 Py_INCREF(Py_None
); resultobj
= Py_None
;
17113 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
;
17115 wxPenList
*arg1
= (wxPenList
*) 0 ;
17117 PyObject
* obj0
= 0 ;
17118 char *kwnames
[] = {
17119 (char *) "self", NULL
17122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= (int)(arg1
)->GetCount();
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= SWIG_FromInt((int)result
);
17139 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17142 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17144 return Py_BuildValue((char *)"");
17146 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17149 wxBrush
*arg2
= (wxBrush
*) 0 ;
17150 PyObject
* obj0
= 0 ;
17151 PyObject
* obj1
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "self",(char *) "brush", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 (arg1
)->AddBrush(arg2
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 Py_INCREF(Py_None
); resultobj
= Py_None
;
17175 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
;
17177 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17178 wxColour
*arg2
= 0 ;
17182 PyObject
* obj0
= 0 ;
17183 PyObject
* obj1
= 0 ;
17184 PyObject
* obj2
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self",(char *) "colour",(char *) "style", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17194 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17196 arg3
= (int) SWIG_AsInt(obj2
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17212 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17214 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17215 wxBrush
*arg2
= (wxBrush
*) 0 ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self",(char *) "brush", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 (arg1
)->RemoveBrush(arg2
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 Py_INCREF(Py_None
); resultobj
= Py_None
;
17241 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
;
17243 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17245 PyObject
* obj0
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "self", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (int)(arg1
)->GetCount();
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= SWIG_FromInt((int)result
);
17267 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17270 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17272 return Py_BuildValue((char *)"");
17274 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
;
17276 wxColourDatabase
*result
;
17277 char *kwnames
[] = {
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17283 if (!wxPyCheckForApp()) SWIG_fail
;
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17285 result
= (wxColourDatabase
*)new wxColourDatabase();
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17297 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17300 PyObject
* obj0
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 Py_INCREF(Py_None
); resultobj
= Py_None
;
17322 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17324 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17325 wxString
*arg2
= 0 ;
17327 bool temp2
= False
;
17328 PyObject
* obj0
= 0 ;
17329 PyObject
* obj1
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self",(char *) "name", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 arg2
= wxString_in_helper(obj1
);
17339 if (arg2
== NULL
) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17350 wxColour
* resultptr
;
17351 resultptr
= new wxColour((wxColour
&) result
);
17352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17368 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
;
17370 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17371 wxColour
*arg2
= 0 ;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self",(char *) "colour", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17385 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17407 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17408 PyObject
*resultobj
;
17409 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17410 wxString
*arg2
= 0 ;
17411 wxColour
*arg3
= 0 ;
17412 bool temp2
= False
;
17414 PyObject
* obj0
= 0 ;
17415 PyObject
* obj1
= 0 ;
17416 PyObject
* obj2
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self",(char *) "name",(char *) "colour", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17425 arg2
= wxString_in_helper(obj1
);
17426 if (arg2
== NULL
) SWIG_fail
;
17431 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 Py_INCREF(Py_None
); resultobj
= Py_None
;
17455 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17457 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17458 wxString
*arg2
= 0 ;
17462 bool temp2
= False
;
17463 PyObject
* obj0
= 0 ;
17464 PyObject
* obj1
= 0 ;
17465 PyObject
* obj2
= 0 ;
17466 PyObject
* obj3
= 0 ;
17467 PyObject
* obj4
= 0 ;
17468 char *kwnames
[] = {
17469 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17476 arg2
= wxString_in_helper(obj1
);
17477 if (arg2
== NULL
) SWIG_fail
;
17480 arg3
= (int) SWIG_AsInt(obj2
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17482 arg4
= (int) SWIG_AsInt(obj3
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17484 arg5
= (int) SWIG_AsInt(obj4
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 Py_INCREF(Py_None
); resultobj
= Py_None
;
17508 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17511 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17513 return Py_BuildValue((char *)"");
17515 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxFontList
*arg1
= (wxFontList
*) 0 ;
17518 wxFont
*arg2
= (wxFont
*) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self",(char *) "font", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 (arg1
)->AddFont(arg2
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 Py_INCREF(Py_None
); resultobj
= Py_None
;
17544 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxFontList
*arg1
= (wxFontList
*) 0 ;
17551 bool arg6
= (bool) False
;
17552 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17553 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17554 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17556 bool temp7
= False
;
17557 PyObject
* obj0
= 0 ;
17558 PyObject
* obj1
= 0 ;
17559 PyObject
* obj2
= 0 ;
17560 PyObject
* obj3
= 0 ;
17561 PyObject
* obj4
= 0 ;
17562 PyObject
* obj5
= 0 ;
17563 PyObject
* obj6
= 0 ;
17564 PyObject
* obj7
= 0 ;
17565 char *kwnames
[] = {
17566 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17572 arg2
= (int) SWIG_AsInt(obj1
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17574 arg3
= (int) SWIG_AsInt(obj2
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17576 arg4
= (int) SWIG_AsInt(obj3
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17578 arg5
= (int) SWIG_AsInt(obj4
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 arg6
= (bool) SWIG_AsBool(obj5
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17586 arg7
= wxString_in_helper(obj6
);
17587 if (arg7
== NULL
) SWIG_fail
;
17592 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17617 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxFontList
*arg1
= (wxFontList
*) 0 ;
17620 wxFont
*arg2
= (wxFont
*) 0 ;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self",(char *) "font", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 (arg1
)->RemoveFont(arg2
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 Py_INCREF(Py_None
); resultobj
= Py_None
;
17646 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
;
17648 wxFontList
*arg1
= (wxFontList
*) 0 ;
17650 PyObject
* obj0
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 result
= (int)(arg1
)->GetCount();
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= SWIG_FromInt((int)result
);
17672 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17675 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17677 return Py_BuildValue((char *)"");
17679 static int _wrap_TheFontList_set(PyObject
*_val
) {
17680 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17685 static PyObject
*_wrap_TheFontList_get() {
17688 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17693 static int _wrap_ThePenList_set(PyObject
*_val
) {
17694 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17699 static PyObject
*_wrap_ThePenList_get() {
17702 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17707 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17708 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17713 static PyObject
*_wrap_TheBrushList_get() {
17716 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17721 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17722 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17727 static PyObject
*_wrap_TheColourDatabase_get() {
17730 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17735 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17738 char *kwnames
[] = {
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (wxEffects
*)new wxEffects();
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17757 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17759 wxEffects
*arg1
= (wxEffects
*) 0 ;
17761 PyObject
* obj0
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17777 wxColour
* resultptr
;
17778 resultptr
= new wxColour((wxColour
&) result
);
17779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17787 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxEffects
*arg1
= (wxEffects
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17807 wxColour
* resultptr
;
17808 resultptr
= new wxColour((wxColour
&) result
);
17809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17817 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17818 PyObject
*resultobj
;
17819 wxEffects
*arg1
= (wxEffects
*) 0 ;
17821 PyObject
* obj0
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "self", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 wxColour
* resultptr
;
17838 resultptr
= new wxColour((wxColour
&) result
);
17839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17847 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxEffects
*arg1
= (wxEffects
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 wxColour
* resultptr
;
17868 resultptr
= new wxColour((wxColour
&) result
);
17869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17877 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxEffects
*arg1
= (wxEffects
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17897 wxColour
* resultptr
;
17898 resultptr
= new wxColour((wxColour
&) result
);
17899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17907 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxEffects
*arg1
= (wxEffects
*) 0 ;
17910 wxColour
*arg2
= 0 ;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self",(char *) "c", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17923 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17932 Py_INCREF(Py_None
); resultobj
= Py_None
;
17939 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxEffects
*arg1
= (wxEffects
*) 0 ;
17942 wxColour
*arg2
= 0 ;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self",(char *) "c", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17955 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 Py_INCREF(Py_None
); resultobj
= Py_None
;
17971 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
;
17973 wxEffects
*arg1
= (wxEffects
*) 0 ;
17974 wxColour
*arg2
= 0 ;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self",(char *) "c", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17987 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 Py_INCREF(Py_None
); resultobj
= Py_None
;
18003 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxEffects
*arg1
= (wxEffects
*) 0 ;
18006 wxColour
*arg2
= 0 ;
18008 PyObject
* obj0
= 0 ;
18009 PyObject
* obj1
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self",(char *) "c", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18019 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18035 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxEffects
*arg1
= (wxEffects
*) 0 ;
18038 wxColour
*arg2
= 0 ;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self",(char *) "c", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18051 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 Py_INCREF(Py_None
); resultobj
= Py_None
;
18067 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxEffects
*arg1
= (wxEffects
*) 0 ;
18070 wxColour
*arg2
= 0 ;
18071 wxColour
*arg3
= 0 ;
18072 wxColour
*arg4
= 0 ;
18073 wxColour
*arg5
= 0 ;
18074 wxColour
*arg6
= 0 ;
18080 PyObject
* obj0
= 0 ;
18081 PyObject
* obj1
= 0 ;
18082 PyObject
* obj2
= 0 ;
18083 PyObject
* obj3
= 0 ;
18084 PyObject
* obj4
= 0 ;
18085 PyObject
* obj5
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18099 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18103 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18107 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18111 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 Py_INCREF(Py_None
); resultobj
= Py_None
;
18127 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxEffects
*arg1
= (wxEffects
*) 0 ;
18132 int arg4
= (int) 1 ;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18136 PyObject
* obj2
= 0 ;
18137 PyObject
* obj3
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18148 if (arg2
== NULL
) {
18149 PyErr_SetString(PyExc_TypeError
,"null reference");
18154 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18157 arg4
= (int) SWIG_AsInt(obj3
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 Py_INCREF(Py_None
); resultobj
= Py_None
;
18174 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxEffects
*arg1
= (wxEffects
*) 0 ;
18179 wxBitmap
*arg4
= 0 ;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 PyObject
* obj2
= 0 ;
18185 PyObject
* obj3
= 0 ;
18186 char *kwnames
[] = {
18187 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18195 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18197 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18200 if (arg3
== NULL
) {
18201 PyErr_SetString(PyExc_TypeError
,"null reference");
18204 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18207 if (arg4
== NULL
) {
18208 PyErr_SetString(PyExc_TypeError
,"null reference");
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18227 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18230 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18232 return Py_BuildValue((char *)"");
18234 static PyMethodDef SwigMethods
[] = {
18235 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18236 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18237 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18238 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18239 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18240 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18241 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18242 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18243 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18244 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18245 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18246 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18247 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18248 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18249 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18250 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18251 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18252 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18253 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18254 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18255 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18256 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18257 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18258 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18259 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18260 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18261 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18262 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18263 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18264 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18265 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18266 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18267 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18268 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18269 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18270 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18272 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18273 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18274 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18275 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18276 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18282 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18283 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18284 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18285 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18287 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18288 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18289 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18290 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18292 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18293 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18294 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18295 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18296 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18297 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18298 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18299 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18302 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18305 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18307 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18311 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18313 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18315 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18316 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18321 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18322 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18323 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18324 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18329 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18339 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18347 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18348 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18353 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18355 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18356 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18358 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18361 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18366 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18371 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18387 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18390 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18404 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18428 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18429 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18437 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18457 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18494 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18502 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18509 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18531 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18533 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18541 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18659 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18670 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18674 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18675 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18676 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18679 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18681 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18686 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18688 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18690 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18691 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18692 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18693 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18694 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18698 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18699 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18700 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18701 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18702 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18703 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18704 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18705 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18706 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18708 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18710 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18712 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18714 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18718 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18719 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18723 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18724 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18728 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18730 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18732 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18735 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18737 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18740 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18751 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18759 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18761 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18762 return (void *)((wxWindow
*) ((wxControl
*) x
));
18764 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18765 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18767 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18768 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18770 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18771 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18773 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18774 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18776 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18777 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18779 static void *_p_wxPenTo_p_wxObject(void *x
) {
18780 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18782 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18783 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18785 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18786 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18788 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18789 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18791 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18792 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18794 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18797 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18798 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18800 static void *_p_wxIconTo_p_wxObject(void *x
) {
18801 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18803 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18804 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18806 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18807 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18809 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18810 return (void *)((wxObject
*) ((wxSizer
*) x
));
18812 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18813 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18815 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18818 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18819 return (void *)((wxObject
*) ((wxPenList
*) x
));
18821 static void *_p_wxEventTo_p_wxObject(void *x
) {
18822 return (void *)((wxObject
*) ((wxEvent
*) x
));
18824 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18825 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18827 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18828 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18830 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18831 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18833 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18834 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18836 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18837 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18839 static void *_p_wxDCTo_p_wxObject(void *x
) {
18840 return (void *)((wxObject
*) ((wxDC
*) x
));
18842 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18843 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18845 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18846 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18848 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18849 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18851 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18852 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18854 static void *_p_wxControlTo_p_wxObject(void *x
) {
18855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18857 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18858 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18860 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18861 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18863 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18864 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18866 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18867 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18869 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18870 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18872 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18873 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18875 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18876 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18878 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18879 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18881 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18882 return (void *)((wxObject
*) ((wxEffects
*) x
));
18884 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18885 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18887 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18888 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18890 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18891 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18893 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18894 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18896 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18897 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18899 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18900 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18902 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18903 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18905 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18906 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18908 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18909 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18911 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18912 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18914 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18915 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18917 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18918 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18920 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18921 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18923 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18926 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18927 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18929 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18930 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18932 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18933 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18935 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18936 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18938 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18939 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18941 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18942 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18944 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18945 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18947 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18948 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18950 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18951 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18953 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18954 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18956 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18957 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18959 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18960 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18962 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18963 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18965 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18966 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18968 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18969 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18971 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18972 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18974 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18975 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18977 static void *_p_wxImageTo_p_wxObject(void *x
) {
18978 return (void *)((wxObject
*) ((wxImage
*) x
));
18980 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18981 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18983 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18984 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18986 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18987 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18989 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18990 return (void *)((wxObject
*) ((wxImageList
*) x
));
18992 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18993 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18995 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18996 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18998 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18999 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19001 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19002 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19004 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19005 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19007 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19008 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19010 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19011 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19013 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19014 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19016 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19019 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19020 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19022 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19023 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19025 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19026 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19028 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19029 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19031 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19032 return (void *)((wxObject
*) ((wxMask
*) x
));
19034 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19037 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19038 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19040 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19041 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19043 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19044 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19046 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19047 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19049 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19050 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19052 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19053 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19055 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19056 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19058 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19059 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19061 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19062 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19064 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19065 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19067 static void *_p_wxFontTo_p_wxObject(void *x
) {
19068 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19070 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19071 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19073 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19074 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19076 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19079 static void *_p_wxColourTo_p_wxObject(void *x
) {
19080 return (void *)((wxObject
*) ((wxColour
*) x
));
19082 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19083 return (void *)((wxObject
*) ((wxFontList
*) x
));
19085 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19088 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19089 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19091 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19092 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19094 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19095 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19097 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19098 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19100 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19101 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19103 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19104 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19106 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19107 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19109 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19110 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19112 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19113 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19115 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19116 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19118 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19119 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19121 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19122 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19124 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19125 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19127 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19128 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19130 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19131 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19133 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19134 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19136 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19137 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19139 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19140 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19142 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19143 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19145 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19146 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19148 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19149 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19151 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}};
19152 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}};
19153 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}};
19154 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}};
19155 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}};
19156 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}};
19157 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}};
19158 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}};
19159 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}};
19160 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}};
19161 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}};
19162 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}};
19163 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}};
19164 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}};
19165 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}};
19166 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}};
19167 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}};
19168 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}};
19169 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}};
19170 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}};
19171 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}};
19172 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}};
19173 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}};
19174 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}};
19175 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}};
19176 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}};
19177 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}};
19178 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}};
19179 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}};
19180 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}};
19181 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}};
19182 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}};
19183 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}};
19184 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}};
19185 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}};
19186 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}};
19187 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}};
19188 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}};
19189 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}};
19190 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}};
19191 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}};
19192 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}};
19193 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}};
19194 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}};
19195 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}};
19196 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}};
19197 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}};
19198 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}};
19199 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}};
19200 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}};
19201 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}};
19202 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}};
19203 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}};
19204 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}};
19205 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}};
19207 static swig_type_info
*swig_types_initial
[] = {
19208 _swigt__p_wxPostScriptDC
,
19210 _swigt__p_wxColour
,
19212 _swigt__p_wxMirrorDC
,
19214 _swigt__p_wxPyFontEnumerator
,
19216 _swigt__p_wxIconLocation
,
19218 _swigt__p_wxMetaFileDC
,
19222 _swigt__p_wxWindow
,
19224 _swigt__p_wxMemoryDC
,
19225 _swigt__p_wxFontMapper
,
19226 _swigt__p_wxEffects
,
19227 _swigt__p_wxNativeEncodingInfo
,
19228 _swigt__p_wxPalette
,
19229 _swigt__p_wxBitmap
,
19230 _swigt__p_wxObject
,
19231 _swigt__p_wxRegionIterator
,
19233 _swigt__p_wxString
,
19234 _swigt__p_wxPrinterDC
,
19235 _swigt__p_wxIconBundle
,
19238 _swigt__p_wxScreenDC
,
19239 _swigt__p_wxCursor
,
19240 _swigt__p_wxClientDC
,
19241 _swigt__p_wxBufferedDC
,
19242 _swigt__p_wxImageList
,
19243 _swigt__p_unsigned_char
,
19244 _swigt__p_wxGDIObject
,
19246 _swigt__p_wxLocale
,
19247 _swigt__p_wxRegion
,
19248 _swigt__p_wxLanguageInfo
,
19249 _swigt__p_wxConfigBase
,
19250 _swigt__p_wxWindowDC
,
19251 _swigt__p_wxPrintData
,
19252 _swigt__p_wxBrushList
,
19253 _swigt__p_wxFontList
,
19255 _swigt__p_wxBufferedPaintDC
,
19256 _swigt__p_wxPaintDC
,
19257 _swigt__p_wxPenList
,
19259 _swigt__p_wxMetaFile
,
19260 _swigt__p_wxNativeFontInfo
,
19261 _swigt__p_wxEncodingConverter
,
19262 _swigt__p_wxColourDatabase
,
19267 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19269 static swig_const_info swig_const_table
[] = {
19279 SWIGEXPORT(void) SWIG_init(void) {
19280 static PyObject
*SWIG_globals
= 0;
19281 static int typeinit
= 0;
19284 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19285 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19286 d
= PyModule_GetDict(m
);
19289 for (i
= 0; swig_types_initial
[i
]; i
++) {
19290 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19294 SWIG_InstallConstants(d
,swig_const_table
);
19296 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19297 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19298 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19299 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19300 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19301 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19302 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19303 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19304 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19305 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19306 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19307 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19308 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19309 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19310 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19311 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19312 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19313 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19314 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19315 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19316 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19317 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19318 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19319 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19320 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19321 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19322 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19323 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19324 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19325 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19326 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19327 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19328 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19329 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19330 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19331 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19332 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19333 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19334 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19335 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19336 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19337 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19338 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19339 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19340 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19341 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19342 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19343 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19344 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19345 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19346 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19347 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19348 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19349 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19350 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19351 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19352 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19353 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19354 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19355 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19356 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19357 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19358 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19359 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19360 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19361 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19362 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19363 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19364 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19365 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19366 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19367 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19368 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19369 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19370 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19371 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19372 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19373 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19374 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19375 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19376 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19377 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19378 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19379 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19380 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19381 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19382 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19383 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19384 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19385 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19386 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19387 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19388 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19389 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19390 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19391 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19392 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19393 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19394 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19395 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19396 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19397 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19398 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19399 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19400 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19401 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19402 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19403 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19404 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19405 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19406 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19407 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19408 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19409 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19410 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19411 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19412 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19413 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19414 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19415 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19416 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19417 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19418 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19419 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19420 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19421 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19422 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19424 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19426 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19427 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19428 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19429 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19430 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19431 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19432 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19433 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19434 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19435 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19436 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19437 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19438 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19439 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19440 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19441 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19442 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19443 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19444 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19445 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19446 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19447 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19448 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19449 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19450 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19451 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19452 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19453 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19454 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19455 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19456 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19457 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19458 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19459 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19460 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19461 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19462 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19463 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19464 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19465 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19466 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19467 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19468 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19469 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19470 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19471 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19472 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19473 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19474 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19475 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19476 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19477 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19478 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19479 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19480 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19481 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19482 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19483 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19484 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19485 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19486 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19487 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19488 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19489 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19490 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19491 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19492 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19493 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19494 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19495 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19496 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19497 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19498 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19499 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19500 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19501 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19502 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19503 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19504 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19505 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19506 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19507 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19508 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19509 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19510 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19511 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19512 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19513 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19514 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19515 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19516 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19517 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19518 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19519 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19520 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19521 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19522 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19523 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19524 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19525 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19526 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19527 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19528 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19529 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19530 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19531 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19532 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19533 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19534 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19535 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19536 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19537 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19538 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19539 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19540 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19541 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19542 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19543 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19544 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19545 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19546 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19547 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19548 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19549 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19550 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19551 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19552 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19553 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19554 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19555 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19556 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19557 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19558 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19559 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19560 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19561 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19562 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19563 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19564 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19565 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19566 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19567 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19568 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19569 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19570 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19571 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19572 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19573 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19574 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19575 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19576 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19577 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19578 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19579 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19580 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19581 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19582 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19583 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19584 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19585 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19586 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19587 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19588 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19589 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19590 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19591 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19592 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19593 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19594 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19595 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19596 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19597 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19598 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19599 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19600 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19601 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19602 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19603 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19604 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19605 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19606 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19607 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19608 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19609 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19610 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19611 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19612 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19613 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19614 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19615 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19616 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19617 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19618 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19619 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19620 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19621 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19622 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19623 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19624 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19625 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19626 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19627 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19628 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19629 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19630 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19631 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19632 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19633 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19634 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19635 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19636 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19637 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19638 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19639 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19640 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19641 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19642 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19643 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19644 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19645 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19646 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19647 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19648 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19649 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19650 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19651 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19652 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19653 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19654 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19655 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19656 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19657 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19658 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19659 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19660 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19661 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19662 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19663 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19664 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19665 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19666 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19667 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19668 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19669 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19670 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19671 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19672 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19673 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19674 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19675 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19676 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19677 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19678 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19679 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19680 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19681 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19682 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19683 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19684 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19685 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19686 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19687 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19688 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19689 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19690 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19691 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19692 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19693 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19694 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19695 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19696 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19697 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19698 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19699 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19700 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19701 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19702 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19703 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19704 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19705 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19706 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19707 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19708 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19709 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19710 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19711 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19712 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19713 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19714 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19715 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19716 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19717 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19718 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19719 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19720 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19721 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19722 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19723 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19724 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19725 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19727 // Work around a chicken/egg problem in drawlist.cpp
19728 wxPyDrawList_SetAPIPtr();