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
);
607 SWIGSTATICINLINE(int)
608 SWIG_CheckLong(PyObject
* obj
)
611 if (PyErr_Occurred()) {
619 void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
620 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
621 wxSize
size(self
->GetWidth(), self
->GetHeight());
624 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
625 wxMask
*mask
= new wxMask(*self
, colour
);
628 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
629 self
->SetWidth(size
.x
);
630 self
->SetHeight(size
.y
);
632 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
633 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
634 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
636 return new wxMask(bitmap
, *wxBLACK
);
638 return new wxMask(bitmap
, colour
);
641 #include <wx/iconbndl.h>
643 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
644 wxIcon
* icon
= new wxIcon();
645 icon
->CopyFromBitmap(bmp
);
648 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
649 char** cArray
= NULL
;
652 cArray
= ConvertListOfStrings(listOfStrings
);
655 icon
= new wxIcon(cArray
);
659 void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
660 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
662 return new wxIconLocation(*filename
, num
);
667 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
674 int wxIconLocation_GetIndex(wxIconLocation
*self
){
676 return self
->GetIndex();
681 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
683 wxCHECK_MSG(False
, NULL
,
684 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
686 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
689 void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
692 void wxRegionIterator_Next(wxRegionIterator
*self
){
695 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
696 return self
->operator bool();
699 #include <wx/fontutil.h>
700 #include <wx/fontmap.h>
701 #include <wx/fontenum.h>
703 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
704 return self
->ToString();
707 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
708 { wxPyRaiseNotImplemented(); return NULL
; }
710 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
711 { wxPyRaiseNotImplemented(); return False
; }
713 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
714 wxFontEncoding alt_enc
;
715 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
716 return PyInt_FromLong(alt_enc
);
722 wxFont
*new_wxFont(wxString
const &info
){
723 wxNativeFontInfo nfi
;
724 nfi
.FromString(info
);
725 return new wxFont(nfi
);
727 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
728 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
730 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
731 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
733 class wxPyFontEnumerator
: public wxFontEnumerator
{
735 wxPyFontEnumerator() {}
736 ~wxPyFontEnumerator() {}
738 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
739 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
744 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
745 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
748 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
749 wxArrayString
* arr
= self
->GetEncodings();
750 return wxArrayString2PyList_helper(*arr
);
752 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
753 wxArrayString
* arr
= self
->GetFacenames();
754 return wxArrayString2PyList_helper(*arr
);
758 wxLocale
*new_wxLocale(int language
,int flags
){
760 return new wxLocale();
762 return new wxLocale(language
, flags
);
765 #include "wx/wxPython/pydrawxxx.h"
767 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
769 self
->GetPixel(x
, y
, &col
);
772 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
774 self
->GetPixel(pt
, &col
);
778 SWIGSTATICINLINE(double)
779 SWIG_AsDouble(PyObject
*obj
)
781 if (PyNumber_Check(obj
))
782 return PyFloat_AsDouble(obj
);
784 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
785 obj
->ob_type
->tp_name
);
786 PyErr_SetObject(PyExc_TypeError
, errmsg
);
793 SWIGSTATICINLINE(int)
794 SWIG_CheckDouble(PyObject
* obj
)
797 if (PyErr_Occurred()) {
805 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
807 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
810 wxRect
wxDC_GetClippingRect(wxDC
*self
){
812 self
->GetClippingBox(rect
);
815 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
817 self
->GetPartialTextExtents(text
, widths
);
820 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
821 self
->SetLogicalOrigin(point
.x
, point
.y
);
823 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
824 self
->SetDeviceOrigin(point
.x
, point
.y
);
826 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
827 self
->CalcBoundingBox(point
.x
, point
.y
);
829 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
830 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
832 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
833 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
835 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
836 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
838 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
839 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
841 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
842 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
844 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
845 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
848 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
856 #include <wx/dcbuffer.h>
862 #include <wx/metafile.h>
866 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
867 self
->AddColour(name
, wxColour(red
, green
, blue
));
870 #include <wx/effects.h>
875 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
884 if (!wxPyCheckForApp()) SWIG_fail
;
885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
886 result
= (wxGDIObject
*)new wxGDIObject();
888 wxPyEndAllowThreads(__tstate
);
889 if (PyErr_Occurred()) SWIG_fail
;
891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
898 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
900 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
901 PyObject
* obj0
= 0 ;
903 (char *) "self", NULL
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) SWIG_fail
;
916 Py_INCREF(Py_None
); resultobj
= Py_None
;
923 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
927 PyObject
* obj0
= 0 ;
929 (char *) "self", NULL
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
937 result
= (bool)(arg1
)->GetVisible();
939 wxPyEndAllowThreads(__tstate
);
940 if (PyErr_Occurred()) SWIG_fail
;
943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
951 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
955 PyObject
* obj0
= 0 ;
956 PyObject
* obj1
= 0 ;
958 (char *) "self",(char *) "visible", NULL
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
964 arg2
= (bool) SWIG_AsBool(obj1
);
965 if (PyErr_Occurred()) SWIG_fail
;
967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 (arg1
)->SetVisible(arg2
);
970 wxPyEndAllowThreads(__tstate
);
971 if (PyErr_Occurred()) SWIG_fail
;
973 Py_INCREF(Py_None
); resultobj
= Py_None
;
980 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
984 PyObject
* obj0
= 0 ;
986 (char *) "self", NULL
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
994 result
= (bool)(arg1
)->IsNull();
996 wxPyEndAllowThreads(__tstate
);
997 if (PyErr_Occurred()) SWIG_fail
;
1000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1008 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1011 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1013 return Py_BuildValue((char *)"");
1015 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1016 PyObject
*resultobj
;
1017 byte arg1
= (byte
) 0 ;
1018 byte arg2
= (byte
) 0 ;
1019 byte arg3
= (byte
) 0 ;
1021 PyObject
* obj0
= 0 ;
1022 PyObject
* obj1
= 0 ;
1023 PyObject
* obj2
= 0 ;
1025 (char *) "red",(char *) "green",(char *) "blue", NULL
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1030 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1031 if (PyErr_Occurred()) SWIG_fail
;
1034 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1035 if (PyErr_Occurred()) SWIG_fail
;
1038 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1039 if (PyErr_Occurred()) SWIG_fail
;
1042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1043 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1045 wxPyEndAllowThreads(__tstate
);
1046 if (PyErr_Occurred()) SWIG_fail
;
1048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1055 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
*resultobj
;
1057 wxString
*arg1
= 0 ;
1059 bool temp1
= False
;
1060 PyObject
* obj0
= 0 ;
1062 (char *) "colorName", NULL
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1067 arg1
= wxString_in_helper(obj0
);
1068 if (arg1
== NULL
) SWIG_fail
;
1072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1073 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1075 wxPyEndAllowThreads(__tstate
);
1076 if (PyErr_Occurred()) SWIG_fail
;
1078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1093 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
*resultobj
;
1095 unsigned long arg1
;
1097 PyObject
* obj0
= 0 ;
1099 (char *) "colRGB", NULL
1102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1103 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1107 result
= (wxColour
*)new wxColour(arg1
);
1109 wxPyEndAllowThreads(__tstate
);
1110 if (PyErr_Occurred()) SWIG_fail
;
1112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1119 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
*resultobj
;
1121 wxColour
*arg1
= (wxColour
*) 0 ;
1122 PyObject
* obj0
= 0 ;
1124 (char *) "self", NULL
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1134 wxPyEndAllowThreads(__tstate
);
1135 if (PyErr_Occurred()) SWIG_fail
;
1137 Py_INCREF(Py_None
); resultobj
= Py_None
;
1144 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
*resultobj
;
1146 wxColour
*arg1
= (wxColour
*) 0 ;
1148 PyObject
* obj0
= 0 ;
1150 (char *) "self", NULL
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1158 result
= (byte
)(arg1
)->Red();
1160 wxPyEndAllowThreads(__tstate
);
1161 if (PyErr_Occurred()) SWIG_fail
;
1163 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1170 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
*resultobj
;
1172 wxColour
*arg1
= (wxColour
*) 0 ;
1174 PyObject
* obj0
= 0 ;
1176 (char *) "self", NULL
1179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1184 result
= (byte
)(arg1
)->Green();
1186 wxPyEndAllowThreads(__tstate
);
1187 if (PyErr_Occurred()) SWIG_fail
;
1189 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1196 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
*resultobj
;
1198 wxColour
*arg1
= (wxColour
*) 0 ;
1200 PyObject
* obj0
= 0 ;
1202 (char *) "self", NULL
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1210 result
= (byte
)(arg1
)->Blue();
1212 wxPyEndAllowThreads(__tstate
);
1213 if (PyErr_Occurred()) SWIG_fail
;
1215 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1222 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
*resultobj
;
1224 wxColour
*arg1
= (wxColour
*) 0 ;
1226 PyObject
* obj0
= 0 ;
1228 (char *) "self", NULL
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 result
= (bool)(arg1
)->Ok();
1238 wxPyEndAllowThreads(__tstate
);
1239 if (PyErr_Occurred()) SWIG_fail
;
1242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1250 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1251 PyObject
*resultobj
;
1252 wxColour
*arg1
= (wxColour
*) 0 ;
1256 PyObject
* obj0
= 0 ;
1257 PyObject
* obj1
= 0 ;
1258 PyObject
* obj2
= 0 ;
1259 PyObject
* obj3
= 0 ;
1261 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1267 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1268 if (PyErr_Occurred()) SWIG_fail
;
1269 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1270 if (PyErr_Occurred()) SWIG_fail
;
1271 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1272 if (PyErr_Occurred()) SWIG_fail
;
1274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1275 (arg1
)->Set(arg2
,arg3
,arg4
);
1277 wxPyEndAllowThreads(__tstate
);
1278 if (PyErr_Occurred()) SWIG_fail
;
1280 Py_INCREF(Py_None
); resultobj
= Py_None
;
1287 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
*resultobj
;
1289 wxColour
*arg1
= (wxColour
*) 0 ;
1290 unsigned long arg2
;
1291 PyObject
* obj0
= 0 ;
1292 PyObject
* obj1
= 0 ;
1294 (char *) "self",(char *) "colRGB", NULL
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1300 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1301 if (PyErr_Occurred()) SWIG_fail
;
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) SWIG_fail
;
1309 Py_INCREF(Py_None
); resultobj
= Py_None
;
1316 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
*resultobj
;
1318 wxColour
*arg1
= (wxColour
*) 0 ;
1319 wxString
*arg2
= 0 ;
1320 bool temp2
= False
;
1321 PyObject
* obj0
= 0 ;
1322 PyObject
* obj1
= 0 ;
1324 (char *) "self",(char *) "colourName", NULL
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1331 arg2
= wxString_in_helper(obj1
);
1332 if (arg2
== NULL
) SWIG_fail
;
1336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1337 (arg1
)->InitFromName((wxString
const &)*arg2
);
1339 wxPyEndAllowThreads(__tstate
);
1340 if (PyErr_Occurred()) SWIG_fail
;
1342 Py_INCREF(Py_None
); resultobj
= Py_None
;
1357 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
*resultobj
;
1359 wxColour
*arg1
= (wxColour
*) 0 ;
1361 PyObject
* obj0
= 0 ;
1363 (char *) "self", NULL
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1371 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1373 wxPyEndAllowThreads(__tstate
);
1374 if (PyErr_Occurred()) SWIG_fail
;
1376 resultobj
= SWIG_FromLong((long)result
);
1383 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
*resultobj
;
1385 wxColour
*arg1
= (wxColour
*) 0 ;
1386 wxColour
*arg2
= 0 ;
1389 PyObject
* obj0
= 0 ;
1390 PyObject
* obj1
= 0 ;
1392 (char *) "self",(char *) "colour", NULL
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1400 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1404 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1406 wxPyEndAllowThreads(__tstate
);
1407 if (PyErr_Occurred()) SWIG_fail
;
1410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1418 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
*resultobj
;
1420 wxColour
*arg1
= (wxColour
*) 0 ;
1421 wxColour
*arg2
= 0 ;
1424 PyObject
* obj0
= 0 ;
1425 PyObject
* obj1
= 0 ;
1427 (char *) "self",(char *) "colour", NULL
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1435 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1439 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1441 wxPyEndAllowThreads(__tstate
);
1442 if (PyErr_Occurred()) SWIG_fail
;
1445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1453 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
*resultobj
;
1455 wxColour
*arg1
= (wxColour
*) 0 ;
1457 PyObject
* obj0
= 0 ;
1459 (char *) "self", NULL
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 result
= (PyObject
*)wxColour_Get(arg1
);
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1479 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxColour
*arg1
= (wxColour
*) 0 ;
1482 unsigned long result
;
1483 PyObject
* obj0
= 0 ;
1485 (char *) "self", NULL
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1493 result
= (unsigned long)wxColour_GetRGB(arg1
);
1495 wxPyEndAllowThreads(__tstate
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1498 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1505 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1508 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1510 return Py_BuildValue((char *)"");
1512 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
*resultobj
;
1515 unsigned char *arg2
= (unsigned char *) 0 ;
1516 unsigned char *arg3
= (unsigned char *) 0 ;
1517 unsigned char *arg4
= (unsigned char *) 0 ;
1519 PyObject
* obj0
= 0 ;
1520 PyObject
* obj1
= 0 ;
1521 PyObject
* obj2
= 0 ;
1522 PyObject
* obj3
= 0 ;
1524 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1528 arg1
= (int) SWIG_AsInt(obj0
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1532 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1534 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1537 if (!wxPyCheckForApp()) SWIG_fail
;
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1551 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
*resultobj
;
1553 wxPalette
*arg1
= (wxPalette
*) 0 ;
1554 PyObject
* obj0
= 0 ;
1556 (char *) "self", NULL
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1569 Py_INCREF(Py_None
); resultobj
= Py_None
;
1576 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
*resultobj
;
1578 wxPalette
*arg1
= (wxPalette
*) 0 ;
1583 PyObject
* obj0
= 0 ;
1584 PyObject
* obj1
= 0 ;
1585 PyObject
* obj2
= 0 ;
1586 PyObject
* obj3
= 0 ;
1588 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1594 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1596 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1597 if (PyErr_Occurred()) SWIG_fail
;
1598 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) SWIG_fail
;
1607 resultobj
= SWIG_FromInt((int)result
);
1614 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
*resultobj
;
1616 wxPalette
*arg1
= (wxPalette
*) 0 ;
1618 byte
*arg3
= (byte
*) 0 ;
1619 byte
*arg4
= (byte
*) 0 ;
1620 byte
*arg5
= (byte
*) 0 ;
1625 PyObject
* obj0
= 0 ;
1626 PyObject
* obj1
= 0 ;
1628 (char *) "self",(char *) "pixel", NULL
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1637 arg2
= (int) SWIG_AsInt(obj1
);
1638 if (PyErr_Occurred()) SWIG_fail
;
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1650 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1651 resultobj
= t_output_helper(resultobj
,o
);
1654 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1655 resultobj
= t_output_helper(resultobj
,o
);
1658 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1659 resultobj
= t_output_helper(resultobj
,o
);
1667 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
*resultobj
;
1669 wxPalette
*arg1
= (wxPalette
*) 0 ;
1671 PyObject
* obj0
= 0 ;
1673 (char *) "self", NULL
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 result
= (bool)(arg1
)->Ok();
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1695 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1698 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1700 return Py_BuildValue((char *)"");
1702 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
*resultobj
;
1704 wxColour
*arg1
= 0 ;
1705 int arg2
= (int) 1 ;
1706 int arg3
= (int) wxSOLID
;
1709 PyObject
* obj0
= 0 ;
1710 PyObject
* obj1
= 0 ;
1711 PyObject
* obj2
= 0 ;
1713 (char *) "colour",(char *) "width",(char *) "style", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1719 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1722 arg2
= (int) SWIG_AsInt(obj1
);
1723 if (PyErr_Occurred()) SWIG_fail
;
1726 arg3
= (int) SWIG_AsInt(obj2
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1730 if (!wxPyCheckForApp()) SWIG_fail
;
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) SWIG_fail
;
1737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1744 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
*resultobj
;
1746 wxPen
*arg1
= (wxPen
*) 0 ;
1747 PyObject
* obj0
= 0 ;
1749 (char *) "self", NULL
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) SWIG_fail
;
1762 Py_INCREF(Py_None
); resultobj
= Py_None
;
1769 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
*resultobj
;
1771 wxPen
*arg1
= (wxPen
*) 0 ;
1773 PyObject
* obj0
= 0 ;
1775 (char *) "self", NULL
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 result
= (int)(arg1
)->GetCap();
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1788 resultobj
= SWIG_FromInt((int)result
);
1795 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
*resultobj
;
1797 wxPen
*arg1
= (wxPen
*) 0 ;
1799 PyObject
* obj0
= 0 ;
1801 (char *) "self", NULL
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1809 result
= (arg1
)->GetColour();
1811 wxPyEndAllowThreads(__tstate
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1815 wxColour
* resultptr
;
1816 resultptr
= new wxColour((wxColour
&) result
);
1817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1825 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
*resultobj
;
1827 wxPen
*arg1
= (wxPen
*) 0 ;
1829 PyObject
* obj0
= 0 ;
1831 (char *) "self", NULL
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 result
= (int)(arg1
)->GetJoin();
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) SWIG_fail
;
1844 resultobj
= SWIG_FromInt((int)result
);
1851 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
*resultobj
;
1853 wxPen
*arg1
= (wxPen
*) 0 ;
1855 PyObject
* obj0
= 0 ;
1857 (char *) "self", NULL
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1865 result
= (int)(arg1
)->GetStyle();
1867 wxPyEndAllowThreads(__tstate
);
1868 if (PyErr_Occurred()) SWIG_fail
;
1870 resultobj
= SWIG_FromInt((int)result
);
1877 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
*resultobj
;
1879 wxPen
*arg1
= (wxPen
*) 0 ;
1881 PyObject
* obj0
= 0 ;
1883 (char *) "self", NULL
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1891 result
= (int)(arg1
)->GetWidth();
1893 wxPyEndAllowThreads(__tstate
);
1894 if (PyErr_Occurred()) SWIG_fail
;
1896 resultobj
= SWIG_FromInt((int)result
);
1903 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
*resultobj
;
1905 wxPen
*arg1
= (wxPen
*) 0 ;
1907 PyObject
* obj0
= 0 ;
1909 (char *) "self", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 result
= (bool)(arg1
)->Ok();
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1931 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 wxPen
*arg1
= (wxPen
*) 0 ;
1935 PyObject
* obj0
= 0 ;
1936 PyObject
* obj1
= 0 ;
1938 (char *) "self",(char *) "cap_style", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1944 arg2
= (int) SWIG_AsInt(obj1
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 (arg1
)->SetCap(arg2
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 Py_INCREF(Py_None
); resultobj
= Py_None
;
1960 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxPen
*arg1
= (wxPen
*) 0 ;
1963 wxColour
*arg2
= 0 ;
1965 PyObject
* obj0
= 0 ;
1966 PyObject
* obj1
= 0 ;
1968 (char *) "self",(char *) "colour", NULL
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1976 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 (arg1
)->SetColour(*arg2
);
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 Py_INCREF(Py_None
); resultobj
= Py_None
;
1992 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
*resultobj
;
1994 wxPen
*arg1
= (wxPen
*) 0 ;
1996 PyObject
* obj0
= 0 ;
1997 PyObject
* obj1
= 0 ;
1999 (char *) "self",(char *) "join_style", NULL
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2005 arg2
= (int) SWIG_AsInt(obj1
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 (arg1
)->SetJoin(arg2
);
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 Py_INCREF(Py_None
); resultobj
= Py_None
;
2021 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 wxPen
*arg1
= (wxPen
*) 0 ;
2025 PyObject
* obj0
= 0 ;
2026 PyObject
* obj1
= 0 ;
2028 (char *) "self",(char *) "style", NULL
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2034 arg2
= (int) SWIG_AsInt(obj1
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 (arg1
)->SetStyle(arg2
);
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2043 Py_INCREF(Py_None
); resultobj
= Py_None
;
2050 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
*resultobj
;
2052 wxPen
*arg1
= (wxPen
*) 0 ;
2054 PyObject
* obj0
= 0 ;
2055 PyObject
* obj1
= 0 ;
2057 (char *) "self",(char *) "width", NULL
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2063 arg2
= (int) SWIG_AsInt(obj1
);
2064 if (PyErr_Occurred()) SWIG_fail
;
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 (arg1
)->SetWidth(arg2
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) SWIG_fail
;
2072 Py_INCREF(Py_None
); resultobj
= Py_None
;
2079 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
*resultobj
;
2081 wxPen
*arg1
= (wxPen
*) 0 ;
2083 wxDash
*arg3
= (wxDash
*) 0 ;
2084 PyObject
* obj0
= 0 ;
2085 PyObject
* obj1
= 0 ;
2087 (char *) "self",(char *) "dashes", NULL
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2094 arg2
= PyList_Size(obj1
);
2095 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2096 if (arg3
== NULL
) SWIG_fail
;
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 (arg1
)->SetDashes(arg2
,arg3
);
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) SWIG_fail
;
2105 Py_INCREF(Py_None
); resultobj
= Py_None
;
2107 if (arg3
) delete [] arg3
;
2112 if (arg3
) delete [] arg3
;
2118 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
*resultobj
;
2120 wxPen
*arg1
= (wxPen
*) 0 ;
2122 PyObject
* obj0
= 0 ;
2124 (char *) "self", NULL
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2144 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2146 wxPen
*arg1
= (wxPen
*) 0 ;
2147 PyObject
*arg2
= (PyObject
*) 0 ;
2148 PyObject
*arg3
= (PyObject
*) 0 ;
2149 PyObject
* obj0
= 0 ;
2150 PyObject
* obj1
= 0 ;
2151 PyObject
* obj2
= 0 ;
2153 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 wxPen__SetDashes(arg1
,arg2
,arg3
);
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 Py_INCREF(Py_None
); resultobj
= Py_None
;
2175 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxPen
*arg1
= (wxPen
*) 0 ;
2179 PyObject
* obj0
= 0 ;
2181 (char *) "self", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2194 resultobj
= SWIG_FromInt((int)result
);
2201 static PyObject
*_wrap_Pen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
*resultobj
;
2203 wxPen
*arg1
= (wxPen
*) 0 ;
2205 PyObject
* obj0
= 0 ;
2207 (char *) "self", NULL
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
2211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 result
= (wxBitmap
*)(arg1
)->GetStipple();
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2227 static PyObject
*_wrap_Pen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
*resultobj
;
2229 wxPen
*arg1
= (wxPen
*) 0 ;
2230 wxBitmap
*arg2
= 0 ;
2231 PyObject
* obj0
= 0 ;
2232 PyObject
* obj1
= 0 ;
2234 (char *) "self",(char *) "stipple", NULL
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2244 PyErr_SetString(PyExc_TypeError
,"null reference");
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 (arg1
)->SetStipple(*arg2
);
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 Py_INCREF(Py_None
); resultobj
= Py_None
;
2261 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2263 wxPen
*arg1
= (wxPen
*) 0 ;
2264 wxPen
*arg2
= (wxPen
*) 0 ;
2266 PyObject
* obj0
= 0 ;
2267 PyObject
* obj1
= 0 ;
2269 (char *) "self",(char *) "other", NULL
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2293 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
*resultobj
;
2295 wxPen
*arg1
= (wxPen
*) 0 ;
2296 wxPen
*arg2
= (wxPen
*) 0 ;
2298 PyObject
* obj0
= 0 ;
2299 PyObject
* obj1
= 0 ;
2301 (char *) "self",(char *) "other", NULL
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2325 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2328 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2330 return Py_BuildValue((char *)"");
2332 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2334 wxColour
*arg1
= 0 ;
2335 int arg2
= (int) wxSOLID
;
2338 PyObject
* obj0
= 0 ;
2339 PyObject
* obj1
= 0 ;
2341 (char *) "colour",(char *) "style", NULL
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2347 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2350 arg2
= (int) SWIG_AsInt(obj1
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2354 if (!wxPyCheckForApp()) SWIG_fail
;
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2368 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
*resultobj
;
2370 wxBrush
*arg1
= (wxBrush
*) 0 ;
2371 PyObject
* obj0
= 0 ;
2373 (char *) "self", NULL
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 Py_INCREF(Py_None
); resultobj
= Py_None
;
2393 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxBrush
*arg1
= (wxBrush
*) 0 ;
2396 wxColour
*arg2
= 0 ;
2398 PyObject
* obj0
= 0 ;
2399 PyObject
* obj1
= 0 ;
2401 (char *) "self",(char *) "col", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 (arg1
)->SetColour((wxColour
const &)*arg2
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2418 Py_INCREF(Py_None
); resultobj
= Py_None
;
2425 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2427 wxBrush
*arg1
= (wxBrush
*) 0 ;
2429 PyObject
* obj0
= 0 ;
2430 PyObject
* obj1
= 0 ;
2432 (char *) "self",(char *) "style", NULL
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2438 arg2
= (int) SWIG_AsInt(obj1
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2442 (arg1
)->SetStyle(arg2
);
2444 wxPyEndAllowThreads(__tstate
);
2445 if (PyErr_Occurred()) SWIG_fail
;
2447 Py_INCREF(Py_None
); resultobj
= Py_None
;
2454 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
*resultobj
;
2456 wxBrush
*arg1
= (wxBrush
*) 0 ;
2457 wxBitmap
*arg2
= 0 ;
2458 PyObject
* obj0
= 0 ;
2459 PyObject
* obj1
= 0 ;
2461 (char *) "self",(char *) "stipple", NULL
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2471 PyErr_SetString(PyExc_TypeError
,"null reference");
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2481 Py_INCREF(Py_None
); resultobj
= Py_None
;
2488 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
*resultobj
;
2490 wxBrush
*arg1
= (wxBrush
*) 0 ;
2492 PyObject
* obj0
= 0 ;
2494 (char *) "self", NULL
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2502 result
= ((wxBrush
const *)arg1
)->GetColour();
2504 wxPyEndAllowThreads(__tstate
);
2505 if (PyErr_Occurred()) SWIG_fail
;
2508 wxColour
* resultptr
;
2509 resultptr
= new wxColour((wxColour
&) result
);
2510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2518 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
*resultobj
;
2520 wxBrush
*arg1
= (wxBrush
*) 0 ;
2522 PyObject
* obj0
= 0 ;
2524 (char *) "self", NULL
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2537 resultobj
= SWIG_FromInt((int)result
);
2544 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2546 wxBrush
*arg1
= (wxBrush
*) 0 ;
2548 PyObject
* obj0
= 0 ;
2550 (char *) "self", NULL
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2558 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2560 wxPyEndAllowThreads(__tstate
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2570 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
*resultobj
;
2572 wxBrush
*arg1
= (wxBrush
*) 0 ;
2574 PyObject
* obj0
= 0 ;
2576 (char *) "self", NULL
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 result
= (bool)(arg1
)->Ok();
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2598 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2601 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2603 return Py_BuildValue((char *)"");
2605 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2607 wxString
*arg1
= 0 ;
2608 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2610 bool temp1
= False
;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2614 (char *) "name",(char *) "type", NULL
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2619 arg1
= wxString_in_helper(obj0
);
2620 if (arg1
== NULL
) SWIG_fail
;
2624 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2628 if (!wxPyCheckForApp()) SWIG_fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2650 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2652 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2653 PyObject
* obj0
= 0 ;
2655 (char *) "self", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2668 Py_INCREF(Py_None
); resultobj
= Py_None
;
2675 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2679 int arg3
= (int) -1 ;
2681 PyObject
* obj0
= 0 ;
2682 PyObject
* obj1
= 0 ;
2683 PyObject
* obj2
= 0 ;
2685 (char *) "width",(char *) "height",(char *) "depth", NULL
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2689 arg1
= (int) SWIG_AsInt(obj0
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2691 arg2
= (int) SWIG_AsInt(obj1
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2694 arg3
= (int) SWIG_AsInt(obj2
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2698 if (!wxPyCheckForApp()) SWIG_fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2712 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2716 PyObject
* obj0
= 0 ;
2718 (char *) "icon", NULL
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2726 PyErr_SetString(PyExc_TypeError
,"null reference");
2730 if (!wxPyCheckForApp()) SWIG_fail
;
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2732 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) SWIG_fail
;
2737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2744 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
*resultobj
;
2747 int arg2
= (int) -1 ;
2749 PyObject
* obj0
= 0 ;
2750 PyObject
* obj1
= 0 ;
2752 (char *) "image",(char *) "depth", NULL
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2760 PyErr_SetString(PyExc_TypeError
,"null reference");
2764 arg2
= (int) SWIG_AsInt(obj1
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2768 if (!wxPyCheckForApp()) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2782 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 PyObject
*arg1
= (PyObject
*) 0 ;
2786 PyObject
* obj0
= 0 ;
2788 (char *) "listOfStrings", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2794 if (!wxPyCheckForApp()) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2808 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 PyObject
*arg1
= (PyObject
*) 0 ;
2813 int arg4
= (int) 1 ;
2815 PyObject
* obj0
= 0 ;
2816 PyObject
* obj1
= 0 ;
2817 PyObject
* obj2
= 0 ;
2818 PyObject
* obj3
= 0 ;
2820 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2825 arg2
= (int) SWIG_AsInt(obj1
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2827 arg3
= (int) SWIG_AsInt(obj2
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2830 arg4
= (int) SWIG_AsInt(obj3
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2834 if (!wxPyCheckForApp()) SWIG_fail
;
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2848 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
*resultobj
;
2850 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2851 wxPalette
*arg2
= 0 ;
2852 PyObject
* obj0
= 0 ;
2853 PyObject
* obj1
= 0 ;
2855 (char *) "self",(char *) "palette", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
2862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2865 PyErr_SetString(PyExc_TypeError
,"null reference");
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 (arg1
)->SetPalette(*arg2
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2875 Py_INCREF(Py_None
); resultobj
= Py_None
;
2882 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2886 PyObject
* obj0
= 0 ;
2888 (char *) "self", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
2892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= (long)(arg1
)->GetHandle();
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2901 resultobj
= SWIG_FromLong((long)result
);
2908 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2915 (char *) "self",(char *) "handle", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2921 arg2
= (long) SWIG_AsLong(obj1
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 wxBitmap_SetHandle(arg1
,arg2
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2930 Py_INCREF(Py_None
); resultobj
= Py_None
;
2937 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
*resultobj
;
2939 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2941 PyObject
* obj0
= 0 ;
2943 (char *) "self", NULL
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 result
= (bool)(arg1
)->Ok();
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2965 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
*resultobj
;
2967 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2969 PyObject
* obj0
= 0 ;
2971 (char *) "self", NULL
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 result
= (int)(arg1
)->GetWidth();
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2984 resultobj
= SWIG_FromInt((int)result
);
2991 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2995 PyObject
* obj0
= 0 ;
2997 (char *) "self", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 result
= (int)(arg1
)->GetHeight();
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3010 resultobj
= SWIG_FromInt((int)result
);
3017 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3021 PyObject
* obj0
= 0 ;
3023 (char *) "self", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 result
= (int)(arg1
)->GetDepth();
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3036 resultobj
= SWIG_FromInt((int)result
);
3043 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
;
3045 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3047 PyObject
* obj0
= 0 ;
3049 (char *) "self", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 result
= wxBitmap_GetSize(arg1
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3064 resultptr
= new wxSize((wxSize
&) result
);
3065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3073 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3075 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3076 SwigValueWrapper
< wxImage
> result
;
3077 PyObject
* obj0
= 0 ;
3079 (char *) "self", NULL
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3093 wxImage
* resultptr
;
3094 resultptr
= new wxImage((wxImage
&) result
);
3095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3103 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
;
3105 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3107 PyObject
* obj0
= 0 ;
3109 (char *) "self", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3129 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3132 wxMask
*arg2
= (wxMask
*) 0 ;
3133 PyObject
* obj0
= 0 ;
3134 PyObject
* obj1
= 0 ;
3136 (char *) "self",(char *) "mask", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 (arg1
)->SetMask(arg2
);
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3151 Py_INCREF(Py_None
); resultobj
= Py_None
;
3158 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3161 wxColour
*arg2
= 0 ;
3163 PyObject
* obj0
= 0 ;
3164 PyObject
* obj1
= 0 ;
3166 (char *) "self",(char *) "colour", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3174 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3183 Py_INCREF(Py_None
); resultobj
= Py_None
;
3190 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3194 SwigValueWrapper
< wxBitmap
> result
;
3196 PyObject
* obj0
= 0 ;
3197 PyObject
* obj1
= 0 ;
3199 (char *) "self",(char *) "rect", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3207 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3217 wxBitmap
* resultptr
;
3218 resultptr
= new wxBitmap((wxBitmap
&) result
);
3219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3227 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3230 wxString
*arg2
= 0 ;
3232 wxPalette
*arg4
= (wxPalette
*) NULL
;
3234 bool temp2
= False
;
3235 PyObject
* obj0
= 0 ;
3236 PyObject
* obj1
= 0 ;
3237 PyObject
* obj2
= 0 ;
3238 PyObject
* obj3
= 0 ;
3240 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3247 arg2
= wxString_in_helper(obj1
);
3248 if (arg2
== NULL
) SWIG_fail
;
3251 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3254 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3281 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3284 wxString
*arg2
= 0 ;
3287 bool temp2
= False
;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3290 PyObject
* obj2
= 0 ;
3292 (char *) "self",(char *) "name",(char *) "type", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 arg2
= wxString_in_helper(obj1
);
3300 if (arg2
== NULL
) SWIG_fail
;
3303 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3329 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3334 PyObject
* obj0
= 0 ;
3335 PyObject
* obj1
= 0 ;
3337 (char *) "self",(char *) "icon", NULL
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3344 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3347 PyErr_SetString(PyExc_TypeError
,"null reference");
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3366 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3371 PyObject
* obj1
= 0 ;
3373 (char *) "self",(char *) "height", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3379 arg2
= (int) SWIG_AsInt(obj1
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 (arg1
)->SetHeight(arg2
);
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3388 Py_INCREF(Py_None
); resultobj
= Py_None
;
3395 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3399 PyObject
* obj0
= 0 ;
3400 PyObject
* obj1
= 0 ;
3402 (char *) "self",(char *) "width", NULL
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3408 arg2
= (int) SWIG_AsInt(obj1
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 (arg1
)->SetWidth(arg2
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3417 Py_INCREF(Py_None
); resultobj
= Py_None
;
3424 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3428 PyObject
* obj0
= 0 ;
3429 PyObject
* obj1
= 0 ;
3431 (char *) "self",(char *) "depth", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3437 arg2
= (int) SWIG_AsInt(obj1
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3441 (arg1
)->SetDepth(arg2
);
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3446 Py_INCREF(Py_None
); resultobj
= Py_None
;
3453 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
*resultobj
;
3455 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3459 PyObject
* obj1
= 0 ;
3461 (char *) "self",(char *) "size", NULL
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 Py_INCREF(Py_None
); resultobj
= Py_None
;
3485 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3488 wxCursor
*arg2
= 0 ;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3493 (char *) "self",(char *) "cursor", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
3500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3503 PyErr_SetString(PyExc_TypeError
,"null reference");
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3522 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3526 PyObject
* obj0
= 0 ;
3528 (char *) "self", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 result
= (int)(arg1
)->GetQuality();
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 resultobj
= SWIG_FromInt((int)result
);
3548 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
;
3550 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3552 PyObject
* obj0
= 0 ;
3553 PyObject
* obj1
= 0 ;
3555 (char *) "self",(char *) "q", NULL
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3561 arg2
= (int) SWIG_AsInt(obj1
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 (arg1
)->SetQuality(arg2
);
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3570 Py_INCREF(Py_None
); resultobj
= Py_None
;
3577 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
*resultobj
;
3579 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3580 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3582 PyObject
* obj0
= 0 ;
3583 PyObject
* obj1
= 0 ;
3585 (char *) "self",(char *) "other", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3609 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3611 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3612 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3617 (char *) "self",(char *) "other", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3641 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3644 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3646 return Py_BuildValue((char *)"");
3648 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxBitmap
*arg1
= 0 ;
3651 wxColour
const &arg2_defvalue
= wxNullColour
;
3652 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3655 PyObject
* obj0
= 0 ;
3656 PyObject
* obj1
= 0 ;
3658 (char *) "bitmap",(char *) "colour", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3666 PyErr_SetString(PyExc_TypeError
,"null reference");
3672 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3676 if (!wxPyCheckForApp()) SWIG_fail
;
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3690 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3693 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3695 return Py_BuildValue((char *)"");
3697 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxString
*arg1
= 0 ;
3701 int arg3
= (int) -1 ;
3702 int arg4
= (int) -1 ;
3704 bool temp1
= False
;
3705 PyObject
* obj0
= 0 ;
3706 PyObject
* obj1
= 0 ;
3707 PyObject
* obj2
= 0 ;
3708 PyObject
* obj3
= 0 ;
3710 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3715 arg1
= wxString_in_helper(obj0
);
3716 if (arg1
== NULL
) SWIG_fail
;
3719 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 arg3
= (int) SWIG_AsInt(obj2
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3726 arg4
= (int) SWIG_AsInt(obj3
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3730 if (!wxPyCheckForApp()) SWIG_fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3752 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxIcon
*arg1
= (wxIcon
*) 0 ;
3755 PyObject
* obj0
= 0 ;
3757 (char *) "self", NULL
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) SWIG_fail
;
3770 Py_INCREF(Py_None
); resultobj
= Py_None
;
3777 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
;
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3786 if (!wxPyCheckForApp()) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= (wxIcon
*)new wxIcon();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3800 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 wxIconLocation
*arg1
= 0 ;
3804 PyObject
* obj0
= 0 ;
3806 (char *) "loc", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3814 PyErr_SetString(PyExc_TypeError
,"null reference");
3818 if (!wxPyCheckForApp()) SWIG_fail
;
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3832 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
*resultobj
;
3834 wxBitmap
*arg1
= 0 ;
3836 PyObject
* obj0
= 0 ;
3838 (char *) "bmp", NULL
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3846 PyErr_SetString(PyExc_TypeError
,"null reference");
3850 if (!wxPyCheckForApp()) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3864 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 PyObject
*arg1
= (PyObject
*) 0 ;
3868 PyObject
* obj0
= 0 ;
3870 (char *) "listOfStrings", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3876 if (!wxPyCheckForApp()) SWIG_fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (wxIcon
*)new_wxIcon(arg1
);
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3890 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3892 wxIcon
*arg1
= (wxIcon
*) 0 ;
3893 wxString
*arg2
= 0 ;
3896 bool temp2
= False
;
3897 PyObject
* obj0
= 0 ;
3898 PyObject
* obj1
= 0 ;
3899 PyObject
* obj2
= 0 ;
3901 (char *) "self",(char *) "name",(char *) "type", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3908 arg2
= wxString_in_helper(obj1
);
3909 if (arg2
== NULL
) SWIG_fail
;
3912 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3938 static PyObject
*_wrap_Icon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxIcon
*arg1
= (wxIcon
*) 0 ;
3942 PyObject
* obj0
= 0 ;
3944 (char *) "self", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
3948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 result
= (long)(arg1
)->GetHandle();
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 resultobj
= SWIG_FromLong((long)result
);
3964 static PyObject
*_wrap_Icon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3966 wxIcon
*arg1
= (wxIcon
*) 0 ;
3968 PyObject
* obj0
= 0 ;
3969 PyObject
* obj1
= 0 ;
3971 (char *) "self",(char *) "handle", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3977 arg2
= (long) SWIG_AsLong(obj1
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 wxIcon_SetHandle(arg1
,arg2
);
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 Py_INCREF(Py_None
); resultobj
= Py_None
;
3993 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxIcon
*arg1
= (wxIcon
*) 0 ;
3997 PyObject
* obj0
= 0 ;
3999 (char *) "self", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (bool)(arg1
)->Ok();
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4021 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxIcon
*arg1
= (wxIcon
*) 0 ;
4025 PyObject
* obj0
= 0 ;
4027 (char *) "self", NULL
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
4031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 result
= (int)(arg1
)->GetWidth();
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4040 resultobj
= SWIG_FromInt((int)result
);
4047 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxIcon
*arg1
= (wxIcon
*) 0 ;
4051 PyObject
* obj0
= 0 ;
4053 (char *) "self", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (int)(arg1
)->GetHeight();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= SWIG_FromInt((int)result
);
4073 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 wxIcon
*arg1
= (wxIcon
*) 0 ;
4077 PyObject
* obj0
= 0 ;
4079 (char *) "self", NULL
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (int)(arg1
)->GetDepth();
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= SWIG_FromInt((int)result
);
4099 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
;
4101 wxIcon
*arg1
= (wxIcon
*) 0 ;
4103 PyObject
* obj0
= 0 ;
4104 PyObject
* obj1
= 0 ;
4106 (char *) "self",(char *) "w", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4112 arg2
= (int) SWIG_AsInt(obj1
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 (arg1
)->SetWidth(arg2
);
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 Py_INCREF(Py_None
); resultobj
= Py_None
;
4128 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
;
4130 wxIcon
*arg1
= (wxIcon
*) 0 ;
4132 PyObject
* obj0
= 0 ;
4133 PyObject
* obj1
= 0 ;
4135 (char *) "self",(char *) "h", NULL
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4141 arg2
= (int) SWIG_AsInt(obj1
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 (arg1
)->SetHeight(arg2
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 Py_INCREF(Py_None
); resultobj
= Py_None
;
4157 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxIcon
*arg1
= (wxIcon
*) 0 ;
4161 PyObject
* obj0
= 0 ;
4162 PyObject
* obj1
= 0 ;
4164 (char *) "self",(char *) "d", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4170 arg2
= (int) SWIG_AsInt(obj1
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 (arg1
)->SetDepth(arg2
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 Py_INCREF(Py_None
); resultobj
= Py_None
;
4186 static PyObject
*_wrap_Icon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxIcon
*arg1
= (wxIcon
*) 0 ;
4191 PyObject
* obj0
= 0 ;
4192 PyObject
* obj1
= 0 ;
4194 (char *) "self",(char *) "size", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4202 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 (arg1
)->SetSize((wxSize
const &)*arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 Py_INCREF(Py_None
); resultobj
= Py_None
;
4218 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxIcon
*arg1
= (wxIcon
*) 0 ;
4221 wxBitmap
*arg2
= 0 ;
4222 PyObject
* obj0
= 0 ;
4223 PyObject
* obj1
= 0 ;
4225 (char *) "self",(char *) "bmp", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4235 PyErr_SetString(PyExc_TypeError
,"null reference");
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 Py_INCREF(Py_None
); resultobj
= Py_None
;
4252 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4255 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4257 return Py_BuildValue((char *)"");
4259 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4262 int arg2
= (int) 0 ;
4263 wxIconLocation
*result
;
4264 bool temp1
= False
;
4265 PyObject
* obj0
= 0 ;
4266 PyObject
* obj1
= 0 ;
4268 (char *) "filename",(char *) "num", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4274 arg1
= wxString_in_helper(obj0
);
4275 if (arg1
== NULL
) SWIG_fail
;
4280 arg2
= (int) SWIG_AsInt(obj1
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4305 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
*resultobj
;
4307 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4308 PyObject
* obj0
= 0 ;
4310 (char *) "self", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 Py_INCREF(Py_None
); resultobj
= Py_None
;
4330 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
*resultobj
;
4332 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4334 PyObject
* obj0
= 0 ;
4336 (char *) "self", NULL
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4358 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4361 wxString
*arg2
= 0 ;
4362 bool temp2
= False
;
4363 PyObject
* obj0
= 0 ;
4364 PyObject
* obj1
= 0 ;
4366 (char *) "self",(char *) "filename", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4373 arg2
= wxString_in_helper(obj1
);
4374 if (arg2
== NULL
) SWIG_fail
;
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 (arg1
)->SetFileName((wxString
const &)*arg2
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 Py_INCREF(Py_None
); resultobj
= Py_None
;
4399 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4405 (char *) "self", NULL
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4415 result
= (wxString
*) &_result_ref
;
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4425 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4434 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4436 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4438 PyObject
* obj0
= 0 ;
4439 PyObject
* obj1
= 0 ;
4441 (char *) "self",(char *) "num", NULL
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4447 arg2
= (int) SWIG_AsInt(obj1
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 wxIconLocation_SetIndex(arg1
,arg2
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 Py_INCREF(Py_None
); resultobj
= Py_None
;
4463 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4467 PyObject
* obj0
= 0 ;
4469 (char *) "self", NULL
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (int)wxIconLocation_GetIndex(arg1
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_FromInt((int)result
);
4489 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4492 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4494 return Py_BuildValue((char *)"");
4496 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
*resultobj
;
4498 wxIconBundle
*result
;
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 result
= (wxIconBundle
*)new wxIconBundle();
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4518 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
;
4520 wxString
*arg1
= 0 ;
4522 wxIconBundle
*result
;
4523 bool temp1
= False
;
4524 PyObject
* obj0
= 0 ;
4525 PyObject
* obj1
= 0 ;
4527 (char *) "file",(char *) "type", NULL
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4532 arg1
= wxString_in_helper(obj0
);
4533 if (arg1
== NULL
) SWIG_fail
;
4536 arg2
= (long) SWIG_AsLong(obj1
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4560 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
;
4563 wxIconBundle
*result
;
4564 PyObject
* obj0
= 0 ;
4566 (char *) "icon", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4574 PyErr_SetString(PyExc_TypeError
,"null reference");
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4591 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
;
4593 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4596 (char *) "self", NULL
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4609 Py_INCREF(Py_None
); resultobj
= Py_None
;
4616 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4620 PyObject
* obj0
= 0 ;
4621 PyObject
* obj1
= 0 ;
4623 (char *) "self",(char *) "icon", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4633 PyErr_SetString(PyExc_TypeError
,"null reference");
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4643 Py_INCREF(Py_None
); resultobj
= Py_None
;
4650 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
;
4652 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4653 wxString
*arg2
= 0 ;
4655 bool temp2
= False
;
4656 PyObject
* obj0
= 0 ;
4657 PyObject
* obj1
= 0 ;
4658 PyObject
* obj2
= 0 ;
4660 (char *) "self",(char *) "file",(char *) "type", NULL
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4667 arg2
= wxString_in_helper(obj1
);
4668 if (arg2
== NULL
) SWIG_fail
;
4671 arg3
= (long) SWIG_AsLong(obj2
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 Py_INCREF(Py_None
); resultobj
= Py_None
;
4695 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
;
4697 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4701 PyObject
* obj0
= 0 ;
4702 PyObject
* obj1
= 0 ;
4704 (char *) "self",(char *) "size", NULL
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4712 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4718 result
= (wxIcon
*) &_result_ref
;
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4725 wxIcon
* resultptr
= new wxIcon(*result
);
4726 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4734 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4737 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4739 return Py_BuildValue((char *)"");
4741 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxString
*arg1
= (wxString
*) 0 ;
4745 int arg3
= (int) 0 ;
4746 int arg4
= (int) 0 ;
4748 bool temp1
= False
;
4749 PyObject
* obj0
= 0 ;
4750 PyObject
* obj1
= 0 ;
4751 PyObject
* obj2
= 0 ;
4752 PyObject
* obj3
= 0 ;
4754 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4759 arg1
= wxString_in_helper(obj0
);
4760 if (arg1
== NULL
) SWIG_fail
;
4763 arg2
= (long) SWIG_AsLong(obj1
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 arg3
= (int) SWIG_AsInt(obj2
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 arg4
= (int) SWIG_AsInt(obj3
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4774 if (!wxPyCheckForApp()) SWIG_fail
;
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4778 wxPyEndAllowThreads(__tstate
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4796 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4798 wxCursor
*arg1
= (wxCursor
*) 0 ;
4799 PyObject
* obj0
= 0 ;
4801 (char *) "self", NULL
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 Py_INCREF(Py_None
); resultobj
= Py_None
;
4821 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4825 PyObject
* obj0
= 0 ;
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4831 arg1
= (int) SWIG_AsInt(obj0
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 if (!wxPyCheckForApp()) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (wxCursor
*)new wxCursor(arg1
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4848 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4852 PyObject
* obj0
= 0 ;
4854 (char *) "image", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4862 PyErr_SetString(PyExc_TypeError
,"null reference");
4866 if (!wxPyCheckForApp()) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4880 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxCursor
*arg1
= (wxCursor
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4886 (char *) "self", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= (long)(arg1
)->GetHandle();
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 resultobj
= SWIG_FromLong((long)result
);
4906 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4908 wxCursor
*arg1
= (wxCursor
*) 0 ;
4910 PyObject
* obj0
= 0 ;
4911 PyObject
* obj1
= 0 ;
4913 (char *) "self",(char *) "handle", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4919 arg2
= (long) SWIG_AsLong(obj1
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 wxCursor_SetHandle(arg1
,arg2
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 Py_INCREF(Py_None
); resultobj
= Py_None
;
4935 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxCursor
*arg1
= (wxCursor
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4941 (char *) "self", NULL
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (bool)(arg1
)->Ok();
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4963 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxCursor
*arg1
= (wxCursor
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4969 (char *) "self", NULL
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
4973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (int)(arg1
)->GetWidth();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_FromInt((int)result
);
4989 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxCursor
*arg1
= (wxCursor
*) 0 ;
4993 PyObject
* obj0
= 0 ;
4995 (char *) "self", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (int)(arg1
)->GetHeight();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_FromInt((int)result
);
5015 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxCursor
*arg1
= (wxCursor
*) 0 ;
5019 PyObject
* obj0
= 0 ;
5021 (char *) "self", NULL
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
5025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 result
= (int)(arg1
)->GetDepth();
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5034 resultobj
= SWIG_FromInt((int)result
);
5041 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
*resultobj
;
5043 wxCursor
*arg1
= (wxCursor
*) 0 ;
5045 PyObject
* obj0
= 0 ;
5046 PyObject
* obj1
= 0 ;
5048 (char *) "self",(char *) "w", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5054 arg2
= (int) SWIG_AsInt(obj1
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 (arg1
)->SetWidth(arg2
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 Py_INCREF(Py_None
); resultobj
= Py_None
;
5070 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxCursor
*arg1
= (wxCursor
*) 0 ;
5074 PyObject
* obj0
= 0 ;
5075 PyObject
* obj1
= 0 ;
5077 (char *) "self",(char *) "h", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5083 arg2
= (int) SWIG_AsInt(obj1
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 (arg1
)->SetHeight(arg2
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 Py_INCREF(Py_None
); resultobj
= Py_None
;
5099 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxCursor
*arg1
= (wxCursor
*) 0 ;
5103 PyObject
* obj0
= 0 ;
5104 PyObject
* obj1
= 0 ;
5106 (char *) "self",(char *) "d", NULL
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5112 arg2
= (int) SWIG_AsInt(obj1
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 (arg1
)->SetDepth(arg2
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 Py_INCREF(Py_None
); resultobj
= Py_None
;
5128 static PyObject
*_wrap_Cursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
;
5130 wxCursor
*arg1
= (wxCursor
*) 0 ;
5133 PyObject
* obj0
= 0 ;
5134 PyObject
* obj1
= 0 ;
5136 (char *) "self",(char *) "size", NULL
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5144 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 (arg1
)->SetSize((wxSize
const &)*arg2
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 Py_INCREF(Py_None
); resultobj
= Py_None
;
5160 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
5162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5163 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5165 return Py_BuildValue((char *)"");
5167 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
*resultobj
;
5169 int arg1
= (int) 0 ;
5170 int arg2
= (int) 0 ;
5171 int arg3
= (int) 0 ;
5172 int arg4
= (int) 0 ;
5174 PyObject
* obj0
= 0 ;
5175 PyObject
* obj1
= 0 ;
5176 PyObject
* obj2
= 0 ;
5177 PyObject
* obj3
= 0 ;
5179 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5184 arg1
= (int) SWIG_AsInt(obj0
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5188 arg2
= (int) SWIG_AsInt(obj1
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5192 arg3
= (int) SWIG_AsInt(obj2
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5196 arg4
= (int) SWIG_AsInt(obj3
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5200 if (!wxPyCheckForApp()) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5214 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
;
5216 wxBitmap
*arg1
= 0 ;
5218 PyObject
* obj0
= 0 ;
5220 (char *) "bmp", NULL
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
5224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5228 PyErr_SetString(PyExc_TypeError
,"null reference");
5232 if (!wxPyCheckForApp()) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5246 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
*resultobj
;
5248 wxBitmap
*arg1
= 0 ;
5249 wxColour
*arg2
= 0 ;
5250 int arg3
= (int) 0 ;
5253 PyObject
* obj0
= 0 ;
5254 PyObject
* obj1
= 0 ;
5255 PyObject
* obj2
= 0 ;
5257 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5265 PyErr_SetString(PyExc_TypeError
,"null reference");
5270 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5273 arg3
= (int) SWIG_AsInt(obj2
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5277 if (!wxPyCheckForApp()) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5291 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5294 wxPoint
*arg2
= (wxPoint
*) 0 ;
5295 int arg3
= (int) wxWINDING_RULE
;
5297 PyObject
* obj0
= 0 ;
5298 PyObject
* obj1
= 0 ;
5300 (char *) "points",(char *) "fillStyle", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5305 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5306 if (arg2
== NULL
) SWIG_fail
;
5309 arg3
= (int) SWIG_AsInt(obj1
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5313 if (!wxPyCheckForApp()) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5322 if (arg2
) delete [] arg2
;
5327 if (arg2
) delete [] arg2
;
5333 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
;
5335 wxRegion
*arg1
= (wxRegion
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5338 (char *) "self", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 Py_INCREF(Py_None
); resultobj
= Py_None
;
5358 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
;
5360 wxRegion
*arg1
= (wxRegion
*) 0 ;
5361 PyObject
* obj0
= 0 ;
5363 (char *) "self", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5376 Py_INCREF(Py_None
); resultobj
= Py_None
;
5383 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxRegion
*arg1
= (wxRegion
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 PyObject
* obj2
= 0 ;
5393 (char *) "self",(char *) "x",(char *) "y", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5399 arg2
= (int) SWIG_AsInt(obj1
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5401 arg3
= (int) SWIG_AsInt(obj2
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5419 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxRegion
*arg1
= (wxRegion
*) 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5427 PyObject
* obj2
= 0 ;
5429 (char *) "self",(char *) "x",(char *) "y", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5435 arg2
= (int) SWIG_AsInt(obj1
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5437 arg3
= (int) SWIG_AsInt(obj2
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5446 resultobj
= SWIG_FromInt((int)result
);
5453 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxRegion
*arg1
= (wxRegion
*) 0 ;
5459 PyObject
* obj0
= 0 ;
5460 PyObject
* obj1
= 0 ;
5462 (char *) "self",(char *) "pt", NULL
5465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= SWIG_FromInt((int)result
);
5486 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
;
5488 wxRegion
*arg1
= (wxRegion
*) 0 ;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5495 (char *) "self",(char *) "rect", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5503 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 resultobj
= SWIG_FromInt((int)result
);
5519 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxRegion
*arg1
= (wxRegion
*) 0 ;
5527 PyObject
* obj0
= 0 ;
5528 PyObject
* obj1
= 0 ;
5529 PyObject
* obj2
= 0 ;
5530 PyObject
* obj3
= 0 ;
5531 PyObject
* obj4
= 0 ;
5533 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5539 arg2
= (int) SWIG_AsInt(obj1
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5541 arg3
= (int) SWIG_AsInt(obj2
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5543 arg4
= (int) SWIG_AsInt(obj3
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5545 arg5
= (int) SWIG_AsInt(obj4
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_FromInt((int)result
);
5561 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxRegion
*arg1
= (wxRegion
*) 0 ;
5565 PyObject
* obj0
= 0 ;
5567 (char *) "self", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= (arg1
)->GetBox();
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5582 resultptr
= new wxRect((wxRect
&) result
);
5583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5591 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxRegion
*arg1
= (wxRegion
*) 0 ;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj1
= 0 ;
5601 PyObject
* obj2
= 0 ;
5602 PyObject
* obj3
= 0 ;
5603 PyObject
* obj4
= 0 ;
5605 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5611 arg2
= (int) SWIG_AsInt(obj1
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5613 arg3
= (int) SWIG_AsInt(obj2
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5615 arg4
= (int) SWIG_AsInt(obj3
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5617 arg5
= (int) SWIG_AsInt(obj4
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5635 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxRegion
*arg1
= (wxRegion
*) 0 ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5644 (char *) "self",(char *) "rect", NULL
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5652 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5670 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxRegion
*arg1
= (wxRegion
*) 0 ;
5673 wxRegion
*arg2
= 0 ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5678 (char *) "self",(char *) "region", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5688 PyErr_SetString(PyExc_TypeError
,"null reference");
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5707 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxRegion
*arg1
= (wxRegion
*) 0 ;
5711 PyObject
* obj0
= 0 ;
5713 (char *) "self", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= (bool)(arg1
)->IsEmpty();
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5735 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxRegion
*arg1
= (wxRegion
*) 0 ;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5745 PyObject
* obj2
= 0 ;
5746 PyObject
* obj3
= 0 ;
5747 PyObject
* obj4
= 0 ;
5749 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 arg2
= (int) SWIG_AsInt(obj1
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5757 arg3
= (int) SWIG_AsInt(obj2
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5759 arg4
= (int) SWIG_AsInt(obj3
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5761 arg5
= (int) SWIG_AsInt(obj4
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5779 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxRegion
*arg1
= (wxRegion
*) 0 ;
5785 PyObject
* obj0
= 0 ;
5786 PyObject
* obj1
= 0 ;
5788 (char *) "self",(char *) "rect", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5796 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5814 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxRegion
*arg1
= (wxRegion
*) 0 ;
5817 wxRegion
*arg2
= 0 ;
5819 PyObject
* obj0
= 0 ;
5820 PyObject
* obj1
= 0 ;
5822 (char *) "self",(char *) "region", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5832 PyErr_SetString(PyExc_TypeError
,"null reference");
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5851 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5853 wxRegion
*arg1
= (wxRegion
*) 0 ;
5859 PyObject
* obj0
= 0 ;
5860 PyObject
* obj1
= 0 ;
5861 PyObject
* obj2
= 0 ;
5862 PyObject
* obj3
= 0 ;
5863 PyObject
* obj4
= 0 ;
5865 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5871 arg2
= (int) SWIG_AsInt(obj1
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5873 arg3
= (int) SWIG_AsInt(obj2
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5875 arg4
= (int) SWIG_AsInt(obj3
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5877 arg5
= (int) SWIG_AsInt(obj4
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5895 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
;
5897 wxRegion
*arg1
= (wxRegion
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5902 PyObject
* obj1
= 0 ;
5904 (char *) "self",(char *) "rect", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5912 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5930 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxRegion
*arg1
= (wxRegion
*) 0 ;
5933 wxRegion
*arg2
= 0 ;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj1
= 0 ;
5938 (char *) "self",(char *) "region", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5948 PyErr_SetString(PyExc_TypeError
,"null reference");
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5967 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
*resultobj
;
5969 wxRegion
*arg1
= (wxRegion
*) 0 ;
5975 PyObject
* obj0
= 0 ;
5976 PyObject
* obj1
= 0 ;
5977 PyObject
* obj2
= 0 ;
5978 PyObject
* obj3
= 0 ;
5979 PyObject
* obj4
= 0 ;
5981 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5987 arg2
= (int) SWIG_AsInt(obj1
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5989 arg3
= (int) SWIG_AsInt(obj2
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5991 arg4
= (int) SWIG_AsInt(obj3
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5993 arg5
= (int) SWIG_AsInt(obj4
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6011 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxRegion
*arg1
= (wxRegion
*) 0 ;
6017 PyObject
* obj0
= 0 ;
6018 PyObject
* obj1
= 0 ;
6020 (char *) "self",(char *) "rect", NULL
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6028 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6046 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxRegion
*arg1
= (wxRegion
*) 0 ;
6049 wxRegion
*arg2
= 0 ;
6051 PyObject
* obj0
= 0 ;
6052 PyObject
* obj1
= 0 ;
6054 (char *) "self",(char *) "region", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6064 PyErr_SetString(PyExc_TypeError
,"null reference");
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6083 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxRegion
*arg1
= (wxRegion
*) 0 ;
6086 SwigValueWrapper
< wxBitmap
> result
;
6087 PyObject
* obj0
= 0 ;
6089 (char *) "self", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
6093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (arg1
)->ConvertToBitmap();
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6103 wxBitmap
* resultptr
;
6104 resultptr
= new wxBitmap((wxBitmap
&) result
);
6105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6113 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 wxRegion
*arg1
= (wxRegion
*) 0 ;
6116 wxBitmap
*arg2
= 0 ;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6121 (char *) "self",(char *) "bmp", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6131 PyErr_SetString(PyExc_TypeError
,"null reference");
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6150 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
;
6152 wxRegion
*arg1
= (wxRegion
*) 0 ;
6153 wxBitmap
*arg2
= 0 ;
6154 wxColour
*arg3
= 0 ;
6155 int arg4
= (int) 0 ;
6158 PyObject
* obj0
= 0 ;
6159 PyObject
* obj1
= 0 ;
6160 PyObject
* obj2
= 0 ;
6161 PyObject
* obj3
= 0 ;
6163 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6173 PyErr_SetString(PyExc_TypeError
,"null reference");
6178 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6181 arg4
= (int) SWIG_AsInt(obj3
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6200 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
6202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6203 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
6205 return Py_BuildValue((char *)"");
6207 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxRegion
*arg1
= 0 ;
6210 wxRegionIterator
*result
;
6211 PyObject
* obj0
= 0 ;
6213 (char *) "region", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
6217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6221 PyErr_SetString(PyExc_TypeError
,"null reference");
6225 if (!wxPyCheckForApp()) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
6239 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
*resultobj
;
6241 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6242 PyObject
* obj0
= 0 ;
6244 (char *) "self", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 Py_INCREF(Py_None
); resultobj
= Py_None
;
6264 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6268 PyObject
* obj0
= 0 ;
6270 (char *) "self", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 result
= (int)(arg1
)->GetX();
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= SWIG_FromInt((int)result
);
6290 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6294 PyObject
* obj0
= 0 ;
6296 (char *) "self", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
6300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 result
= (int)(arg1
)->GetY();
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= SWIG_FromInt((int)result
);
6316 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6320 PyObject
* obj0
= 0 ;
6322 (char *) "self", NULL
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 result
= (int)(arg1
)->GetW();
6332 wxPyEndAllowThreads(__tstate
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= SWIG_FromInt((int)result
);
6342 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
;
6344 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6348 (char *) "self", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= (int)(arg1
)->GetWidth();
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= SWIG_FromInt((int)result
);
6368 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
;
6370 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6372 PyObject
* obj0
= 0 ;
6374 (char *) "self", NULL
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 result
= (int)(arg1
)->GetH();
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 resultobj
= SWIG_FromInt((int)result
);
6394 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
*resultobj
;
6396 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6398 PyObject
* obj0
= 0 ;
6400 (char *) "self", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (int)(arg1
)->GetHeight();
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= SWIG_FromInt((int)result
);
6420 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
;
6422 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6424 PyObject
* obj0
= 0 ;
6426 (char *) "self", NULL
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= (arg1
)->GetRect();
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6441 resultptr
= new wxRect((wxRect
&) result
);
6442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6450 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
;
6452 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6454 PyObject
* obj0
= 0 ;
6456 (char *) "self", NULL
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 result
= (bool)(arg1
)->HaveRects();
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6478 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
;
6480 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6481 PyObject
* obj0
= 0 ;
6483 (char *) "self", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 Py_INCREF(Py_None
); resultobj
= Py_None
;
6503 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6508 (char *) "self", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 wxRegionIterator_Next(arg1
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 Py_INCREF(Py_None
); resultobj
= Py_None
;
6528 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6532 PyObject
* obj0
= 0 ;
6534 (char *) "self", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6556 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6559 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6561 return Py_BuildValue((char *)"");
6563 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxNativeFontInfo
*result
;
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6585 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6588 PyObject
* obj0
= 0 ;
6590 (char *) "self", NULL
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6603 Py_INCREF(Py_None
); resultobj
= Py_None
;
6610 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6612 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6615 (char *) "self", NULL
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6635 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6642 (char *) "self",(char *) "font", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6652 PyErr_SetString(PyExc_TypeError
,"null reference");
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 Py_INCREF(Py_None
); resultobj
= Py_None
;
6669 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6673 PyObject
* obj0
= 0 ;
6675 (char *) "self", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= SWIG_FromInt((int)result
);
6695 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_FromInt((int)result
);
6721 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6723 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6725 PyObject
* obj0
= 0 ;
6727 (char *) "self", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= SWIG_FromInt((int)result
);
6747 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6751 PyObject
* obj0
= 0 ;
6753 (char *) "self", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6775 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6779 PyObject
* obj0
= 0 ;
6781 (char *) "self", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6807 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6811 PyObject
* obj0
= 0 ;
6813 (char *) "self", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6826 resultobj
= SWIG_FromInt((int)result
);
6833 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6837 PyObject
* obj0
= 0 ;
6839 (char *) "self", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= SWIG_FromInt((int)result
);
6859 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6864 PyObject
* obj1
= 0 ;
6866 (char *) "self",(char *) "pointsize", NULL
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6872 arg2
= (int) SWIG_AsInt(obj1
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 (arg1
)->SetPointSize(arg2
);
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6881 Py_INCREF(Py_None
); resultobj
= Py_None
;
6888 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6890 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6892 PyObject
* obj0
= 0 ;
6893 PyObject
* obj1
= 0 ;
6895 (char *) "self",(char *) "style", NULL
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6901 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 Py_INCREF(Py_None
); resultobj
= Py_None
;
6917 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6924 (char *) "self",(char *) "weight", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6930 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 Py_INCREF(Py_None
); resultobj
= Py_None
;
6946 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6950 PyObject
* obj0
= 0 ;
6951 PyObject
* obj1
= 0 ;
6953 (char *) "self",(char *) "underlined", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6959 arg2
= (bool) SWIG_AsBool(obj1
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 (arg1
)->SetUnderlined(arg2
);
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 Py_INCREF(Py_None
); resultobj
= Py_None
;
6975 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6977 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6979 PyObject
* obj0
= 0 ;
6980 PyObject
* obj1
= 0 ;
6982 (char *) "self",(char *) "facename", NULL
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6989 wxString
* sptr
= wxString_in_helper(obj1
);
6990 if (sptr
== NULL
) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 (arg1
)->SetFaceName(arg2
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 Py_INCREF(Py_None
); resultobj
= Py_None
;
7008 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
*resultobj
;
7010 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7012 PyObject
* obj0
= 0 ;
7013 PyObject
* obj1
= 0 ;
7015 (char *) "self",(char *) "family", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7021 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 (arg1
)->SetFamily((wxFontFamily
)arg2
);
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 Py_INCREF(Py_None
); resultobj
= Py_None
;
7037 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7041 PyObject
* obj0
= 0 ;
7042 PyObject
* obj1
= 0 ;
7044 (char *) "self",(char *) "encoding", NULL
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7050 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 Py_INCREF(Py_None
); resultobj
= Py_None
;
7066 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
;
7068 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7069 wxString
*arg2
= 0 ;
7071 bool temp2
= False
;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7075 (char *) "self",(char *) "s", NULL
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7082 arg2
= wxString_in_helper(obj1
);
7083 if (arg2
== NULL
) SWIG_fail
;
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7110 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
;
7112 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7114 PyObject
* obj0
= 0 ;
7116 (char *) "self", NULL
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
7120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7142 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7148 (char *) "self", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
7152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= wxNativeFontInfo___str__(arg1
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7174 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7177 wxString
*arg2
= 0 ;
7179 bool temp2
= False
;
7180 PyObject
* obj0
= 0 ;
7181 PyObject
* obj1
= 0 ;
7183 (char *) "self",(char *) "s", NULL
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
7187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7190 arg2
= wxString_in_helper(obj1
);
7191 if (arg2
== NULL
) SWIG_fail
;
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7218 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "self", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7250 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7253 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
7255 return Py_BuildValue((char *)"");
7257 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7260 wxString
*arg2
= (wxString
*) 0 ;
7261 bool temp2
= False
;
7262 PyObject
* obj0
= 0 ;
7263 PyObject
* obj1
= 0 ;
7265 (char *) "self",(char *) "facename", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7272 arg2
= wxString_in_helper(obj1
);
7273 if (arg2
== NULL
) SWIG_fail
;
7276 if (arg1
) (arg1
)->facename
= *arg2
;
7278 Py_INCREF(Py_None
); resultobj
= Py_None
;
7293 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7299 (char *) "self", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7305 result
= (wxString
*)& ((arg1
)->facename
);
7309 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7311 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7320 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7324 PyObject
* obj0
= 0 ;
7325 PyObject
* obj1
= 0 ;
7327 (char *) "self",(char *) "encoding", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7333 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7335 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7337 Py_INCREF(Py_None
); resultobj
= Py_None
;
7344 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
;
7346 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7348 PyObject
* obj0
= 0 ;
7350 (char *) "self", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7356 result
= (int) ((arg1
)->encoding
);
7358 resultobj
= SWIG_FromInt((int)result
);
7365 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxNativeEncodingInfo
*result
;
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7387 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 Py_INCREF(Py_None
); resultobj
= Py_None
;
7412 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7415 wxString
*arg2
= 0 ;
7417 bool temp2
= False
;
7418 PyObject
* obj0
= 0 ;
7419 PyObject
* obj1
= 0 ;
7421 (char *) "self",(char *) "s", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7428 arg2
= wxString_in_helper(obj1
);
7429 if (arg2
== NULL
) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7456 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7462 (char *) "self", NULL
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7488 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7491 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7493 return Py_BuildValue((char *)"");
7495 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7498 wxNativeEncodingInfo
*result
;
7499 PyObject
* obj0
= 0 ;
7501 (char *) "encoding", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7505 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7521 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxNativeEncodingInfo
*arg1
= 0 ;
7525 PyObject
* obj0
= 0 ;
7527 (char *) "info", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7535 PyErr_SetString(PyExc_TypeError
,"null reference");
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7554 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxFontMapper
*result
;
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (wxFontMapper
*)new wxFontMapper();
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7576 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7581 (char *) "self", NULL
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 Py_INCREF(Py_None
); resultobj
= Py_None
;
7601 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7603 wxFontMapper
*result
;
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= (wxFontMapper
*)wxFontMapper::Get();
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7623 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
;
7625 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7626 wxFontMapper
*result
;
7627 PyObject
* obj0
= 0 ;
7629 (char *) "mapper", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7649 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7652 wxString
*arg2
= 0 ;
7653 bool arg3
= (bool) True
;
7655 bool temp2
= False
;
7656 PyObject
* obj0
= 0 ;
7657 PyObject
* obj1
= 0 ;
7658 PyObject
* obj2
= 0 ;
7660 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7667 arg2
= wxString_in_helper(obj1
);
7668 if (arg2
== NULL
) SWIG_fail
;
7672 arg3
= (bool) SWIG_AsBool(obj2
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= SWIG_FromInt((int)result
);
7697 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7719 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7723 PyObject
* obj0
= 0 ;
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7729 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 result
= (int)wxFontMapper::GetEncoding(arg1
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= SWIG_FromInt((int)result
);
7745 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7749 PyObject
* obj0
= 0 ;
7751 (char *) "encoding", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7755 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7777 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7781 PyObject
* obj0
= 0 ;
7783 (char *) "encoding", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7787 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7809 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 wxString
*arg1
= 0 ;
7813 bool temp1
= False
;
7814 PyObject
* obj0
= 0 ;
7816 (char *) "name", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7821 arg1
= wxString_in_helper(obj0
);
7822 if (arg1
== NULL
) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_FromInt((int)result
);
7847 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7850 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7851 PyObject
* obj0
= 0 ;
7852 PyObject
* obj1
= 0 ;
7854 (char *) "self",(char *) "config", NULL
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 (arg1
)->SetConfig(arg2
);
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 Py_INCREF(Py_None
); resultobj
= Py_None
;
7876 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7879 wxString
*arg2
= 0 ;
7880 bool temp2
= False
;
7881 PyObject
* obj0
= 0 ;
7882 PyObject
* obj1
= 0 ;
7884 (char *) "self",(char *) "prefix", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7891 arg2
= wxString_in_helper(obj1
);
7892 if (arg2
== NULL
) SWIG_fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 Py_INCREF(Py_None
); resultobj
= Py_None
;
7917 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 result
= wxFontMapper::GetDefaultConfigPath();
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7945 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7949 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7950 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7951 bool arg4
= (bool) True
;
7953 bool temp3
= False
;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7956 PyObject
* obj2
= 0 ;
7957 PyObject
* obj3
= 0 ;
7959 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7965 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 arg3
= wxString_in_helper(obj2
);
7970 if (arg3
== NULL
) SWIG_fail
;
7975 arg4
= (bool) SWIG_AsBool(obj3
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
8000 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
;
8002 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8004 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8005 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8007 bool temp3
= False
;
8008 PyObject
* obj0
= 0 ;
8009 PyObject
* obj1
= 0 ;
8010 PyObject
* obj2
= 0 ;
8012 (char *) "self",(char *) "encoding",(char *) "facename", NULL
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8018 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8022 arg3
= wxString_in_helper(obj2
);
8023 if (arg3
== NULL
) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8051 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8053 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8054 wxWindow
*arg2
= (wxWindow
*) 0 ;
8055 PyObject
* obj0
= 0 ;
8056 PyObject
* obj1
= 0 ;
8058 (char *) "self",(char *) "parent", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
8062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 (arg1
)->SetDialogParent(arg2
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 Py_INCREF(Py_None
); resultobj
= Py_None
;
8080 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8083 wxString
*arg2
= 0 ;
8084 bool temp2
= False
;
8085 PyObject
* obj0
= 0 ;
8086 PyObject
* obj1
= 0 ;
8088 (char *) "self",(char *) "title", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8095 arg2
= wxString_in_helper(obj1
);
8096 if (arg2
== NULL
) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 Py_INCREF(Py_None
); resultobj
= Py_None
;
8121 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
8123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8124 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
8126 return Py_BuildValue((char *)"");
8128 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8134 bool arg5
= (bool) False
;
8135 wxString
const &arg6_defvalue
= wxPyEmptyString
;
8136 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8137 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8139 bool temp6
= False
;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8142 PyObject
* obj2
= 0 ;
8143 PyObject
* obj3
= 0 ;
8144 PyObject
* obj4
= 0 ;
8145 PyObject
* obj5
= 0 ;
8146 PyObject
* obj6
= 0 ;
8148 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8152 arg1
= (int) SWIG_AsInt(obj0
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8154 arg2
= (int) SWIG_AsInt(obj1
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8156 arg3
= (int) SWIG_AsInt(obj2
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8158 arg4
= (int) SWIG_AsInt(obj3
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 arg5
= (bool) SWIG_AsBool(obj4
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8166 arg6
= wxString_in_helper(obj5
);
8167 if (arg6
== NULL
) SWIG_fail
;
8172 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8176 if (!wxPyCheckForApp()) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8198 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxFont
*arg1
= (wxFont
*) 0 ;
8201 PyObject
* obj0
= 0 ;
8203 (char *) "self", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 Py_INCREF(Py_None
); resultobj
= Py_None
;
8223 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
;
8225 wxNativeFontInfo
*arg1
= 0 ;
8227 PyObject
* obj0
= 0 ;
8229 (char *) "info", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
8233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
8234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8237 PyErr_SetString(PyExc_TypeError
,"null reference");
8241 if (!wxPyCheckForApp()) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8255 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxString
*arg1
= 0 ;
8259 bool temp1
= False
;
8260 PyObject
* obj0
= 0 ;
8262 (char *) "info", NULL
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
8267 arg1
= wxString_in_helper(obj0
);
8268 if (arg1
== NULL
) SWIG_fail
;
8272 if (!wxPyCheckForApp()) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8294 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8298 int arg3
= (int) wxFONTFLAG_DEFAULT
;
8299 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8300 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8301 int arg5
= (int) wxFONTENCODING_DEFAULT
;
8303 bool temp4
= False
;
8304 PyObject
* obj0
= 0 ;
8305 PyObject
* obj1
= 0 ;
8306 PyObject
* obj2
= 0 ;
8307 PyObject
* obj3
= 0 ;
8308 PyObject
* obj4
= 0 ;
8310 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8314 arg1
= (int) SWIG_AsInt(obj0
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8316 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8319 arg3
= (int) SWIG_AsInt(obj2
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8324 arg4
= wxString_in_helper(obj3
);
8325 if (arg4
== NULL
) SWIG_fail
;
8330 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8334 if (!wxPyCheckForApp()) SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8356 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
*resultobj
;
8358 wxFont
*arg1
= (wxFont
*) 0 ;
8360 PyObject
* obj0
= 0 ;
8362 (char *) "self", NULL
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= (bool)((wxFont
const *)arg1
)->Ok();
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8384 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
*resultobj
;
8386 wxFont
*arg1
= (wxFont
*) 0 ;
8387 wxFont
*arg2
= (wxFont
*) 0 ;
8389 PyObject
* obj0
= 0 ;
8390 PyObject
* obj1
= 0 ;
8392 (char *) "self",(char *) "other", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8416 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxFont
*arg1
= (wxFont
*) 0 ;
8419 wxFont
*arg2
= (wxFont
*) 0 ;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8424 (char *) "self",(char *) "other", NULL
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8448 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
;
8450 wxFont
*arg1
= (wxFont
*) 0 ;
8452 PyObject
* obj0
= 0 ;
8454 (char *) "self", NULL
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= SWIG_FromInt((int)result
);
8474 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
*resultobj
;
8476 wxFont
*arg1
= (wxFont
*) 0 ;
8478 PyObject
* obj0
= 0 ;
8480 (char *) "self", NULL
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8488 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8493 resultobj
= SWIG_FromInt((int)result
);
8500 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
*resultobj
;
8502 wxFont
*arg1
= (wxFont
*) 0 ;
8504 PyObject
* obj0
= 0 ;
8506 (char *) "self", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= SWIG_FromInt((int)result
);
8526 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
;
8528 wxFont
*arg1
= (wxFont
*) 0 ;
8530 PyObject
* obj0
= 0 ;
8532 (char *) "self", NULL
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 resultobj
= SWIG_FromInt((int)result
);
8552 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxFont
*arg1
= (wxFont
*) 0 ;
8556 PyObject
* obj0
= 0 ;
8558 (char *) "self", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8580 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxFont
*arg1
= (wxFont
*) 0 ;
8584 PyObject
* obj0
= 0 ;
8586 (char *) "self", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 result
= ((wxFont
const *)arg1
)->GetFaceName();
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8612 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
*resultobj
;
8614 wxFont
*arg1
= (wxFont
*) 0 ;
8616 PyObject
* obj0
= 0 ;
8618 (char *) "self", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= SWIG_FromInt((int)result
);
8638 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
;
8640 wxFont
*arg1
= (wxFont
*) 0 ;
8641 wxNativeFontInfo
*result
;
8642 PyObject
* obj0
= 0 ;
8644 (char *) "self", NULL
8647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8664 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxFont
*arg1
= (wxFont
*) 0 ;
8668 PyObject
* obj0
= 0 ;
8670 (char *) "self", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8692 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxFont
*arg1
= (wxFont
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8698 (char *) "self", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8724 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxFont
*arg1
= (wxFont
*) 0 ;
8728 PyObject
* obj0
= 0 ;
8730 (char *) "self", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8756 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxFont
*arg1
= (wxFont
*) 0 ;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8763 (char *) "self",(char *) "pointSize", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8769 arg2
= (int) SWIG_AsInt(obj1
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 (arg1
)->SetPointSize(arg2
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 Py_INCREF(Py_None
); resultobj
= Py_None
;
8785 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxFont
*arg1
= (wxFont
*) 0 ;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8792 (char *) "self",(char *) "family", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8798 arg2
= (int) SWIG_AsInt(obj1
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 (arg1
)->SetFamily(arg2
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 Py_INCREF(Py_None
); resultobj
= Py_None
;
8814 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxFont
*arg1
= (wxFont
*) 0 ;
8818 PyObject
* obj0
= 0 ;
8819 PyObject
* obj1
= 0 ;
8821 (char *) "self",(char *) "style", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8827 arg2
= (int) SWIG_AsInt(obj1
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 (arg1
)->SetStyle(arg2
);
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8836 Py_INCREF(Py_None
); resultobj
= Py_None
;
8843 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
;
8845 wxFont
*arg1
= (wxFont
*) 0 ;
8847 PyObject
* obj0
= 0 ;
8848 PyObject
* obj1
= 0 ;
8850 (char *) "self",(char *) "weight", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8856 arg2
= (int) SWIG_AsInt(obj1
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 (arg1
)->SetWeight(arg2
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 Py_INCREF(Py_None
); resultobj
= Py_None
;
8872 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxFont
*arg1
= (wxFont
*) 0 ;
8875 wxString
*arg2
= 0 ;
8876 bool temp2
= False
;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8880 (char *) "self",(char *) "faceName", NULL
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8887 arg2
= wxString_in_helper(obj1
);
8888 if (arg2
== NULL
) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 Py_INCREF(Py_None
); resultobj
= Py_None
;
8913 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxFont
*arg1
= (wxFont
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8920 (char *) "self",(char *) "underlined", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8926 arg2
= (bool) SWIG_AsBool(obj1
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 (arg1
)->SetUnderlined(arg2
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 Py_INCREF(Py_None
); resultobj
= Py_None
;
8942 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxFont
*arg1
= (wxFont
*) 0 ;
8946 PyObject
* obj0
= 0 ;
8947 PyObject
* obj1
= 0 ;
8949 (char *) "self",(char *) "encoding", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8955 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxFont
*arg1
= (wxFont
*) 0 ;
8974 wxNativeFontInfo
*arg2
= 0 ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8978 (char *) "self",(char *) "info", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8988 PyErr_SetString(PyExc_TypeError
,"null reference");
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 Py_INCREF(Py_None
); resultobj
= Py_None
;
9005 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxFont
*arg1
= (wxFont
*) 0 ;
9008 wxString
*arg2
= 0 ;
9009 bool temp2
= False
;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9013 (char *) "self",(char *) "info", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9020 arg2
= wxString_in_helper(obj1
);
9021 if (arg2
== NULL
) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 Py_INCREF(Py_None
); resultobj
= Py_None
;
9046 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
;
9048 wxFont
*arg1
= (wxFont
*) 0 ;
9049 wxString
*arg2
= 0 ;
9050 bool temp2
= False
;
9051 PyObject
* obj0
= 0 ;
9052 PyObject
* obj1
= 0 ;
9054 (char *) "self",(char *) "info", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9061 arg2
= wxString_in_helper(obj1
);
9062 if (arg2
== NULL
) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 Py_INCREF(Py_None
); resultobj
= Py_None
;
9087 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxFont
*arg1
= (wxFont
*) 0 ;
9091 PyObject
* obj0
= 0 ;
9093 (char *) "self", NULL
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
9097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 result
= ((wxFont
const *)arg1
)->GetFamilyString();
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9119 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxFont
*arg1
= (wxFont
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9125 (char *) "self", NULL
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
9129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= ((wxFont
const *)arg1
)->GetStyleString();
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9151 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9153 wxFont
*arg1
= (wxFont
*) 0 ;
9155 PyObject
* obj0
= 0 ;
9157 (char *) "self", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 result
= ((wxFont
const *)arg1
)->GetWeightString();
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9183 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxFont
*arg1
= (wxFont
*) 0 ;
9186 bool arg2
= (bool) True
;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9190 (char *) "self",(char *) "no", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9197 arg2
= (bool) SWIG_AsBool(obj1
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 (arg1
)->SetNoAntiAliasing(arg2
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 Py_INCREF(Py_None
); resultobj
= Py_None
;
9214 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
;
9216 wxFont
*arg1
= (wxFont
*) 0 ;
9218 PyObject
* obj0
= 0 ;
9220 (char *) "self", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (bool)(arg1
)->GetNoAntiAliasing();
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9242 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9251 if (!wxPyCheckForApp()) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 result
= (int)wxFont::GetDefaultEncoding();
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= SWIG_FromInt((int)result
);
9265 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
;
9268 PyObject
* obj0
= 0 ;
9270 (char *) "encoding", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9274 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 if (!wxPyCheckForApp()) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 Py_INCREF(Py_None
); resultobj
= Py_None
;
9291 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
9293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9294 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9296 return Py_BuildValue((char *)"");
9298 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxPyFontEnumerator
*result
;
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9307 if (!wxPyCheckForApp()) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9321 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
;
9323 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9324 PyObject
* obj0
= 0 ;
9326 (char *) "self", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 Py_INCREF(Py_None
); resultobj
= Py_None
;
9346 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9349 PyObject
*arg2
= (PyObject
*) 0 ;
9350 PyObject
*arg3
= (PyObject
*) 0 ;
9352 PyObject
* obj0
= 0 ;
9353 PyObject
* obj1
= 0 ;
9354 PyObject
* obj2
= 0 ;
9355 PyObject
* obj3
= 0 ;
9357 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9365 arg4
= (bool) SWIG_AsBool(obj3
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 Py_INCREF(Py_None
); resultobj
= Py_None
;
9381 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
;
9383 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9384 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9385 bool arg3
= (bool) False
;
9387 PyObject
* obj0
= 0 ;
9388 PyObject
* obj1
= 0 ;
9389 PyObject
* obj2
= 0 ;
9391 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9398 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9402 arg3
= (bool) SWIG_AsBool(obj2
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9421 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9424 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9425 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9427 bool temp2
= False
;
9428 PyObject
* obj0
= 0 ;
9429 PyObject
* obj1
= 0 ;
9431 (char *) "self",(char *) "facename", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9439 arg2
= wxString_in_helper(obj1
);
9440 if (arg2
== NULL
) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9468 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9472 PyObject
* obj0
= 0 ;
9474 (char *) "self", NULL
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9494 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9500 (char *) "self", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9520 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
9522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9523 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9525 return Py_BuildValue((char *)"");
9527 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
;
9529 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9531 PyObject
* obj0
= 0 ;
9532 PyObject
* obj1
= 0 ;
9534 (char *) "self",(char *) "Language", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9540 arg2
= (int) SWIG_AsInt(obj1
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9542 if (arg1
) (arg1
)->Language
= arg2
;
9544 Py_INCREF(Py_None
); resultobj
= Py_None
;
9551 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9555 PyObject
* obj0
= 0 ;
9557 (char *) "self", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9563 result
= (int) ((arg1
)->Language
);
9565 resultobj
= SWIG_FromInt((int)result
);
9572 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9574 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9575 wxString
*arg2
= (wxString
*) 0 ;
9576 bool temp2
= False
;
9577 PyObject
* obj0
= 0 ;
9578 PyObject
* obj1
= 0 ;
9580 (char *) "self",(char *) "CanonicalName", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9587 arg2
= wxString_in_helper(obj1
);
9588 if (arg2
== NULL
) SWIG_fail
;
9591 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9593 Py_INCREF(Py_None
); resultobj
= Py_None
;
9608 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9612 PyObject
* obj0
= 0 ;
9614 (char *) "self", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9620 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9624 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9626 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9635 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9638 wxString
*arg2
= (wxString
*) 0 ;
9639 bool temp2
= False
;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj1
= 0 ;
9643 (char *) "self",(char *) "Description", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9650 arg2
= wxString_in_helper(obj1
);
9651 if (arg2
== NULL
) SWIG_fail
;
9654 if (arg1
) (arg1
)->Description
= *arg2
;
9656 Py_INCREF(Py_None
); resultobj
= Py_None
;
9671 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9677 (char *) "self", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9683 result
= (wxString
*)& ((arg1
)->Description
);
9687 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9689 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9698 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9701 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9703 return Py_BuildValue((char *)"");
9705 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
;
9707 int arg1
= (int) -1 ;
9708 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9713 (char *) "language",(char *) "flags", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9718 arg1
= (int) SWIG_AsInt(obj0
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9722 arg2
= (int) SWIG_AsInt(obj1
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9739 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
*resultobj
;
9741 wxLocale
*arg1
= (wxLocale
*) 0 ;
9742 PyObject
* obj0
= 0 ;
9744 (char *) "self", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 Py_INCREF(Py_None
); resultobj
= Py_None
;
9764 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
;
9766 wxLocale
*arg1
= (wxLocale
*) 0 ;
9767 wxString
*arg2
= 0 ;
9768 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9769 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9770 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9771 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9772 bool arg5
= (bool) True
;
9773 bool arg6
= (bool) False
;
9775 bool temp2
= False
;
9776 bool temp3
= False
;
9777 bool temp4
= False
;
9778 PyObject
* obj0
= 0 ;
9779 PyObject
* obj1
= 0 ;
9780 PyObject
* obj2
= 0 ;
9781 PyObject
* obj3
= 0 ;
9782 PyObject
* obj4
= 0 ;
9783 PyObject
* obj5
= 0 ;
9785 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9792 arg2
= wxString_in_helper(obj1
);
9793 if (arg2
== NULL
) SWIG_fail
;
9798 arg3
= wxString_in_helper(obj2
);
9799 if (arg3
== NULL
) SWIG_fail
;
9805 arg4
= wxString_in_helper(obj3
);
9806 if (arg4
== NULL
) SWIG_fail
;
9811 arg5
= (bool) SWIG_AsBool(obj4
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9815 arg6
= (bool) SWIG_AsBool(obj5
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9858 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxLocale
*arg1
= (wxLocale
*) 0 ;
9861 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9862 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9864 PyObject
* obj0
= 0 ;
9865 PyObject
* obj1
= 0 ;
9866 PyObject
* obj2
= 0 ;
9868 (char *) "self",(char *) "language",(char *) "flags", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9875 arg2
= (int) SWIG_AsInt(obj1
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9879 arg3
= (int) SWIG_AsInt(obj2
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9898 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 result
= (int)wxLocale::GetSystemLanguage();
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= SWIG_FromInt((int)result
);
9920 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
;
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (int)wxLocale::GetSystemEncoding();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_FromInt((int)result
);
9942 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= wxLocale::GetSystemEncodingName();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9970 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxLocale
*arg1
= (wxLocale
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9976 (char *) "self", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9998 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxLocale
*arg1
= (wxLocale
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= ((wxLocale
const *)arg1
)->GetLocale();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10030 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxLocale
*arg1
= (wxLocale
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_FromInt((int)result
);
10056 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxLocale
*arg1
= (wxLocale
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= ((wxLocale
const *)arg1
)->GetSysName();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10088 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxLocale
*arg1
= (wxLocale
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10120 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxString
*arg1
= 0 ;
10123 bool temp1
= False
;
10124 PyObject
* obj0
= 0 ;
10125 char *kwnames
[] = {
10126 (char *) "prefix", NULL
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
10131 arg1
= wxString_in_helper(obj0
);
10132 if (arg1
== NULL
) SWIG_fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 Py_INCREF(Py_None
); resultobj
= Py_None
;
10157 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxLocale
*arg1
= (wxLocale
*) 0 ;
10160 wxString
*arg2
= 0 ;
10162 bool temp2
= False
;
10163 PyObject
* obj0
= 0 ;
10164 PyObject
* obj1
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self",(char *) "szDomain", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10173 arg2
= wxString_in_helper(obj1
);
10174 if (arg2
== NULL
) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10201 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
*resultobj
;
10203 wxLocale
*arg1
= (wxLocale
*) 0 ;
10204 wxString
*arg2
= 0 ;
10206 bool temp2
= False
;
10207 PyObject
* obj0
= 0 ;
10208 PyObject
* obj1
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self",(char *) "szDomain", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10217 arg2
= wxString_in_helper(obj1
);
10218 if (arg2
== NULL
) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10245 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10248 wxLanguageInfo
*result
;
10249 PyObject
* obj0
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "lang", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10255 arg1
= (int) SWIG_AsInt(obj0
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10271 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
;
10275 PyObject
* obj0
= 0 ;
10276 char *kwnames
[] = {
10277 (char *) "lang", NULL
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10281 arg1
= (int) SWIG_AsInt(obj0
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 result
= wxLocale::GetLanguageName(arg1
);
10287 wxPyEndAllowThreads(__tstate
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10303 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
;
10305 wxString
*arg1
= 0 ;
10306 wxLanguageInfo
*result
;
10307 bool temp1
= False
;
10308 PyObject
* obj0
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "locale", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10315 arg1
= wxString_in_helper(obj0
);
10316 if (arg1
== NULL
) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10341 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxLanguageInfo
*arg1
= 0 ;
10344 PyObject
* obj0
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "info", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10353 if (arg1
== NULL
) {
10354 PyErr_SetString(PyExc_TypeError
,"null reference");
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 Py_INCREF(Py_None
); resultobj
= Py_None
;
10371 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
;
10373 wxLocale
*arg1
= (wxLocale
*) 0 ;
10374 wxString
*arg2
= 0 ;
10375 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10376 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10378 bool temp2
= False
;
10379 bool temp3
= False
;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 PyObject
* obj2
= 0 ;
10383 char *kwnames
[] = {
10384 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10391 arg2
= wxString_in_helper(obj1
);
10392 if (arg2
== NULL
) SWIG_fail
;
10397 arg3
= wxString_in_helper(obj2
);
10398 if (arg3
== NULL
) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10438 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxLocale
*arg1
= (wxLocale
*) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10454 result
= (wxString
*) &_result_ref
;
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10464 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10473 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
10475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10476 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10478 return Py_BuildValue((char *)"");
10480 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10483 char *kwnames
[] = {
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (wxLocale
*)wxGetLocale();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10502 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
10503 PyObject
*resultobj
;
10504 wxString
*arg1
= 0 ;
10506 bool temp1
= False
;
10507 PyObject
* obj0
= 0 ;
10509 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10511 arg1
= wxString_in_helper(obj0
);
10512 if (arg1
== NULL
) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 result
= wxGetTranslation((wxString
const &)*arg1
);
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10543 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
10544 PyObject
*resultobj
;
10545 wxString
*arg1
= 0 ;
10546 wxString
*arg2
= 0 ;
10549 bool temp1
= False
;
10550 bool temp2
= False
;
10551 PyObject
* obj0
= 0 ;
10552 PyObject
* obj1
= 0 ;
10553 PyObject
* obj2
= 0 ;
10555 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10557 arg1
= wxString_in_helper(obj0
);
10558 if (arg1
== NULL
) SWIG_fail
;
10562 arg2
= wxString_in_helper(obj1
);
10563 if (arg2
== NULL
) SWIG_fail
;
10566 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10604 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10609 argc
= PyObject_Length(args
);
10610 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10611 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10616 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10619 return _wrap_GetTranslation__SWIG_0(self
,args
);
10625 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10629 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10632 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10634 return _wrap_GetTranslation__SWIG_1(self
,args
);
10640 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10645 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxEncodingConverter
*result
;
10648 char *kwnames
[] = {
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10667 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10670 PyObject
* obj0
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "self", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10685 Py_INCREF(Py_None
); resultobj
= Py_None
;
10692 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
*resultobj
;
10694 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10697 int arg4
= (int) wxCONVERT_STRICT
;
10699 PyObject
* obj0
= 0 ;
10700 PyObject
* obj1
= 0 ;
10701 PyObject
* obj2
= 0 ;
10702 PyObject
* obj3
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10710 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10712 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 arg4
= (int) SWIG_AsInt(obj3
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10734 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10736 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10737 wxString
*arg2
= 0 ;
10739 bool temp2
= False
;
10740 PyObject
* obj0
= 0 ;
10741 PyObject
* obj1
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self",(char *) "input", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10750 arg2
= wxString_in_helper(obj1
);
10751 if (arg2
== NULL
) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10782 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
;
10785 int arg2
= (int) wxPLATFORM_CURRENT
;
10786 wxFontEncodingArray result
;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "enc",(char *) "platform", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10794 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 arg2
= (int) SWIG_AsInt(obj1
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= PyList_New(0);
10809 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10810 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10811 PyList_Append(resultobj
, number
);
10821 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10824 wxFontEncodingArray result
;
10825 PyObject
* obj0
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "enc", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10831 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10841 resultobj
= PyList_New(0);
10842 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10843 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10844 PyList_Append(resultobj
, number
);
10854 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "encIn",(char *) "encOut", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10866 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10868 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10886 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10889 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10891 return Py_BuildValue((char *)"");
10893 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxDC
*arg1
= (wxDC
*) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "self", NULL
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 Py_INCREF(Py_None
); resultobj
= Py_None
;
10918 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxDC
*arg1
= (wxDC
*) 0 ;
10921 PyObject
* obj0
= 0 ;
10922 char *kwnames
[] = {
10923 (char *) "self", NULL
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->BeginDrawing();
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxDC
*arg1
= (wxDC
*) 0 ;
10946 PyObject
* obj0
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 (arg1
)->EndDrawing();
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 Py_INCREF(Py_None
); resultobj
= Py_None
;
10968 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxDC
*arg1
= (wxDC
*) 0 ;
10973 wxColour
*arg4
= 0 ;
10974 int arg5
= (int) wxFLOOD_SURFACE
;
10977 PyObject
* obj0
= 0 ;
10978 PyObject
* obj1
= 0 ;
10979 PyObject
* obj2
= 0 ;
10980 PyObject
* obj3
= 0 ;
10981 PyObject
* obj4
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10989 arg2
= (int) SWIG_AsInt(obj1
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10991 arg3
= (int) SWIG_AsInt(obj2
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10998 arg5
= (int) SWIG_AsInt(obj4
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11017 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxDC
*arg1
= (wxDC
*) 0 ;
11020 wxPoint
*arg2
= 0 ;
11021 wxColour
*arg3
= 0 ;
11022 int arg4
= (int) wxFLOOD_SURFACE
;
11026 PyObject
* obj0
= 0 ;
11027 PyObject
* obj1
= 0 ;
11028 PyObject
* obj2
= 0 ;
11029 PyObject
* obj3
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11043 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11046 arg4
= (int) SWIG_AsInt(obj3
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11065 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxDC
*arg1
= (wxDC
*) 0 ;
11071 PyObject
* obj0
= 0 ;
11072 PyObject
* obj1
= 0 ;
11073 PyObject
* obj2
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "x",(char *) "y", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11081 arg2
= (int) SWIG_AsInt(obj1
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11083 arg3
= (int) SWIG_AsInt(obj2
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11093 wxColour
* resultptr
;
11094 resultptr
= new wxColour((wxColour
&) result
);
11095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11103 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxDC
*arg1
= (wxDC
*) 0 ;
11106 wxPoint
*arg2
= 0 ;
11109 PyObject
* obj0
= 0 ;
11110 PyObject
* obj1
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self",(char *) "pt", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 wxColour
* resultptr
;
11131 resultptr
= new wxColour((wxColour
&) result
);
11132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11140 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
;
11142 wxDC
*arg1
= (wxDC
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 PyObject
* obj1
= 0 ;
11149 PyObject
* obj2
= 0 ;
11150 PyObject
* obj3
= 0 ;
11151 PyObject
* obj4
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11159 arg2
= (int) SWIG_AsInt(obj1
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11161 arg3
= (int) SWIG_AsInt(obj2
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11163 arg4
= (int) SWIG_AsInt(obj3
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11165 arg5
= (int) SWIG_AsInt(obj4
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 Py_INCREF(Py_None
); resultobj
= Py_None
;
11181 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
;
11183 wxDC
*arg1
= (wxDC
*) 0 ;
11184 wxPoint
*arg2
= 0 ;
11185 wxPoint
*arg3
= 0 ;
11188 PyObject
* obj0
= 0 ;
11189 PyObject
* obj1
= 0 ;
11190 PyObject
* obj2
= 0 ;
11191 char *kwnames
[] = {
11192 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11204 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 Py_INCREF(Py_None
); resultobj
= Py_None
;
11220 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxDC
*arg1
= (wxDC
*) 0 ;
11225 PyObject
* obj0
= 0 ;
11226 PyObject
* obj1
= 0 ;
11227 PyObject
* obj2
= 0 ;
11228 char *kwnames
[] = {
11229 (char *) "self",(char *) "x",(char *) "y", NULL
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11235 arg2
= (int) SWIG_AsInt(obj1
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11237 arg3
= (int) SWIG_AsInt(obj2
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 (arg1
)->CrossHair(arg2
,arg3
);
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 Py_INCREF(Py_None
); resultobj
= Py_None
;
11253 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxDC
*arg1
= (wxDC
*) 0 ;
11256 wxPoint
*arg2
= 0 ;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self",(char *) "pt", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11269 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 Py_INCREF(Py_None
); resultobj
= Py_None
;
11285 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
;
11287 wxDC
*arg1
= (wxDC
*) 0 ;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 PyObject
* obj2
= 0 ;
11297 PyObject
* obj3
= 0 ;
11298 PyObject
* obj4
= 0 ;
11299 PyObject
* obj5
= 0 ;
11300 PyObject
* obj6
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11308 arg2
= (int) SWIG_AsInt(obj1
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11310 arg3
= (int) SWIG_AsInt(obj2
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11312 arg4
= (int) SWIG_AsInt(obj3
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11314 arg5
= (int) SWIG_AsInt(obj4
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11316 arg6
= (int) SWIG_AsInt(obj5
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11318 arg7
= (int) SWIG_AsInt(obj6
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 Py_INCREF(Py_None
); resultobj
= Py_None
;
11334 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxDC
*arg1
= (wxDC
*) 0 ;
11337 wxPoint
*arg2
= 0 ;
11338 wxPoint
*arg3
= 0 ;
11339 wxPoint
*arg4
= 0 ;
11343 PyObject
* obj0
= 0 ;
11344 PyObject
* obj1
= 0 ;
11345 PyObject
* obj2
= 0 ;
11346 PyObject
* obj3
= 0 ;
11347 char *kwnames
[] = {
11348 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
11351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11356 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11360 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11364 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 Py_INCREF(Py_None
); resultobj
= Py_None
;
11380 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
;
11382 wxDC
*arg1
= (wxDC
*) 0 ;
11387 PyObject
* obj0
= 0 ;
11388 PyObject
* obj1
= 0 ;
11389 PyObject
* obj2
= 0 ;
11390 PyObject
* obj3
= 0 ;
11391 PyObject
* obj4
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11399 arg2
= (int) SWIG_AsInt(obj1
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11401 arg3
= (int) SWIG_AsInt(obj2
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11403 arg4
= (int) SWIG_AsInt(obj3
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11405 arg5
= (int) SWIG_AsInt(obj4
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 Py_INCREF(Py_None
); resultobj
= Py_None
;
11421 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxDC
*arg1
= (wxDC
*) 0 ;
11426 PyObject
* obj0
= 0 ;
11427 PyObject
* obj1
= 0 ;
11428 char *kwnames
[] = {
11429 (char *) "self",(char *) "rect", NULL
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11437 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 Py_INCREF(Py_None
); resultobj
= Py_None
;
11453 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxDC
*arg1
= (wxDC
*) 0 ;
11462 PyObject
* obj0
= 0 ;
11463 PyObject
* obj1
= 0 ;
11464 PyObject
* obj2
= 0 ;
11465 PyObject
* obj3
= 0 ;
11466 PyObject
* obj4
= 0 ;
11467 PyObject
* obj5
= 0 ;
11468 PyObject
* obj6
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11476 arg2
= (int) SWIG_AsInt(obj1
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11478 arg3
= (int) SWIG_AsInt(obj2
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11480 arg4
= (int) SWIG_AsInt(obj3
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11482 arg5
= (int) SWIG_AsInt(obj4
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11484 arg6
= (double) SWIG_AsDouble(obj5
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11486 arg7
= (double) SWIG_AsDouble(obj6
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 Py_INCREF(Py_None
); resultobj
= Py_None
;
11502 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxDC
*arg1
= (wxDC
*) 0 ;
11505 wxPoint
*arg2
= 0 ;
11511 PyObject
* obj0
= 0 ;
11512 PyObject
* obj1
= 0 ;
11513 PyObject
* obj2
= 0 ;
11514 PyObject
* obj3
= 0 ;
11515 PyObject
* obj4
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11529 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11531 arg4
= (double) SWIG_AsDouble(obj3
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11533 arg5
= (double) SWIG_AsDouble(obj4
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 Py_INCREF(Py_None
); resultobj
= Py_None
;
11549 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxDC
*arg1
= (wxDC
*) 0 ;
11554 PyObject
* obj0
= 0 ;
11555 PyObject
* obj1
= 0 ;
11556 PyObject
* obj2
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "self",(char *) "x",(char *) "y", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11564 arg2
= (int) SWIG_AsInt(obj1
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11566 arg3
= (int) SWIG_AsInt(obj2
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 (arg1
)->DrawPoint(arg2
,arg3
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 Py_INCREF(Py_None
); resultobj
= Py_None
;
11582 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxDC
*arg1
= (wxDC
*) 0 ;
11585 wxPoint
*arg2
= 0 ;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 char *kwnames
[] = {
11590 (char *) "self",(char *) "pt", NULL
11593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11598 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 Py_INCREF(Py_None
); resultobj
= Py_None
;
11614 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxDC
*arg1
= (wxDC
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 PyObject
* obj2
= 0 ;
11624 PyObject
* obj3
= 0 ;
11625 PyObject
* obj4
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11633 arg2
= (int) SWIG_AsInt(obj1
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11635 arg3
= (int) SWIG_AsInt(obj2
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11637 arg4
= (int) SWIG_AsInt(obj3
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11639 arg5
= (int) SWIG_AsInt(obj4
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 Py_INCREF(Py_None
); resultobj
= Py_None
;
11655 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
;
11657 wxDC
*arg1
= (wxDC
*) 0 ;
11660 PyObject
* obj0
= 0 ;
11661 PyObject
* obj1
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "self",(char *) "rect", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11671 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 Py_INCREF(Py_None
); resultobj
= Py_None
;
11687 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxDC
*arg1
= (wxDC
*) 0 ;
11690 wxPoint
*arg2
= 0 ;
11694 PyObject
* obj0
= 0 ;
11695 PyObject
* obj1
= 0 ;
11696 PyObject
* obj2
= 0 ;
11697 char *kwnames
[] = {
11698 (char *) "self",(char *) "pt",(char *) "sz", NULL
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11706 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11710 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 Py_INCREF(Py_None
); resultobj
= Py_None
;
11726 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxDC
*arg1
= (wxDC
*) 0 ;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj1
= 0 ;
11736 PyObject
* obj2
= 0 ;
11737 PyObject
* obj3
= 0 ;
11738 PyObject
* obj4
= 0 ;
11739 PyObject
* obj5
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11747 arg2
= (int) SWIG_AsInt(obj1
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11749 arg3
= (int) SWIG_AsInt(obj2
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11751 arg4
= (int) SWIG_AsInt(obj3
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11753 arg5
= (int) SWIG_AsInt(obj4
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11755 arg6
= (double) SWIG_AsDouble(obj5
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 Py_INCREF(Py_None
); resultobj
= Py_None
;
11771 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxDC
*arg1
= (wxDC
*) 0 ;
11777 PyObject
* obj0
= 0 ;
11778 PyObject
* obj1
= 0 ;
11779 PyObject
* obj2
= 0 ;
11780 char *kwnames
[] = {
11781 (char *) "self",(char *) "r",(char *) "radius", NULL
11784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11789 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11791 arg3
= (double) SWIG_AsDouble(obj2
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 Py_INCREF(Py_None
); resultobj
= Py_None
;
11807 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11809 wxDC
*arg1
= (wxDC
*) 0 ;
11810 wxPoint
*arg2
= 0 ;
11815 PyObject
* obj0
= 0 ;
11816 PyObject
* obj1
= 0 ;
11817 PyObject
* obj2
= 0 ;
11818 PyObject
* obj3
= 0 ;
11819 char *kwnames
[] = {
11820 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11828 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11832 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11834 arg4
= (double) SWIG_AsDouble(obj3
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 Py_INCREF(Py_None
); resultobj
= Py_None
;
11850 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxDC
*arg1
= (wxDC
*) 0 ;
11856 PyObject
* obj0
= 0 ;
11857 PyObject
* obj1
= 0 ;
11858 PyObject
* obj2
= 0 ;
11859 PyObject
* obj3
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11867 arg2
= (int) SWIG_AsInt(obj1
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11869 arg3
= (int) SWIG_AsInt(obj2
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11871 arg4
= (int) SWIG_AsInt(obj3
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 Py_INCREF(Py_None
); resultobj
= Py_None
;
11887 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxDC
*arg1
= (wxDC
*) 0 ;
11890 wxPoint
*arg2
= 0 ;
11893 PyObject
* obj0
= 0 ;
11894 PyObject
* obj1
= 0 ;
11895 PyObject
* obj2
= 0 ;
11896 char *kwnames
[] = {
11897 (char *) "self",(char *) "pt",(char *) "radius", NULL
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11905 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11907 arg3
= (int) SWIG_AsInt(obj2
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 Py_INCREF(Py_None
); resultobj
= Py_None
;
11923 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxDC
*arg1
= (wxDC
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 PyObject
* obj2
= 0 ;
11933 PyObject
* obj3
= 0 ;
11934 PyObject
* obj4
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11942 arg2
= (int) SWIG_AsInt(obj1
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11944 arg3
= (int) SWIG_AsInt(obj2
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11946 arg4
= (int) SWIG_AsInt(obj3
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11948 arg5
= (int) SWIG_AsInt(obj4
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 Py_INCREF(Py_None
); resultobj
= Py_None
;
11964 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxDC
*arg1
= (wxDC
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 PyObject
* obj1
= 0 ;
11971 char *kwnames
[] = {
11972 (char *) "self",(char *) "rect", NULL
11975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11980 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 Py_INCREF(Py_None
); resultobj
= Py_None
;
11996 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
;
11998 wxDC
*arg1
= (wxDC
*) 0 ;
11999 wxPoint
*arg2
= 0 ;
12003 PyObject
* obj0
= 0 ;
12004 PyObject
* obj1
= 0 ;
12005 PyObject
* obj2
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self",(char *) "pt",(char *) "sz", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12015 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12019 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 Py_INCREF(Py_None
); resultobj
= Py_None
;
12035 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxDC
*arg1
= (wxDC
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 PyObject
* obj1
= 0 ;
12043 PyObject
* obj2
= 0 ;
12044 PyObject
* obj3
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12053 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12055 if (arg2
== NULL
) {
12056 PyErr_SetString(PyExc_TypeError
,"null reference");
12059 arg3
= (int) SWIG_AsInt(obj2
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12061 arg4
= (int) SWIG_AsInt(obj3
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 Py_INCREF(Py_None
); resultobj
= Py_None
;
12077 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12079 wxDC
*arg1
= (wxDC
*) 0 ;
12081 wxPoint
*arg3
= 0 ;
12083 PyObject
* obj0
= 0 ;
12084 PyObject
* obj1
= 0 ;
12085 PyObject
* obj2
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "self",(char *) "icon",(char *) "pt", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12096 if (arg2
== NULL
) {
12097 PyErr_SetString(PyExc_TypeError
,"null reference");
12102 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 Py_INCREF(Py_None
); resultobj
= Py_None
;
12118 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxDC
*arg1
= (wxDC
*) 0 ;
12121 wxBitmap
*arg2
= 0 ;
12124 bool arg5
= (bool) False
;
12125 PyObject
* obj0
= 0 ;
12126 PyObject
* obj1
= 0 ;
12127 PyObject
* obj2
= 0 ;
12128 PyObject
* obj3
= 0 ;
12129 PyObject
* obj4
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12140 if (arg2
== NULL
) {
12141 PyErr_SetString(PyExc_TypeError
,"null reference");
12144 arg3
= (int) SWIG_AsInt(obj2
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12146 arg4
= (int) SWIG_AsInt(obj3
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 arg5
= (bool) SWIG_AsBool(obj4
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 Py_INCREF(Py_None
); resultobj
= Py_None
;
12166 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 wxDC
*arg1
= (wxDC
*) 0 ;
12169 wxBitmap
*arg2
= 0 ;
12170 wxPoint
*arg3
= 0 ;
12171 bool arg4
= (bool) False
;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj1
= 0 ;
12175 PyObject
* obj2
= 0 ;
12176 PyObject
* obj3
= 0 ;
12177 char *kwnames
[] = {
12178 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12187 if (arg2
== NULL
) {
12188 PyErr_SetString(PyExc_TypeError
,"null reference");
12193 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12196 arg4
= (bool) SWIG_AsBool(obj3
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12206 Py_INCREF(Py_None
); resultobj
= Py_None
;
12213 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12214 PyObject
*resultobj
;
12215 wxDC
*arg1
= (wxDC
*) 0 ;
12216 wxString
*arg2
= 0 ;
12219 bool temp2
= False
;
12220 PyObject
* obj0
= 0 ;
12221 PyObject
* obj1
= 0 ;
12222 PyObject
* obj2
= 0 ;
12223 PyObject
* obj3
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12232 arg2
= wxString_in_helper(obj1
);
12233 if (arg2
== NULL
) SWIG_fail
;
12236 arg3
= (int) SWIG_AsInt(obj2
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12238 arg4
= (int) SWIG_AsInt(obj3
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 Py_INCREF(Py_None
); resultobj
= Py_None
;
12262 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12264 wxDC
*arg1
= (wxDC
*) 0 ;
12265 wxString
*arg2
= 0 ;
12266 wxPoint
*arg3
= 0 ;
12267 bool temp2
= False
;
12269 PyObject
* obj0
= 0 ;
12270 PyObject
* obj1
= 0 ;
12271 PyObject
* obj2
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self",(char *) "text",(char *) "pt", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12280 arg2
= wxString_in_helper(obj1
);
12281 if (arg2
== NULL
) SWIG_fail
;
12286 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12295 Py_INCREF(Py_None
); resultobj
= Py_None
;
12310 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxDC
*arg1
= (wxDC
*) 0 ;
12313 wxString
*arg2
= 0 ;
12317 bool temp2
= False
;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 PyObject
* obj2
= 0 ;
12321 PyObject
* obj3
= 0 ;
12322 PyObject
* obj4
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 arg2
= wxString_in_helper(obj1
);
12332 if (arg2
== NULL
) SWIG_fail
;
12335 arg3
= (int) SWIG_AsInt(obj2
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12337 arg4
= (int) SWIG_AsInt(obj3
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12339 arg5
= (double) SWIG_AsDouble(obj4
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 Py_INCREF(Py_None
); resultobj
= Py_None
;
12363 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxDC
*arg1
= (wxDC
*) 0 ;
12366 wxString
*arg2
= 0 ;
12367 wxPoint
*arg3
= 0 ;
12369 bool temp2
= False
;
12371 PyObject
* obj0
= 0 ;
12372 PyObject
* obj1
= 0 ;
12373 PyObject
* obj2
= 0 ;
12374 PyObject
* obj3
= 0 ;
12375 char *kwnames
[] = {
12376 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12383 arg2
= wxString_in_helper(obj1
);
12384 if (arg2
== NULL
) SWIG_fail
;
12389 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12391 arg4
= (double) SWIG_AsDouble(obj3
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 Py_INCREF(Py_None
); resultobj
= Py_None
;
12415 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxDC
*arg1
= (wxDC
*) 0 ;
12422 wxDC
*arg6
= (wxDC
*) 0 ;
12425 int arg9
= (int) wxCOPY
;
12426 bool arg10
= (bool) False
;
12427 int arg11
= (int) -1 ;
12428 int arg12
= (int) -1 ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 PyObject
* obj2
= 0 ;
12433 PyObject
* obj3
= 0 ;
12434 PyObject
* obj4
= 0 ;
12435 PyObject
* obj5
= 0 ;
12436 PyObject
* obj6
= 0 ;
12437 PyObject
* obj7
= 0 ;
12438 PyObject
* obj8
= 0 ;
12439 PyObject
* obj9
= 0 ;
12440 PyObject
* obj10
= 0 ;
12441 PyObject
* obj11
= 0 ;
12442 char *kwnames
[] = {
12443 (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
12446 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
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12449 arg2
= (int) SWIG_AsInt(obj1
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12451 arg3
= (int) SWIG_AsInt(obj2
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12453 arg4
= (int) SWIG_AsInt(obj3
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12455 arg5
= (int) SWIG_AsInt(obj4
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12457 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12459 arg7
= (int) SWIG_AsInt(obj6
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12461 arg8
= (int) SWIG_AsInt(obj7
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 arg9
= (int) SWIG_AsInt(obj8
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12468 arg10
= (bool) SWIG_AsBool(obj9
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12472 arg11
= (int) SWIG_AsInt(obj10
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12476 arg12
= (int) SWIG_AsInt(obj11
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12495 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxDC
*arg1
= (wxDC
*) 0 ;
12498 wxPoint
*arg2
= 0 ;
12500 wxDC
*arg4
= (wxDC
*) 0 ;
12501 wxPoint
*arg5
= 0 ;
12502 int arg6
= (int) wxCOPY
;
12503 bool arg7
= (bool) False
;
12504 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12505 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12511 PyObject
* obj0
= 0 ;
12512 PyObject
* obj1
= 0 ;
12513 PyObject
* obj2
= 0 ;
12514 PyObject
* obj3
= 0 ;
12515 PyObject
* obj4
= 0 ;
12516 PyObject
* obj5
= 0 ;
12517 PyObject
* obj6
= 0 ;
12518 PyObject
* obj7
= 0 ;
12519 char *kwnames
[] = {
12520 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12528 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12532 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12534 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12538 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12541 arg6
= (int) SWIG_AsInt(obj5
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12545 arg7
= (bool) SWIG_AsBool(obj6
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12551 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12570 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxDC
*arg1
= (wxDC
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 PyObject
* obj2
= 0 ;
12580 PyObject
* obj3
= 0 ;
12581 PyObject
* obj4
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12589 arg2
= (int) SWIG_AsInt(obj1
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12591 arg3
= (int) SWIG_AsInt(obj2
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12593 arg4
= (int) SWIG_AsInt(obj3
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12595 arg5
= (int) SWIG_AsInt(obj4
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 Py_INCREF(Py_None
); resultobj
= Py_None
;
12611 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxDC
*arg1
= (wxDC
*) 0 ;
12614 wxPoint
*arg2
= 0 ;
12618 PyObject
* obj0
= 0 ;
12619 PyObject
* obj1
= 0 ;
12620 PyObject
* obj2
= 0 ;
12621 char *kwnames
[] = {
12622 (char *) "self",(char *) "pt",(char *) "sz", NULL
12625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12634 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 Py_INCREF(Py_None
); resultobj
= Py_None
;
12650 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxDC
*arg1
= (wxDC
*) 0 ;
12653 wxRegion
*arg2
= 0 ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self",(char *) "region", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12666 if (arg2
== NULL
) {
12667 PyErr_SetString(PyExc_TypeError
,"null reference");
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 Py_INCREF(Py_None
); resultobj
= Py_None
;
12684 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxDC
*arg1
= (wxDC
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self",(char *) "rect", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12700 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 Py_INCREF(Py_None
); resultobj
= Py_None
;
12716 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxDC
*arg1
= (wxDC
*) 0 ;
12720 wxPoint
*arg3
= (wxPoint
*) 0 ;
12721 int arg4
= (int) 0 ;
12722 int arg5
= (int) 0 ;
12723 PyObject
* obj0
= 0 ;
12724 PyObject
* obj1
= 0 ;
12725 PyObject
* obj2
= 0 ;
12726 PyObject
* obj3
= 0 ;
12727 char *kwnames
[] = {
12728 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12735 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12736 if (arg3
== NULL
) SWIG_fail
;
12739 arg4
= (int) SWIG_AsInt(obj2
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12743 arg5
= (int) SWIG_AsInt(obj3
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 Py_INCREF(Py_None
); resultobj
= Py_None
;
12755 if (arg3
) delete [] arg3
;
12760 if (arg3
) delete [] arg3
;
12766 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
;
12768 wxDC
*arg1
= (wxDC
*) 0 ;
12770 wxPoint
*arg3
= (wxPoint
*) 0 ;
12771 int arg4
= (int) 0 ;
12772 int arg5
= (int) 0 ;
12773 int arg6
= (int) wxODDEVEN_RULE
;
12774 PyObject
* obj0
= 0 ;
12775 PyObject
* obj1
= 0 ;
12776 PyObject
* obj2
= 0 ;
12777 PyObject
* obj3
= 0 ;
12778 PyObject
* obj4
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12787 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12788 if (arg3
== NULL
) SWIG_fail
;
12791 arg4
= (int) SWIG_AsInt(obj2
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12795 arg5
= (int) SWIG_AsInt(obj3
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12799 arg6
= (int) SWIG_AsInt(obj4
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12809 Py_INCREF(Py_None
); resultobj
= Py_None
;
12811 if (arg3
) delete [] arg3
;
12816 if (arg3
) delete [] arg3
;
12822 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxDC
*arg1
= (wxDC
*) 0 ;
12825 wxString
*arg2
= 0 ;
12827 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12828 int arg5
= (int) -1 ;
12829 bool temp2
= False
;
12831 PyObject
* obj0
= 0 ;
12832 PyObject
* obj1
= 0 ;
12833 PyObject
* obj2
= 0 ;
12834 PyObject
* obj3
= 0 ;
12835 PyObject
* obj4
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12844 arg2
= wxString_in_helper(obj1
);
12845 if (arg2
== NULL
) SWIG_fail
;
12850 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12853 arg4
= (int) SWIG_AsInt(obj3
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12857 arg5
= (int) SWIG_AsInt(obj4
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12867 Py_INCREF(Py_None
); resultobj
= Py_None
;
12882 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxDC
*arg1
= (wxDC
*) 0 ;
12885 wxString
*arg2
= 0 ;
12886 wxBitmap
*arg3
= 0 ;
12888 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12889 int arg6
= (int) -1 ;
12891 bool temp2
= False
;
12893 PyObject
* obj0
= 0 ;
12894 PyObject
* obj1
= 0 ;
12895 PyObject
* obj2
= 0 ;
12896 PyObject
* obj3
= 0 ;
12897 PyObject
* obj4
= 0 ;
12898 PyObject
* obj5
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12907 arg2
= wxString_in_helper(obj1
);
12908 if (arg2
== NULL
) SWIG_fail
;
12911 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12914 if (arg3
== NULL
) {
12915 PyErr_SetString(PyExc_TypeError
,"null reference");
12920 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12923 arg5
= (int) SWIG_AsInt(obj4
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12927 arg6
= (int) SWIG_AsInt(obj5
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12938 wxRect
* resultptr
;
12939 resultptr
= new wxRect((wxRect
&) result
);
12940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12956 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
;
12958 wxDC
*arg1
= (wxDC
*) 0 ;
12960 wxPoint
*arg3
= (wxPoint
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 PyObject
* obj1
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self",(char *) "points", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12971 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12972 if (arg3
== NULL
) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 (arg1
)->DrawSpline(arg2
,arg3
);
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 Py_INCREF(Py_None
); resultobj
= Py_None
;
12983 if (arg3
) delete [] arg3
;
12988 if (arg3
) delete [] arg3
;
12994 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxDC
*arg1
= (wxDC
*) 0 ;
12997 PyObject
* obj0
= 0 ;
12998 char *kwnames
[] = {
12999 (char *) "self", NULL
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
13003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 Py_INCREF(Py_None
); resultobj
= Py_None
;
13019 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxDC
*arg1
= (wxDC
*) 0 ;
13022 wxString
*arg2
= 0 ;
13024 bool temp2
= False
;
13025 PyObject
* obj0
= 0 ;
13026 PyObject
* obj1
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self",(char *) "message", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
13032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13035 arg2
= wxString_in_helper(obj1
);
13036 if (arg2
== NULL
) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13063 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
;
13065 wxDC
*arg1
= (wxDC
*) 0 ;
13066 PyObject
* obj0
= 0 ;
13067 char *kwnames
[] = {
13068 (char *) "self", NULL
13071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
13072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13081 Py_INCREF(Py_None
); resultobj
= Py_None
;
13088 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
;
13090 wxDC
*arg1
= (wxDC
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
13097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 (arg1
)->StartPage();
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 Py_INCREF(Py_None
); resultobj
= Py_None
;
13113 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxDC
*arg1
= (wxDC
*) 0 ;
13116 PyObject
* obj0
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 Py_INCREF(Py_None
); resultobj
= Py_None
;
13138 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxDC
*arg1
= (wxDC
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self",(char *) "font", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13154 if (arg2
== NULL
) {
13155 PyErr_SetString(PyExc_TypeError
,"null reference");
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 (arg1
)->SetFont((wxFont
const &)*arg2
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 Py_INCREF(Py_None
); resultobj
= Py_None
;
13172 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxDC
*arg1
= (wxDC
*) 0 ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self",(char *) "pen", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
13183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13188 if (arg2
== NULL
) {
13189 PyErr_SetString(PyExc_TypeError
,"null reference");
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 (arg1
)->SetPen((wxPen
const &)*arg2
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 Py_INCREF(Py_None
); resultobj
= Py_None
;
13206 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
;
13208 wxDC
*arg1
= (wxDC
*) 0 ;
13209 wxBrush
*arg2
= 0 ;
13210 PyObject
* obj0
= 0 ;
13211 PyObject
* obj1
= 0 ;
13212 char *kwnames
[] = {
13213 (char *) "self",(char *) "brush", NULL
13216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13222 if (arg2
== NULL
) {
13223 PyErr_SetString(PyExc_TypeError
,"null reference");
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 Py_INCREF(Py_None
); resultobj
= Py_None
;
13240 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxDC
*arg1
= (wxDC
*) 0 ;
13243 wxBrush
*arg2
= 0 ;
13244 PyObject
* obj0
= 0 ;
13245 PyObject
* obj1
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self",(char *) "brush", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13256 if (arg2
== NULL
) {
13257 PyErr_SetString(PyExc_TypeError
,"null reference");
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 Py_INCREF(Py_None
); resultobj
= Py_None
;
13274 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxDC
*arg1
= (wxDC
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self",(char *) "mode", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 arg2
= (int) SWIG_AsInt(obj1
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 (arg1
)->SetBackgroundMode(arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 Py_INCREF(Py_None
); resultobj
= Py_None
;
13303 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxDC
*arg1
= (wxDC
*) 0 ;
13306 wxPalette
*arg2
= 0 ;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "palette", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13319 if (arg2
== NULL
) {
13320 PyErr_SetString(PyExc_TypeError
,"null reference");
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 Py_INCREF(Py_None
); resultobj
= Py_None
;
13337 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
;
13339 wxDC
*arg1
= (wxDC
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 char *kwnames
[] = {
13342 (char *) "self", NULL
13345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 (arg1
)->DestroyClippingRegion();
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 Py_INCREF(Py_None
); resultobj
= Py_None
;
13362 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
;
13364 wxDC
*arg1
= (wxDC
*) 0 ;
13365 int *arg2
= (int *) 0 ;
13366 int *arg3
= (int *) 0 ;
13367 int *arg4
= (int *) 0 ;
13368 int *arg5
= (int *) 0 ;
13373 PyObject
* obj0
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "self", NULL
13382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 Py_INCREF(Py_None
); resultobj
= Py_None
;
13394 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13395 resultobj
= t_output_helper(resultobj
,o
);
13398 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13399 resultobj
= t_output_helper(resultobj
,o
);
13402 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13403 resultobj
= t_output_helper(resultobj
,o
);
13406 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13407 resultobj
= t_output_helper(resultobj
,o
);
13415 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
;
13417 wxDC
*arg1
= (wxDC
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= wxDC_GetClippingRect(arg1
);
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13435 wxRect
* resultptr
;
13436 resultptr
= new wxRect((wxRect
&) result
);
13437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13445 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxDC
*arg1
= (wxDC
*) 0 ;
13449 PyObject
* obj0
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 resultobj
= SWIG_FromInt((int)result
);
13471 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
;
13473 wxDC
*arg1
= (wxDC
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= SWIG_FromInt((int)result
);
13497 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxDC
*arg1
= (wxDC
*) 0 ;
13500 wxString
*arg2
= 0 ;
13501 int *arg3
= (int *) 0 ;
13502 int *arg4
= (int *) 0 ;
13503 bool temp2
= False
;
13506 PyObject
* obj0
= 0 ;
13507 PyObject
* obj1
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "self",(char *) "string", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13518 arg2
= wxString_in_helper(obj1
);
13519 if (arg2
== NULL
) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 Py_INCREF(Py_None
); resultobj
= Py_None
;
13531 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13532 resultobj
= t_output_helper(resultobj
,o
);
13535 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13536 resultobj
= t_output_helper(resultobj
,o
);
13552 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxDC
*arg1
= (wxDC
*) 0 ;
13555 wxString
*arg2
= 0 ;
13556 int *arg3
= (int *) 0 ;
13557 int *arg4
= (int *) 0 ;
13558 int *arg5
= (int *) 0 ;
13559 int *arg6
= (int *) 0 ;
13560 wxFont
*arg7
= (wxFont
*) NULL
;
13561 bool temp2
= False
;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 PyObject
* obj2
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self",(char *) "string",(char *) "font", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13581 arg2
= wxString_in_helper(obj1
);
13582 if (arg2
== NULL
) SWIG_fail
;
13586 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 Py_INCREF(Py_None
); resultobj
= Py_None
;
13598 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13599 resultobj
= t_output_helper(resultobj
,o
);
13602 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13603 resultobj
= t_output_helper(resultobj
,o
);
13606 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13607 resultobj
= t_output_helper(resultobj
,o
);
13610 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13611 resultobj
= t_output_helper(resultobj
,o
);
13627 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
;
13629 wxDC
*arg1
= (wxDC
*) 0 ;
13630 wxString
*arg2
= 0 ;
13631 int *arg3
= (int *) 0 ;
13632 int *arg4
= (int *) 0 ;
13633 int *arg5
= (int *) 0 ;
13634 wxFont
*arg6
= (wxFont
*) NULL
;
13635 bool temp2
= False
;
13639 PyObject
* obj0
= 0 ;
13640 PyObject
* obj1
= 0 ;
13641 PyObject
* obj2
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self",(char *) "text",(char *) "font", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13653 arg2
= wxString_in_helper(obj1
);
13654 if (arg2
== NULL
) SWIG_fail
;
13658 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 Py_INCREF(Py_None
); resultobj
= Py_None
;
13670 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13671 resultobj
= t_output_helper(resultobj
,o
);
13674 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13675 resultobj
= t_output_helper(resultobj
,o
);
13678 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13679 resultobj
= t_output_helper(resultobj
,o
);
13695 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxDC
*arg1
= (wxDC
*) 0 ;
13698 wxString
*arg2
= 0 ;
13700 bool temp2
= False
;
13701 PyObject
* obj0
= 0 ;
13702 PyObject
* obj1
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self",(char *) "text", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13711 arg2
= wxString_in_helper(obj1
);
13712 if (arg2
== NULL
) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= PyList_New(0);
13725 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13726 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13727 PyList_Append(resultobj
, val
);
13745 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13746 PyObject
*resultobj
;
13747 wxDC
*arg1
= (wxDC
*) 0 ;
13749 PyObject
* obj0
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (arg1
)->GetSize();
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13765 wxSize
* resultptr
;
13766 resultptr
= new wxSize((wxSize
&) result
);
13767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13775 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxDC
*arg1
= (wxDC
*) 0 ;
13778 int *arg2
= (int *) 0 ;
13779 int *arg3
= (int *) 0 ;
13782 PyObject
* obj0
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "self", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 (arg1
)->GetSize(arg2
,arg3
);
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 Py_INCREF(Py_None
); resultobj
= Py_None
;
13801 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13802 resultobj
= t_output_helper(resultobj
,o
);
13805 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13806 resultobj
= t_output_helper(resultobj
,o
);
13814 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
;
13816 wxDC
*arg1
= (wxDC
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13834 wxSize
* resultptr
;
13835 resultptr
= new wxSize((wxSize
&) result
);
13836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13844 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
;
13846 wxDC
*arg1
= (wxDC
*) 0 ;
13847 int *arg2
= (int *) 0 ;
13848 int *arg3
= (int *) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 Py_INCREF(Py_None
); resultobj
= Py_None
;
13870 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13871 resultobj
= t_output_helper(resultobj
,o
);
13874 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13875 resultobj
= t_output_helper(resultobj
,o
);
13883 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxDC
*arg1
= (wxDC
*) 0 ;
13888 PyObject
* obj0
= 0 ;
13889 PyObject
* obj1
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self",(char *) "x", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13897 arg2
= (int) SWIG_AsInt(obj1
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_FromInt((int)result
);
13913 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
;
13915 wxDC
*arg1
= (wxDC
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 PyObject
* obj1
= 0 ;
13920 char *kwnames
[] = {
13921 (char *) "self",(char *) "y", NULL
13924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13927 arg2
= (int) SWIG_AsInt(obj1
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 resultobj
= SWIG_FromInt((int)result
);
13943 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 wxDC
*arg1
= (wxDC
*) 0 ;
13948 PyObject
* obj0
= 0 ;
13949 PyObject
* obj1
= 0 ;
13950 char *kwnames
[] = {
13951 (char *) "self",(char *) "x", NULL
13954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13957 arg2
= (int) SWIG_AsInt(obj1
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= SWIG_FromInt((int)result
);
13973 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxDC
*arg1
= (wxDC
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self",(char *) "y", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13987 arg2
= (int) SWIG_AsInt(obj1
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13991 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13993 wxPyEndAllowThreads(__tstate
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13996 resultobj
= SWIG_FromInt((int)result
);
14003 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14004 PyObject
*resultobj
;
14005 wxDC
*arg1
= (wxDC
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self",(char *) "x", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
14015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14017 arg2
= (int) SWIG_AsInt(obj1
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_FromInt((int)result
);
14033 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxDC
*arg1
= (wxDC
*) 0 ;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self",(char *) "y", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14047 arg2
= (int) SWIG_AsInt(obj1
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= SWIG_FromInt((int)result
);
14063 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxDC
*arg1
= (wxDC
*) 0 ;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self",(char *) "x", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14077 arg2
= (int) SWIG_AsInt(obj1
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
14083 wxPyEndAllowThreads(__tstate
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14086 resultobj
= SWIG_FromInt((int)result
);
14093 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
;
14095 wxDC
*arg1
= (wxDC
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "y", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14107 arg2
= (int) SWIG_AsInt(obj1
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= SWIG_FromInt((int)result
);
14123 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxDC
*arg1
= (wxDC
*) 0 ;
14127 PyObject
* obj0
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14151 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
;
14153 wxDC
*arg1
= (wxDC
*) 0 ;
14155 PyObject
* obj0
= 0 ;
14156 char *kwnames
[] = {
14157 (char *) "self", NULL
14160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
14161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14179 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxDC
*arg1
= (wxDC
*) 0 ;
14183 PyObject
* obj0
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
14189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= SWIG_FromInt((int)result
);
14205 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
;
14207 wxDC
*arg1
= (wxDC
*) 0 ;
14209 PyObject
* obj0
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "self", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 result
= ((wxDC
const *)arg1
)->GetPPI();
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14225 wxSize
* resultptr
;
14226 resultptr
= new wxSize((wxSize
&) result
);
14227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14235 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14237 wxDC
*arg1
= (wxDC
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (bool)((wxDC
const *)arg1
)->Ok();
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14263 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxDC
*arg1
= (wxDC
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= SWIG_FromInt((int)result
);
14289 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 wxDC
*arg1
= (wxDC
*) 0 ;
14293 PyObject
* obj0
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14305 result
= (wxBrush
*) &_result_ref
;
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14312 wxBrush
* resultptr
= new wxBrush(*result
);
14313 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14321 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxDC
*arg1
= (wxDC
*) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14337 result
= (wxBrush
*) &_result_ref
;
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14344 wxBrush
* resultptr
= new wxBrush(*result
);
14345 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14353 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxDC
*arg1
= (wxDC
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14369 result
= (wxFont
*) &_result_ref
;
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14376 wxFont
* resultptr
= new wxFont(*result
);
14377 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14385 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14386 PyObject
*resultobj
;
14387 wxDC
*arg1
= (wxDC
*) 0 ;
14389 PyObject
* obj0
= 0 ;
14390 char *kwnames
[] = {
14391 (char *) "self", NULL
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14401 result
= (wxPen
*) &_result_ref
;
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 wxPen
* resultptr
= new wxPen(*result
);
14409 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14417 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxDC
*arg1
= (wxDC
*) 0 ;
14421 PyObject
* obj0
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14433 result
= (wxColour
*) &_result_ref
;
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14446 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxDC
*arg1
= (wxDC
*) 0 ;
14450 PyObject
* obj0
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14462 result
= (wxColour
*) &_result_ref
;
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14475 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxDC
*arg1
= (wxDC
*) 0 ;
14478 wxColour
*arg2
= 0 ;
14480 PyObject
* obj0
= 0 ;
14481 PyObject
* obj1
= 0 ;
14482 char *kwnames
[] = {
14483 (char *) "self",(char *) "colour", NULL
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 Py_INCREF(Py_None
); resultobj
= Py_None
;
14507 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxDC
*arg1
= (wxDC
*) 0 ;
14510 wxColour
*arg2
= 0 ;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self",(char *) "colour", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14523 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 Py_INCREF(Py_None
); resultobj
= Py_None
;
14539 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxDC
*arg1
= (wxDC
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= SWIG_FromInt((int)result
);
14565 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxDC
*arg1
= (wxDC
*) 0 ;
14569 PyObject
* obj0
= 0 ;
14570 PyObject
* obj1
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "self",(char *) "mode", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14578 arg2
= (int) SWIG_AsInt(obj1
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 (arg1
)->SetMapMode(arg2
);
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14587 Py_INCREF(Py_None
); resultobj
= Py_None
;
14594 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxDC
*arg1
= (wxDC
*) 0 ;
14597 double *arg2
= (double *) 0 ;
14598 double *arg3
= (double *) 0 ;
14601 PyObject
* obj0
= 0 ;
14602 char *kwnames
[] = {
14603 (char *) "self", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 Py_INCREF(Py_None
); resultobj
= Py_None
;
14620 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14621 resultobj
= t_output_helper(resultobj
,o
);
14624 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14625 resultobj
= t_output_helper(resultobj
,o
);
14633 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxDC
*arg1
= (wxDC
*) 0 ;
14638 PyObject
* obj0
= 0 ;
14639 PyObject
* obj1
= 0 ;
14640 PyObject
* obj2
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self",(char *) "x",(char *) "y", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14648 arg2
= (double) SWIG_AsDouble(obj1
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14650 arg3
= (double) SWIG_AsDouble(obj2
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 (arg1
)->SetUserScale(arg2
,arg3
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 Py_INCREF(Py_None
); resultobj
= Py_None
;
14666 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxDC
*arg1
= (wxDC
*) 0 ;
14669 double *arg2
= (double *) 0 ;
14670 double *arg3
= (double *) 0 ;
14673 PyObject
* obj0
= 0 ;
14674 char *kwnames
[] = {
14675 (char *) "self", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 (arg1
)->GetLogicalScale(arg2
,arg3
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 Py_INCREF(Py_None
); resultobj
= Py_None
;
14692 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14693 resultobj
= t_output_helper(resultobj
,o
);
14696 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14697 resultobj
= t_output_helper(resultobj
,o
);
14705 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxDC
*arg1
= (wxDC
*) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 PyObject
* obj2
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self",(char *) "x",(char *) "y", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14720 arg2
= (double) SWIG_AsDouble(obj1
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14722 arg3
= (double) SWIG_AsDouble(obj2
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 (arg1
)->SetLogicalScale(arg2
,arg3
);
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14731 Py_INCREF(Py_None
); resultobj
= Py_None
;
14738 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14739 PyObject
*resultobj
;
14740 wxDC
*arg1
= (wxDC
*) 0 ;
14742 PyObject
* obj0
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14758 wxPoint
* resultptr
;
14759 resultptr
= new wxPoint((wxPoint
&) result
);
14760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14768 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxDC
*arg1
= (wxDC
*) 0 ;
14771 int *arg2
= (int *) 0 ;
14772 int *arg3
= (int *) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self", NULL
14782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14787 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14789 wxPyEndAllowThreads(__tstate
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 Py_INCREF(Py_None
); resultobj
= Py_None
;
14794 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14795 resultobj
= t_output_helper(resultobj
,o
);
14798 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14799 resultobj
= t_output_helper(resultobj
,o
);
14807 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxDC
*arg1
= (wxDC
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 PyObject
* obj2
= 0 ;
14815 char *kwnames
[] = {
14816 (char *) "self",(char *) "x",(char *) "y", NULL
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14822 arg2
= (int) SWIG_AsInt(obj1
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14824 arg3
= (int) SWIG_AsInt(obj2
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 Py_INCREF(Py_None
); resultobj
= Py_None
;
14840 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxDC
*arg1
= (wxDC
*) 0 ;
14843 wxPoint
*arg2
= 0 ;
14845 PyObject
* obj0
= 0 ;
14846 PyObject
* obj1
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self",(char *) "point", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14856 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 Py_INCREF(Py_None
); resultobj
= Py_None
;
14872 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
;
14874 wxDC
*arg1
= (wxDC
*) 0 ;
14876 PyObject
* obj0
= 0 ;
14877 char *kwnames
[] = {
14878 (char *) "self", NULL
14881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14892 wxPoint
* resultptr
;
14893 resultptr
= new wxPoint((wxPoint
&) result
);
14894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14902 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
;
14904 wxDC
*arg1
= (wxDC
*) 0 ;
14905 int *arg2
= (int *) 0 ;
14906 int *arg3
= (int *) 0 ;
14909 PyObject
* obj0
= 0 ;
14910 char *kwnames
[] = {
14911 (char *) "self", NULL
14916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 Py_INCREF(Py_None
); resultobj
= Py_None
;
14928 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14929 resultobj
= t_output_helper(resultobj
,o
);
14932 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14933 resultobj
= t_output_helper(resultobj
,o
);
14941 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
;
14943 wxDC
*arg1
= (wxDC
*) 0 ;
14946 PyObject
* obj0
= 0 ;
14947 PyObject
* obj1
= 0 ;
14948 PyObject
* obj2
= 0 ;
14949 char *kwnames
[] = {
14950 (char *) "self",(char *) "x",(char *) "y", NULL
14953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14956 arg2
= (int) SWIG_AsInt(obj1
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14958 arg3
= (int) SWIG_AsInt(obj2
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14962 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14964 wxPyEndAllowThreads(__tstate
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14967 Py_INCREF(Py_None
); resultobj
= Py_None
;
14974 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14975 PyObject
*resultobj
;
14976 wxDC
*arg1
= (wxDC
*) 0 ;
14977 wxPoint
*arg2
= 0 ;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self",(char *) "point", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14990 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 Py_INCREF(Py_None
); resultobj
= Py_None
;
15006 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxDC
*arg1
= (wxDC
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 PyObject
* obj2
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15021 arg2
= (bool) SWIG_AsBool(obj1
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15023 arg3
= (bool) SWIG_AsBool(obj2
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 (arg1
)->SetAxisOrientation(arg2
,arg3
);
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15032 Py_INCREF(Py_None
); resultobj
= Py_None
;
15039 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15040 PyObject
*resultobj
;
15041 wxDC
*arg1
= (wxDC
*) 0 ;
15043 PyObject
* obj0
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "self", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
15049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15058 resultobj
= SWIG_FromInt((int)result
);
15065 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
;
15067 wxDC
*arg1
= (wxDC
*) 0 ;
15069 PyObject
* obj0
= 0 ;
15070 PyObject
* obj1
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self",(char *) "function", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
15076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15078 arg2
= (int) SWIG_AsInt(obj1
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 (arg1
)->SetLogicalFunction(arg2
);
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 Py_INCREF(Py_None
); resultobj
= Py_None
;
15094 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxDC
*arg1
= (wxDC
*) 0 ;
15098 PyObject
* obj0
= 0 ;
15099 PyObject
* obj1
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self",(char *) "opt", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
15105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15107 arg2
= (bool) SWIG_AsBool(obj1
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 (arg1
)->SetOptimization(arg2
);
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 Py_INCREF(Py_None
); resultobj
= Py_None
;
15123 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxDC
*arg1
= (wxDC
*) 0 ;
15127 PyObject
* obj0
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
15133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 result
= (bool)(arg1
)->GetOptimization();
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15151 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxDC
*arg1
= (wxDC
*) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 PyObject
* obj2
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "self",(char *) "x",(char *) "y", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15166 arg2
= (int) SWIG_AsInt(obj1
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15168 arg3
= (int) SWIG_AsInt(obj2
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 (arg1
)->CalcBoundingBox(arg2
,arg3
);
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 Py_INCREF(Py_None
); resultobj
= Py_None
;
15184 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxDC
*arg1
= (wxDC
*) 0 ;
15187 wxPoint
*arg2
= 0 ;
15189 PyObject
* obj0
= 0 ;
15190 PyObject
* obj1
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self",(char *) "point", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15204 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15209 Py_INCREF(Py_None
); resultobj
= Py_None
;
15216 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxDC
*arg1
= (wxDC
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 char *kwnames
[] = {
15221 (char *) "self", NULL
15224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 (arg1
)->ResetBoundingBox();
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 Py_INCREF(Py_None
); resultobj
= Py_None
;
15241 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxDC
*arg1
= (wxDC
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (int)((wxDC
const *)arg1
)->MinX();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= SWIG_FromInt((int)result
);
15267 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxDC
*arg1
= (wxDC
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (int)((wxDC
const *)arg1
)->MaxX();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 resultobj
= SWIG_FromInt((int)result
);
15293 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxDC
*arg1
= (wxDC
*) 0 ;
15297 PyObject
* obj0
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (int)((wxDC
const *)arg1
)->MinY();
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15312 resultobj
= SWIG_FromInt((int)result
);
15319 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 wxDC
*arg1
= (wxDC
*) 0 ;
15323 PyObject
* obj0
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (int)((wxDC
const *)arg1
)->MaxY();
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 resultobj
= SWIG_FromInt((int)result
);
15345 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
;
15347 wxDC
*arg1
= (wxDC
*) 0 ;
15348 int *arg2
= (int *) 0 ;
15349 int *arg3
= (int *) 0 ;
15350 int *arg4
= (int *) 0 ;
15351 int *arg5
= (int *) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 char *kwnames
[] = {
15358 (char *) "self", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 Py_INCREF(Py_None
); resultobj
= Py_None
;
15377 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15378 resultobj
= t_output_helper(resultobj
,o
);
15381 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15382 resultobj
= t_output_helper(resultobj
,o
);
15385 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15386 resultobj
= t_output_helper(resultobj
,o
);
15389 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
15390 resultobj
= t_output_helper(resultobj
,o
);
15398 static PyObject
*_wrap_DC_GetHDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxDC
*arg1
= (wxDC
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
;
15408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (long)(arg1
)->GetHDC();
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 resultobj
= SWIG_FromLong((long)result
);
15424 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxDC
*arg1
= (wxDC
*) 0 ;
15427 PyObject
*arg2
= (PyObject
*) 0 ;
15428 PyObject
*arg3
= (PyObject
*) 0 ;
15429 PyObject
*arg4
= (PyObject
*) 0 ;
15431 PyObject
* obj0
= 0 ;
15432 PyObject
* obj1
= 0 ;
15433 PyObject
* obj2
= 0 ;
15434 PyObject
* obj3
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= result
;
15459 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxDC
*arg1
= (wxDC
*) 0 ;
15462 PyObject
*arg2
= (PyObject
*) 0 ;
15463 PyObject
*arg3
= (PyObject
*) 0 ;
15464 PyObject
*arg4
= (PyObject
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 PyObject
* obj1
= 0 ;
15468 PyObject
* obj2
= 0 ;
15469 PyObject
* obj3
= 0 ;
15470 char *kwnames
[] = {
15471 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15487 resultobj
= result
;
15494 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15496 wxDC
*arg1
= (wxDC
*) 0 ;
15497 PyObject
*arg2
= (PyObject
*) 0 ;
15498 PyObject
*arg3
= (PyObject
*) 0 ;
15499 PyObject
*arg4
= (PyObject
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 PyObject
* obj1
= 0 ;
15503 PyObject
* obj2
= 0 ;
15504 PyObject
* obj3
= 0 ;
15505 char *kwnames
[] = {
15506 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 resultobj
= result
;
15529 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxDC
*arg1
= (wxDC
*) 0 ;
15532 PyObject
*arg2
= (PyObject
*) 0 ;
15533 PyObject
*arg3
= (PyObject
*) 0 ;
15534 PyObject
*arg4
= (PyObject
*) 0 ;
15536 PyObject
* obj0
= 0 ;
15537 PyObject
* obj1
= 0 ;
15538 PyObject
* obj2
= 0 ;
15539 PyObject
* obj3
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= result
;
15564 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxDC
*arg1
= (wxDC
*) 0 ;
15567 PyObject
*arg2
= (PyObject
*) 0 ;
15568 PyObject
*arg3
= (PyObject
*) 0 ;
15569 PyObject
*arg4
= (PyObject
*) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 PyObject
* obj1
= 0 ;
15573 PyObject
* obj2
= 0 ;
15574 PyObject
* obj3
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= result
;
15599 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxDC
*arg1
= (wxDC
*) 0 ;
15602 PyObject
*arg2
= (PyObject
*) 0 ;
15603 PyObject
*arg3
= (PyObject
*) 0 ;
15604 PyObject
*arg4
= (PyObject
*) 0 ;
15605 PyObject
*arg5
= (PyObject
*) 0 ;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 PyObject
* obj2
= 0 ;
15610 PyObject
* obj3
= 0 ;
15611 PyObject
* obj4
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 resultobj
= result
;
15637 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15640 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15642 return Py_BuildValue((char *)"");
15644 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxMemoryDC
*result
;
15647 char *kwnames
[] = {
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15653 if (!wxPyCheckForApp()) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (wxMemoryDC
*)new wxMemoryDC();
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15667 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
;
15669 wxDC
*arg1
= (wxDC
*) 0 ;
15670 wxMemoryDC
*result
;
15671 PyObject
* obj0
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "oldDC", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15680 if (!wxPyCheckForApp()) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15694 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15695 PyObject
*resultobj
;
15696 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15697 wxBitmap
*arg2
= 0 ;
15698 PyObject
* obj0
= 0 ;
15699 PyObject
* obj1
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self",(char *) "bitmap", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15710 if (arg2
== NULL
) {
15711 PyErr_SetString(PyExc_TypeError
,"null reference");
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 Py_INCREF(Py_None
); resultobj
= Py_None
;
15728 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15731 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15733 return Py_BuildValue((char *)"");
15735 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15736 PyObject
*resultobj
;
15737 wxDC
*arg1
= (wxDC
*) 0 ;
15738 wxBitmap
*arg2
= 0 ;
15739 wxBufferedDC
*result
;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15743 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15749 if (arg2
== NULL
) {
15750 PyErr_SetString(PyExc_TypeError
,"null reference");
15754 if (!wxPyCheckForApp()) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15768 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15769 PyObject
*resultobj
;
15770 wxDC
*arg1
= (wxDC
*) 0 ;
15772 wxBufferedDC
*result
;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15777 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15782 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15785 if (!wxPyCheckForApp()) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15799 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15804 argc
= PyObject_Length(args
);
15805 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15806 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15812 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15822 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15830 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15838 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15847 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15850 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15855 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15860 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15861 PyObject
*resultobj
;
15862 wxDC
*arg1
= (wxDC
*) 0 ;
15864 wxBufferedDC
*result
;
15866 PyObject
* obj0
= 0 ;
15867 PyObject
* obj1
= 0 ;
15869 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15874 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15877 if (!wxPyCheckForApp()) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15891 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15894 PyObject
* obj0
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 Py_INCREF(Py_None
); resultobj
= Py_None
;
15916 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
;
15918 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15919 PyObject
* obj0
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 Py_INCREF(Py_None
); resultobj
= Py_None
;
15941 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15944 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15946 return Py_BuildValue((char *)"");
15948 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
;
15950 wxWindow
*arg1
= (wxWindow
*) 0 ;
15951 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15952 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15953 wxBufferedPaintDC
*result
;
15954 PyObject
* obj0
= 0 ;
15955 PyObject
* obj1
= 0 ;
15956 char *kwnames
[] = {
15957 (char *) "window",(char *) "buffer", NULL
15960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15967 if (arg2
== NULL
) {
15968 PyErr_SetString(PyExc_TypeError
,"null reference");
15973 if (!wxPyCheckForApp()) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15987 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15990 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15992 return Py_BuildValue((char *)"");
15994 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
;
15996 wxScreenDC
*result
;
15997 char *kwnames
[] = {
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
16003 if (!wxPyCheckForApp()) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 result
= (wxScreenDC
*)new wxScreenDC();
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
16017 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16020 wxWindow
*arg2
= (wxWindow
*) 0 ;
16022 PyObject
* obj0
= 0 ;
16023 PyObject
* obj1
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self",(char *) "window", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16049 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16052 wxRect
*arg2
= (wxRect
*) NULL
;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 char *kwnames
[] = {
16057 (char *) "self",(char *) "rect", NULL
16060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
16061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16083 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16087 PyObject
* obj0
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
16093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= (bool)(arg1
)->EndDrawingOnTop();
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16111 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
16113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16114 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
16116 return Py_BuildValue((char *)"");
16118 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxWindow
*arg1
= (wxWindow
*) 0 ;
16121 wxClientDC
*result
;
16122 PyObject
* obj0
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "win", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
16128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16131 if (!wxPyCheckForApp()) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (wxClientDC
*)new wxClientDC(arg1
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
16145 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
16147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16148 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
16150 return Py_BuildValue((char *)"");
16152 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
;
16154 wxWindow
*arg1
= (wxWindow
*) 0 ;
16156 PyObject
* obj0
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "win", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
16162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16165 if (!wxPyCheckForApp()) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
16179 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
16181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16182 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
16184 return Py_BuildValue((char *)"");
16186 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
;
16188 wxWindow
*arg1
= (wxWindow
*) 0 ;
16189 wxWindowDC
*result
;
16190 PyObject
* obj0
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "win", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
16196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16199 if (!wxPyCheckForApp()) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
16213 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
16215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16216 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
16218 return Py_BuildValue((char *)"");
16220 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16224 wxMirrorDC
*result
;
16225 PyObject
* obj0
= 0 ;
16226 PyObject
* obj1
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "dc",(char *) "mirror", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16235 if (arg1
== NULL
) {
16236 PyErr_SetString(PyExc_TypeError
,"null reference");
16239 arg2
= (bool) SWIG_AsBool(obj1
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 if (!wxPyCheckForApp()) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
16256 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
16258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16259 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
16261 return Py_BuildValue((char *)"");
16263 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxPrintData
*arg1
= 0 ;
16266 wxPostScriptDC
*result
;
16267 PyObject
* obj0
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "printData", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16276 if (arg1
== NULL
) {
16277 PyErr_SetString(PyExc_TypeError
,"null reference");
16281 if (!wxPyCheckForApp()) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16295 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16298 wxPrintData
*result
;
16299 PyObject
* obj0
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16310 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16311 result
= (wxPrintData
*) &_result_ref
;
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16324 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16327 wxPrintData
*arg2
= 0 ;
16328 PyObject
* obj0
= 0 ;
16329 PyObject
* obj1
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self",(char *) "data", NULL
16334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16340 if (arg2
== NULL
) {
16341 PyErr_SetString(PyExc_TypeError
,"null reference");
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16351 Py_INCREF(Py_None
); resultobj
= Py_None
;
16358 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "ppi", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16367 arg1
= (int) SWIG_AsInt(obj0
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 wxPostScriptDC::SetResolution(arg1
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 Py_INCREF(Py_None
); resultobj
= Py_None
;
16383 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16386 char *kwnames
[] = {
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (int)wxPostScriptDC::GetResolution();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16398 resultobj
= SWIG_FromInt((int)result
);
16405 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
16407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16408 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16410 return Py_BuildValue((char *)"");
16412 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16415 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16416 wxMetaFile
*result
;
16417 bool temp1
= False
;
16418 PyObject
* obj0
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "filename", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16426 arg1
= wxString_in_helper(obj0
);
16427 if (arg1
== NULL
) SWIG_fail
;
16432 if (!wxPyCheckForApp()) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16454 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "self", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 Py_INCREF(Py_None
); resultobj
= Py_None
;
16479 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16483 PyObject
* obj0
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (bool)(arg1
)->Ok();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16507 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16510 int arg2
= (int) 0 ;
16511 int arg3
= (int) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 PyObject
* obj1
= 0 ;
16515 PyObject
* obj2
= 0 ;
16516 char *kwnames
[] = {
16517 (char *) "self",(char *) "width",(char *) "height", NULL
16520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16524 arg2
= (int) SWIG_AsInt(obj1
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16528 arg3
= (int) SWIG_AsInt(obj2
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16547 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (arg1
)->GetSize();
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 wxSize
* resultptr
;
16568 resultptr
= new wxSize((wxSize
&) result
);
16569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16577 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16581 PyObject
* obj0
= 0 ;
16582 char *kwnames
[] = {
16583 (char *) "self", NULL
16586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (int)(arg1
)->GetWidth();
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= SWIG_FromInt((int)result
);
16603 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= (int)(arg1
)->GetHeight();
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= SWIG_FromInt((int)result
);
16629 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "self", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
16645 result
= (wxString
*) &_result_ref
;
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16655 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16664 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
16666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16667 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16669 return Py_BuildValue((char *)"");
16671 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16674 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16675 int arg2
= (int) 0 ;
16676 int arg3
= (int) 0 ;
16677 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16678 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16679 wxMetaFileDC
*result
;
16680 bool temp1
= False
;
16681 bool temp4
= False
;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 PyObject
* obj2
= 0 ;
16685 PyObject
* obj3
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16693 arg1
= wxString_in_helper(obj0
);
16694 if (arg1
== NULL
) SWIG_fail
;
16699 arg2
= (int) SWIG_AsInt(obj1
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16703 arg3
= (int) SWIG_AsInt(obj2
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16708 arg4
= wxString_in_helper(obj3
);
16709 if (arg4
== NULL
) SWIG_fail
;
16714 if (!wxPyCheckForApp()) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16744 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16747 wxMetaFile
*result
;
16748 PyObject
* obj0
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= (wxMetaFile
*)(arg1
)->Close();
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16770 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16773 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16775 return Py_BuildValue((char *)"");
16777 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxPrintData
*arg1
= 0 ;
16780 wxPrinterDC
*result
;
16781 PyObject
* obj0
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "printData", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16790 if (arg1
== NULL
) {
16791 PyErr_SetString(PyExc_TypeError
,"null reference");
16795 if (!wxPyCheckForApp()) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16809 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16812 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16814 return Py_BuildValue((char *)"");
16816 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
;
16820 int arg3
= (int) True
;
16821 int arg4
= (int) 1 ;
16822 wxImageList
*result
;
16823 PyObject
* obj0
= 0 ;
16824 PyObject
* obj1
= 0 ;
16825 PyObject
* obj2
= 0 ;
16826 PyObject
* obj3
= 0 ;
16827 char *kwnames
[] = {
16828 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16832 arg1
= (int) SWIG_AsInt(obj0
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16834 arg2
= (int) SWIG_AsInt(obj1
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16837 arg3
= (int) SWIG_AsInt(obj2
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16841 arg4
= (int) SWIG_AsInt(obj3
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16845 if (!wxPyCheckForApp()) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= wxPyMake_wxObject(result
);
16861 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxImageList
*arg1
= (wxImageList
*) 0 ;
16864 PyObject
* obj0
= 0 ;
16865 char *kwnames
[] = {
16866 (char *) "self", NULL
16869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 Py_INCREF(Py_None
); resultobj
= Py_None
;
16886 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
;
16888 wxImageList
*arg1
= (wxImageList
*) 0 ;
16889 wxBitmap
*arg2
= 0 ;
16890 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16891 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16893 PyObject
* obj0
= 0 ;
16894 PyObject
* obj1
= 0 ;
16895 PyObject
* obj2
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16906 if (arg2
== NULL
) {
16907 PyErr_SetString(PyExc_TypeError
,"null reference");
16911 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16914 if (arg3
== NULL
) {
16915 PyErr_SetString(PyExc_TypeError
,"null reference");
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= SWIG_FromInt((int)result
);
16933 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
;
16935 wxImageList
*arg1
= (wxImageList
*) 0 ;
16936 wxBitmap
*arg2
= 0 ;
16937 wxColour
*arg3
= 0 ;
16940 PyObject
* obj0
= 0 ;
16941 PyObject
* obj1
= 0 ;
16942 PyObject
* obj2
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16953 if (arg2
== NULL
) {
16954 PyErr_SetString(PyExc_TypeError
,"null reference");
16959 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= SWIG_FromInt((int)result
);
16975 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
;
16977 wxImageList
*arg1
= (wxImageList
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 PyObject
* obj1
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self",(char *) "icon", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16992 if (arg2
== NULL
) {
16993 PyErr_SetString(PyExc_TypeError
,"null reference");
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= SWIG_FromInt((int)result
);
17010 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
;
17012 wxImageList
*arg1
= (wxImageList
*) 0 ;
17014 wxBitmap
*arg3
= 0 ;
17015 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
17016 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
17018 PyObject
* obj0
= 0 ;
17019 PyObject
* obj1
= 0 ;
17020 PyObject
* obj2
= 0 ;
17021 PyObject
* obj3
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17029 arg2
= (int) SWIG_AsInt(obj1
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17031 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
17032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17034 if (arg3
== NULL
) {
17035 PyErr_SetString(PyExc_TypeError
,"null reference");
17039 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17042 if (arg4
== NULL
) {
17043 PyErr_SetString(PyExc_TypeError
,"null reference");
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
17051 wxPyEndAllowThreads(__tstate
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17063 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxImageList
*arg1
= (wxImageList
*) 0 ;
17070 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
17071 bool arg7
= (bool) (bool)False
;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 PyObject
* obj2
= 0 ;
17076 PyObject
* obj3
= 0 ;
17077 PyObject
* obj4
= 0 ;
17078 PyObject
* obj5
= 0 ;
17079 PyObject
* obj6
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17087 arg2
= (int) SWIG_AsInt(obj1
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17089 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
17090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17092 if (arg3
== NULL
) {
17093 PyErr_SetString(PyExc_TypeError
,"null reference");
17096 arg4
= (int) SWIG_AsInt(obj3
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17098 arg5
= (int) SWIG_AsInt(obj4
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17101 arg6
= (int) SWIG_AsInt(obj5
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17105 arg7
= (bool const) SWIG_AsBool(obj6
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
17112 wxPyEndAllowThreads(__tstate
);
17113 if (PyErr_Occurred()) SWIG_fail
;
17116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17124 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17126 wxImageList
*arg1
= (wxImageList
*) 0 ;
17128 PyObject
* obj0
= 0 ;
17129 char *kwnames
[] = {
17130 (char *) "self", NULL
17133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
17134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (int)(arg1
)->GetImageCount();
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= SWIG_FromInt((int)result
);
17150 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 wxImageList
*arg1
= (wxImageList
*) 0 ;
17155 PyObject
* obj0
= 0 ;
17156 PyObject
* obj1
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self",(char *) "index", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17164 arg2
= (int) SWIG_AsInt(obj1
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= (bool)(arg1
)->Remove(arg2
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17182 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxImageList
*arg1
= (wxImageList
*) 0 ;
17186 PyObject
* obj0
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
17192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (bool)(arg1
)->RemoveAll();
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17210 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxImageList
*arg1
= (wxImageList
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self",(char *) "index", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17229 arg2
= (int) SWIG_AsInt(obj1
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17238 Py_INCREF(Py_None
); resultobj
= Py_None
;
17240 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17241 resultobj
= t_output_helper(resultobj
,o
);
17244 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
17245 resultobj
= t_output_helper(resultobj
,o
);
17253 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
17255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17256 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
17258 return Py_BuildValue((char *)"");
17260 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
17261 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
17266 static PyObject
*_wrap_NORMAL_FONT_get() {
17269 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
17274 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
17275 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
17280 static PyObject
*_wrap_SMALL_FONT_get() {
17283 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
17288 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
17289 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
17294 static PyObject
*_wrap_ITALIC_FONT_get() {
17297 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
17302 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
17303 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
17308 static PyObject
*_wrap_SWISS_FONT_get() {
17311 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
17316 static int _wrap_RED_PEN_set(PyObject
*_val
) {
17317 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
17322 static PyObject
*_wrap_RED_PEN_get() {
17325 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
17330 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
17331 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
17336 static PyObject
*_wrap_CYAN_PEN_get() {
17339 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
17344 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
17345 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
17350 static PyObject
*_wrap_GREEN_PEN_get() {
17353 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17358 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
17359 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17364 static PyObject
*_wrap_BLACK_PEN_get() {
17367 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17372 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
17373 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17378 static PyObject
*_wrap_WHITE_PEN_get() {
17381 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17386 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
17387 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17392 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17395 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17400 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
17401 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17406 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17409 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17414 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
17415 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17420 static PyObject
*_wrap_GREY_PEN_get() {
17423 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17428 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
17429 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17434 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17437 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17442 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
17443 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17448 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17451 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17456 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
17457 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17462 static PyObject
*_wrap_BLUE_BRUSH_get() {
17465 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17470 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
17471 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17476 static PyObject
*_wrap_GREEN_BRUSH_get() {
17479 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17484 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
17485 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17490 static PyObject
*_wrap_WHITE_BRUSH_get() {
17493 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17498 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
17499 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17504 static PyObject
*_wrap_BLACK_BRUSH_get() {
17507 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17512 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
17513 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17518 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17521 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17526 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
17527 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17532 static PyObject
*_wrap_CYAN_BRUSH_get() {
17535 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17540 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
17541 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17546 static PyObject
*_wrap_RED_BRUSH_get() {
17549 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17554 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
17555 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17560 static PyObject
*_wrap_GREY_BRUSH_get() {
17563 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17568 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
17569 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17574 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17577 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17582 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
17583 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17588 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17591 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17596 static int _wrap_BLACK_set(PyObject
*_val
) {
17597 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17602 static PyObject
*_wrap_BLACK_get() {
17605 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17610 static int _wrap_WHITE_set(PyObject
*_val
) {
17611 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17616 static PyObject
*_wrap_WHITE_get() {
17619 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17624 static int _wrap_RED_set(PyObject
*_val
) {
17625 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17630 static PyObject
*_wrap_RED_get() {
17633 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17638 static int _wrap_BLUE_set(PyObject
*_val
) {
17639 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17644 static PyObject
*_wrap_BLUE_get() {
17647 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17652 static int _wrap_GREEN_set(PyObject
*_val
) {
17653 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17658 static PyObject
*_wrap_GREEN_get() {
17661 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17666 static int _wrap_CYAN_set(PyObject
*_val
) {
17667 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17672 static PyObject
*_wrap_CYAN_get() {
17675 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17680 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
17681 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17686 static PyObject
*_wrap_LIGHT_GREY_get() {
17689 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17694 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
17695 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17700 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17703 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17708 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
17709 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17714 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17717 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17722 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
17723 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17728 static PyObject
*_wrap_CROSS_CURSOR_get() {
17731 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17736 static int _wrap_NullBitmap_set(PyObject
*_val
) {
17737 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17742 static PyObject
*_wrap_NullBitmap_get() {
17745 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17750 static int _wrap_NullIcon_set(PyObject
*_val
) {
17751 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17756 static PyObject
*_wrap_NullIcon_get() {
17759 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17764 static int _wrap_NullCursor_set(PyObject
*_val
) {
17765 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17770 static PyObject
*_wrap_NullCursor_get() {
17773 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17778 static int _wrap_NullPen_set(PyObject
*_val
) {
17779 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17784 static PyObject
*_wrap_NullPen_get() {
17787 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17792 static int _wrap_NullBrush_set(PyObject
*_val
) {
17793 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17798 static PyObject
*_wrap_NullBrush_get() {
17801 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17806 static int _wrap_NullPalette_set(PyObject
*_val
) {
17807 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17812 static PyObject
*_wrap_NullPalette_get() {
17815 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17820 static int _wrap_NullFont_set(PyObject
*_val
) {
17821 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17826 static PyObject
*_wrap_NullFont_get() {
17829 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17834 static int _wrap_NullColour_set(PyObject
*_val
) {
17835 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17840 static PyObject
*_wrap_NullColour_get() {
17843 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17848 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxPenList
*arg1
= (wxPenList
*) 0 ;
17851 wxPen
*arg2
= (wxPen
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self",(char *) "pen", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 (arg1
)->AddPen(arg2
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 Py_INCREF(Py_None
); resultobj
= Py_None
;
17877 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxPenList
*arg1
= (wxPenList
*) 0 ;
17880 wxColour
*arg2
= 0 ;
17885 PyObject
* obj0
= 0 ;
17886 PyObject
* obj1
= 0 ;
17887 PyObject
* obj2
= 0 ;
17888 PyObject
* obj3
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17898 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17900 arg3
= (int) SWIG_AsInt(obj2
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17902 arg4
= (int) SWIG_AsInt(obj3
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17918 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxPenList
*arg1
= (wxPenList
*) 0 ;
17921 wxPen
*arg2
= (wxPen
*) 0 ;
17922 PyObject
* obj0
= 0 ;
17923 PyObject
* obj1
= 0 ;
17924 char *kwnames
[] = {
17925 (char *) "self",(char *) "pen", NULL
17928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->RemovePen(arg2
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 Py_INCREF(Py_None
); resultobj
= Py_None
;
17947 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxPenList
*arg1
= (wxPenList
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "self", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 result
= (int)(arg1
)->GetCount();
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= SWIG_FromInt((int)result
);
17973 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17976 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17978 return Py_BuildValue((char *)"");
17980 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17983 wxBrush
*arg2
= (wxBrush
*) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 PyObject
* obj1
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self",(char *) "brush", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 (arg1
)->AddBrush(arg2
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 Py_INCREF(Py_None
); resultobj
= Py_None
;
18009 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18012 wxColour
*arg2
= 0 ;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 PyObject
* obj2
= 0 ;
18019 char *kwnames
[] = {
18020 (char *) "self",(char *) "colour",(char *) "style", NULL
18023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18028 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18030 arg3
= (int) SWIG_AsInt(obj2
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
18046 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18048 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18049 wxBrush
*arg2
= (wxBrush
*) 0 ;
18050 PyObject
* obj0
= 0 ;
18051 PyObject
* obj1
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self",(char *) "brush", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
18057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
18060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 (arg1
)->RemoveBrush(arg2
);
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18068 Py_INCREF(Py_None
); resultobj
= Py_None
;
18075 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
;
18077 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18079 PyObject
* obj0
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "self", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
18085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= (int)(arg1
)->GetCount();
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= SWIG_FromInt((int)result
);
18101 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
18103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18104 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
18106 return Py_BuildValue((char *)"");
18108 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxColourDatabase
*result
;
18111 char *kwnames
[] = {
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
18117 if (!wxPyCheckForApp()) SWIG_fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= (wxColourDatabase
*)new wxColourDatabase();
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
18131 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
;
18133 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 char *kwnames
[] = {
18136 (char *) "self", NULL
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
18140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 Py_INCREF(Py_None
); resultobj
= Py_None
;
18156 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18159 wxString
*arg2
= 0 ;
18161 bool temp2
= False
;
18162 PyObject
* obj0
= 0 ;
18163 PyObject
* obj1
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self",(char *) "name", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
18169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18172 arg2
= wxString_in_helper(obj1
);
18173 if (arg2
== NULL
) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18184 wxColour
* resultptr
;
18185 resultptr
= new wxColour((wxColour
&) result
);
18186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18202 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18205 wxColour
*arg2
= 0 ;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "self",(char *) "colour", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
18215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18219 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18241 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18242 PyObject
*resultobj
;
18243 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18244 wxString
*arg2
= 0 ;
18245 wxColour
*arg3
= 0 ;
18246 bool temp2
= False
;
18248 PyObject
* obj0
= 0 ;
18249 PyObject
* obj1
= 0 ;
18250 PyObject
* obj2
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self",(char *) "name",(char *) "colour", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18259 arg2
= wxString_in_helper(obj1
);
18260 if (arg2
== NULL
) SWIG_fail
;
18265 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 Py_INCREF(Py_None
); resultobj
= Py_None
;
18289 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18292 wxString
*arg2
= 0 ;
18296 bool temp2
= False
;
18297 PyObject
* obj0
= 0 ;
18298 PyObject
* obj1
= 0 ;
18299 PyObject
* obj2
= 0 ;
18300 PyObject
* obj3
= 0 ;
18301 PyObject
* obj4
= 0 ;
18302 char *kwnames
[] = {
18303 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
18306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18310 arg2
= wxString_in_helper(obj1
);
18311 if (arg2
== NULL
) SWIG_fail
;
18314 arg3
= (int) SWIG_AsInt(obj2
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18316 arg4
= (int) SWIG_AsInt(obj3
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18318 arg5
= (int) SWIG_AsInt(obj4
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 Py_INCREF(Py_None
); resultobj
= Py_None
;
18342 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
18344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18345 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
18347 return Py_BuildValue((char *)"");
18349 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxFontList
*arg1
= (wxFontList
*) 0 ;
18352 wxFont
*arg2
= (wxFont
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self",(char *) "font", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 (arg1
)->AddFont(arg2
);
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 Py_INCREF(Py_None
); resultobj
= Py_None
;
18378 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxFontList
*arg1
= (wxFontList
*) 0 ;
18385 bool arg6
= (bool) False
;
18386 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18388 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18390 bool temp7
= False
;
18391 PyObject
* obj0
= 0 ;
18392 PyObject
* obj1
= 0 ;
18393 PyObject
* obj2
= 0 ;
18394 PyObject
* obj3
= 0 ;
18395 PyObject
* obj4
= 0 ;
18396 PyObject
* obj5
= 0 ;
18397 PyObject
* obj6
= 0 ;
18398 PyObject
* obj7
= 0 ;
18399 char *kwnames
[] = {
18400 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18406 arg2
= (int) SWIG_AsInt(obj1
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18408 arg3
= (int) SWIG_AsInt(obj2
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18410 arg4
= (int) SWIG_AsInt(obj3
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18412 arg5
= (int) SWIG_AsInt(obj4
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 arg6
= (bool) SWIG_AsBool(obj5
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18420 arg7
= wxString_in_helper(obj6
);
18421 if (arg7
== NULL
) SWIG_fail
;
18426 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18433 wxPyEndAllowThreads(__tstate
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18451 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxFontList
*arg1
= (wxFontList
*) 0 ;
18454 wxFont
*arg2
= (wxFont
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self",(char *) "font", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 (arg1
)->RemoveFont(arg2
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 Py_INCREF(Py_None
); resultobj
= Py_None
;
18480 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxFontList
*arg1
= (wxFontList
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 result
= (int)(arg1
)->GetCount();
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18499 resultobj
= SWIG_FromInt((int)result
);
18506 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
18508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18509 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18511 return Py_BuildValue((char *)"");
18513 static int _wrap_TheFontList_set(PyObject
*_val
) {
18514 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18519 static PyObject
*_wrap_TheFontList_get() {
18522 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18527 static int _wrap_ThePenList_set(PyObject
*_val
) {
18528 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18533 static PyObject
*_wrap_ThePenList_get() {
18536 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18541 static int _wrap_TheBrushList_set(PyObject
*_val
) {
18542 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18547 static PyObject
*_wrap_TheBrushList_get() {
18550 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18555 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
18556 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18561 static PyObject
*_wrap_TheColourDatabase_get() {
18564 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18569 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18572 char *kwnames
[] = {
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18579 result
= (wxEffects
*)new wxEffects();
18581 wxPyEndAllowThreads(__tstate
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18591 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18592 PyObject
*resultobj
;
18593 wxEffects
*arg1
= (wxEffects
*) 0 ;
18595 PyObject
* obj0
= 0 ;
18596 char *kwnames
[] = {
18597 (char *) "self", NULL
18600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18611 wxColour
* resultptr
;
18612 resultptr
= new wxColour((wxColour
&) result
);
18613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18621 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 wxEffects
*arg1
= (wxEffects
*) 0 ;
18625 PyObject
* obj0
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18641 wxColour
* resultptr
;
18642 resultptr
= new wxColour((wxColour
&) result
);
18643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18651 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 wxEffects
*arg1
= (wxEffects
*) 0 ;
18655 PyObject
* obj0
= 0 ;
18656 char *kwnames
[] = {
18657 (char *) "self", NULL
18660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18671 wxColour
* resultptr
;
18672 resultptr
= new wxColour((wxColour
&) result
);
18673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18681 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxEffects
*arg1
= (wxEffects
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18701 wxColour
* resultptr
;
18702 resultptr
= new wxColour((wxColour
&) result
);
18703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18711 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18712 PyObject
*resultobj
;
18713 wxEffects
*arg1
= (wxEffects
*) 0 ;
18715 PyObject
* obj0
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "self", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18731 wxColour
* resultptr
;
18732 resultptr
= new wxColour((wxColour
&) result
);
18733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18741 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18743 wxEffects
*arg1
= (wxEffects
*) 0 ;
18744 wxColour
*arg2
= 0 ;
18746 PyObject
* obj0
= 0 ;
18747 PyObject
* obj1
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "self",(char *) "c", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18757 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 Py_INCREF(Py_None
); resultobj
= Py_None
;
18773 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxEffects
*arg1
= (wxEffects
*) 0 ;
18776 wxColour
*arg2
= 0 ;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj1
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self",(char *) "c", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18789 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18793 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18795 wxPyEndAllowThreads(__tstate
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18798 Py_INCREF(Py_None
); resultobj
= Py_None
;
18805 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxEffects
*arg1
= (wxEffects
*) 0 ;
18808 wxColour
*arg2
= 0 ;
18810 PyObject
* obj0
= 0 ;
18811 PyObject
* obj1
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "self",(char *) "c", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18821 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 Py_INCREF(Py_None
); resultobj
= Py_None
;
18837 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
;
18839 wxEffects
*arg1
= (wxEffects
*) 0 ;
18840 wxColour
*arg2
= 0 ;
18842 PyObject
* obj0
= 0 ;
18843 PyObject
* obj1
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self",(char *) "c", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18853 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 Py_INCREF(Py_None
); resultobj
= Py_None
;
18869 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxEffects
*arg1
= (wxEffects
*) 0 ;
18872 wxColour
*arg2
= 0 ;
18874 PyObject
* obj0
= 0 ;
18875 PyObject
* obj1
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self",(char *) "c", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18885 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 Py_INCREF(Py_None
); resultobj
= Py_None
;
18901 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxEffects
*arg1
= (wxEffects
*) 0 ;
18904 wxColour
*arg2
= 0 ;
18905 wxColour
*arg3
= 0 ;
18906 wxColour
*arg4
= 0 ;
18907 wxColour
*arg5
= 0 ;
18908 wxColour
*arg6
= 0 ;
18914 PyObject
* obj0
= 0 ;
18915 PyObject
* obj1
= 0 ;
18916 PyObject
* obj2
= 0 ;
18917 PyObject
* obj3
= 0 ;
18918 PyObject
* obj4
= 0 ;
18919 PyObject
* obj5
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18929 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18933 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18937 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18941 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18945 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18949 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18954 Py_INCREF(Py_None
); resultobj
= Py_None
;
18961 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18962 PyObject
*resultobj
;
18963 wxEffects
*arg1
= (wxEffects
*) 0 ;
18966 int arg4
= (int) 1 ;
18968 PyObject
* obj0
= 0 ;
18969 PyObject
* obj1
= 0 ;
18970 PyObject
* obj2
= 0 ;
18971 PyObject
* obj3
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18982 if (arg2
== NULL
) {
18983 PyErr_SetString(PyExc_TypeError
,"null reference");
18988 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18991 arg4
= (int) SWIG_AsInt(obj3
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 Py_INCREF(Py_None
); resultobj
= Py_None
;
19008 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxEffects
*arg1
= (wxEffects
*) 0 ;
19013 wxBitmap
*arg4
= 0 ;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj1
= 0 ;
19018 PyObject
* obj2
= 0 ;
19019 PyObject
* obj3
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19029 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19031 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
19032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19034 if (arg3
== NULL
) {
19035 PyErr_SetString(PyExc_TypeError
,"null reference");
19038 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
19039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19041 if (arg4
== NULL
) {
19042 PyErr_SetString(PyExc_TypeError
,"null reference");
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19061 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
19063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19064 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
19066 return Py_BuildValue((char *)"");
19068 static PyMethodDef SwigMethods
[] = {
19069 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
19070 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
19071 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
19072 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
19073 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
19074 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
19075 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
19076 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
19077 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
19078 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
19079 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
19080 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
19081 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
19082 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19083 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
19084 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
19085 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
19086 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
19087 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19088 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19089 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
19090 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
19091 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
19092 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
19093 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
19094 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
19095 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
19096 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19097 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
19098 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
19099 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
19100 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
19101 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
19102 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
19103 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19104 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19105 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19106 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
19107 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
19108 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
19109 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19110 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19111 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
19112 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
19113 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
19114 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
19115 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
19116 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
19117 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19118 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19119 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
19120 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
19121 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
19122 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
19123 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19124 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
19125 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
19126 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19127 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
19128 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19129 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
19130 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
19131 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
19132 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19133 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
19134 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
19135 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
19136 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
19137 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
19138 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19139 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19140 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19141 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19142 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19143 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19144 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19145 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
19146 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
19147 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
19148 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
19149 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19150 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
19151 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
19152 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
19153 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19154 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19155 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19156 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19157 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
19158 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
19159 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
19160 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19161 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19162 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
19163 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
19164 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
19165 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
19166 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
19167 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
19168 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
19169 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19170 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
19171 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
19172 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19173 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19174 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19175 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19176 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19177 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19178 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19179 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19180 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19181 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19182 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19183 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
19184 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
19185 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
19186 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
19187 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19188 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19189 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
19190 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
19191 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
19192 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
19193 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
19194 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
19195 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
19196 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19197 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
19198 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
19199 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
19200 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
19201 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
19202 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
19203 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
19204 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19205 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19206 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19207 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19208 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19209 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19210 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19211 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19212 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19213 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19214 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
19215 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
19216 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19217 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
19218 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
19219 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
19220 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19221 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
19222 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
19223 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
19224 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
19225 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
19226 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
19227 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
19228 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
19229 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
19230 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
19231 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
19232 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
19233 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
19234 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
19235 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
19236 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
19237 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
19238 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
19239 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
19240 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19241 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19242 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
19243 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
19244 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
19245 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
19246 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
19247 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
19248 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
19249 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19250 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
19251 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19252 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
19253 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
19254 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
19255 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
19256 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
19257 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
19258 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19259 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19260 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
19261 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
19262 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19263 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19264 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19265 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19266 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19267 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19268 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19269 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19270 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19271 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19272 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19273 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19274 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19275 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19276 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
19277 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
19278 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
19279 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
19280 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
19281 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
19282 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
19283 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
19284 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
19285 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
19286 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
19287 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
19288 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
19289 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
19290 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
19291 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19292 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19293 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
19294 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
19295 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
19296 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
19297 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19298 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
19299 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19300 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19301 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
19302 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
19303 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
19304 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
19305 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
19306 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19307 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
19308 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
19309 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
19310 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
19311 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
19312 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
19313 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
19314 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
19315 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
19316 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19317 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19318 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19319 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19320 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19321 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19322 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19323 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19324 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19325 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19326 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19327 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
19328 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
19329 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
19330 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19331 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19332 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19333 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19334 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19335 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19336 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19337 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19338 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
19339 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
19340 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
19341 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
19342 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
19343 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
19344 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
19345 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19346 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19347 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
19348 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
19349 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
19350 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
19351 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
19352 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
19353 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
19354 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
19355 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
19356 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
19357 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
19358 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
19359 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
19360 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
19361 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
19362 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
19363 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19364 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19365 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
19366 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
19367 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19368 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19369 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19370 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
19371 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19372 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19373 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
19374 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
19375 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
19376 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
19377 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
19378 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19379 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
19380 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19381 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19382 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
19383 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
19384 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
19385 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19386 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
19387 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19388 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19389 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
19390 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
19391 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19392 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19393 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
19394 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
19395 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
19396 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19397 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19398 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
19399 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
19400 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
19401 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
19402 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
19403 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
19404 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
19405 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
19406 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
19407 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
19408 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
19409 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
19410 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
19411 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19412 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
19413 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
19414 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19415 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19416 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
19417 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19418 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19419 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
19420 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
19421 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
19422 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
19423 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
19424 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
19425 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
19426 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
19427 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19428 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
19429 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
19430 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
19431 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
19432 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
19433 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
19434 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19435 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19436 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19437 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
19438 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19439 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
19440 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
19441 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
19442 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
19443 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
19444 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19445 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
19446 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
19447 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
19448 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
19449 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
19450 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
19451 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19452 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19453 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19454 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
19455 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19456 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
19457 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19458 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
19459 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
19460 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19461 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19462 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19463 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
19464 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19465 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
19466 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
19467 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
19468 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
19469 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
19470 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
19471 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
19472 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
19473 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
19474 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
19475 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
19476 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19477 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19478 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19479 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
19480 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19481 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19482 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19483 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19484 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
19485 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
19486 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19487 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19488 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19489 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19490 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19491 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19492 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19493 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19494 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19495 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19496 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19497 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19498 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19499 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
19500 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19501 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19502 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19503 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
19504 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
19505 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19506 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19507 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19508 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19509 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19510 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
19511 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19512 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
19513 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
19514 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
19515 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
19516 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19517 { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
},
19518 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
19519 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
19520 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
19521 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
19522 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
19523 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
19524 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
19525 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
19526 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
19527 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
19528 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
19529 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
19530 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
19531 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
19532 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
19533 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
19534 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19535 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
19536 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
19537 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
19538 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19539 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19540 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
19541 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
19542 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
19543 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19544 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
19545 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
19546 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
19547 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
19548 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
19549 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
19550 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19551 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19552 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19553 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19554 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
19555 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19556 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19557 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19558 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
19559 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19560 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19561 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19562 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19563 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
19564 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
19565 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
19566 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
19567 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
19568 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
19569 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19570 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19571 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
19572 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
19573 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19574 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
19575 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
19576 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
19577 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
19578 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
19579 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19580 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
19581 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
19582 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
19583 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
19584 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19585 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
19586 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
19587 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
19588 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
19589 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19590 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
19591 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19592 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19593 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
19594 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
19595 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
19596 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
19597 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
19598 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
19599 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
19600 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
19601 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19602 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
19603 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
19604 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19605 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19606 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19607 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19608 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19609 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19610 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19611 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19612 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19613 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19614 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
19615 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
19616 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19617 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
19622 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19624 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19625 return (void *)((wxWindow
*) ((wxControl
*) x
));
19627 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19628 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19630 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19631 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19633 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19634 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19636 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19637 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19639 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19640 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19642 static void *_p_wxPenTo_p_wxObject(void *x
) {
19643 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19645 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19646 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19648 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19649 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19651 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19652 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19654 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19655 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19657 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19660 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19661 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19663 static void *_p_wxIconTo_p_wxObject(void *x
) {
19664 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19666 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19667 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19669 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19670 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19672 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19673 return (void *)((wxObject
*) ((wxSizer
*) x
));
19675 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19676 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19678 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19681 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19682 return (void *)((wxObject
*) ((wxPenList
*) x
));
19684 static void *_p_wxEventTo_p_wxObject(void *x
) {
19685 return (void *)((wxObject
*) ((wxEvent
*) x
));
19687 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19688 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19690 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19691 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19693 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19694 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19696 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19697 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19699 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19700 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19702 static void *_p_wxDCTo_p_wxObject(void *x
) {
19703 return (void *)((wxObject
*) ((wxDC
*) x
));
19705 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19706 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19708 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19709 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19711 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19712 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19714 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19715 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19717 static void *_p_wxControlTo_p_wxObject(void *x
) {
19718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19720 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19721 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19723 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19724 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19726 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19727 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19729 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19730 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19732 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19733 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19735 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19736 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19738 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19739 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19741 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19742 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19744 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19745 return (void *)((wxObject
*) ((wxEffects
*) x
));
19747 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19748 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19750 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19753 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19754 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19756 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19757 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19759 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19760 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19762 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19763 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19765 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19768 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19769 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19771 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19772 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19774 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19775 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19777 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19778 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19780 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19781 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19783 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19784 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19786 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19787 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19789 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19790 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19792 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19793 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19795 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19796 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19798 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19799 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19801 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19802 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19804 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19805 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19807 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19808 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19810 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19811 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19813 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19814 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19816 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19817 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19819 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19820 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19822 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19823 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19825 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19826 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19828 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19829 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19831 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19832 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19834 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19835 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19837 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19838 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19840 static void *_p_wxImageTo_p_wxObject(void *x
) {
19841 return (void *)((wxObject
*) ((wxImage
*) x
));
19843 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19844 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19846 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19847 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19849 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19850 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19852 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19853 return (void *)((wxObject
*) ((wxImageList
*) x
));
19855 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19856 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19858 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19859 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19861 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19862 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19864 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19865 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19867 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19868 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19870 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19871 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19873 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19874 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19876 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19877 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19879 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19882 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19883 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19885 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19886 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19888 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19889 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19891 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19892 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19894 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19895 return (void *)((wxObject
*) ((wxMask
*) x
));
19897 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19898 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19900 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19901 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19903 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19904 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19906 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19907 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19909 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19910 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19912 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19913 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19915 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19918 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19919 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19921 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19922 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19924 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19925 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19927 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19930 static void *_p_wxFontTo_p_wxObject(void *x
) {
19931 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19933 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19934 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19936 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19937 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19939 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19942 static void *_p_wxColourTo_p_wxObject(void *x
) {
19943 return (void *)((wxObject
*) ((wxColour
*) x
));
19945 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19946 return (void *)((wxObject
*) ((wxFontList
*) x
));
19948 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19951 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19952 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19954 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19955 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19957 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19958 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19960 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19961 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19963 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19964 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19966 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19967 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19969 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19970 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19972 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19973 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19975 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19976 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19978 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19979 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19981 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19982 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19984 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19985 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19987 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19988 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19990 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19991 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19993 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19994 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19996 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19997 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19999 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
20000 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
20002 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
20003 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
20005 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
20006 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
20008 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
20009 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
20011 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
20012 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
20014 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}};
20015 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}};
20016 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}};
20017 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}};
20018 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}};
20019 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}};
20020 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}};
20021 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}};
20022 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}};
20023 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}};
20024 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}};
20025 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}};
20026 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}};
20027 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}};
20028 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}};
20029 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}};
20030 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}};
20031 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}};
20032 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}};
20033 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}};
20034 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}};
20035 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}};
20036 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}};
20037 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}};
20038 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}};
20039 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}};
20040 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}};
20041 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}};
20042 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}};
20043 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}};
20044 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}};
20045 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}};
20046 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}};
20047 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}};
20048 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}};
20049 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}};
20050 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}};
20051 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}};
20052 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}};
20053 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}};
20054 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}};
20055 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}};
20056 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}};
20057 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}};
20058 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}};
20059 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}};
20060 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}};
20061 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}};
20062 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}};
20063 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}};
20064 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}};
20065 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}};
20066 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}};
20067 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}};
20068 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}};
20070 static swig_type_info
*swig_types_initial
[] = {
20071 _swigt__p_wxPostScriptDC
,
20073 _swigt__p_wxColour
,
20075 _swigt__p_wxMirrorDC
,
20077 _swigt__p_wxPyFontEnumerator
,
20079 _swigt__p_wxIconLocation
,
20081 _swigt__p_wxMetaFileDC
,
20085 _swigt__p_wxWindow
,
20087 _swigt__p_wxMemoryDC
,
20088 _swigt__p_wxFontMapper
,
20089 _swigt__p_wxEffects
,
20090 _swigt__p_wxNativeEncodingInfo
,
20091 _swigt__p_wxPalette
,
20092 _swigt__p_wxBitmap
,
20093 _swigt__p_wxObject
,
20094 _swigt__p_wxRegionIterator
,
20096 _swigt__p_wxString
,
20097 _swigt__p_wxPrinterDC
,
20098 _swigt__p_wxIconBundle
,
20101 _swigt__p_wxScreenDC
,
20102 _swigt__p_wxCursor
,
20103 _swigt__p_wxClientDC
,
20104 _swigt__p_wxBufferedDC
,
20105 _swigt__p_wxImageList
,
20106 _swigt__p_unsigned_char
,
20107 _swigt__p_wxGDIObject
,
20109 _swigt__p_wxLocale
,
20110 _swigt__p_wxRegion
,
20111 _swigt__p_wxLanguageInfo
,
20112 _swigt__p_wxConfigBase
,
20113 _swigt__p_wxWindowDC
,
20114 _swigt__p_wxPrintData
,
20115 _swigt__p_wxBrushList
,
20116 _swigt__p_wxFontList
,
20118 _swigt__p_wxBufferedPaintDC
,
20119 _swigt__p_wxPaintDC
,
20120 _swigt__p_wxPenList
,
20122 _swigt__p_wxMetaFile
,
20123 _swigt__p_wxNativeFontInfo
,
20124 _swigt__p_wxEncodingConverter
,
20125 _swigt__p_wxColourDatabase
,
20130 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20132 static swig_const_info swig_const_table
[] = {
20142 SWIGEXPORT(void) SWIG_init(void) {
20143 static PyObject
*SWIG_globals
= 0;
20144 static int typeinit
= 0;
20147 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
20148 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20149 d
= PyModule_GetDict(m
);
20152 for (i
= 0; swig_types_initial
[i
]; i
++) {
20153 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
20157 SWIG_InstallConstants(d
,swig_const_table
);
20159 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
20160 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
20161 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
20162 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
20163 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
20164 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
20165 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
20166 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
20167 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
20168 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
20169 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
20170 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
20171 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
20172 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
20173 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
20174 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
20175 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
20176 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
20177 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
20178 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
20179 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
20180 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
20181 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
20182 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
20183 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
20184 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
20185 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
20186 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
20187 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
20188 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
20189 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
20190 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
20191 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
20192 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
20193 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
20194 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
20195 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
20196 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
20197 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
20198 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
20199 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
20200 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
20201 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
20202 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
20203 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
20204 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
20205 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
20206 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
20207 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
20208 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
20209 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
20210 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
20211 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
20212 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
20213 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
20214 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
20215 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
20216 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
20217 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
20218 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
20219 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
20220 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
20221 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
20222 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
20223 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
20224 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
20225 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
20226 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
20227 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
20228 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
20229 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
20230 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
20231 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
20232 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
20233 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
20234 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
20235 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
20236 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
20237 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
20238 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
20239 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
20240 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
20241 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
20242 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
20243 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
20244 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
20245 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
20246 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
20247 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
20248 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
20249 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
20250 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
20251 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
20252 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
20253 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
20254 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
20255 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
20256 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
20257 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
20258 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
20259 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
20260 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
20261 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
20262 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
20263 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
20264 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
20265 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
20266 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
20267 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
20268 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
20269 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
20270 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
20271 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
20272 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
20273 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
20274 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
20275 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
20276 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
20277 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
20278 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
20279 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
20280 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
20281 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
20282 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
20283 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
20284 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
20285 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
20287 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
20289 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
20290 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
20291 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
20292 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
20293 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
20294 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
20295 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
20296 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
20297 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
20298 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
20299 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
20300 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
20301 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
20302 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
20303 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
20304 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
20305 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
20306 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
20307 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
20308 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
20309 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
20310 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
20311 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
20312 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
20313 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
20314 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
20315 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
20316 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
20317 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
20318 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
20319 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
20320 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
20321 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
20322 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
20323 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
20324 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
20325 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
20326 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
20327 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
20328 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
20329 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
20330 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
20331 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
20332 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
20333 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
20334 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
20335 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
20336 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
20337 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
20338 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
20339 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
20340 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
20341 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
20342 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
20343 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
20344 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
20345 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
20346 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
20347 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
20348 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
20349 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
20350 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20351 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
20352 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20353 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
20354 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
20355 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20356 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20357 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20358 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20359 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20360 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20361 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
20362 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
20363 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
20364 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
20365 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
20366 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
20367 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
20368 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
20369 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
20370 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20371 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
20372 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
20373 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
20374 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
20375 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
20376 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
20377 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20378 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
20379 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20380 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20381 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
20382 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
20383 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
20384 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
20385 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
20386 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
20387 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
20388 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
20389 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
20390 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
20391 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
20392 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
20393 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
20394 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
20395 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
20396 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
20397 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
20398 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
20399 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
20400 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
20401 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
20402 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
20403 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
20404 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
20405 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
20406 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
20407 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
20408 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
20409 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
20410 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
20411 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
20412 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
20413 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
20414 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
20415 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
20416 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
20417 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
20418 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
20419 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
20420 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
20421 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20422 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
20423 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
20424 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
20425 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
20426 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
20427 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
20428 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
20429 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
20430 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
20431 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
20432 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20433 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20434 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
20435 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
20436 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
20437 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
20438 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
20439 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
20440 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20441 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
20442 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
20443 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
20444 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
20445 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
20446 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20447 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
20448 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
20449 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
20450 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
20451 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
20452 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20453 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
20454 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
20455 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
20456 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
20457 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
20458 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
20459 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
20460 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
20461 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
20462 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
20463 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
20464 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
20465 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20466 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20467 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
20468 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20469 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20470 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20471 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
20472 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20473 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20474 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
20475 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
20476 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
20477 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20478 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
20479 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20480 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
20481 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20482 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
20483 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
20484 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20485 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
20486 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
20487 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
20488 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
20489 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
20490 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
20491 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
20492 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
20493 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
20494 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
20495 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
20496 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
20497 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
20498 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
20499 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
20500 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
20501 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
20502 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
20503 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
20504 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
20505 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
20506 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
20507 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
20508 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20509 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
20510 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
20511 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
20512 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
20513 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
20514 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
20515 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
20516 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
20517 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
20518 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
20519 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
20520 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
20521 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
20522 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
20523 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
20524 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
20525 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
20526 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
20527 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
20528 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
20529 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
20530 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
20531 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
20532 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
20533 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
20534 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
20535 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
20536 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20537 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
20538 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
20539 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
20540 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
20541 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
20542 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20543 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20544 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20545 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20546 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20547 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20548 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20549 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20550 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20551 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20552 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20553 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20554 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20555 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20556 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20557 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20558 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20559 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20560 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20561 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20562 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20563 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20564 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20565 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20566 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20567 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20568 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20569 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20570 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20571 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20572 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20573 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20574 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20575 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20576 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20577 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20578 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20579 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20580 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20581 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20582 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20583 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20584 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20585 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20586 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20587 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20588 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20590 // Work around a chicken/egg problem in drawlist.cpp
20591 wxPyDrawList_SetAPIPtr();