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 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
540 wxPyEndBlockThreads(blocked
);
543 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
544 bool blocked
= wxPyBeginBlockThreads();
545 int size
= PyList_Size(pyDashes
);
546 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
548 // black magic warning! The array of wxDashes needs to exist as
549 // long as the pen does because wxPen does not copy the array. So
550 // stick a copy in a Python string object and attach it to _self,
551 // and then call SetDashes with a pointer to that array. Then
552 // when the Python pen object is destroyed the array will be
554 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
555 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
557 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
559 Py_DECREF(strDashes
);
560 wxPyEndBlockThreads(blocked
);
562 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
563 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
565 #include <wx/image.h>
567 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
568 char** cArray
= NULL
;
571 if (!PyList_Check(listOfStrings
)) {
572 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
575 count
= PyList_Size(listOfStrings
);
576 cArray
= new char*[count
];
578 for(int x
=0; x
<count
; x
++) {
579 // TODO: Need some validation and error checking here
580 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
586 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
587 char** cArray
= NULL
;
590 cArray
= ConvertListOfStrings(listOfStrings
);
593 bmp
= new wxBitmap(cArray
);
597 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
600 PyString_AsStringAndSize(bits
, &buf
, &length
);
601 return new wxBitmap(buf
, width
, height
, depth
);
604 SWIGSTATICINLINE(int)
605 SWIG_CheckLong(PyObject
* obj
)
608 if (PyErr_Occurred()) {
616 void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
617 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
618 wxSize
size(self
->GetWidth(), self
->GetHeight());
621 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
622 wxMask
*mask
= new wxMask(*self
, colour
);
625 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
626 self
->SetWidth(size
.x
);
627 self
->SetHeight(size
.y
);
629 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
630 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
631 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
633 return new wxMask(bitmap
, *wxBLACK
);
635 return new wxMask(bitmap
, colour
);
638 #include <wx/iconbndl.h>
640 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
641 wxIcon
* icon
= new wxIcon();
642 icon
->CopyFromBitmap(bmp
);
645 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
646 char** cArray
= NULL
;
649 cArray
= ConvertListOfStrings(listOfStrings
);
652 icon
= new wxIcon(cArray
);
656 void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
657 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
659 return new wxIconLocation(*filename
, num
);
664 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
671 int wxIconLocation_GetIndex(wxIconLocation
*self
){
673 return self
->GetIndex();
678 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
680 wxCHECK_MSG(False
, NULL
,
681 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
683 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
686 void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
689 void wxRegionIterator_Next(wxRegionIterator
*self
){
692 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
693 return self
->operator bool();
696 #include <wx/fontutil.h>
697 #include <wx/fontmap.h>
698 #include <wx/fontenum.h>
700 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
701 return self
->ToString();
704 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
705 { wxPyRaiseNotImplemented(); return NULL
; }
707 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
708 { wxPyRaiseNotImplemented(); return False
; }
710 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
711 wxFontEncoding alt_enc
;
712 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
713 return PyInt_FromLong(alt_enc
);
719 wxFont
*new_wxFont(wxString
const &info
){
720 wxNativeFontInfo nfi
;
721 nfi
.FromString(info
);
722 return new wxFont(nfi
);
724 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
725 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
727 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
728 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
730 class wxPyFontEnumerator
: public wxFontEnumerator
{
732 wxPyFontEnumerator() {}
733 ~wxPyFontEnumerator() {}
735 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
736 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
741 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
742 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
745 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
746 wxArrayString
* arr
= self
->GetEncodings();
747 return wxArrayString2PyList_helper(*arr
);
749 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
750 wxArrayString
* arr
= self
->GetFacenames();
751 return wxArrayString2PyList_helper(*arr
);
755 wxLocale
*new_wxLocale(int language
,int flags
){
757 return new wxLocale();
759 return new wxLocale(language
, flags
);
762 #include "wx/wxPython/pydrawxxx.h"
764 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
766 self
->GetPixel(x
, y
, &col
);
769 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
771 self
->GetPixel(pt
, &col
);
775 SWIGSTATICINLINE(double)
776 SWIG_AsDouble(PyObject
*obj
)
778 if (PyNumber_Check(obj
))
779 return PyFloat_AsDouble(obj
);
781 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
782 obj
->ob_type
->tp_name
);
783 PyErr_SetObject(PyExc_TypeError
, errmsg
);
790 SWIGSTATICINLINE(int)
791 SWIG_CheckDouble(PyObject
* obj
)
794 if (PyErr_Occurred()) {
802 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
804 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
807 wxRect
wxDC_GetClippingRect(wxDC
*self
){
809 self
->GetClippingBox(rect
);
812 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
814 self
->GetPartialTextExtents(text
, widths
);
817 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
818 self
->SetLogicalOrigin(point
.x
, point
.y
);
820 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
821 self
->SetDeviceOrigin(point
.x
, point
.y
);
823 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
824 self
->CalcBoundingBox(point
.x
, point
.y
);
826 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
827 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
829 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
830 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
832 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
833 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
835 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
836 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
838 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
839 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
841 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
842 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
845 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
853 #include <wx/dcbuffer.h>
859 #include <wx/metafile.h>
863 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
864 self
->AddColour(name
, wxColour(red
, green
, blue
));
867 #include <wx/effects.h>
872 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
882 result
= (wxGDIObject
*)new wxGDIObject();
884 wxPyEndAllowThreads(__tstate
);
885 if (PyErr_Occurred()) SWIG_fail
;
887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
894 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
897 PyObject
* obj0
= 0 ;
899 (char *) "self", NULL
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
909 wxPyEndAllowThreads(__tstate
);
910 if (PyErr_Occurred()) SWIG_fail
;
912 Py_INCREF(Py_None
); resultobj
= Py_None
;
919 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
923 PyObject
* obj0
= 0 ;
925 (char *) "self", NULL
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
933 result
= (bool)(arg1
)->GetVisible();
935 wxPyEndAllowThreads(__tstate
);
936 if (PyErr_Occurred()) SWIG_fail
;
939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
947 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
951 PyObject
* obj0
= 0 ;
952 PyObject
* obj1
= 0 ;
954 (char *) "self",(char *) "visible", NULL
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
960 arg2
= (bool) SWIG_AsBool(obj1
);
961 if (PyErr_Occurred()) SWIG_fail
;
963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
964 (arg1
)->SetVisible(arg2
);
966 wxPyEndAllowThreads(__tstate
);
967 if (PyErr_Occurred()) SWIG_fail
;
969 Py_INCREF(Py_None
); resultobj
= Py_None
;
976 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
980 PyObject
* obj0
= 0 ;
982 (char *) "self", NULL
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
990 result
= (bool)(arg1
)->IsNull();
992 wxPyEndAllowThreads(__tstate
);
993 if (PyErr_Occurred()) SWIG_fail
;
996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1004 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1007 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1009 return Py_BuildValue((char *)"");
1011 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1012 PyObject
*resultobj
;
1013 byte arg1
= (byte
) 0 ;
1014 byte arg2
= (byte
) 0 ;
1015 byte arg3
= (byte
) 0 ;
1017 PyObject
* obj0
= 0 ;
1018 PyObject
* obj1
= 0 ;
1019 PyObject
* obj2
= 0 ;
1021 (char *) "red",(char *) "green",(char *) "blue", NULL
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1026 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1027 if (PyErr_Occurred()) SWIG_fail
;
1030 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1031 if (PyErr_Occurred()) SWIG_fail
;
1034 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1035 if (PyErr_Occurred()) SWIG_fail
;
1038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1039 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1041 wxPyEndAllowThreads(__tstate
);
1042 if (PyErr_Occurred()) SWIG_fail
;
1044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1051 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
*resultobj
;
1053 wxString
*arg1
= 0 ;
1055 bool temp1
= False
;
1056 PyObject
* obj0
= 0 ;
1058 (char *) "colorName", NULL
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1063 arg1
= wxString_in_helper(obj0
);
1064 if (arg1
== NULL
) SWIG_fail
;
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) SWIG_fail
;
1074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1089 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1090 PyObject
*resultobj
;
1091 unsigned long arg1
;
1093 PyObject
* obj0
= 0 ;
1095 (char *) "colRGB", NULL
1098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1099 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1100 if (PyErr_Occurred()) SWIG_fail
;
1102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1103 result
= (wxColour
*)new wxColour(arg1
);
1105 wxPyEndAllowThreads(__tstate
);
1106 if (PyErr_Occurred()) SWIG_fail
;
1108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1115 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
*resultobj
;
1117 wxColour
*arg1
= (wxColour
*) 0 ;
1118 PyObject
* obj0
= 0 ;
1120 (char *) "self", NULL
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1130 wxPyEndAllowThreads(__tstate
);
1131 if (PyErr_Occurred()) SWIG_fail
;
1133 Py_INCREF(Py_None
); resultobj
= Py_None
;
1140 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
*resultobj
;
1142 wxColour
*arg1
= (wxColour
*) 0 ;
1144 PyObject
* obj0
= 0 ;
1146 (char *) "self", NULL
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 result
= (byte
)(arg1
)->Red();
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) SWIG_fail
;
1159 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1166 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
*resultobj
;
1168 wxColour
*arg1
= (wxColour
*) 0 ;
1170 PyObject
* obj0
= 0 ;
1172 (char *) "self", NULL
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 result
= (byte
)(arg1
)->Green();
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) SWIG_fail
;
1185 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1192 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
*resultobj
;
1194 wxColour
*arg1
= (wxColour
*) 0 ;
1196 PyObject
* obj0
= 0 ;
1198 (char *) "self", NULL
1201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1206 result
= (byte
)(arg1
)->Blue();
1208 wxPyEndAllowThreads(__tstate
);
1209 if (PyErr_Occurred()) SWIG_fail
;
1211 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1218 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
*resultobj
;
1220 wxColour
*arg1
= (wxColour
*) 0 ;
1222 PyObject
* obj0
= 0 ;
1224 (char *) "self", NULL
1227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1232 result
= (bool)(arg1
)->Ok();
1234 wxPyEndAllowThreads(__tstate
);
1235 if (PyErr_Occurred()) SWIG_fail
;
1238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1246 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
*resultobj
;
1248 wxColour
*arg1
= (wxColour
*) 0 ;
1252 PyObject
* obj0
= 0 ;
1253 PyObject
* obj1
= 0 ;
1254 PyObject
* obj2
= 0 ;
1255 PyObject
* obj3
= 0 ;
1257 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1263 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1264 if (PyErr_Occurred()) SWIG_fail
;
1265 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1266 if (PyErr_Occurred()) SWIG_fail
;
1267 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1268 if (PyErr_Occurred()) SWIG_fail
;
1270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1271 (arg1
)->Set(arg2
,arg3
,arg4
);
1273 wxPyEndAllowThreads(__tstate
);
1274 if (PyErr_Occurred()) SWIG_fail
;
1276 Py_INCREF(Py_None
); resultobj
= Py_None
;
1283 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
*resultobj
;
1285 wxColour
*arg1
= (wxColour
*) 0 ;
1286 unsigned long arg2
;
1287 PyObject
* obj0
= 0 ;
1288 PyObject
* obj1
= 0 ;
1290 (char *) "self",(char *) "colRGB", NULL
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1296 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1302 wxPyEndAllowThreads(__tstate
);
1303 if (PyErr_Occurred()) SWIG_fail
;
1305 Py_INCREF(Py_None
); resultobj
= Py_None
;
1312 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
*resultobj
;
1314 wxColour
*arg1
= (wxColour
*) 0 ;
1315 wxString
*arg2
= 0 ;
1316 bool temp2
= False
;
1317 PyObject
* obj0
= 0 ;
1318 PyObject
* obj1
= 0 ;
1320 (char *) "self",(char *) "colourName", NULL
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1327 arg2
= wxString_in_helper(obj1
);
1328 if (arg2
== NULL
) SWIG_fail
;
1332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1333 (arg1
)->InitFromName((wxString
const &)*arg2
);
1335 wxPyEndAllowThreads(__tstate
);
1336 if (PyErr_Occurred()) SWIG_fail
;
1338 Py_INCREF(Py_None
); resultobj
= Py_None
;
1353 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
*resultobj
;
1355 wxColour
*arg1
= (wxColour
*) 0 ;
1357 PyObject
* obj0
= 0 ;
1359 (char *) "self", NULL
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) SWIG_fail
;
1372 resultobj
= SWIG_FromLong((long)result
);
1379 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
*resultobj
;
1381 wxColour
*arg1
= (wxColour
*) 0 ;
1382 wxColour
*arg2
= 0 ;
1385 PyObject
* obj0
= 0 ;
1386 PyObject
* obj1
= 0 ;
1388 (char *) "self",(char *) "colour", NULL
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1396 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1414 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
*resultobj
;
1416 wxColour
*arg1
= (wxColour
*) 0 ;
1417 wxColour
*arg2
= 0 ;
1420 PyObject
* obj0
= 0 ;
1421 PyObject
* obj1
= 0 ;
1423 (char *) "self",(char *) "colour", NULL
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1431 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1435 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1449 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
*resultobj
;
1451 wxColour
*arg1
= (wxColour
*) 0 ;
1453 PyObject
* obj0
= 0 ;
1455 (char *) "self", NULL
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 result
= (PyObject
*)wxColour_Get(arg1
);
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) SWIG_fail
;
1475 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
*resultobj
;
1477 wxColour
*arg1
= (wxColour
*) 0 ;
1478 unsigned long result
;
1479 PyObject
* obj0
= 0 ;
1481 (char *) "self", NULL
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 result
= (unsigned long)wxColour_GetRGB(arg1
);
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) SWIG_fail
;
1494 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1501 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1504 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1506 return Py_BuildValue((char *)"");
1508 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
*resultobj
;
1511 unsigned char *arg2
= (unsigned char *) 0 ;
1512 unsigned char *arg3
= (unsigned char *) 0 ;
1513 unsigned char *arg4
= (unsigned char *) 0 ;
1515 PyObject
* obj0
= 0 ;
1516 PyObject
* obj1
= 0 ;
1517 PyObject
* obj2
= 0 ;
1518 PyObject
* obj3
= 0 ;
1520 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1524 arg1
= (int) SWIG_AsInt(obj0
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1528 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1530 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) SWIG_fail
;
1539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1546 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
*resultobj
;
1548 wxPalette
*arg1
= (wxPalette
*) 0 ;
1549 PyObject
* obj0
= 0 ;
1551 (char *) "self", NULL
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) SWIG_fail
;
1564 Py_INCREF(Py_None
); resultobj
= Py_None
;
1571 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
*resultobj
;
1573 wxPalette
*arg1
= (wxPalette
*) 0 ;
1578 PyObject
* obj0
= 0 ;
1579 PyObject
* obj1
= 0 ;
1580 PyObject
* obj2
= 0 ;
1581 PyObject
* obj3
= 0 ;
1583 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1589 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1591 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1593 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1602 resultobj
= SWIG_FromInt((int)result
);
1609 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
*resultobj
;
1611 wxPalette
*arg1
= (wxPalette
*) 0 ;
1613 byte
*arg3
= (byte
*) 0 ;
1614 byte
*arg4
= (byte
*) 0 ;
1615 byte
*arg5
= (byte
*) 0 ;
1620 PyObject
* obj0
= 0 ;
1621 PyObject
* obj1
= 0 ;
1623 (char *) "self",(char *) "pixel", NULL
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1632 arg2
= (int) SWIG_AsInt(obj1
);
1633 if (PyErr_Occurred()) SWIG_fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1645 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1646 resultobj
= t_output_helper(resultobj
,o
);
1649 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1650 resultobj
= t_output_helper(resultobj
,o
);
1653 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1654 resultobj
= t_output_helper(resultobj
,o
);
1662 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1664 wxPalette
*arg1
= (wxPalette
*) 0 ;
1666 PyObject
* obj0
= 0 ;
1668 (char *) "self", NULL
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 result
= (bool)(arg1
)->Ok();
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1690 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1693 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1695 return Py_BuildValue((char *)"");
1697 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
*resultobj
;
1699 wxColour
*arg1
= 0 ;
1700 int arg2
= (int) 1 ;
1701 int arg3
= (int) wxSOLID
;
1704 PyObject
* obj0
= 0 ;
1705 PyObject
* obj1
= 0 ;
1706 PyObject
* obj2
= 0 ;
1708 (char *) "colour",(char *) "width",(char *) "style", NULL
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1714 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1717 arg2
= (int) SWIG_AsInt(obj1
);
1718 if (PyErr_Occurred()) SWIG_fail
;
1721 arg3
= (int) SWIG_AsInt(obj2
);
1722 if (PyErr_Occurred()) SWIG_fail
;
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1738 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
*resultobj
;
1740 wxPen
*arg1
= (wxPen
*) 0 ;
1741 PyObject
* obj0
= 0 ;
1743 (char *) "self", NULL
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1756 Py_INCREF(Py_None
); resultobj
= Py_None
;
1763 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
*resultobj
;
1765 wxPen
*arg1
= (wxPen
*) 0 ;
1767 PyObject
* obj0
= 0 ;
1769 (char *) "self", NULL
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1777 result
= (int)(arg1
)->GetCap();
1779 wxPyEndAllowThreads(__tstate
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1782 resultobj
= SWIG_FromInt((int)result
);
1789 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
*resultobj
;
1791 wxPen
*arg1
= (wxPen
*) 0 ;
1793 PyObject
* obj0
= 0 ;
1795 (char *) "self", NULL
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 result
= (arg1
)->GetColour();
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1809 wxColour
* resultptr
;
1810 resultptr
= new wxColour((wxColour
&) result
);
1811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1819 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
*resultobj
;
1821 wxPen
*arg1
= (wxPen
*) 0 ;
1823 PyObject
* obj0
= 0 ;
1825 (char *) "self", NULL
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 result
= (int)(arg1
)->GetJoin();
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) SWIG_fail
;
1838 resultobj
= SWIG_FromInt((int)result
);
1845 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
*resultobj
;
1847 wxPen
*arg1
= (wxPen
*) 0 ;
1849 PyObject
* obj0
= 0 ;
1851 (char *) "self", NULL
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 result
= (int)(arg1
)->GetStyle();
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1864 resultobj
= SWIG_FromInt((int)result
);
1871 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
*resultobj
;
1873 wxPen
*arg1
= (wxPen
*) 0 ;
1875 PyObject
* obj0
= 0 ;
1877 (char *) "self", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 result
= (int)(arg1
)->GetWidth();
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1890 resultobj
= SWIG_FromInt((int)result
);
1897 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
*resultobj
;
1899 wxPen
*arg1
= (wxPen
*) 0 ;
1901 PyObject
* obj0
= 0 ;
1903 (char *) "self", NULL
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 result
= (bool)(arg1
)->Ok();
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1925 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
*resultobj
;
1927 wxPen
*arg1
= (wxPen
*) 0 ;
1929 PyObject
* obj0
= 0 ;
1930 PyObject
* obj1
= 0 ;
1932 (char *) "self",(char *) "cap_style", NULL
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1938 arg2
= (int) SWIG_AsInt(obj1
);
1939 if (PyErr_Occurred()) SWIG_fail
;
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 (arg1
)->SetCap(arg2
);
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 Py_INCREF(Py_None
); resultobj
= Py_None
;
1954 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
*resultobj
;
1956 wxPen
*arg1
= (wxPen
*) 0 ;
1957 wxColour
*arg2
= 0 ;
1959 PyObject
* obj0
= 0 ;
1960 PyObject
* obj1
= 0 ;
1962 (char *) "self",(char *) "colour", NULL
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1970 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 (arg1
)->SetColour(*arg2
);
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1979 Py_INCREF(Py_None
); resultobj
= Py_None
;
1986 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
*resultobj
;
1988 wxPen
*arg1
= (wxPen
*) 0 ;
1990 PyObject
* obj0
= 0 ;
1991 PyObject
* obj1
= 0 ;
1993 (char *) "self",(char *) "join_style", NULL
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
1997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1999 arg2
= (int) SWIG_AsInt(obj1
);
2000 if (PyErr_Occurred()) SWIG_fail
;
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 (arg1
)->SetJoin(arg2
);
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 Py_INCREF(Py_None
); resultobj
= Py_None
;
2015 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
*resultobj
;
2017 wxPen
*arg1
= (wxPen
*) 0 ;
2019 PyObject
* obj0
= 0 ;
2020 PyObject
* obj1
= 0 ;
2022 (char *) "self",(char *) "style", NULL
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2028 arg2
= (int) SWIG_AsInt(obj1
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2032 (arg1
)->SetStyle(arg2
);
2034 wxPyEndAllowThreads(__tstate
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2037 Py_INCREF(Py_None
); resultobj
= Py_None
;
2044 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
*resultobj
;
2046 wxPen
*arg1
= (wxPen
*) 0 ;
2048 PyObject
* obj0
= 0 ;
2049 PyObject
* obj1
= 0 ;
2051 (char *) "self",(char *) "width", NULL
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2057 arg2
= (int) SWIG_AsInt(obj1
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 (arg1
)->SetWidth(arg2
);
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) SWIG_fail
;
2066 Py_INCREF(Py_None
); resultobj
= Py_None
;
2073 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
*resultobj
;
2075 wxPen
*arg1
= (wxPen
*) 0 ;
2077 wxDash
*arg3
= (wxDash
*) 0 ;
2078 PyObject
* obj0
= 0 ;
2079 PyObject
* obj1
= 0 ;
2081 (char *) "self",(char *) "dashes", NULL
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 arg2
= PyList_Size(obj1
);
2089 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2090 if (arg3
== NULL
) SWIG_fail
;
2093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2094 (arg1
)->SetDashes(arg2
,arg3
);
2096 wxPyEndAllowThreads(__tstate
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2099 Py_INCREF(Py_None
); resultobj
= Py_None
;
2101 if (arg3
) delete [] arg3
;
2106 if (arg3
) delete [] arg3
;
2112 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
*resultobj
;
2114 wxPen
*arg1
= (wxPen
*) 0 ;
2116 PyObject
* obj0
= 0 ;
2118 (char *) "self", NULL
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2126 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2128 wxPyEndAllowThreads(__tstate
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2138 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
*resultobj
;
2140 wxPen
*arg1
= (wxPen
*) 0 ;
2141 PyObject
*arg2
= (PyObject
*) 0 ;
2142 PyObject
*arg3
= (PyObject
*) 0 ;
2143 PyObject
* obj0
= 0 ;
2144 PyObject
* obj1
= 0 ;
2145 PyObject
* obj2
= 0 ;
2147 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 wxPen__SetDashes(arg1
,arg2
,arg3
);
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2162 Py_INCREF(Py_None
); resultobj
= Py_None
;
2169 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
*resultobj
;
2171 wxPen
*arg1
= (wxPen
*) 0 ;
2173 PyObject
* obj0
= 0 ;
2175 (char *) "self", NULL
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) SWIG_fail
;
2188 resultobj
= SWIG_FromInt((int)result
);
2195 static PyObject
*_wrap_Pen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
*resultobj
;
2197 wxPen
*arg1
= (wxPen
*) 0 ;
2199 PyObject
* obj0
= 0 ;
2201 (char *) "self", NULL
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
2205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 result
= (wxBitmap
*)(arg1
)->GetStipple();
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2221 static PyObject
*_wrap_Pen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
*resultobj
;
2223 wxPen
*arg1
= (wxPen
*) 0 ;
2224 wxBitmap
*arg2
= 0 ;
2225 PyObject
* obj0
= 0 ;
2226 PyObject
* obj1
= 0 ;
2228 (char *) "self",(char *) "stipple", NULL
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2238 PyErr_SetString(PyExc_TypeError
,"null reference");
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 (arg1
)->SetStipple(*arg2
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 Py_INCREF(Py_None
); resultobj
= Py_None
;
2255 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxPen
*arg1
= (wxPen
*) 0 ;
2258 wxPen
*arg2
= (wxPen
*) 0 ;
2260 PyObject
* obj0
= 0 ;
2261 PyObject
* obj1
= 0 ;
2263 (char *) "self",(char *) "other", NULL
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2287 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
*resultobj
;
2289 wxPen
*arg1
= (wxPen
*) 0 ;
2290 wxPen
*arg2
= (wxPen
*) 0 ;
2292 PyObject
* obj0
= 0 ;
2293 PyObject
* obj1
= 0 ;
2295 (char *) "self",(char *) "other", NULL
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2319 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2322 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2324 return Py_BuildValue((char *)"");
2326 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2328 wxColour
*arg1
= 0 ;
2329 int arg2
= (int) wxSOLID
;
2332 PyObject
* obj0
= 0 ;
2333 PyObject
* obj1
= 0 ;
2335 (char *) "colour",(char *) "style", NULL
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2341 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2344 arg2
= (int) SWIG_AsInt(obj1
);
2345 if (PyErr_Occurred()) SWIG_fail
;
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) SWIG_fail
;
2354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2361 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
*resultobj
;
2363 wxBrush
*arg1
= (wxBrush
*) 0 ;
2364 PyObject
* obj0
= 0 ;
2366 (char *) "self", NULL
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 wxPyEndAllowThreads(__tstate
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2379 Py_INCREF(Py_None
); resultobj
= Py_None
;
2386 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
*resultobj
;
2388 wxBrush
*arg1
= (wxBrush
*) 0 ;
2389 wxColour
*arg2
= 0 ;
2391 PyObject
* obj0
= 0 ;
2392 PyObject
* obj1
= 0 ;
2394 (char *) "self",(char *) "col", NULL
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2402 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 (arg1
)->SetColour((wxColour
const &)*arg2
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 Py_INCREF(Py_None
); resultobj
= Py_None
;
2418 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxBrush
*arg1
= (wxBrush
*) 0 ;
2422 PyObject
* obj0
= 0 ;
2423 PyObject
* obj1
= 0 ;
2425 (char *) "self",(char *) "style", NULL
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2431 arg2
= (int) SWIG_AsInt(obj1
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 (arg1
)->SetStyle(arg2
);
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2440 Py_INCREF(Py_None
); resultobj
= Py_None
;
2447 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
*resultobj
;
2449 wxBrush
*arg1
= (wxBrush
*) 0 ;
2450 wxBitmap
*arg2
= 0 ;
2451 PyObject
* obj0
= 0 ;
2452 PyObject
* obj1
= 0 ;
2454 (char *) "self",(char *) "stipple", NULL
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2464 PyErr_SetString(PyExc_TypeError
,"null reference");
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2474 Py_INCREF(Py_None
); resultobj
= Py_None
;
2481 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
*resultobj
;
2483 wxBrush
*arg1
= (wxBrush
*) 0 ;
2485 PyObject
* obj0
= 0 ;
2487 (char *) "self", NULL
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 result
= ((wxBrush
const *)arg1
)->GetColour();
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2501 wxColour
* resultptr
;
2502 resultptr
= new wxColour((wxColour
&) result
);
2503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2511 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2513 wxBrush
*arg1
= (wxBrush
*) 0 ;
2515 PyObject
* obj0
= 0 ;
2517 (char *) "self", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) SWIG_fail
;
2530 resultobj
= SWIG_FromInt((int)result
);
2537 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxBrush
*arg1
= (wxBrush
*) 0 ;
2541 PyObject
* obj0
= 0 ;
2543 (char *) "self", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2563 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
;
2565 wxBrush
*arg1
= (wxBrush
*) 0 ;
2567 PyObject
* obj0
= 0 ;
2569 (char *) "self", NULL
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 result
= (bool)(arg1
)->Ok();
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) SWIG_fail
;
2583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2591 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2594 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2596 return Py_BuildValue((char *)"");
2598 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
*resultobj
;
2600 wxString
*arg1
= 0 ;
2601 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2603 bool temp1
= False
;
2604 PyObject
* obj0
= 0 ;
2605 PyObject
* obj1
= 0 ;
2607 (char *) "name",(char *) "type", NULL
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2612 arg1
= wxString_in_helper(obj0
);
2613 if (arg1
== NULL
) SWIG_fail
;
2617 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2642 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2645 PyObject
* obj0
= 0 ;
2647 (char *) "self", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2660 Py_INCREF(Py_None
); resultobj
= Py_None
;
2667 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
*resultobj
;
2671 int arg3
= (int) -1 ;
2673 PyObject
* obj0
= 0 ;
2674 PyObject
* obj1
= 0 ;
2675 PyObject
* obj2
= 0 ;
2677 (char *) "width",(char *) "height",(char *) "depth", NULL
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2681 arg1
= (int) SWIG_AsInt(obj0
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2683 arg2
= (int) SWIG_AsInt(obj1
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2686 arg3
= (int) SWIG_AsInt(obj2
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2691 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2693 wxPyEndAllowThreads(__tstate
);
2694 if (PyErr_Occurred()) SWIG_fail
;
2696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2703 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
*resultobj
;
2707 PyObject
* obj0
= 0 ;
2709 (char *) "icon", NULL
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2717 PyErr_SetString(PyExc_TypeError
,"null reference");
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2734 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2737 int arg2
= (int) -1 ;
2739 PyObject
* obj0
= 0 ;
2740 PyObject
* obj1
= 0 ;
2742 (char *) "image",(char *) "depth", NULL
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2750 PyErr_SetString(PyExc_TypeError
,"null reference");
2754 arg2
= (int) SWIG_AsInt(obj1
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2771 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 PyObject
*arg1
= (PyObject
*) 0 ;
2775 PyObject
* obj0
= 0 ;
2777 (char *) "listOfStrings", NULL
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2784 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2796 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
*resultobj
;
2798 PyObject
*arg1
= (PyObject
*) 0 ;
2801 int arg4
= (int) 1 ;
2803 PyObject
* obj0
= 0 ;
2804 PyObject
* obj1
= 0 ;
2805 PyObject
* obj2
= 0 ;
2806 PyObject
* obj3
= 0 ;
2808 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2813 arg2
= (int) SWIG_AsInt(obj1
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2815 arg3
= (int) SWIG_AsInt(obj2
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2818 arg4
= (int) SWIG_AsInt(obj3
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2835 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
*resultobj
;
2837 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2838 wxPalette
*arg2
= 0 ;
2839 PyObject
* obj0
= 0 ;
2840 PyObject
* obj1
= 0 ;
2842 (char *) "self",(char *) "palette", NULL
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
2849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2852 PyErr_SetString(PyExc_TypeError
,"null reference");
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 (arg1
)->SetPalette(*arg2
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2862 Py_INCREF(Py_None
); resultobj
= Py_None
;
2869 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
*resultobj
;
2871 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2873 PyObject
* obj0
= 0 ;
2875 (char *) "self", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
2879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 result
= (long)(arg1
)->GetHandle();
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2888 resultobj
= SWIG_FromLong((long)result
);
2895 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
;
2897 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2899 PyObject
* obj0
= 0 ;
2900 PyObject
* obj1
= 0 ;
2902 (char *) "self",(char *) "handle", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
2906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2908 arg2
= (long) SWIG_AsLong(obj1
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 wxBitmap_SetHandle(arg1
,arg2
);
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2917 Py_INCREF(Py_None
); resultobj
= Py_None
;
2924 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
*resultobj
;
2926 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2928 PyObject
* obj0
= 0 ;
2930 (char *) "self", NULL
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 result
= (bool)(arg1
)->Ok();
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2952 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2954 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2956 PyObject
* obj0
= 0 ;
2958 (char *) "self", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 result
= (int)(arg1
)->GetWidth();
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2971 resultobj
= SWIG_FromInt((int)result
);
2978 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2982 PyObject
* obj0
= 0 ;
2984 (char *) "self", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= (int)(arg1
)->GetHeight();
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 resultobj
= SWIG_FromInt((int)result
);
3004 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3006 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3008 PyObject
* obj0
= 0 ;
3010 (char *) "self", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 result
= (int)(arg1
)->GetDepth();
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3023 resultobj
= SWIG_FromInt((int)result
);
3030 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3032 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3034 PyObject
* obj0
= 0 ;
3036 (char *) "self", NULL
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= wxBitmap_GetSize(arg1
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3051 resultptr
= new wxSize((wxSize
&) result
);
3052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3060 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
*resultobj
;
3062 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3063 SwigValueWrapper
< wxImage
> result
;
3064 PyObject
* obj0
= 0 ;
3066 (char *) "self", NULL
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3080 wxImage
* resultptr
;
3081 resultptr
= new wxImage((wxImage
&) result
);
3082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3090 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3094 PyObject
* obj0
= 0 ;
3096 (char *) "self", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3116 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
*resultobj
;
3118 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3119 wxMask
*arg2
= (wxMask
*) 0 ;
3120 PyObject
* obj0
= 0 ;
3121 PyObject
* obj1
= 0 ;
3123 (char *) "self",(char *) "mask", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 (arg1
)->SetMask(arg2
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3138 Py_INCREF(Py_None
); resultobj
= Py_None
;
3145 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
*resultobj
;
3147 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3148 wxColour
*arg2
= 0 ;
3150 PyObject
* obj0
= 0 ;
3151 PyObject
* obj1
= 0 ;
3153 (char *) "self",(char *) "colour", NULL
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3161 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3170 Py_INCREF(Py_None
); resultobj
= Py_None
;
3177 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
*resultobj
;
3179 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3181 SwigValueWrapper
< wxBitmap
> result
;
3183 PyObject
* obj0
= 0 ;
3184 PyObject
* obj1
= 0 ;
3186 (char *) "self",(char *) "rect", NULL
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3194 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) SWIG_fail
;
3204 wxBitmap
* resultptr
;
3205 resultptr
= new wxBitmap((wxBitmap
&) result
);
3206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3214 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
*resultobj
;
3216 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3217 wxString
*arg2
= 0 ;
3219 wxPalette
*arg4
= (wxPalette
*) NULL
;
3221 bool temp2
= False
;
3222 PyObject
* obj0
= 0 ;
3223 PyObject
* obj1
= 0 ;
3224 PyObject
* obj2
= 0 ;
3225 PyObject
* obj3
= 0 ;
3227 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3234 arg2
= wxString_in_helper(obj1
);
3235 if (arg2
== NULL
) SWIG_fail
;
3238 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3241 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3268 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3270 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3271 wxString
*arg2
= 0 ;
3274 bool temp2
= False
;
3275 PyObject
* obj0
= 0 ;
3276 PyObject
* obj1
= 0 ;
3277 PyObject
* obj2
= 0 ;
3279 (char *) "self",(char *) "name",(char *) "type", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3286 arg2
= wxString_in_helper(obj1
);
3287 if (arg2
== NULL
) SWIG_fail
;
3290 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3316 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3321 PyObject
* obj0
= 0 ;
3322 PyObject
* obj1
= 0 ;
3324 (char *) "self",(char *) "icon", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3334 PyErr_SetString(PyExc_TypeError
,"null reference");
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3353 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
;
3355 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3357 PyObject
* obj0
= 0 ;
3358 PyObject
* obj1
= 0 ;
3360 (char *) "self",(char *) "height", NULL
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3366 arg2
= (int) SWIG_AsInt(obj1
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 (arg1
)->SetHeight(arg2
);
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3375 Py_INCREF(Py_None
); resultobj
= Py_None
;
3382 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
*resultobj
;
3384 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3386 PyObject
* obj0
= 0 ;
3387 PyObject
* obj1
= 0 ;
3389 (char *) "self",(char *) "width", NULL
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3395 arg2
= (int) SWIG_AsInt(obj1
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 (arg1
)->SetWidth(arg2
);
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3404 Py_INCREF(Py_None
); resultobj
= Py_None
;
3411 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3415 PyObject
* obj0
= 0 ;
3416 PyObject
* obj1
= 0 ;
3418 (char *) "self",(char *) "depth", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3424 arg2
= (int) SWIG_AsInt(obj1
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 (arg1
)->SetDepth(arg2
);
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3433 Py_INCREF(Py_None
); resultobj
= Py_None
;
3440 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
*resultobj
;
3442 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3445 PyObject
* obj0
= 0 ;
3446 PyObject
* obj1
= 0 ;
3448 (char *) "self",(char *) "size", NULL
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3456 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 Py_INCREF(Py_None
); resultobj
= Py_None
;
3472 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3475 wxCursor
*arg2
= 0 ;
3477 PyObject
* obj0
= 0 ;
3478 PyObject
* obj1
= 0 ;
3480 (char *) "self",(char *) "cursor", NULL
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
3487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3490 PyErr_SetString(PyExc_TypeError
,"null reference");
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3509 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
*resultobj
;
3511 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3513 PyObject
* obj0
= 0 ;
3515 (char *) "self", NULL
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 result
= (int)(arg1
)->GetQuality();
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3528 resultobj
= SWIG_FromInt((int)result
);
3535 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
*resultobj
;
3537 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3539 PyObject
* obj0
= 0 ;
3540 PyObject
* obj1
= 0 ;
3542 (char *) "self",(char *) "q", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3548 arg2
= (int) SWIG_AsInt(obj1
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 (arg1
)->SetQuality(arg2
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 Py_INCREF(Py_None
); resultobj
= Py_None
;
3564 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3567 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3569 PyObject
* obj0
= 0 ;
3570 PyObject
* obj1
= 0 ;
3572 (char *) "self",(char *) "other", NULL
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3596 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3599 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3604 (char *) "self",(char *) "other", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3628 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3631 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3633 return Py_BuildValue((char *)"");
3635 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxBitmap
*arg1
= 0 ;
3638 wxColour
const &arg2_defvalue
= wxNullColour
;
3639 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3642 PyObject
* obj0
= 0 ;
3643 PyObject
* obj1
= 0 ;
3645 (char *) "bitmap",(char *) "colour", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3653 PyErr_SetString(PyExc_TypeError
,"null reference");
3659 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3676 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3679 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3681 return Py_BuildValue((char *)"");
3683 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
*resultobj
;
3685 wxString
*arg1
= 0 ;
3687 int arg3
= (int) -1 ;
3688 int arg4
= (int) -1 ;
3690 bool temp1
= False
;
3691 PyObject
* obj0
= 0 ;
3692 PyObject
* obj1
= 0 ;
3693 PyObject
* obj2
= 0 ;
3694 PyObject
* obj3
= 0 ;
3696 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3701 arg1
= wxString_in_helper(obj0
);
3702 if (arg1
== NULL
) SWIG_fail
;
3705 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 arg3
= (int) SWIG_AsInt(obj2
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3712 arg4
= (int) SWIG_AsInt(obj3
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3737 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 wxIcon
*arg1
= (wxIcon
*) 0 ;
3740 PyObject
* obj0
= 0 ;
3742 (char *) "self", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 Py_INCREF(Py_None
); resultobj
= Py_None
;
3762 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 result
= (wxIcon
*)new wxIcon();
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3784 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxIconLocation
*arg1
= 0 ;
3788 PyObject
* obj0
= 0 ;
3790 (char *) "loc", NULL
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3798 PyErr_SetString(PyExc_TypeError
,"null reference");
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3815 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 wxBitmap
*arg1
= 0 ;
3819 PyObject
* obj0
= 0 ;
3821 (char *) "bmp", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3829 PyErr_SetString(PyExc_TypeError
,"null reference");
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3846 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 PyObject
*arg1
= (PyObject
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3852 (char *) "listOfStrings", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (wxIcon
*)new_wxIcon(arg1
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3871 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxIcon
*arg1
= (wxIcon
*) 0 ;
3874 wxString
*arg2
= 0 ;
3877 bool temp2
= False
;
3878 PyObject
* obj0
= 0 ;
3879 PyObject
* obj1
= 0 ;
3880 PyObject
* obj2
= 0 ;
3882 (char *) "self",(char *) "name",(char *) "type", NULL
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3889 arg2
= wxString_in_helper(obj1
);
3890 if (arg2
== NULL
) SWIG_fail
;
3893 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3919 static PyObject
*_wrap_Icon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3921 wxIcon
*arg1
= (wxIcon
*) 0 ;
3923 PyObject
* obj0
= 0 ;
3925 (char *) "self", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
3929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (long)(arg1
)->GetHandle();
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= SWIG_FromLong((long)result
);
3945 static PyObject
*_wrap_Icon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxIcon
*arg1
= (wxIcon
*) 0 ;
3949 PyObject
* obj0
= 0 ;
3950 PyObject
* obj1
= 0 ;
3952 (char *) "self",(char *) "handle", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3958 arg2
= (long) SWIG_AsLong(obj1
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 wxIcon_SetHandle(arg1
,arg2
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 Py_INCREF(Py_None
); resultobj
= Py_None
;
3974 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3976 wxIcon
*arg1
= (wxIcon
*) 0 ;
3978 PyObject
* obj0
= 0 ;
3980 (char *) "self", NULL
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 result
= (bool)(arg1
)->Ok();
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4002 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
;
4004 wxIcon
*arg1
= (wxIcon
*) 0 ;
4006 PyObject
* obj0
= 0 ;
4008 (char *) "self", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
4012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 result
= (int)(arg1
)->GetWidth();
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4021 resultobj
= SWIG_FromInt((int)result
);
4028 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
;
4030 wxIcon
*arg1
= (wxIcon
*) 0 ;
4032 PyObject
* obj0
= 0 ;
4034 (char *) "self", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 result
= (int)(arg1
)->GetHeight();
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4047 resultobj
= SWIG_FromInt((int)result
);
4054 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
*resultobj
;
4056 wxIcon
*arg1
= (wxIcon
*) 0 ;
4058 PyObject
* obj0
= 0 ;
4060 (char *) "self", NULL
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 result
= (int)(arg1
)->GetDepth();
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 resultobj
= SWIG_FromInt((int)result
);
4080 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxIcon
*arg1
= (wxIcon
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4085 PyObject
* obj1
= 0 ;
4087 (char *) "self",(char *) "w", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 arg2
= (int) SWIG_AsInt(obj1
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 (arg1
)->SetWidth(arg2
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 Py_INCREF(Py_None
); resultobj
= Py_None
;
4109 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxIcon
*arg1
= (wxIcon
*) 0 ;
4113 PyObject
* obj0
= 0 ;
4114 PyObject
* obj1
= 0 ;
4116 (char *) "self",(char *) "h", NULL
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4122 arg2
= (int) SWIG_AsInt(obj1
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 (arg1
)->SetHeight(arg2
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4131 Py_INCREF(Py_None
); resultobj
= Py_None
;
4138 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
*resultobj
;
4140 wxIcon
*arg1
= (wxIcon
*) 0 ;
4142 PyObject
* obj0
= 0 ;
4143 PyObject
* obj1
= 0 ;
4145 (char *) "self",(char *) "d", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4151 arg2
= (int) SWIG_AsInt(obj1
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 (arg1
)->SetDepth(arg2
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 Py_INCREF(Py_None
); resultobj
= Py_None
;
4167 static PyObject
*_wrap_Icon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4169 wxIcon
*arg1
= (wxIcon
*) 0 ;
4172 PyObject
* obj0
= 0 ;
4173 PyObject
* obj1
= 0 ;
4175 (char *) "self",(char *) "size", NULL
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4183 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 (arg1
)->SetSize((wxSize
const &)*arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 Py_INCREF(Py_None
); resultobj
= Py_None
;
4199 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxIcon
*arg1
= (wxIcon
*) 0 ;
4202 wxBitmap
*arg2
= 0 ;
4203 PyObject
* obj0
= 0 ;
4204 PyObject
* obj1
= 0 ;
4206 (char *) "self",(char *) "bmp", NULL
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4216 PyErr_SetString(PyExc_TypeError
,"null reference");
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 Py_INCREF(Py_None
); resultobj
= Py_None
;
4233 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4236 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4238 return Py_BuildValue((char *)"");
4240 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4243 int arg2
= (int) 0 ;
4244 wxIconLocation
*result
;
4245 bool temp1
= False
;
4246 PyObject
* obj0
= 0 ;
4247 PyObject
* obj1
= 0 ;
4249 (char *) "filename",(char *) "num", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4255 arg1
= wxString_in_helper(obj0
);
4256 if (arg1
== NULL
) SWIG_fail
;
4261 arg2
= (int) SWIG_AsInt(obj1
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4286 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
;
4288 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4289 PyObject
* obj0
= 0 ;
4291 (char *) "self", NULL
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 Py_INCREF(Py_None
); resultobj
= Py_None
;
4311 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4315 PyObject
* obj0
= 0 ;
4317 (char *) "self", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4339 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4342 wxString
*arg2
= 0 ;
4343 bool temp2
= False
;
4344 PyObject
* obj0
= 0 ;
4345 PyObject
* obj1
= 0 ;
4347 (char *) "self",(char *) "filename", NULL
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4354 arg2
= wxString_in_helper(obj1
);
4355 if (arg2
== NULL
) SWIG_fail
;
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 (arg1
)->SetFileName((wxString
const &)*arg2
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 Py_INCREF(Py_None
); resultobj
= Py_None
;
4380 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4384 PyObject
* obj0
= 0 ;
4386 (char *) "self", NULL
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4396 result
= (wxString
*) &_result_ref
;
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4406 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4415 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4419 PyObject
* obj0
= 0 ;
4420 PyObject
* obj1
= 0 ;
4422 (char *) "self",(char *) "num", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4428 arg2
= (int) SWIG_AsInt(obj1
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 wxIconLocation_SetIndex(arg1
,arg2
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 Py_INCREF(Py_None
); resultobj
= Py_None
;
4444 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4446 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4448 PyObject
* obj0
= 0 ;
4450 (char *) "self", NULL
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= (int)wxIconLocation_GetIndex(arg1
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= SWIG_FromInt((int)result
);
4470 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4473 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4475 return Py_BuildValue((char *)"");
4477 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
;
4479 wxIconBundle
*result
;
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= (wxIconBundle
*)new wxIconBundle();
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4499 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4501 wxString
*arg1
= 0 ;
4503 wxIconBundle
*result
;
4504 bool temp1
= False
;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4508 (char *) "file",(char *) "type", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4513 arg1
= wxString_in_helper(obj0
);
4514 if (arg1
== NULL
) SWIG_fail
;
4517 arg2
= (long) SWIG_AsLong(obj1
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4541 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
*resultobj
;
4544 wxIconBundle
*result
;
4545 PyObject
* obj0
= 0 ;
4547 (char *) "icon", NULL
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4555 PyErr_SetString(PyExc_TypeError
,"null reference");
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4572 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4575 PyObject
* obj0
= 0 ;
4577 (char *) "self", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 Py_INCREF(Py_None
); resultobj
= Py_None
;
4597 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4604 (char *) "self",(char *) "icon", NULL
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4614 PyErr_SetString(PyExc_TypeError
,"null reference");
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4624 Py_INCREF(Py_None
); resultobj
= Py_None
;
4631 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4634 wxString
*arg2
= 0 ;
4636 bool temp2
= False
;
4637 PyObject
* obj0
= 0 ;
4638 PyObject
* obj1
= 0 ;
4639 PyObject
* obj2
= 0 ;
4641 (char *) "self",(char *) "file",(char *) "type", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4648 arg2
= wxString_in_helper(obj1
);
4649 if (arg2
== NULL
) SWIG_fail
;
4652 arg3
= (long) SWIG_AsLong(obj2
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 Py_INCREF(Py_None
); resultobj
= Py_None
;
4676 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
;
4678 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4682 PyObject
* obj0
= 0 ;
4683 PyObject
* obj1
= 0 ;
4685 (char *) "self",(char *) "size", NULL
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4693 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4699 result
= (wxIcon
*) &_result_ref
;
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4706 wxIcon
* resultptr
= new wxIcon(*result
);
4707 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4715 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4718 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4720 return Py_BuildValue((char *)"");
4722 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
;
4724 wxString
*arg1
= (wxString
*) 0 ;
4726 int arg3
= (int) 0 ;
4727 int arg4
= (int) 0 ;
4729 bool temp1
= False
;
4730 PyObject
* obj0
= 0 ;
4731 PyObject
* obj1
= 0 ;
4732 PyObject
* obj2
= 0 ;
4733 PyObject
* obj3
= 0 ;
4735 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4740 arg1
= wxString_in_helper(obj0
);
4741 if (arg1
== NULL
) SWIG_fail
;
4744 arg2
= (long) SWIG_AsLong(obj1
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4747 arg3
= (int) SWIG_AsInt(obj2
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 arg4
= (int) SWIG_AsInt(obj3
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4776 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
;
4778 wxCursor
*arg1
= (wxCursor
*) 0 ;
4779 PyObject
* obj0
= 0 ;
4781 (char *) "self", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 Py_INCREF(Py_None
); resultobj
= Py_None
;
4801 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
*resultobj
;
4805 PyObject
* obj0
= 0 ;
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4811 arg1
= (int) SWIG_AsInt(obj0
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 result
= (wxCursor
*)new wxCursor(arg1
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4827 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4831 PyObject
* obj0
= 0 ;
4833 (char *) "image", NULL
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4841 PyErr_SetString(PyExc_TypeError
,"null reference");
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4858 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4860 wxCursor
*arg1
= (wxCursor
*) 0 ;
4862 PyObject
* obj0
= 0 ;
4864 (char *) "self", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
4868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (long)(arg1
)->GetHandle();
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= SWIG_FromLong((long)result
);
4884 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxCursor
*arg1
= (wxCursor
*) 0 ;
4888 PyObject
* obj0
= 0 ;
4889 PyObject
* obj1
= 0 ;
4891 (char *) "self",(char *) "handle", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4897 arg2
= (long) SWIG_AsLong(obj1
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 wxCursor_SetHandle(arg1
,arg2
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 Py_INCREF(Py_None
); resultobj
= Py_None
;
4913 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4915 wxCursor
*arg1
= (wxCursor
*) 0 ;
4917 PyObject
* obj0
= 0 ;
4919 (char *) "self", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (bool)(arg1
)->Ok();
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4941 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxCursor
*arg1
= (wxCursor
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4947 (char *) "self", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (int)(arg1
)->GetWidth();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= SWIG_FromInt((int)result
);
4967 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
;
4969 wxCursor
*arg1
= (wxCursor
*) 0 ;
4971 PyObject
* obj0
= 0 ;
4973 (char *) "self", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (int)(arg1
)->GetHeight();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= SWIG_FromInt((int)result
);
4993 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxCursor
*arg1
= (wxCursor
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4999 (char *) "self", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
5003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (int)(arg1
)->GetDepth();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_FromInt((int)result
);
5019 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxCursor
*arg1
= (wxCursor
*) 0 ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5026 (char *) "self",(char *) "w", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5032 arg2
= (int) SWIG_AsInt(obj1
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 (arg1
)->SetWidth(arg2
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 Py_INCREF(Py_None
); resultobj
= Py_None
;
5048 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxCursor
*arg1
= (wxCursor
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5055 (char *) "self",(char *) "h", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5061 arg2
= (int) SWIG_AsInt(obj1
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 (arg1
)->SetHeight(arg2
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 Py_INCREF(Py_None
); resultobj
= Py_None
;
5077 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxCursor
*arg1
= (wxCursor
*) 0 ;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5084 (char *) "self",(char *) "d", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5090 arg2
= (int) SWIG_AsInt(obj1
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 (arg1
)->SetDepth(arg2
);
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 Py_INCREF(Py_None
); resultobj
= Py_None
;
5106 static PyObject
*_wrap_Cursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxCursor
*arg1
= (wxCursor
*) 0 ;
5111 PyObject
* obj0
= 0 ;
5112 PyObject
* obj1
= 0 ;
5114 (char *) "self",(char *) "size", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5122 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 (arg1
)->SetSize((wxSize
const &)*arg2
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 Py_INCREF(Py_None
); resultobj
= Py_None
;
5138 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
5140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5141 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5143 return Py_BuildValue((char *)"");
5145 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
;
5147 int arg1
= (int) 0 ;
5148 int arg2
= (int) 0 ;
5149 int arg3
= (int) 0 ;
5150 int arg4
= (int) 0 ;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5154 PyObject
* obj2
= 0 ;
5155 PyObject
* obj3
= 0 ;
5157 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5162 arg1
= (int) SWIG_AsInt(obj0
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5166 arg2
= (int) SWIG_AsInt(obj1
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5170 arg3
= (int) SWIG_AsInt(obj2
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5174 arg4
= (int) SWIG_AsInt(obj3
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5191 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxBitmap
*arg1
= 0 ;
5194 wxColour
const &arg2_defvalue
= wxNullColour
;
5195 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5196 int arg3
= (int) 0 ;
5199 PyObject
* obj0
= 0 ;
5200 PyObject
* obj1
= 0 ;
5201 PyObject
* obj2
= 0 ;
5203 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5211 PyErr_SetString(PyExc_TypeError
,"null reference");
5217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5221 arg3
= (int) SWIG_AsInt(obj2
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5238 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5241 wxPoint
*arg2
= (wxPoint
*) 0 ;
5242 int arg3
= (int) wxWINDING_RULE
;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj1
= 0 ;
5247 (char *) "points",(char *) "fillStyle", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5252 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5253 if (arg2
== NULL
) SWIG_fail
;
5256 arg3
= (int) SWIG_AsInt(obj1
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5268 if (arg2
) delete [] arg2
;
5273 if (arg2
) delete [] arg2
;
5279 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxRegion
*arg1
= (wxRegion
*) 0 ;
5282 PyObject
* obj0
= 0 ;
5284 (char *) "self", NULL
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 Py_INCREF(Py_None
); resultobj
= Py_None
;
5304 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxRegion
*arg1
= (wxRegion
*) 0 ;
5307 PyObject
* obj0
= 0 ;
5309 (char *) "self", NULL
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 Py_INCREF(Py_None
); resultobj
= Py_None
;
5329 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxRegion
*arg1
= (wxRegion
*) 0 ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5337 PyObject
* obj2
= 0 ;
5339 (char *) "self",(char *) "x",(char *) "y", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5345 arg2
= (int) SWIG_AsInt(obj1
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5347 arg3
= (int) SWIG_AsInt(obj2
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5365 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxRegion
*arg1
= (wxRegion
*) 0 ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 PyObject
* obj2
= 0 ;
5375 (char *) "self",(char *) "x",(char *) "y", NULL
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5381 arg2
= (int) SWIG_AsInt(obj1
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5383 arg3
= (int) SWIG_AsInt(obj2
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= SWIG_FromInt((int)result
);
5399 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxRegion
*arg1
= (wxRegion
*) 0 ;
5405 PyObject
* obj0
= 0 ;
5406 PyObject
* obj1
= 0 ;
5408 (char *) "self",(char *) "pt", NULL
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= SWIG_FromInt((int)result
);
5432 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxRegion
*arg1
= (wxRegion
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5439 PyObject
* obj1
= 0 ;
5441 (char *) "self",(char *) "rect", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5449 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5458 resultobj
= SWIG_FromInt((int)result
);
5465 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
*resultobj
;
5467 wxRegion
*arg1
= (wxRegion
*) 0 ;
5473 PyObject
* obj0
= 0 ;
5474 PyObject
* obj1
= 0 ;
5475 PyObject
* obj2
= 0 ;
5476 PyObject
* obj3
= 0 ;
5477 PyObject
* obj4
= 0 ;
5479 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5485 arg2
= (int) SWIG_AsInt(obj1
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5487 arg3
= (int) SWIG_AsInt(obj2
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5489 arg4
= (int) SWIG_AsInt(obj3
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5491 arg5
= (int) SWIG_AsInt(obj4
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_FromInt((int)result
);
5507 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 wxRegion
*arg1
= (wxRegion
*) 0 ;
5511 PyObject
* obj0
= 0 ;
5513 (char *) "self", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= (arg1
)->GetBox();
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5528 resultptr
= new wxRect((wxRect
&) result
);
5529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5537 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxRegion
*arg1
= (wxRegion
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5546 PyObject
* obj1
= 0 ;
5547 PyObject
* obj2
= 0 ;
5548 PyObject
* obj3
= 0 ;
5549 PyObject
* obj4
= 0 ;
5551 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5557 arg2
= (int) SWIG_AsInt(obj1
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5559 arg3
= (int) SWIG_AsInt(obj2
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5561 arg4
= (int) SWIG_AsInt(obj3
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5563 arg5
= (int) SWIG_AsInt(obj4
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5581 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxRegion
*arg1
= (wxRegion
*) 0 ;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5590 (char *) "self",(char *) "rect", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5598 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5616 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxRegion
*arg1
= (wxRegion
*) 0 ;
5619 wxRegion
*arg2
= 0 ;
5621 PyObject
* obj0
= 0 ;
5622 PyObject
* obj1
= 0 ;
5624 (char *) "self",(char *) "region", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5634 PyErr_SetString(PyExc_TypeError
,"null reference");
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5653 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxRegion
*arg1
= (wxRegion
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5659 (char *) "self", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (bool)(arg1
)->IsEmpty();
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5681 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxRegion
*arg1
= (wxRegion
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 PyObject
* obj2
= 0 ;
5692 PyObject
* obj3
= 0 ;
5693 PyObject
* obj4
= 0 ;
5695 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5701 arg2
= (int) SWIG_AsInt(obj1
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5703 arg3
= (int) SWIG_AsInt(obj2
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5705 arg4
= (int) SWIG_AsInt(obj3
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5707 arg5
= (int) SWIG_AsInt(obj4
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5725 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxRegion
*arg1
= (wxRegion
*) 0 ;
5731 PyObject
* obj0
= 0 ;
5732 PyObject
* obj1
= 0 ;
5734 (char *) "self",(char *) "rect", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5742 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5760 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
*resultobj
;
5762 wxRegion
*arg1
= (wxRegion
*) 0 ;
5763 wxRegion
*arg2
= 0 ;
5765 PyObject
* obj0
= 0 ;
5766 PyObject
* obj1
= 0 ;
5768 (char *) "self",(char *) "region", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5778 PyErr_SetString(PyExc_TypeError
,"null reference");
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5797 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxRegion
*arg1
= (wxRegion
*) 0 ;
5805 PyObject
* obj0
= 0 ;
5806 PyObject
* obj1
= 0 ;
5807 PyObject
* obj2
= 0 ;
5808 PyObject
* obj3
= 0 ;
5809 PyObject
* obj4
= 0 ;
5811 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5817 arg2
= (int) SWIG_AsInt(obj1
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5819 arg3
= (int) SWIG_AsInt(obj2
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5821 arg4
= (int) SWIG_AsInt(obj3
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5823 arg5
= (int) SWIG_AsInt(obj4
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5841 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxRegion
*arg1
= (wxRegion
*) 0 ;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5850 (char *) "self",(char *) "rect", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5858 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5876 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
;
5878 wxRegion
*arg1
= (wxRegion
*) 0 ;
5879 wxRegion
*arg2
= 0 ;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5884 (char *) "self",(char *) "region", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5894 PyErr_SetString(PyExc_TypeError
,"null reference");
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5913 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxRegion
*arg1
= (wxRegion
*) 0 ;
5921 PyObject
* obj0
= 0 ;
5922 PyObject
* obj1
= 0 ;
5923 PyObject
* obj2
= 0 ;
5924 PyObject
* obj3
= 0 ;
5925 PyObject
* obj4
= 0 ;
5927 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5933 arg2
= (int) SWIG_AsInt(obj1
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5935 arg3
= (int) SWIG_AsInt(obj2
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5937 arg4
= (int) SWIG_AsInt(obj3
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5939 arg5
= (int) SWIG_AsInt(obj4
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5957 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 wxRegion
*arg1
= (wxRegion
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5964 PyObject
* obj1
= 0 ;
5966 (char *) "self",(char *) "rect", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5992 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
;
5994 wxRegion
*arg1
= (wxRegion
*) 0 ;
5995 wxRegion
*arg2
= 0 ;
5997 PyObject
* obj0
= 0 ;
5998 PyObject
* obj1
= 0 ;
6000 (char *) "self",(char *) "region", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6010 PyErr_SetString(PyExc_TypeError
,"null reference");
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6029 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
*resultobj
;
6031 wxRegion
*arg1
= (wxRegion
*) 0 ;
6032 SwigValueWrapper
< wxBitmap
> result
;
6033 PyObject
* obj0
= 0 ;
6035 (char *) "self", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
6039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (arg1
)->ConvertToBitmap();
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6049 wxBitmap
* resultptr
;
6050 resultptr
= new wxBitmap((wxBitmap
&) result
);
6051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6059 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxRegion
*arg1
= (wxRegion
*) 0 ;
6062 wxBitmap
*arg2
= 0 ;
6063 wxColour
const &arg3_defvalue
= wxNullColour
;
6064 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
6065 int arg4
= (int) 0 ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6070 PyObject
* obj2
= 0 ;
6071 PyObject
* obj3
= 0 ;
6073 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6083 PyErr_SetString(PyExc_TypeError
,"null reference");
6089 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6093 arg4
= (int) SWIG_AsInt(obj3
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6112 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
6114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6115 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
6117 return Py_BuildValue((char *)"");
6119 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxRegion
*arg1
= 0 ;
6122 wxRegionIterator
*result
;
6123 PyObject
* obj0
= 0 ;
6125 (char *) "region", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6133 PyErr_SetString(PyExc_TypeError
,"null reference");
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
6150 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
;
6152 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6153 PyObject
* obj0
= 0 ;
6155 (char *) "self", NULL
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6168 Py_INCREF(Py_None
); resultobj
= Py_None
;
6175 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
*resultobj
;
6177 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6179 PyObject
* obj0
= 0 ;
6181 (char *) "self", NULL
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 result
= (int)(arg1
)->GetX();
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= SWIG_FromInt((int)result
);
6201 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6207 (char *) "self", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (int)(arg1
)->GetY();
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= SWIG_FromInt((int)result
);
6227 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6231 PyObject
* obj0
= 0 ;
6233 (char *) "self", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (int)(arg1
)->GetW();
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= SWIG_FromInt((int)result
);
6253 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6257 PyObject
* obj0
= 0 ;
6259 (char *) "self", NULL
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 result
= (int)(arg1
)->GetWidth();
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= SWIG_FromInt((int)result
);
6279 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6285 (char *) "self", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 result
= (int)(arg1
)->GetH();
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= SWIG_FromInt((int)result
);
6305 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6309 PyObject
* obj0
= 0 ;
6311 (char *) "self", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (int)(arg1
)->GetHeight();
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_FromInt((int)result
);
6331 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6337 (char *) "self", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (arg1
)->GetRect();
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6352 resultptr
= new wxRect((wxRect
&) result
);
6353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6361 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "self", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (bool)(arg1
)->HaveRects();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6389 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "self", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 Py_INCREF(Py_None
); resultobj
= Py_None
;
6414 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6417 PyObject
* obj0
= 0 ;
6419 (char *) "self", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 wxRegionIterator_Next(arg1
);
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 Py_INCREF(Py_None
); resultobj
= Py_None
;
6439 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6445 (char *) "self", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6467 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6470 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6472 return Py_BuildValue((char *)"");
6474 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
*resultobj
;
6476 wxNativeFontInfo
*result
;
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6496 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6499 PyObject
* obj0
= 0 ;
6501 (char *) "self", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 Py_INCREF(Py_None
); resultobj
= Py_None
;
6521 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6524 PyObject
* obj0
= 0 ;
6526 (char *) "self", NULL
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6539 Py_INCREF(Py_None
); resultobj
= Py_None
;
6546 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
*resultobj
;
6548 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6550 PyObject
* obj0
= 0 ;
6551 PyObject
* obj1
= 0 ;
6553 (char *) "self",(char *) "font", NULL
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6563 PyErr_SetString(PyExc_TypeError
,"null reference");
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6573 Py_INCREF(Py_None
); resultobj
= Py_None
;
6580 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6584 PyObject
* obj0
= 0 ;
6586 (char *) "self", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= SWIG_FromInt((int)result
);
6606 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 (char *) "self", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= SWIG_FromInt((int)result
);
6632 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6636 PyObject
* obj0
= 0 ;
6638 (char *) "self", NULL
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= SWIG_FromInt((int)result
);
6658 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
*resultobj
;
6660 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6664 (char *) "self", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6686 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6690 PyObject
* obj0
= 0 ;
6692 (char *) "self", NULL
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6718 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
;
6720 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6722 PyObject
* obj0
= 0 ;
6724 (char *) "self", NULL
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6737 resultobj
= SWIG_FromInt((int)result
);
6744 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6748 PyObject
* obj0
= 0 ;
6750 (char *) "self", NULL
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= SWIG_FromInt((int)result
);
6770 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
;
6772 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6775 PyObject
* obj1
= 0 ;
6777 (char *) "self",(char *) "pointsize", NULL
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 arg2
= (int) SWIG_AsInt(obj1
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 (arg1
)->SetPointSize(arg2
);
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6792 Py_INCREF(Py_None
); resultobj
= Py_None
;
6799 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6806 (char *) "self",(char *) "style", NULL
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6812 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 Py_INCREF(Py_None
); resultobj
= Py_None
;
6828 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6835 (char *) "self",(char *) "weight", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6841 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 Py_INCREF(Py_None
); resultobj
= Py_None
;
6857 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6862 PyObject
* obj1
= 0 ;
6864 (char *) "self",(char *) "underlined", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6870 arg2
= (bool) SWIG_AsBool(obj1
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 (arg1
)->SetUnderlined(arg2
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 Py_INCREF(Py_None
); resultobj
= Py_None
;
6886 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6890 PyObject
* obj0
= 0 ;
6891 PyObject
* obj1
= 0 ;
6893 (char *) "self",(char *) "facename", NULL
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6900 wxString
* sptr
= wxString_in_helper(obj1
);
6901 if (sptr
== NULL
) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 (arg1
)->SetFaceName(arg2
);
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 Py_INCREF(Py_None
); resultobj
= Py_None
;
6919 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6926 (char *) "self",(char *) "family", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6932 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6941 Py_INCREF(Py_None
); resultobj
= Py_None
;
6948 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6952 PyObject
* obj0
= 0 ;
6953 PyObject
* obj1
= 0 ;
6955 (char *) "self",(char *) "encoding", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6961 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 Py_INCREF(Py_None
); resultobj
= Py_None
;
6977 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6980 wxString
*arg2
= 0 ;
6982 bool temp2
= False
;
6983 PyObject
* obj0
= 0 ;
6984 PyObject
* obj1
= 0 ;
6986 (char *) "self",(char *) "s", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6993 arg2
= wxString_in_helper(obj1
);
6994 if (arg2
== NULL
) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7021 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7027 (char *) "self", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
7031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7053 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7055 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7057 PyObject
* obj0
= 0 ;
7059 (char *) "self", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 result
= wxNativeFontInfo___str__(arg1
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7085 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7088 wxString
*arg2
= 0 ;
7090 bool temp2
= False
;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7094 (char *) "self",(char *) "s", NULL
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
7098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7101 arg2
= wxString_in_helper(obj1
);
7102 if (arg2
== NULL
) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7129 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
;
7131 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7133 PyObject
* obj0
= 0 ;
7135 (char *) "self", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
7139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7161 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7164 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
7166 return Py_BuildValue((char *)"");
7168 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
*resultobj
;
7170 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7171 wxString
*arg2
= (wxString
*) 0 ;
7172 bool temp2
= False
;
7173 PyObject
* obj0
= 0 ;
7174 PyObject
* obj1
= 0 ;
7176 (char *) "self",(char *) "facename", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7183 arg2
= wxString_in_helper(obj1
);
7184 if (arg2
== NULL
) SWIG_fail
;
7187 if (arg1
) (arg1
)->facename
= *arg2
;
7189 Py_INCREF(Py_None
); resultobj
= Py_None
;
7204 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7208 PyObject
* obj0
= 0 ;
7210 (char *) "self", NULL
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7216 result
= (wxString
*)& ((arg1
)->facename
);
7220 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7222 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7231 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7233 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7235 PyObject
* obj0
= 0 ;
7236 PyObject
* obj1
= 0 ;
7238 (char *) "self",(char *) "encoding", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7244 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7246 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7248 Py_INCREF(Py_None
); resultobj
= Py_None
;
7255 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7257 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7259 PyObject
* obj0
= 0 ;
7261 (char *) "self", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7267 result
= (int) ((arg1
)->encoding
);
7269 resultobj
= SWIG_FromInt((int)result
);
7276 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxNativeEncodingInfo
*result
;
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7298 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7301 PyObject
* obj0
= 0 ;
7303 (char *) "self", NULL
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 Py_INCREF(Py_None
); resultobj
= Py_None
;
7323 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7326 wxString
*arg2
= 0 ;
7328 bool temp2
= False
;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7332 (char *) "self",(char *) "s", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7339 arg2
= wxString_in_helper(obj1
);
7340 if (arg2
== NULL
) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7367 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
;
7369 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7371 PyObject
* obj0
= 0 ;
7373 (char *) "self", NULL
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7399 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7402 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7404 return Py_BuildValue((char *)"");
7406 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7409 wxNativeEncodingInfo
*result
;
7410 PyObject
* obj0
= 0 ;
7412 (char *) "encoding", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7416 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7432 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
;
7434 wxNativeEncodingInfo
*arg1
= 0 ;
7436 PyObject
* obj0
= 0 ;
7438 (char *) "info", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7446 PyErr_SetString(PyExc_TypeError
,"null reference");
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7465 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7467 wxFontMapper
*result
;
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 result
= (wxFontMapper
*)new wxFontMapper();
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7487 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7489 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7490 PyObject
* obj0
= 0 ;
7492 (char *) "self", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 Py_INCREF(Py_None
); resultobj
= Py_None
;
7512 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxFontMapper
*result
;
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 result
= (wxFontMapper
*)wxFontMapper::Get();
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7534 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
;
7536 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7537 wxFontMapper
*result
;
7538 PyObject
* obj0
= 0 ;
7540 (char *) "mapper", NULL
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7560 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
*resultobj
;
7562 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7563 wxString
*arg2
= 0 ;
7564 bool arg3
= (bool) True
;
7566 bool temp2
= False
;
7567 PyObject
* obj0
= 0 ;
7568 PyObject
* obj1
= 0 ;
7569 PyObject
* obj2
= 0 ;
7571 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7578 arg2
= wxString_in_helper(obj1
);
7579 if (arg2
== NULL
) SWIG_fail
;
7583 arg3
= (bool) SWIG_AsBool(obj2
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= SWIG_FromInt((int)result
);
7608 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7630 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7634 PyObject
* obj0
= 0 ;
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7640 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 result
= (int)wxFontMapper::GetEncoding(arg1
);
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 resultobj
= SWIG_FromInt((int)result
);
7656 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7660 PyObject
* obj0
= 0 ;
7662 (char *) "encoding", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7666 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7688 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
;
7692 PyObject
* obj0
= 0 ;
7694 (char *) "encoding", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7698 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7720 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxString
*arg1
= 0 ;
7724 bool temp1
= False
;
7725 PyObject
* obj0
= 0 ;
7727 (char *) "name", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7732 arg1
= wxString_in_helper(obj0
);
7733 if (arg1
== NULL
) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 resultobj
= SWIG_FromInt((int)result
);
7758 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7761 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7763 PyObject
* obj1
= 0 ;
7765 (char *) "self",(char *) "config", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 (arg1
)->SetConfig(arg2
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 Py_INCREF(Py_None
); resultobj
= Py_None
;
7787 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7790 wxString
*arg2
= 0 ;
7791 bool temp2
= False
;
7792 PyObject
* obj0
= 0 ;
7793 PyObject
* obj1
= 0 ;
7795 (char *) "self",(char *) "prefix", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7802 arg2
= wxString_in_helper(obj1
);
7803 if (arg2
== NULL
) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 Py_INCREF(Py_None
); resultobj
= Py_None
;
7828 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
;
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 result
= wxFontMapper::GetDefaultConfigPath();
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7856 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7860 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7861 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7862 bool arg4
= (bool) True
;
7864 bool temp3
= False
;
7865 PyObject
* obj0
= 0 ;
7866 PyObject
* obj1
= 0 ;
7867 PyObject
* obj2
= 0 ;
7868 PyObject
* obj3
= 0 ;
7870 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7876 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7880 arg3
= wxString_in_helper(obj2
);
7881 if (arg3
== NULL
) SWIG_fail
;
7886 arg4
= (bool) SWIG_AsBool(obj3
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7911 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7915 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7916 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7918 bool temp3
= False
;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7921 PyObject
* obj2
= 0 ;
7923 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7929 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7933 arg3
= wxString_in_helper(obj2
);
7934 if (arg3
== NULL
) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7962 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7965 wxWindow
*arg2
= (wxWindow
*) 0 ;
7966 PyObject
* obj0
= 0 ;
7967 PyObject
* obj1
= 0 ;
7969 (char *) "self",(char *) "parent", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 (arg1
)->SetDialogParent(arg2
);
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 Py_INCREF(Py_None
); resultobj
= Py_None
;
7991 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7994 wxString
*arg2
= 0 ;
7995 bool temp2
= False
;
7996 PyObject
* obj0
= 0 ;
7997 PyObject
* obj1
= 0 ;
7999 (char *) "self",(char *) "title", NULL
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8006 arg2
= wxString_in_helper(obj1
);
8007 if (arg2
== NULL
) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 Py_INCREF(Py_None
); resultobj
= Py_None
;
8032 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
8034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8035 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
8037 return Py_BuildValue((char *)"");
8039 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
;
8045 bool arg5
= (bool) False
;
8046 wxString
const &arg6_defvalue
= wxPyEmptyString
;
8047 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8048 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8050 bool temp6
= False
;
8051 PyObject
* obj0
= 0 ;
8052 PyObject
* obj1
= 0 ;
8053 PyObject
* obj2
= 0 ;
8054 PyObject
* obj3
= 0 ;
8055 PyObject
* obj4
= 0 ;
8056 PyObject
* obj5
= 0 ;
8057 PyObject
* obj6
= 0 ;
8059 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8063 arg1
= (int) SWIG_AsInt(obj0
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8065 arg2
= (int) SWIG_AsInt(obj1
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8067 arg3
= (int) SWIG_AsInt(obj2
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8069 arg4
= (int) SWIG_AsInt(obj3
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 arg5
= (bool) SWIG_AsBool(obj4
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8077 arg6
= wxString_in_helper(obj5
);
8078 if (arg6
== NULL
) SWIG_fail
;
8083 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8108 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxFont
*arg1
= (wxFont
*) 0 ;
8111 PyObject
* obj0
= 0 ;
8113 (char *) "self", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 Py_INCREF(Py_None
); resultobj
= Py_None
;
8133 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxNativeFontInfo
*arg1
= 0 ;
8137 PyObject
* obj0
= 0 ;
8139 (char *) "info", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
8143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
8144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8147 PyErr_SetString(PyExc_TypeError
,"null reference");
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8164 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxString
*arg1
= 0 ;
8168 bool temp1
= False
;
8169 PyObject
* obj0
= 0 ;
8171 (char *) "info", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
8176 arg1
= wxString_in_helper(obj0
);
8177 if (arg1
== NULL
) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8202 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8206 int arg3
= (int) wxFONTFLAG_DEFAULT
;
8207 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8208 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8209 int arg5
= (int) wxFONTENCODING_DEFAULT
;
8211 bool temp4
= False
;
8212 PyObject
* obj0
= 0 ;
8213 PyObject
* obj1
= 0 ;
8214 PyObject
* obj2
= 0 ;
8215 PyObject
* obj3
= 0 ;
8216 PyObject
* obj4
= 0 ;
8218 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8222 arg1
= (int) SWIG_AsInt(obj0
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8224 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8227 arg3
= (int) SWIG_AsInt(obj2
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8232 arg4
= wxString_in_helper(obj3
);
8233 if (arg4
== NULL
) SWIG_fail
;
8238 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8263 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxFont
*arg1
= (wxFont
*) 0 ;
8267 PyObject
* obj0
= 0 ;
8269 (char *) "self", NULL
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 result
= (bool)((wxFont
const *)arg1
)->Ok();
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8291 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
;
8293 wxFont
*arg1
= (wxFont
*) 0 ;
8294 wxFont
*arg2
= (wxFont
*) 0 ;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8299 (char *) "self",(char *) "other", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8311 wxPyEndAllowThreads(__tstate
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8323 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxFont
*arg1
= (wxFont
*) 0 ;
8326 wxFont
*arg2
= (wxFont
*) 0 ;
8328 PyObject
* obj0
= 0 ;
8329 PyObject
* obj1
= 0 ;
8331 (char *) "self",(char *) "other", NULL
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8355 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
;
8357 wxFont
*arg1
= (wxFont
*) 0 ;
8359 PyObject
* obj0
= 0 ;
8361 (char *) "self", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= SWIG_FromInt((int)result
);
8381 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxFont
*arg1
= (wxFont
*) 0 ;
8385 PyObject
* obj0
= 0 ;
8387 (char *) "self", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 resultobj
= SWIG_FromInt((int)result
);
8407 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxFont
*arg1
= (wxFont
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8413 (char *) "self", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= SWIG_FromInt((int)result
);
8433 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxFont
*arg1
= (wxFont
*) 0 ;
8437 PyObject
* obj0
= 0 ;
8439 (char *) "self", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_FromInt((int)result
);
8459 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxFont
*arg1
= (wxFont
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8465 (char *) "self", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8487 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxFont
*arg1
= (wxFont
*) 0 ;
8491 PyObject
* obj0
= 0 ;
8493 (char *) "self", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 result
= ((wxFont
const *)arg1
)->GetFaceName();
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8519 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
;
8521 wxFont
*arg1
= (wxFont
*) 0 ;
8523 PyObject
* obj0
= 0 ;
8525 (char *) "self", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= SWIG_FromInt((int)result
);
8545 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxFont
*arg1
= (wxFont
*) 0 ;
8548 wxNativeFontInfo
*result
;
8549 PyObject
* obj0
= 0 ;
8551 (char *) "self", NULL
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8571 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxFont
*arg1
= (wxFont
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8577 (char *) "self", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8599 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxFont
*arg1
= (wxFont
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8605 (char *) "self", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8631 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxFont
*arg1
= (wxFont
*) 0 ;
8635 PyObject
* obj0
= 0 ;
8637 (char *) "self", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8663 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxFont
*arg1
= (wxFont
*) 0 ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8670 (char *) "self",(char *) "pointSize", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8676 arg2
= (int) SWIG_AsInt(obj1
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 (arg1
)->SetPointSize(arg2
);
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 Py_INCREF(Py_None
); resultobj
= Py_None
;
8692 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxFont
*arg1
= (wxFont
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8697 PyObject
* obj1
= 0 ;
8699 (char *) "self",(char *) "family", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8705 arg2
= (int) SWIG_AsInt(obj1
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 (arg1
)->SetFamily(arg2
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 Py_INCREF(Py_None
); resultobj
= Py_None
;
8721 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
;
8723 wxFont
*arg1
= (wxFont
*) 0 ;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8728 (char *) "self",(char *) "style", NULL
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8734 arg2
= (int) SWIG_AsInt(obj1
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 (arg1
)->SetStyle(arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 Py_INCREF(Py_None
); resultobj
= Py_None
;
8750 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxFont
*arg1
= (wxFont
*) 0 ;
8754 PyObject
* obj0
= 0 ;
8755 PyObject
* obj1
= 0 ;
8757 (char *) "self",(char *) "weight", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8763 arg2
= (int) SWIG_AsInt(obj1
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 (arg1
)->SetWeight(arg2
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 Py_INCREF(Py_None
); resultobj
= Py_None
;
8779 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
*resultobj
;
8781 wxFont
*arg1
= (wxFont
*) 0 ;
8782 wxString
*arg2
= 0 ;
8783 bool temp2
= False
;
8784 PyObject
* obj0
= 0 ;
8785 PyObject
* obj1
= 0 ;
8787 (char *) "self",(char *) "faceName", NULL
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8794 arg2
= wxString_in_helper(obj1
);
8795 if (arg2
== NULL
) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 Py_INCREF(Py_None
); resultobj
= Py_None
;
8820 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
;
8822 wxFont
*arg1
= (wxFont
*) 0 ;
8824 PyObject
* obj0
= 0 ;
8825 PyObject
* obj1
= 0 ;
8827 (char *) "self",(char *) "underlined", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8833 arg2
= (bool) SWIG_AsBool(obj1
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 (arg1
)->SetUnderlined(arg2
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 Py_INCREF(Py_None
); resultobj
= Py_None
;
8849 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
;
8851 wxFont
*arg1
= (wxFont
*) 0 ;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8856 (char *) "self",(char *) "encoding", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8862 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 Py_INCREF(Py_None
); resultobj
= Py_None
;
8878 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 wxFont
*arg1
= (wxFont
*) 0 ;
8881 wxNativeFontInfo
*arg2
= 0 ;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8885 (char *) "self",(char *) "info", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8895 PyErr_SetString(PyExc_TypeError
,"null reference");
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxFont
*arg1
= (wxFont
*) 0 ;
8915 wxString
*arg2
= 0 ;
8916 bool temp2
= False
;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8920 (char *) "self",(char *) "info", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8927 arg2
= wxString_in_helper(obj1
);
8928 if (arg2
== NULL
) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8953 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
;
8955 wxFont
*arg1
= (wxFont
*) 0 ;
8956 wxString
*arg2
= 0 ;
8957 bool temp2
= False
;
8958 PyObject
* obj0
= 0 ;
8959 PyObject
* obj1
= 0 ;
8961 (char *) "self",(char *) "info", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8968 arg2
= wxString_in_helper(obj1
);
8969 if (arg2
== NULL
) SWIG_fail
;
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 Py_INCREF(Py_None
); resultobj
= Py_None
;
8994 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxFont
*arg1
= (wxFont
*) 0 ;
8998 PyObject
* obj0
= 0 ;
9000 (char *) "self", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
9004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= ((wxFont
const *)arg1
)->GetFamilyString();
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9026 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxFont
*arg1
= (wxFont
*) 0 ;
9030 PyObject
* obj0
= 0 ;
9032 (char *) "self", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
9036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 result
= ((wxFont
const *)arg1
)->GetStyleString();
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9058 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
;
9060 wxFont
*arg1
= (wxFont
*) 0 ;
9062 PyObject
* obj0
= 0 ;
9064 (char *) "self", NULL
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= ((wxFont
const *)arg1
)->GetWeightString();
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9090 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
;
9092 wxFont
*arg1
= (wxFont
*) 0 ;
9093 bool arg2
= (bool) True
;
9094 PyObject
* obj0
= 0 ;
9095 PyObject
* obj1
= 0 ;
9097 (char *) "self",(char *) "no", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9104 arg2
= (bool) SWIG_AsBool(obj1
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 (arg1
)->SetNoAntiAliasing(arg2
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 Py_INCREF(Py_None
); resultobj
= Py_None
;
9121 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
*resultobj
;
9123 wxFont
*arg1
= (wxFont
*) 0 ;
9125 PyObject
* obj0
= 0 ;
9127 (char *) "self", NULL
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 result
= (bool)(arg1
)->GetNoAntiAliasing();
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9149 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (int)wxFont::GetDefaultEncoding();
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_FromInt((int)result
);
9171 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9174 PyObject
* obj0
= 0 ;
9176 (char *) "encoding", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9180 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 Py_INCREF(Py_None
); resultobj
= Py_None
;
9196 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
9198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9199 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9201 return Py_BuildValue((char *)"");
9203 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxPyFontEnumerator
*result
;
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9225 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9228 PyObject
* obj0
= 0 ;
9230 (char *) "self", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 Py_INCREF(Py_None
); resultobj
= Py_None
;
9250 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
;
9252 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9253 PyObject
*arg2
= (PyObject
*) 0 ;
9254 PyObject
*arg3
= (PyObject
*) 0 ;
9256 PyObject
* obj0
= 0 ;
9257 PyObject
* obj1
= 0 ;
9258 PyObject
* obj2
= 0 ;
9259 PyObject
* obj3
= 0 ;
9261 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9269 arg4
= (bool) SWIG_AsBool(obj3
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 Py_INCREF(Py_None
); resultobj
= Py_None
;
9285 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
;
9287 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9288 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9289 bool arg3
= (bool) False
;
9291 PyObject
* obj0
= 0 ;
9292 PyObject
* obj1
= 0 ;
9293 PyObject
* obj2
= 0 ;
9295 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9302 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9306 arg3
= (bool) SWIG_AsBool(obj2
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9325 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9328 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9329 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9331 bool temp2
= False
;
9332 PyObject
* obj0
= 0 ;
9333 PyObject
* obj1
= 0 ;
9335 (char *) "self",(char *) "facename", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9343 arg2
= wxString_in_helper(obj1
);
9344 if (arg2
== NULL
) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9372 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9376 PyObject
* obj0
= 0 ;
9378 (char *) "self", NULL
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9398 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9402 PyObject
* obj0
= 0 ;
9404 (char *) "self", NULL
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9424 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
9426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9427 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9429 return Py_BuildValue((char *)"");
9431 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
;
9433 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9438 (char *) "self",(char *) "Language", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9444 arg2
= (int) SWIG_AsInt(obj1
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9446 if (arg1
) (arg1
)->Language
= arg2
;
9448 Py_INCREF(Py_None
); resultobj
= Py_None
;
9455 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9459 PyObject
* obj0
= 0 ;
9461 (char *) "self", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9467 result
= (int) ((arg1
)->Language
);
9469 resultobj
= SWIG_FromInt((int)result
);
9476 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9479 wxString
*arg2
= (wxString
*) 0 ;
9480 bool temp2
= False
;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9484 (char *) "self",(char *) "CanonicalName", NULL
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9491 arg2
= wxString_in_helper(obj1
);
9492 if (arg2
== NULL
) SWIG_fail
;
9495 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9497 Py_INCREF(Py_None
); resultobj
= Py_None
;
9512 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9524 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9528 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9530 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9539 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
;
9541 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9542 wxString
*arg2
= (wxString
*) 0 ;
9543 bool temp2
= False
;
9544 PyObject
* obj0
= 0 ;
9545 PyObject
* obj1
= 0 ;
9547 (char *) "self",(char *) "Description", NULL
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9554 arg2
= wxString_in_helper(obj1
);
9555 if (arg2
== NULL
) SWIG_fail
;
9558 if (arg1
) (arg1
)->Description
= *arg2
;
9560 Py_INCREF(Py_None
); resultobj
= Py_None
;
9575 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9579 PyObject
* obj0
= 0 ;
9581 (char *) "self", NULL
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9587 result
= (wxString
*)& ((arg1
)->Description
);
9591 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9593 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9602 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9605 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9607 return Py_BuildValue((char *)"");
9609 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
;
9611 int arg1
= (int) -1 ;
9612 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9614 PyObject
* obj0
= 0 ;
9615 PyObject
* obj1
= 0 ;
9617 (char *) "language",(char *) "flags", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9622 arg1
= (int) SWIG_AsInt(obj0
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9626 arg2
= (int) SWIG_AsInt(obj1
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9643 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxLocale
*arg1
= (wxLocale
*) 0 ;
9646 PyObject
* obj0
= 0 ;
9648 (char *) "self", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 Py_INCREF(Py_None
); resultobj
= Py_None
;
9668 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxLocale
*arg1
= (wxLocale
*) 0 ;
9671 wxString
*arg2
= 0 ;
9672 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9673 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9674 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9675 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9676 bool arg5
= (bool) True
;
9677 bool arg6
= (bool) False
;
9679 bool temp2
= False
;
9680 bool temp3
= False
;
9681 bool temp4
= False
;
9682 PyObject
* obj0
= 0 ;
9683 PyObject
* obj1
= 0 ;
9684 PyObject
* obj2
= 0 ;
9685 PyObject
* obj3
= 0 ;
9686 PyObject
* obj4
= 0 ;
9687 PyObject
* obj5
= 0 ;
9689 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9696 arg2
= wxString_in_helper(obj1
);
9697 if (arg2
== NULL
) SWIG_fail
;
9702 arg3
= wxString_in_helper(obj2
);
9703 if (arg3
== NULL
) SWIG_fail
;
9709 arg4
= wxString_in_helper(obj3
);
9710 if (arg4
== NULL
) SWIG_fail
;
9715 arg5
= (bool) SWIG_AsBool(obj4
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9719 arg6
= (bool) SWIG_AsBool(obj5
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9762 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxLocale
*arg1
= (wxLocale
*) 0 ;
9765 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9766 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 PyObject
* obj2
= 0 ;
9772 (char *) "self",(char *) "language",(char *) "flags", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9779 arg2
= (int) SWIG_AsInt(obj1
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9783 arg3
= (int) SWIG_AsInt(obj2
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9802 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (int)wxLocale::GetSystemLanguage();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= SWIG_FromInt((int)result
);
9824 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (int)wxLocale::GetSystemEncoding();
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_FromInt((int)result
);
9846 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= wxLocale::GetSystemEncodingName();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9874 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxLocale
*arg1
= (wxLocale
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9880 (char *) "self", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9902 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 wxLocale
*arg1
= (wxLocale
*) 0 ;
9906 PyObject
* obj0
= 0 ;
9908 (char *) "self", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= ((wxLocale
const *)arg1
)->GetLocale();
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9934 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
;
9936 wxLocale
*arg1
= (wxLocale
*) 0 ;
9938 PyObject
* obj0
= 0 ;
9940 (char *) "self", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= SWIG_FromInt((int)result
);
9960 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxLocale
*arg1
= (wxLocale
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9966 (char *) "self", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 result
= ((wxLocale
const *)arg1
)->GetSysName();
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9992 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxLocale
*arg1
= (wxLocale
*) 0 ;
9996 PyObject
* obj0
= 0 ;
9998 (char *) "self", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
10002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10024 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxString
*arg1
= 0 ;
10027 bool temp1
= False
;
10028 PyObject
* obj0
= 0 ;
10029 char *kwnames
[] = {
10030 (char *) "prefix", NULL
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
10035 arg1
= wxString_in_helper(obj0
);
10036 if (arg1
== NULL
) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 Py_INCREF(Py_None
); resultobj
= Py_None
;
10061 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxLocale
*arg1
= (wxLocale
*) 0 ;
10064 wxString
*arg2
= 0 ;
10066 bool temp2
= False
;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self",(char *) "szDomain", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 arg2
= wxString_in_helper(obj1
);
10078 if (arg2
== NULL
) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10105 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxLocale
*arg1
= (wxLocale
*) 0 ;
10108 wxString
*arg2
= 0 ;
10110 bool temp2
= False
;
10111 PyObject
* obj0
= 0 ;
10112 PyObject
* obj1
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self",(char *) "szDomain", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10121 arg2
= wxString_in_helper(obj1
);
10122 if (arg2
== NULL
) SWIG_fail
;
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10149 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10152 wxLanguageInfo
*result
;
10153 PyObject
* obj0
= 0 ;
10154 char *kwnames
[] = {
10155 (char *) "lang", NULL
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10159 arg1
= (int) SWIG_AsInt(obj0
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10175 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10179 PyObject
* obj0
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "lang", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10185 arg1
= (int) SWIG_AsInt(obj0
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 result
= wxLocale::GetLanguageName(arg1
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10207 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxString
*arg1
= 0 ;
10210 wxLanguageInfo
*result
;
10211 bool temp1
= False
;
10212 PyObject
* obj0
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "locale", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10219 arg1
= wxString_in_helper(obj0
);
10220 if (arg1
== NULL
) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10245 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxLanguageInfo
*arg1
= 0 ;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "info", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10257 if (arg1
== NULL
) {
10258 PyErr_SetString(PyExc_TypeError
,"null reference");
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 Py_INCREF(Py_None
); resultobj
= Py_None
;
10275 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxLocale
*arg1
= (wxLocale
*) 0 ;
10278 wxString
*arg2
= 0 ;
10279 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10280 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10282 bool temp2
= False
;
10283 bool temp3
= False
;
10284 PyObject
* obj0
= 0 ;
10285 PyObject
* obj1
= 0 ;
10286 PyObject
* obj2
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 arg2
= wxString_in_helper(obj1
);
10296 if (arg2
== NULL
) SWIG_fail
;
10301 arg3
= wxString_in_helper(obj2
);
10302 if (arg3
== NULL
) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10342 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxLocale
*arg1
= (wxLocale
*) 0 ;
10346 PyObject
* obj0
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10358 result
= (wxString
*) &_result_ref
;
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10368 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10377 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
10379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10380 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10382 return Py_BuildValue((char *)"");
10384 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10387 char *kwnames
[] = {
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 result
= (wxLocale
*)wxGetLocale();
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10406 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
10407 PyObject
*resultobj
;
10408 wxString
*arg1
= 0 ;
10410 bool temp1
= False
;
10411 PyObject
* obj0
= 0 ;
10413 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10415 arg1
= wxString_in_helper(obj0
);
10416 if (arg1
== NULL
) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 result
= wxGetTranslation((wxString
const &)*arg1
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10447 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
10448 PyObject
*resultobj
;
10449 wxString
*arg1
= 0 ;
10450 wxString
*arg2
= 0 ;
10453 bool temp1
= False
;
10454 bool temp2
= False
;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 PyObject
* obj2
= 0 ;
10459 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10461 arg1
= wxString_in_helper(obj0
);
10462 if (arg1
== NULL
) SWIG_fail
;
10466 arg2
= wxString_in_helper(obj1
);
10467 if (arg2
== NULL
) SWIG_fail
;
10470 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10508 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10513 argc
= PyObject_Length(args
);
10514 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10515 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10520 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10523 return _wrap_GetTranslation__SWIG_0(self
,args
);
10529 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10533 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10536 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10538 return _wrap_GetTranslation__SWIG_1(self
,args
);
10544 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10549 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxEncodingConverter
*result
;
10552 char *kwnames
[] = {
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10571 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10574 PyObject
* obj0
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 Py_INCREF(Py_None
); resultobj
= Py_None
;
10596 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10601 int arg4
= (int) wxCONVERT_STRICT
;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 PyObject
* obj2
= 0 ;
10606 PyObject
* obj3
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10614 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10616 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 arg4
= (int) SWIG_AsInt(obj3
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10638 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
;
10640 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10641 wxString
*arg2
= 0 ;
10643 bool temp2
= False
;
10644 PyObject
* obj0
= 0 ;
10645 PyObject
* obj1
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self",(char *) "input", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10654 arg2
= wxString_in_helper(obj1
);
10655 if (arg2
== NULL
) SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10686 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
;
10689 int arg2
= (int) wxPLATFORM_CURRENT
;
10690 wxFontEncodingArray result
;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "enc",(char *) "platform", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10698 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 arg2
= (int) SWIG_AsInt(obj1
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= PyList_New(0);
10713 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10714 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10715 PyList_Append(resultobj
, number
);
10725 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10728 wxFontEncodingArray result
;
10729 PyObject
* obj0
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "enc", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10735 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= PyList_New(0);
10746 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10747 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10748 PyList_Append(resultobj
, number
);
10758 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10763 PyObject
* obj0
= 0 ;
10764 PyObject
* obj1
= 0 ;
10765 char *kwnames
[] = {
10766 (char *) "encIn",(char *) "encOut", NULL
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10770 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10772 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10790 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10793 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10795 return Py_BuildValue((char *)"");
10797 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxDC
*arg1
= (wxDC
*) 0 ;
10800 PyObject
* obj0
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "self", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 Py_INCREF(Py_None
); resultobj
= Py_None
;
10822 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
;
10824 wxDC
*arg1
= (wxDC
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 (arg1
)->BeginDrawing();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 Py_INCREF(Py_None
); resultobj
= Py_None
;
10847 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxDC
*arg1
= (wxDC
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 char *kwnames
[] = {
10852 (char *) "self", NULL
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 (arg1
)->EndDrawing();
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 Py_INCREF(Py_None
); resultobj
= Py_None
;
10872 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
;
10874 wxDC
*arg1
= (wxDC
*) 0 ;
10877 wxColour
*arg4
= 0 ;
10878 int arg5
= (int) wxFLOOD_SURFACE
;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 PyObject
* obj2
= 0 ;
10884 PyObject
* obj3
= 0 ;
10885 PyObject
* obj4
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10893 arg2
= (int) SWIG_AsInt(obj1
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10895 arg3
= (int) SWIG_AsInt(obj2
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10899 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10902 arg5
= (int) SWIG_AsInt(obj4
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10921 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxDC
*arg1
= (wxDC
*) 0 ;
10924 wxPoint
*arg2
= 0 ;
10925 wxColour
*arg3
= 0 ;
10926 int arg4
= (int) wxFLOOD_SURFACE
;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 PyObject
* obj2
= 0 ;
10933 PyObject
* obj3
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10947 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10950 arg4
= (int) SWIG_AsInt(obj3
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10969 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
*resultobj
;
10971 wxDC
*arg1
= (wxDC
*) 0 ;
10975 PyObject
* obj0
= 0 ;
10976 PyObject
* obj1
= 0 ;
10977 PyObject
* obj2
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "x",(char *) "y", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10985 arg2
= (int) SWIG_AsInt(obj1
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10987 arg3
= (int) SWIG_AsInt(obj2
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10997 wxColour
* resultptr
;
10998 resultptr
= new wxColour((wxColour
&) result
);
10999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11007 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxDC
*arg1
= (wxDC
*) 0 ;
11010 wxPoint
*arg2
= 0 ;
11013 PyObject
* obj0
= 0 ;
11014 PyObject
* obj1
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self",(char *) "pt", NULL
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11024 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11034 wxColour
* resultptr
;
11035 resultptr
= new wxColour((wxColour
&) result
);
11036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11044 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
*resultobj
;
11046 wxDC
*arg1
= (wxDC
*) 0 ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 PyObject
* obj2
= 0 ;
11054 PyObject
* obj3
= 0 ;
11055 PyObject
* obj4
= 0 ;
11056 char *kwnames
[] = {
11057 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
11060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11063 arg2
= (int) SWIG_AsInt(obj1
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11065 arg3
= (int) SWIG_AsInt(obj2
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11067 arg4
= (int) SWIG_AsInt(obj3
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11069 arg5
= (int) SWIG_AsInt(obj4
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 Py_INCREF(Py_None
); resultobj
= Py_None
;
11085 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxDC
*arg1
= (wxDC
*) 0 ;
11088 wxPoint
*arg2
= 0 ;
11089 wxPoint
*arg3
= 0 ;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 PyObject
* obj2
= 0 ;
11095 char *kwnames
[] = {
11096 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11108 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 Py_INCREF(Py_None
); resultobj
= Py_None
;
11124 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
*resultobj
;
11126 wxDC
*arg1
= (wxDC
*) 0 ;
11129 PyObject
* obj0
= 0 ;
11130 PyObject
* obj1
= 0 ;
11131 PyObject
* obj2
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self",(char *) "x",(char *) "y", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11139 arg2
= (int) SWIG_AsInt(obj1
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11141 arg3
= (int) SWIG_AsInt(obj2
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 (arg1
)->CrossHair(arg2
,arg3
);
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 Py_INCREF(Py_None
); resultobj
= Py_None
;
11157 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11158 PyObject
*resultobj
;
11159 wxDC
*arg1
= (wxDC
*) 0 ;
11160 wxPoint
*arg2
= 0 ;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self",(char *) "pt", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11173 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 Py_INCREF(Py_None
); resultobj
= Py_None
;
11189 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11191 wxDC
*arg1
= (wxDC
*) 0 ;
11198 PyObject
* obj0
= 0 ;
11199 PyObject
* obj1
= 0 ;
11200 PyObject
* obj2
= 0 ;
11201 PyObject
* obj3
= 0 ;
11202 PyObject
* obj4
= 0 ;
11203 PyObject
* obj5
= 0 ;
11204 PyObject
* obj6
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11212 arg2
= (int) SWIG_AsInt(obj1
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11214 arg3
= (int) SWIG_AsInt(obj2
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11216 arg4
= (int) SWIG_AsInt(obj3
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11218 arg5
= (int) SWIG_AsInt(obj4
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11220 arg6
= (int) SWIG_AsInt(obj5
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11222 arg7
= (int) SWIG_AsInt(obj6
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11231 Py_INCREF(Py_None
); resultobj
= Py_None
;
11238 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11239 PyObject
*resultobj
;
11240 wxDC
*arg1
= (wxDC
*) 0 ;
11241 wxPoint
*arg2
= 0 ;
11242 wxPoint
*arg3
= 0 ;
11243 wxPoint
*arg4
= 0 ;
11247 PyObject
* obj0
= 0 ;
11248 PyObject
* obj1
= 0 ;
11249 PyObject
* obj2
= 0 ;
11250 PyObject
* obj3
= 0 ;
11251 char *kwnames
[] = {
11252 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 Py_INCREF(Py_None
); resultobj
= Py_None
;
11284 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
;
11286 wxDC
*arg1
= (wxDC
*) 0 ;
11291 PyObject
* obj0
= 0 ;
11292 PyObject
* obj1
= 0 ;
11293 PyObject
* obj2
= 0 ;
11294 PyObject
* obj3
= 0 ;
11295 PyObject
* obj4
= 0 ;
11296 char *kwnames
[] = {
11297 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11303 arg2
= (int) SWIG_AsInt(obj1
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11305 arg3
= (int) SWIG_AsInt(obj2
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11307 arg4
= (int) SWIG_AsInt(obj3
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11309 arg5
= (int) SWIG_AsInt(obj4
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 Py_INCREF(Py_None
); resultobj
= Py_None
;
11325 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxDC
*arg1
= (wxDC
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self",(char *) "rect", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11341 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 Py_INCREF(Py_None
); resultobj
= Py_None
;
11357 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxDC
*arg1
= (wxDC
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 PyObject
* obj1
= 0 ;
11368 PyObject
* obj2
= 0 ;
11369 PyObject
* obj3
= 0 ;
11370 PyObject
* obj4
= 0 ;
11371 PyObject
* obj5
= 0 ;
11372 PyObject
* obj6
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11380 arg2
= (int) SWIG_AsInt(obj1
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11382 arg3
= (int) SWIG_AsInt(obj2
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11384 arg4
= (int) SWIG_AsInt(obj3
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11386 arg5
= (int) SWIG_AsInt(obj4
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11388 arg6
= (double) SWIG_AsDouble(obj5
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11390 arg7
= (double) SWIG_AsDouble(obj6
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 Py_INCREF(Py_None
); resultobj
= Py_None
;
11406 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxDC
*arg1
= (wxDC
*) 0 ;
11409 wxPoint
*arg2
= 0 ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 PyObject
* obj2
= 0 ;
11418 PyObject
* obj3
= 0 ;
11419 PyObject
* obj4
= 0 ;
11420 char *kwnames
[] = {
11421 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11433 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11435 arg4
= (double) SWIG_AsDouble(obj3
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11437 arg5
= (double) SWIG_AsDouble(obj4
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 Py_INCREF(Py_None
); resultobj
= Py_None
;
11453 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxDC
*arg1
= (wxDC
*) 0 ;
11458 PyObject
* obj0
= 0 ;
11459 PyObject
* obj1
= 0 ;
11460 PyObject
* obj2
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self",(char *) "x",(char *) "y", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11468 arg2
= (int) SWIG_AsInt(obj1
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11470 arg3
= (int) SWIG_AsInt(obj2
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 (arg1
)->DrawPoint(arg2
,arg3
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 Py_INCREF(Py_None
); resultobj
= Py_None
;
11486 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
;
11488 wxDC
*arg1
= (wxDC
*) 0 ;
11489 wxPoint
*arg2
= 0 ;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self",(char *) "pt", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11502 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 Py_INCREF(Py_None
); resultobj
= Py_None
;
11518 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxDC
*arg1
= (wxDC
*) 0 ;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 PyObject
* obj2
= 0 ;
11528 PyObject
* obj3
= 0 ;
11529 PyObject
* obj4
= 0 ;
11530 char *kwnames
[] = {
11531 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11537 arg2
= (int) SWIG_AsInt(obj1
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11539 arg3
= (int) SWIG_AsInt(obj2
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11541 arg4
= (int) SWIG_AsInt(obj3
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11543 arg5
= (int) SWIG_AsInt(obj4
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 Py_INCREF(Py_None
); resultobj
= Py_None
;
11559 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxDC
*arg1
= (wxDC
*) 0 ;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self",(char *) "rect", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11575 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 Py_INCREF(Py_None
); resultobj
= Py_None
;
11591 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
;
11593 wxDC
*arg1
= (wxDC
*) 0 ;
11594 wxPoint
*arg2
= 0 ;
11598 PyObject
* obj0
= 0 ;
11599 PyObject
* obj1
= 0 ;
11600 PyObject
* obj2
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self",(char *) "pt",(char *) "sz", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11610 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11614 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 Py_INCREF(Py_None
); resultobj
= Py_None
;
11630 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxDC
*arg1
= (wxDC
*) 0 ;
11638 PyObject
* obj0
= 0 ;
11639 PyObject
* obj1
= 0 ;
11640 PyObject
* obj2
= 0 ;
11641 PyObject
* obj3
= 0 ;
11642 PyObject
* obj4
= 0 ;
11643 PyObject
* obj5
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11651 arg2
= (int) SWIG_AsInt(obj1
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11653 arg3
= (int) SWIG_AsInt(obj2
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11655 arg4
= (int) SWIG_AsInt(obj3
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11657 arg5
= (int) SWIG_AsInt(obj4
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11659 arg6
= (double) SWIG_AsDouble(obj5
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 Py_INCREF(Py_None
); resultobj
= Py_None
;
11675 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
;
11677 wxDC
*arg1
= (wxDC
*) 0 ;
11681 PyObject
* obj0
= 0 ;
11682 PyObject
* obj1
= 0 ;
11683 PyObject
* obj2
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self",(char *) "r",(char *) "radius", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11693 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11695 arg3
= (double) SWIG_AsDouble(obj2
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 Py_INCREF(Py_None
); resultobj
= Py_None
;
11711 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxDC
*arg1
= (wxDC
*) 0 ;
11714 wxPoint
*arg2
= 0 ;
11719 PyObject
* obj0
= 0 ;
11720 PyObject
* obj1
= 0 ;
11721 PyObject
* obj2
= 0 ;
11722 PyObject
* obj3
= 0 ;
11723 char *kwnames
[] = {
11724 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11732 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11736 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11738 arg4
= (double) SWIG_AsDouble(obj3
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 Py_INCREF(Py_None
); resultobj
= Py_None
;
11754 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxDC
*arg1
= (wxDC
*) 0 ;
11760 PyObject
* obj0
= 0 ;
11761 PyObject
* obj1
= 0 ;
11762 PyObject
* obj2
= 0 ;
11763 PyObject
* obj3
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11771 arg2
= (int) SWIG_AsInt(obj1
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11773 arg3
= (int) SWIG_AsInt(obj2
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11775 arg4
= (int) SWIG_AsInt(obj3
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 Py_INCREF(Py_None
); resultobj
= Py_None
;
11791 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxDC
*arg1
= (wxDC
*) 0 ;
11794 wxPoint
*arg2
= 0 ;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 PyObject
* obj2
= 0 ;
11800 char *kwnames
[] = {
11801 (char *) "self",(char *) "pt",(char *) "radius", NULL
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11811 arg3
= (int) SWIG_AsInt(obj2
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11820 Py_INCREF(Py_None
); resultobj
= Py_None
;
11827 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxDC
*arg1
= (wxDC
*) 0 ;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 PyObject
* obj2
= 0 ;
11837 PyObject
* obj3
= 0 ;
11838 PyObject
* obj4
= 0 ;
11839 char *kwnames
[] = {
11840 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11846 arg2
= (int) SWIG_AsInt(obj1
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11848 arg3
= (int) SWIG_AsInt(obj2
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11850 arg4
= (int) SWIG_AsInt(obj3
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11852 arg5
= (int) SWIG_AsInt(obj4
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11861 Py_INCREF(Py_None
); resultobj
= Py_None
;
11868 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
;
11870 wxDC
*arg1
= (wxDC
*) 0 ;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 char *kwnames
[] = {
11876 (char *) "self",(char *) "rect", NULL
11879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11884 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 Py_INCREF(Py_None
); resultobj
= Py_None
;
11900 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxDC
*arg1
= (wxDC
*) 0 ;
11903 wxPoint
*arg2
= 0 ;
11907 PyObject
* obj0
= 0 ;
11908 PyObject
* obj1
= 0 ;
11909 PyObject
* obj2
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self",(char *) "pt",(char *) "sz", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11923 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11932 Py_INCREF(Py_None
); resultobj
= Py_None
;
11939 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
;
11941 wxDC
*arg1
= (wxDC
*) 0 ;
11945 PyObject
* obj0
= 0 ;
11946 PyObject
* obj1
= 0 ;
11947 PyObject
* obj2
= 0 ;
11948 PyObject
* obj3
= 0 ;
11949 char *kwnames
[] = {
11950 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11959 if (arg2
== NULL
) {
11960 PyErr_SetString(PyExc_TypeError
,"null reference");
11963 arg3
= (int) SWIG_AsInt(obj2
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11965 arg4
= (int) SWIG_AsInt(obj3
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 Py_INCREF(Py_None
); resultobj
= Py_None
;
11981 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxDC
*arg1
= (wxDC
*) 0 ;
11985 wxPoint
*arg3
= 0 ;
11987 PyObject
* obj0
= 0 ;
11988 PyObject
* obj1
= 0 ;
11989 PyObject
* obj2
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self",(char *) "icon",(char *) "pt", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12000 if (arg2
== NULL
) {
12001 PyErr_SetString(PyExc_TypeError
,"null reference");
12006 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 Py_INCREF(Py_None
); resultobj
= Py_None
;
12022 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxDC
*arg1
= (wxDC
*) 0 ;
12025 wxBitmap
*arg2
= 0 ;
12028 bool arg5
= (bool) False
;
12029 PyObject
* obj0
= 0 ;
12030 PyObject
* obj1
= 0 ;
12031 PyObject
* obj2
= 0 ;
12032 PyObject
* obj3
= 0 ;
12033 PyObject
* obj4
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12044 if (arg2
== NULL
) {
12045 PyErr_SetString(PyExc_TypeError
,"null reference");
12048 arg3
= (int) SWIG_AsInt(obj2
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12050 arg4
= (int) SWIG_AsInt(obj3
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 arg5
= (bool) SWIG_AsBool(obj4
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12063 Py_INCREF(Py_None
); resultobj
= Py_None
;
12070 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxDC
*arg1
= (wxDC
*) 0 ;
12073 wxBitmap
*arg2
= 0 ;
12074 wxPoint
*arg3
= 0 ;
12075 bool arg4
= (bool) False
;
12077 PyObject
* obj0
= 0 ;
12078 PyObject
* obj1
= 0 ;
12079 PyObject
* obj2
= 0 ;
12080 PyObject
* obj3
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12091 if (arg2
== NULL
) {
12092 PyErr_SetString(PyExc_TypeError
,"null reference");
12097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12100 arg4
= (bool) SWIG_AsBool(obj3
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 Py_INCREF(Py_None
); resultobj
= Py_None
;
12117 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxDC
*arg1
= (wxDC
*) 0 ;
12120 wxString
*arg2
= 0 ;
12123 bool temp2
= False
;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 PyObject
* obj2
= 0 ;
12127 PyObject
* obj3
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12136 arg2
= wxString_in_helper(obj1
);
12137 if (arg2
== NULL
) SWIG_fail
;
12140 arg3
= (int) SWIG_AsInt(obj2
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12142 arg4
= (int) SWIG_AsInt(obj3
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 Py_INCREF(Py_None
); resultobj
= Py_None
;
12166 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 wxDC
*arg1
= (wxDC
*) 0 ;
12169 wxString
*arg2
= 0 ;
12170 wxPoint
*arg3
= 0 ;
12171 bool temp2
= False
;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj1
= 0 ;
12175 PyObject
* obj2
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self",(char *) "text",(char *) "pt", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12184 arg2
= wxString_in_helper(obj1
);
12185 if (arg2
== NULL
) SWIG_fail
;
12190 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 Py_INCREF(Py_None
); resultobj
= Py_None
;
12214 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxDC
*arg1
= (wxDC
*) 0 ;
12217 wxString
*arg2
= 0 ;
12221 bool temp2
= False
;
12222 PyObject
* obj0
= 0 ;
12223 PyObject
* obj1
= 0 ;
12224 PyObject
* obj2
= 0 ;
12225 PyObject
* obj3
= 0 ;
12226 PyObject
* obj4
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12235 arg2
= wxString_in_helper(obj1
);
12236 if (arg2
== NULL
) SWIG_fail
;
12239 arg3
= (int) SWIG_AsInt(obj2
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12241 arg4
= (int) SWIG_AsInt(obj3
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12243 arg5
= (double) SWIG_AsDouble(obj4
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 Py_INCREF(Py_None
); resultobj
= Py_None
;
12267 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxDC
*arg1
= (wxDC
*) 0 ;
12270 wxString
*arg2
= 0 ;
12271 wxPoint
*arg3
= 0 ;
12273 bool temp2
= False
;
12275 PyObject
* obj0
= 0 ;
12276 PyObject
* obj1
= 0 ;
12277 PyObject
* obj2
= 0 ;
12278 PyObject
* obj3
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12287 arg2
= wxString_in_helper(obj1
);
12288 if (arg2
== NULL
) SWIG_fail
;
12293 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12295 arg4
= (double) SWIG_AsDouble(obj3
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 Py_INCREF(Py_None
); resultobj
= Py_None
;
12319 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxDC
*arg1
= (wxDC
*) 0 ;
12326 wxDC
*arg6
= (wxDC
*) 0 ;
12329 int arg9
= (int) wxCOPY
;
12330 bool arg10
= (bool) False
;
12331 int arg11
= (int) -1 ;
12332 int arg12
= (int) -1 ;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj1
= 0 ;
12336 PyObject
* obj2
= 0 ;
12337 PyObject
* obj3
= 0 ;
12338 PyObject
* obj4
= 0 ;
12339 PyObject
* obj5
= 0 ;
12340 PyObject
* obj6
= 0 ;
12341 PyObject
* obj7
= 0 ;
12342 PyObject
* obj8
= 0 ;
12343 PyObject
* obj9
= 0 ;
12344 PyObject
* obj10
= 0 ;
12345 PyObject
* obj11
= 0 ;
12346 char *kwnames
[] = {
12347 (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
12350 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
;
12351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12353 arg2
= (int) SWIG_AsInt(obj1
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12355 arg3
= (int) SWIG_AsInt(obj2
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12357 arg4
= (int) SWIG_AsInt(obj3
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12359 arg5
= (int) SWIG_AsInt(obj4
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12361 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12363 arg7
= (int) SWIG_AsInt(obj6
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12365 arg8
= (int) SWIG_AsInt(obj7
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 arg9
= (int) SWIG_AsInt(obj8
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12372 arg10
= (bool) SWIG_AsBool(obj9
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12376 arg11
= (int) SWIG_AsInt(obj10
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12380 arg12
= (int) SWIG_AsInt(obj11
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12399 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxDC
*arg1
= (wxDC
*) 0 ;
12402 wxPoint
*arg2
= 0 ;
12404 wxDC
*arg4
= (wxDC
*) 0 ;
12405 wxPoint
*arg5
= 0 ;
12406 int arg6
= (int) wxCOPY
;
12407 bool arg7
= (bool) False
;
12408 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12409 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12415 PyObject
* obj0
= 0 ;
12416 PyObject
* obj1
= 0 ;
12417 PyObject
* obj2
= 0 ;
12418 PyObject
* obj3
= 0 ;
12419 PyObject
* obj4
= 0 ;
12420 PyObject
* obj5
= 0 ;
12421 PyObject
* obj6
= 0 ;
12422 PyObject
* obj7
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12436 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12438 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12442 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12445 arg6
= (int) SWIG_AsInt(obj5
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12449 arg7
= (bool) SWIG_AsBool(obj6
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12455 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12474 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxDC
*arg1
= (wxDC
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 PyObject
* obj2
= 0 ;
12484 PyObject
* obj3
= 0 ;
12485 PyObject
* obj4
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12493 arg2
= (int) SWIG_AsInt(obj1
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12495 arg3
= (int) SWIG_AsInt(obj2
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12497 arg4
= (int) SWIG_AsInt(obj3
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12499 arg5
= (int) SWIG_AsInt(obj4
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 Py_INCREF(Py_None
); resultobj
= Py_None
;
12515 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxDC
*arg1
= (wxDC
*) 0 ;
12518 wxPoint
*arg2
= 0 ;
12522 PyObject
* obj0
= 0 ;
12523 PyObject
* obj1
= 0 ;
12524 PyObject
* obj2
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self",(char *) "pt",(char *) "sz", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12534 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12538 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 Py_INCREF(Py_None
); resultobj
= Py_None
;
12554 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxDC
*arg1
= (wxDC
*) 0 ;
12557 wxRegion
*arg2
= 0 ;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj1
= 0 ;
12560 char *kwnames
[] = {
12561 (char *) "self",(char *) "region", NULL
12564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12570 if (arg2
== NULL
) {
12571 PyErr_SetString(PyExc_TypeError
,"null reference");
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 Py_INCREF(Py_None
); resultobj
= Py_None
;
12588 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxDC
*arg1
= (wxDC
*) 0 ;
12593 PyObject
* obj0
= 0 ;
12594 PyObject
* obj1
= 0 ;
12595 char *kwnames
[] = {
12596 (char *) "self",(char *) "rect", NULL
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12604 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12620 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxDC
*arg1
= (wxDC
*) 0 ;
12624 wxPoint
*arg3
= (wxPoint
*) 0 ;
12625 int arg4
= (int) 0 ;
12626 int arg5
= (int) 0 ;
12627 PyObject
* obj0
= 0 ;
12628 PyObject
* obj1
= 0 ;
12629 PyObject
* obj2
= 0 ;
12630 PyObject
* obj3
= 0 ;
12631 char *kwnames
[] = {
12632 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12639 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12640 if (arg3
== NULL
) SWIG_fail
;
12643 arg4
= (int) SWIG_AsInt(obj2
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12647 arg5
= (int) SWIG_AsInt(obj3
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 Py_INCREF(Py_None
); resultobj
= Py_None
;
12659 if (arg3
) delete [] arg3
;
12664 if (arg3
) delete [] arg3
;
12670 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxDC
*arg1
= (wxDC
*) 0 ;
12674 wxPoint
*arg3
= (wxPoint
*) 0 ;
12675 int arg4
= (int) 0 ;
12676 int arg5
= (int) 0 ;
12677 int arg6
= (int) wxODDEVEN_RULE
;
12678 PyObject
* obj0
= 0 ;
12679 PyObject
* obj1
= 0 ;
12680 PyObject
* obj2
= 0 ;
12681 PyObject
* obj3
= 0 ;
12682 PyObject
* obj4
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12691 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12692 if (arg3
== NULL
) SWIG_fail
;
12695 arg4
= (int) SWIG_AsInt(obj2
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12699 arg5
= (int) SWIG_AsInt(obj3
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12703 arg6
= (int) SWIG_AsInt(obj4
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 Py_INCREF(Py_None
); resultobj
= Py_None
;
12715 if (arg3
) delete [] arg3
;
12720 if (arg3
) delete [] arg3
;
12726 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxDC
*arg1
= (wxDC
*) 0 ;
12729 wxString
*arg2
= 0 ;
12731 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12732 int arg5
= (int) -1 ;
12733 bool temp2
= False
;
12735 PyObject
* obj0
= 0 ;
12736 PyObject
* obj1
= 0 ;
12737 PyObject
* obj2
= 0 ;
12738 PyObject
* obj3
= 0 ;
12739 PyObject
* obj4
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12748 arg2
= wxString_in_helper(obj1
);
12749 if (arg2
== NULL
) SWIG_fail
;
12754 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12757 arg4
= (int) SWIG_AsInt(obj3
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12761 arg5
= (int) SWIG_AsInt(obj4
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 Py_INCREF(Py_None
); resultobj
= Py_None
;
12786 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
;
12788 wxDC
*arg1
= (wxDC
*) 0 ;
12789 wxString
*arg2
= 0 ;
12790 wxBitmap
*arg3
= 0 ;
12792 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12793 int arg6
= (int) -1 ;
12795 bool temp2
= False
;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 PyObject
* obj2
= 0 ;
12800 PyObject
* obj3
= 0 ;
12801 PyObject
* obj4
= 0 ;
12802 PyObject
* obj5
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12811 arg2
= wxString_in_helper(obj1
);
12812 if (arg2
== NULL
) SWIG_fail
;
12815 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12818 if (arg3
== NULL
) {
12819 PyErr_SetString(PyExc_TypeError
,"null reference");
12824 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12827 arg5
= (int) SWIG_AsInt(obj4
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12831 arg6
= (int) SWIG_AsInt(obj5
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12842 wxRect
* resultptr
;
12843 resultptr
= new wxRect((wxRect
&) result
);
12844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12860 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxDC
*arg1
= (wxDC
*) 0 ;
12864 wxPoint
*arg3
= (wxPoint
*) 0 ;
12865 PyObject
* obj0
= 0 ;
12866 PyObject
* obj1
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self",(char *) "points", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12875 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12876 if (arg3
== NULL
) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 (arg1
)->DrawSpline(arg2
,arg3
);
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 Py_INCREF(Py_None
); resultobj
= Py_None
;
12887 if (arg3
) delete [] arg3
;
12892 if (arg3
) delete [] arg3
;
12898 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxDC
*arg1
= (wxDC
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 Py_INCREF(Py_None
); resultobj
= Py_None
;
12923 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
;
12925 wxDC
*arg1
= (wxDC
*) 0 ;
12926 wxString
*arg2
= 0 ;
12928 bool temp2
= False
;
12929 PyObject
* obj0
= 0 ;
12930 PyObject
* obj1
= 0 ;
12931 char *kwnames
[] = {
12932 (char *) "self",(char *) "message", NULL
12935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12939 arg2
= wxString_in_helper(obj1
);
12940 if (arg2
== NULL
) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12967 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
;
12969 wxDC
*arg1
= (wxDC
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 Py_INCREF(Py_None
); resultobj
= Py_None
;
12992 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxDC
*arg1
= (wxDC
*) 0 ;
12995 PyObject
* obj0
= 0 ;
12996 char *kwnames
[] = {
12997 (char *) "self", NULL
13000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
13001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 (arg1
)->StartPage();
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13010 Py_INCREF(Py_None
); resultobj
= Py_None
;
13017 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxDC
*arg1
= (wxDC
*) 0 ;
13020 PyObject
* obj0
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
13026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 Py_INCREF(Py_None
); resultobj
= Py_None
;
13042 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxDC
*arg1
= (wxDC
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "font", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13058 if (arg2
== NULL
) {
13059 PyErr_SetString(PyExc_TypeError
,"null reference");
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 (arg1
)->SetFont((wxFont
const &)*arg2
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 Py_INCREF(Py_None
); resultobj
= Py_None
;
13076 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxDC
*arg1
= (wxDC
*) 0 ;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self",(char *) "pen", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
13090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13092 if (arg2
== NULL
) {
13093 PyErr_SetString(PyExc_TypeError
,"null reference");
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 (arg1
)->SetPen((wxPen
const &)*arg2
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 Py_INCREF(Py_None
); resultobj
= Py_None
;
13110 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxDC
*arg1
= (wxDC
*) 0 ;
13113 wxBrush
*arg2
= 0 ;
13114 PyObject
* obj0
= 0 ;
13115 PyObject
* obj1
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self",(char *) "brush", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13126 if (arg2
== NULL
) {
13127 PyErr_SetString(PyExc_TypeError
,"null reference");
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 Py_INCREF(Py_None
); resultobj
= Py_None
;
13144 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxDC
*arg1
= (wxDC
*) 0 ;
13147 wxBrush
*arg2
= 0 ;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self",(char *) "brush", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13158 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13160 if (arg2
== NULL
) {
13161 PyErr_SetString(PyExc_TypeError
,"null reference");
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 Py_INCREF(Py_None
); resultobj
= Py_None
;
13178 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxDC
*arg1
= (wxDC
*) 0 ;
13182 PyObject
* obj0
= 0 ;
13183 PyObject
* obj1
= 0 ;
13184 char *kwnames
[] = {
13185 (char *) "self",(char *) "mode", NULL
13188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13191 arg2
= (int) SWIG_AsInt(obj1
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 (arg1
)->SetBackgroundMode(arg2
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 Py_INCREF(Py_None
); resultobj
= Py_None
;
13207 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxDC
*arg1
= (wxDC
*) 0 ;
13210 wxPalette
*arg2
= 0 ;
13211 PyObject
* obj0
= 0 ;
13212 PyObject
* obj1
= 0 ;
13213 char *kwnames
[] = {
13214 (char *) "self",(char *) "palette", NULL
13217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13223 if (arg2
== NULL
) {
13224 PyErr_SetString(PyExc_TypeError
,"null reference");
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 Py_INCREF(Py_None
); resultobj
= Py_None
;
13241 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxDC
*arg1
= (wxDC
*) 0 ;
13244 PyObject
* obj0
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 (arg1
)->DestroyClippingRegion();
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 Py_INCREF(Py_None
); resultobj
= Py_None
;
13266 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13268 wxDC
*arg1
= (wxDC
*) 0 ;
13269 int *arg2
= (int *) 0 ;
13270 int *arg3
= (int *) 0 ;
13271 int *arg4
= (int *) 0 ;
13272 int *arg5
= (int *) 0 ;
13277 PyObject
* obj0
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "self", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 Py_INCREF(Py_None
); resultobj
= Py_None
;
13298 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13299 resultobj
= t_output_helper(resultobj
,o
);
13302 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13303 resultobj
= t_output_helper(resultobj
,o
);
13306 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13307 resultobj
= t_output_helper(resultobj
,o
);
13310 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13311 resultobj
= t_output_helper(resultobj
,o
);
13319 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxDC
*arg1
= (wxDC
*) 0 ;
13323 PyObject
* obj0
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= wxDC_GetClippingRect(arg1
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13339 wxRect
* resultptr
;
13340 resultptr
= new wxRect((wxRect
&) result
);
13341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13349 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxDC
*arg1
= (wxDC
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= SWIG_FromInt((int)result
);
13375 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxDC
*arg1
= (wxDC
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_FromInt((int)result
);
13401 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxDC
*arg1
= (wxDC
*) 0 ;
13404 wxString
*arg2
= 0 ;
13405 int *arg3
= (int *) 0 ;
13406 int *arg4
= (int *) 0 ;
13407 bool temp2
= False
;
13410 PyObject
* obj0
= 0 ;
13411 PyObject
* obj1
= 0 ;
13412 char *kwnames
[] = {
13413 (char *) "self",(char *) "string", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13422 arg2
= wxString_in_helper(obj1
);
13423 if (arg2
== NULL
) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 Py_INCREF(Py_None
); resultobj
= Py_None
;
13435 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13436 resultobj
= t_output_helper(resultobj
,o
);
13439 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13440 resultobj
= t_output_helper(resultobj
,o
);
13456 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxDC
*arg1
= (wxDC
*) 0 ;
13459 wxString
*arg2
= 0 ;
13460 int *arg3
= (int *) 0 ;
13461 int *arg4
= (int *) 0 ;
13462 int *arg5
= (int *) 0 ;
13463 int *arg6
= (int *) 0 ;
13464 wxFont
*arg7
= (wxFont
*) NULL
;
13465 bool temp2
= False
;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 PyObject
* obj2
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self",(char *) "string",(char *) "font", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13485 arg2
= wxString_in_helper(obj1
);
13486 if (arg2
== NULL
) SWIG_fail
;
13490 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 Py_INCREF(Py_None
); resultobj
= Py_None
;
13502 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13503 resultobj
= t_output_helper(resultobj
,o
);
13506 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13507 resultobj
= t_output_helper(resultobj
,o
);
13510 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13511 resultobj
= t_output_helper(resultobj
,o
);
13514 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13515 resultobj
= t_output_helper(resultobj
,o
);
13531 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
;
13533 wxDC
*arg1
= (wxDC
*) 0 ;
13534 wxString
*arg2
= 0 ;
13535 int *arg3
= (int *) 0 ;
13536 int *arg4
= (int *) 0 ;
13537 int *arg5
= (int *) 0 ;
13538 wxFont
*arg6
= (wxFont
*) NULL
;
13539 bool temp2
= False
;
13543 PyObject
* obj0
= 0 ;
13544 PyObject
* obj1
= 0 ;
13545 PyObject
* obj2
= 0 ;
13546 char *kwnames
[] = {
13547 (char *) "self",(char *) "text",(char *) "font", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13557 arg2
= wxString_in_helper(obj1
);
13558 if (arg2
== NULL
) SWIG_fail
;
13562 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 Py_INCREF(Py_None
); resultobj
= Py_None
;
13574 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13575 resultobj
= t_output_helper(resultobj
,o
);
13578 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13579 resultobj
= t_output_helper(resultobj
,o
);
13582 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13583 resultobj
= t_output_helper(resultobj
,o
);
13599 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
;
13601 wxDC
*arg1
= (wxDC
*) 0 ;
13602 wxString
*arg2
= 0 ;
13604 bool temp2
= False
;
13605 PyObject
* obj0
= 0 ;
13606 PyObject
* obj1
= 0 ;
13607 char *kwnames
[] = {
13608 (char *) "self",(char *) "text", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13615 arg2
= wxString_in_helper(obj1
);
13616 if (arg2
== NULL
) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= PyList_New(0);
13629 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13630 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13631 PyList_Append(resultobj
, val
);
13649 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
;
13651 wxDC
*arg1
= (wxDC
*) 0 ;
13653 PyObject
* obj0
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "self", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (arg1
)->GetSize();
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 wxSize
* resultptr
;
13670 resultptr
= new wxSize((wxSize
&) result
);
13671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13679 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxDC
*arg1
= (wxDC
*) 0 ;
13682 int *arg2
= (int *) 0 ;
13683 int *arg3
= (int *) 0 ;
13686 PyObject
* obj0
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self", NULL
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 (arg1
)->GetSize(arg2
,arg3
);
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 Py_INCREF(Py_None
); resultobj
= Py_None
;
13705 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13706 resultobj
= t_output_helper(resultobj
,o
);
13709 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13710 resultobj
= t_output_helper(resultobj
,o
);
13718 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
;
13720 wxDC
*arg1
= (wxDC
*) 0 ;
13722 PyObject
* obj0
= 0 ;
13723 char *kwnames
[] = {
13724 (char *) "self", NULL
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13734 wxPyEndAllowThreads(__tstate
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13738 wxSize
* resultptr
;
13739 resultptr
= new wxSize((wxSize
&) result
);
13740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13748 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxDC
*arg1
= (wxDC
*) 0 ;
13751 int *arg2
= (int *) 0 ;
13752 int *arg3
= (int *) 0 ;
13755 PyObject
* obj0
= 0 ;
13756 char *kwnames
[] = {
13757 (char *) "self", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 Py_INCREF(Py_None
); resultobj
= Py_None
;
13774 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13775 resultobj
= t_output_helper(resultobj
,o
);
13778 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13779 resultobj
= t_output_helper(resultobj
,o
);
13787 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
;
13789 wxDC
*arg1
= (wxDC
*) 0 ;
13792 PyObject
* obj0
= 0 ;
13793 PyObject
* obj1
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "self",(char *) "x", NULL
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13801 arg2
= (int) SWIG_AsInt(obj1
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 resultobj
= SWIG_FromInt((int)result
);
13817 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
;
13819 wxDC
*arg1
= (wxDC
*) 0 ;
13822 PyObject
* obj0
= 0 ;
13823 PyObject
* obj1
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self",(char *) "y", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13831 arg2
= (int) SWIG_AsInt(obj1
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= SWIG_FromInt((int)result
);
13847 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxDC
*arg1
= (wxDC
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 PyObject
* obj1
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self",(char *) "x", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13861 arg2
= (int) SWIG_AsInt(obj1
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 resultobj
= SWIG_FromInt((int)result
);
13877 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxDC
*arg1
= (wxDC
*) 0 ;
13882 PyObject
* obj0
= 0 ;
13883 PyObject
* obj1
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self",(char *) "y", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13891 arg2
= (int) SWIG_AsInt(obj1
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= SWIG_FromInt((int)result
);
13907 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
;
13909 wxDC
*arg1
= (wxDC
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 PyObject
* obj1
= 0 ;
13914 char *kwnames
[] = {
13915 (char *) "self",(char *) "x", NULL
13918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13921 arg2
= (int) SWIG_AsInt(obj1
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_FromInt((int)result
);
13937 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxDC
*arg1
= (wxDC
*) 0 ;
13942 PyObject
* obj0
= 0 ;
13943 PyObject
* obj1
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self",(char *) "y", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13951 arg2
= (int) SWIG_AsInt(obj1
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_FromInt((int)result
);
13967 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxDC
*arg1
= (wxDC
*) 0 ;
13972 PyObject
* obj0
= 0 ;
13973 PyObject
* obj1
= 0 ;
13974 char *kwnames
[] = {
13975 (char *) "self",(char *) "x", NULL
13978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13981 arg2
= (int) SWIG_AsInt(obj1
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= SWIG_FromInt((int)result
);
13997 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxDC
*arg1
= (wxDC
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 PyObject
* obj1
= 0 ;
14004 char *kwnames
[] = {
14005 (char *) "self",(char *) "y", NULL
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14011 arg2
= (int) SWIG_AsInt(obj1
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= SWIG_FromInt((int)result
);
14027 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxDC
*arg1
= (wxDC
*) 0 ;
14031 PyObject
* obj0
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
14037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14055 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
;
14057 wxDC
*arg1
= (wxDC
*) 0 ;
14059 PyObject
* obj0
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14083 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxDC
*arg1
= (wxDC
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
14093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14099 wxPyEndAllowThreads(__tstate
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= SWIG_FromInt((int)result
);
14109 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
;
14111 wxDC
*arg1
= (wxDC
*) 0 ;
14113 PyObject
* obj0
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= ((wxDC
const *)arg1
)->GetPPI();
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14129 wxSize
* resultptr
;
14130 resultptr
= new wxSize((wxSize
&) result
);
14131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14139 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
;
14141 wxDC
*arg1
= (wxDC
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "self", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14153 result
= (bool)((wxDC
const *)arg1
)->Ok();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14167 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxDC
*arg1
= (wxDC
*) 0 ;
14171 PyObject
* obj0
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= SWIG_FromInt((int)result
);
14193 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxDC
*arg1
= (wxDC
*) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14209 result
= (wxBrush
*) &_result_ref
;
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 wxBrush
* resultptr
= new wxBrush(*result
);
14217 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14225 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
;
14227 wxDC
*arg1
= (wxDC
*) 0 ;
14229 PyObject
* obj0
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "self", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14241 result
= (wxBrush
*) &_result_ref
;
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14248 wxBrush
* resultptr
= new wxBrush(*result
);
14249 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14257 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxDC
*arg1
= (wxDC
*) 0 ;
14261 PyObject
* obj0
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14273 result
= (wxFont
*) &_result_ref
;
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14280 wxFont
* resultptr
= new wxFont(*result
);
14281 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14289 static PyObject
*_wrap_DC_GetPen(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_GetPen",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 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14305 result
= (wxPen
*) &_result_ref
;
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14312 wxPen
* resultptr
= new wxPen(*result
);
14313 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14321 static PyObject
*_wrap_DC_GetTextBackground(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_GetTextBackground",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 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14337 result
= (wxColour
*) &_result_ref
;
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14350 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxDC
*arg1
= (wxDC
*) 0 ;
14354 PyObject
* obj0
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "self", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14366 result
= (wxColour
*) &_result_ref
;
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14379 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxDC
*arg1
= (wxDC
*) 0 ;
14382 wxColour
*arg2
= 0 ;
14384 PyObject
* obj0
= 0 ;
14385 PyObject
* obj1
= 0 ;
14386 char *kwnames
[] = {
14387 (char *) "self",(char *) "colour", NULL
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14395 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 Py_INCREF(Py_None
); resultobj
= Py_None
;
14411 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
;
14413 wxDC
*arg1
= (wxDC
*) 0 ;
14414 wxColour
*arg2
= 0 ;
14416 PyObject
* obj0
= 0 ;
14417 PyObject
* obj1
= 0 ;
14418 char *kwnames
[] = {
14419 (char *) "self",(char *) "colour", NULL
14422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14427 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 Py_INCREF(Py_None
); resultobj
= Py_None
;
14443 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
;
14445 wxDC
*arg1
= (wxDC
*) 0 ;
14447 PyObject
* obj0
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= SWIG_FromInt((int)result
);
14469 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxDC
*arg1
= (wxDC
*) 0 ;
14473 PyObject
* obj0
= 0 ;
14474 PyObject
* obj1
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self",(char *) "mode", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14482 arg2
= (int) SWIG_AsInt(obj1
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 (arg1
)->SetMapMode(arg2
);
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 Py_INCREF(Py_None
); resultobj
= Py_None
;
14498 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxDC
*arg1
= (wxDC
*) 0 ;
14501 double *arg2
= (double *) 0 ;
14502 double *arg3
= (double *) 0 ;
14505 PyObject
* obj0
= 0 ;
14506 char *kwnames
[] = {
14507 (char *) "self", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 Py_INCREF(Py_None
); resultobj
= Py_None
;
14524 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14525 resultobj
= t_output_helper(resultobj
,o
);
14528 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14529 resultobj
= t_output_helper(resultobj
,o
);
14537 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxDC
*arg1
= (wxDC
*) 0 ;
14542 PyObject
* obj0
= 0 ;
14543 PyObject
* obj1
= 0 ;
14544 PyObject
* obj2
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self",(char *) "x",(char *) "y", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14552 arg2
= (double) SWIG_AsDouble(obj1
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14554 arg3
= (double) SWIG_AsDouble(obj2
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 (arg1
)->SetUserScale(arg2
,arg3
);
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14563 Py_INCREF(Py_None
); resultobj
= Py_None
;
14570 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14571 PyObject
*resultobj
;
14572 wxDC
*arg1
= (wxDC
*) 0 ;
14573 double *arg2
= (double *) 0 ;
14574 double *arg3
= (double *) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 (arg1
)->GetLogicalScale(arg2
,arg3
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 Py_INCREF(Py_None
); resultobj
= Py_None
;
14596 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14597 resultobj
= t_output_helper(resultobj
,o
);
14600 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14601 resultobj
= t_output_helper(resultobj
,o
);
14609 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 wxDC
*arg1
= (wxDC
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 PyObject
* obj2
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self",(char *) "x",(char *) "y", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14624 arg2
= (double) SWIG_AsDouble(obj1
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14626 arg3
= (double) SWIG_AsDouble(obj2
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 (arg1
)->SetLogicalScale(arg2
,arg3
);
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14635 Py_INCREF(Py_None
); resultobj
= Py_None
;
14642 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 wxDC
*arg1
= (wxDC
*) 0 ;
14646 PyObject
* obj0
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "self", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14662 wxPoint
* resultptr
;
14663 resultptr
= new wxPoint((wxPoint
&) result
);
14664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14672 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxDC
*arg1
= (wxDC
*) 0 ;
14675 int *arg2
= (int *) 0 ;
14676 int *arg3
= (int *) 0 ;
14679 PyObject
* obj0
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14696 Py_INCREF(Py_None
); resultobj
= Py_None
;
14698 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14699 resultobj
= t_output_helper(resultobj
,o
);
14702 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14703 resultobj
= t_output_helper(resultobj
,o
);
14711 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxDC
*arg1
= (wxDC
*) 0 ;
14716 PyObject
* obj0
= 0 ;
14717 PyObject
* obj1
= 0 ;
14718 PyObject
* obj2
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self",(char *) "x",(char *) "y", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14726 arg2
= (int) SWIG_AsInt(obj1
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14728 arg3
= (int) SWIG_AsInt(obj2
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14737 Py_INCREF(Py_None
); resultobj
= Py_None
;
14744 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
;
14746 wxDC
*arg1
= (wxDC
*) 0 ;
14747 wxPoint
*arg2
= 0 ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self",(char *) "point", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14760 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 Py_INCREF(Py_None
); resultobj
= Py_None
;
14776 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxDC
*arg1
= (wxDC
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14796 wxPoint
* resultptr
;
14797 resultptr
= new wxPoint((wxPoint
&) result
);
14798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14806 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
;
14808 wxDC
*arg1
= (wxDC
*) 0 ;
14809 int *arg2
= (int *) 0 ;
14810 int *arg3
= (int *) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 Py_INCREF(Py_None
); resultobj
= Py_None
;
14832 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14833 resultobj
= t_output_helper(resultobj
,o
);
14836 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14837 resultobj
= t_output_helper(resultobj
,o
);
14845 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
;
14847 wxDC
*arg1
= (wxDC
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 PyObject
* obj2
= 0 ;
14853 char *kwnames
[] = {
14854 (char *) "self",(char *) "x",(char *) "y", NULL
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14860 arg2
= (int) SWIG_AsInt(obj1
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14862 arg3
= (int) SWIG_AsInt(obj2
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 Py_INCREF(Py_None
); resultobj
= Py_None
;
14878 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxDC
*arg1
= (wxDC
*) 0 ;
14881 wxPoint
*arg2
= 0 ;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj1
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self",(char *) "point", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 Py_INCREF(Py_None
); resultobj
= Py_None
;
14910 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxDC
*arg1
= (wxDC
*) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 PyObject
* obj2
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14925 arg2
= (bool) SWIG_AsBool(obj1
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14927 arg3
= (bool) SWIG_AsBool(obj2
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 Py_INCREF(Py_None
); resultobj
= Py_None
;
14943 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxDC
*arg1
= (wxDC
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 char *kwnames
[] = {
14949 (char *) "self", NULL
14952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= SWIG_FromInt((int)result
);
14969 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
;
14971 wxDC
*arg1
= (wxDC
*) 0 ;
14973 PyObject
* obj0
= 0 ;
14974 PyObject
* obj1
= 0 ;
14975 char *kwnames
[] = {
14976 (char *) "self",(char *) "function", NULL
14979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14982 arg2
= (int) SWIG_AsInt(obj1
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 (arg1
)->SetLogicalFunction(arg2
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 Py_INCREF(Py_None
); resultobj
= Py_None
;
14998 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
;
15000 wxDC
*arg1
= (wxDC
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 PyObject
* obj1
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self",(char *) "opt", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15011 arg2
= (bool) SWIG_AsBool(obj1
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 (arg1
)->SetOptimization(arg2
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 Py_INCREF(Py_None
); resultobj
= Py_None
;
15027 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxDC
*arg1
= (wxDC
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 result
= (bool)(arg1
)->GetOptimization();
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15055 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxDC
*arg1
= (wxDC
*) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 PyObject
* obj1
= 0 ;
15062 PyObject
* obj2
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self",(char *) "x",(char *) "y", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15070 arg2
= (int) SWIG_AsInt(obj1
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15072 arg3
= (int) SWIG_AsInt(obj2
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 (arg1
)->CalcBoundingBox(arg2
,arg3
);
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 Py_INCREF(Py_None
); resultobj
= Py_None
;
15088 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxDC
*arg1
= (wxDC
*) 0 ;
15091 wxPoint
*arg2
= 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self",(char *) "point", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 Py_INCREF(Py_None
); resultobj
= Py_None
;
15120 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxDC
*arg1
= (wxDC
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 (arg1
)->ResetBoundingBox();
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 Py_INCREF(Py_None
); resultobj
= Py_None
;
15145 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxDC
*arg1
= (wxDC
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= (int)((wxDC
const *)arg1
)->MinX();
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= SWIG_FromInt((int)result
);
15171 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxDC
*arg1
= (wxDC
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (int)((wxDC
const *)arg1
)->MaxX();
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= SWIG_FromInt((int)result
);
15197 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
;
15199 wxDC
*arg1
= (wxDC
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= (int)((wxDC
const *)arg1
)->MinY();
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= SWIG_FromInt((int)result
);
15223 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxDC
*arg1
= (wxDC
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 char *kwnames
[] = {
15229 (char *) "self", NULL
15232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (int)((wxDC
const *)arg1
)->MaxY();
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_FromInt((int)result
);
15249 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxDC
*arg1
= (wxDC
*) 0 ;
15252 int *arg2
= (int *) 0 ;
15253 int *arg3
= (int *) 0 ;
15254 int *arg4
= (int *) 0 ;
15255 int *arg5
= (int *) 0 ;
15260 PyObject
* obj0
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self", NULL
15269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15279 Py_INCREF(Py_None
); resultobj
= Py_None
;
15281 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15282 resultobj
= t_output_helper(resultobj
,o
);
15285 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15286 resultobj
= t_output_helper(resultobj
,o
);
15289 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15290 resultobj
= t_output_helper(resultobj
,o
);
15293 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
15294 resultobj
= t_output_helper(resultobj
,o
);
15302 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxDC
*arg1
= (wxDC
*) 0 ;
15305 PyObject
*arg2
= (PyObject
*) 0 ;
15306 PyObject
*arg3
= (PyObject
*) 0 ;
15307 PyObject
*arg4
= (PyObject
*) 0 ;
15309 PyObject
* obj0
= 0 ;
15310 PyObject
* obj1
= 0 ;
15311 PyObject
* obj2
= 0 ;
15312 PyObject
* obj3
= 0 ;
15313 char *kwnames
[] = {
15314 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15330 resultobj
= result
;
15337 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxDC
*arg1
= (wxDC
*) 0 ;
15340 PyObject
*arg2
= (PyObject
*) 0 ;
15341 PyObject
*arg3
= (PyObject
*) 0 ;
15342 PyObject
*arg4
= (PyObject
*) 0 ;
15344 PyObject
* obj0
= 0 ;
15345 PyObject
* obj1
= 0 ;
15346 PyObject
* obj2
= 0 ;
15347 PyObject
* obj3
= 0 ;
15348 char *kwnames
[] = {
15349 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= result
;
15372 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxDC
*arg1
= (wxDC
*) 0 ;
15375 PyObject
*arg2
= (PyObject
*) 0 ;
15376 PyObject
*arg3
= (PyObject
*) 0 ;
15377 PyObject
*arg4
= (PyObject
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 PyObject
* obj2
= 0 ;
15382 PyObject
* obj3
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= result
;
15407 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
;
15409 wxDC
*arg1
= (wxDC
*) 0 ;
15410 PyObject
*arg2
= (PyObject
*) 0 ;
15411 PyObject
*arg3
= (PyObject
*) 0 ;
15412 PyObject
*arg4
= (PyObject
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 PyObject
* obj1
= 0 ;
15416 PyObject
* obj2
= 0 ;
15417 PyObject
* obj3
= 0 ;
15418 char *kwnames
[] = {
15419 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= result
;
15442 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxDC
*arg1
= (wxDC
*) 0 ;
15445 PyObject
*arg2
= (PyObject
*) 0 ;
15446 PyObject
*arg3
= (PyObject
*) 0 ;
15447 PyObject
*arg4
= (PyObject
*) 0 ;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 PyObject
* obj2
= 0 ;
15452 PyObject
* obj3
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= result
;
15477 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxDC
*arg1
= (wxDC
*) 0 ;
15480 PyObject
*arg2
= (PyObject
*) 0 ;
15481 PyObject
*arg3
= (PyObject
*) 0 ;
15482 PyObject
*arg4
= (PyObject
*) 0 ;
15483 PyObject
*arg5
= (PyObject
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 PyObject
* obj1
= 0 ;
15487 PyObject
* obj2
= 0 ;
15488 PyObject
* obj3
= 0 ;
15489 PyObject
* obj4
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= result
;
15515 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15518 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15520 return Py_BuildValue((char *)"");
15522 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxMemoryDC
*result
;
15525 char *kwnames
[] = {
15529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 result
= (wxMemoryDC
*)new wxMemoryDC();
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15544 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxDC
*arg1
= (wxDC
*) 0 ;
15547 wxMemoryDC
*result
;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "oldDC", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15570 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15573 wxBitmap
*arg2
= 0 ;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self",(char *) "bitmap", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15586 if (arg2
== NULL
) {
15587 PyErr_SetString(PyExc_TypeError
,"null reference");
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 Py_INCREF(Py_None
); resultobj
= Py_None
;
15604 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15607 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15609 return Py_BuildValue((char *)"");
15611 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15612 PyObject
*resultobj
;
15613 wxDC
*arg1
= (wxDC
*) 0 ;
15614 wxBitmap
*arg2
= 0 ;
15615 wxBufferedDC
*result
;
15616 PyObject
* obj0
= 0 ;
15617 PyObject
* obj1
= 0 ;
15619 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15625 if (arg2
== NULL
) {
15626 PyErr_SetString(PyExc_TypeError
,"null reference");
15630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15643 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15644 PyObject
*resultobj
;
15645 wxDC
*arg1
= (wxDC
*) 0 ;
15647 wxBufferedDC
*result
;
15649 PyObject
* obj0
= 0 ;
15650 PyObject
* obj1
= 0 ;
15652 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15657 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15673 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15678 argc
= PyObject_Length(args
);
15679 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15680 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15686 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15696 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15704 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15712 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15721 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15724 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15729 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15734 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15735 PyObject
*resultobj
;
15736 wxDC
*arg1
= (wxDC
*) 0 ;
15738 wxBufferedDC
*result
;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15743 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15748 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15764 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15767 PyObject
* obj0
= 0 ;
15768 char *kwnames
[] = {
15769 (char *) "self", NULL
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15782 Py_INCREF(Py_None
); resultobj
= Py_None
;
15789 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15792 PyObject
* obj0
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 Py_INCREF(Py_None
); resultobj
= Py_None
;
15814 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15817 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15819 return Py_BuildValue((char *)"");
15821 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxWindow
*arg1
= (wxWindow
*) 0 ;
15824 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15825 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15826 wxBufferedPaintDC
*result
;
15827 PyObject
* obj0
= 0 ;
15828 PyObject
* obj1
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "window",(char *) "buffer", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15840 if (arg2
== NULL
) {
15841 PyErr_SetString(PyExc_TypeError
,"null reference");
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15859 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15862 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15864 return Py_BuildValue((char *)"");
15866 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxScreenDC
*result
;
15869 char *kwnames
[] = {
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 result
= (wxScreenDC
*)new wxScreenDC();
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15888 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15891 wxWindow
*arg2
= (wxWindow
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self",(char *) "window", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15920 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15923 wxRect
*arg2
= (wxRect
*) NULL
;
15925 PyObject
* obj0
= 0 ;
15926 PyObject
* obj1
= 0 ;
15927 char *kwnames
[] = {
15928 (char *) "self",(char *) "rect", NULL
15931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15954 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (bool)(arg1
)->EndDrawingOnTop();
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15982 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15985 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15987 return Py_BuildValue((char *)"");
15989 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxWindow
*arg1
= (wxWindow
*) 0 ;
15992 wxClientDC
*result
;
15993 PyObject
* obj0
= 0 ;
15994 char *kwnames
[] = {
15995 (char *) "win", NULL
15998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= (wxClientDC
*)new wxClientDC(arg1
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
16015 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
16017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16018 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
16020 return Py_BuildValue((char *)"");
16022 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
;
16024 wxWindow
*arg1
= (wxWindow
*) 0 ;
16026 PyObject
* obj0
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "win", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
16032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
16048 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
16050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16051 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
16053 return Py_BuildValue((char *)"");
16055 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxWindow
*arg1
= (wxWindow
*) 0 ;
16058 wxWindowDC
*result
;
16059 PyObject
* obj0
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "win", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
16081 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
16083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16084 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
16086 return Py_BuildValue((char *)"");
16088 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16092 wxMirrorDC
*result
;
16093 PyObject
* obj0
= 0 ;
16094 PyObject
* obj1
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "dc",(char *) "mirror", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16103 if (arg1
== NULL
) {
16104 PyErr_SetString(PyExc_TypeError
,"null reference");
16107 arg2
= (bool) SWIG_AsBool(obj1
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
16123 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
16125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16126 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
16128 return Py_BuildValue((char *)"");
16130 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
;
16132 wxPrintData
*arg1
= 0 ;
16133 wxPostScriptDC
*result
;
16134 PyObject
* obj0
= 0 ;
16135 char *kwnames
[] = {
16136 (char *) "printData", NULL
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16143 if (arg1
== NULL
) {
16144 PyErr_SetString(PyExc_TypeError
,"null reference");
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16161 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16162 PyObject
*resultobj
;
16163 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16164 wxPrintData
*result
;
16165 PyObject
* obj0
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16177 result
= (wxPrintData
*) &_result_ref
;
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16190 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
;
16192 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16193 wxPrintData
*arg2
= 0 ;
16194 PyObject
* obj0
= 0 ;
16195 PyObject
* obj1
= 0 ;
16196 char *kwnames
[] = {
16197 (char *) "self",(char *) "data", NULL
16200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16206 if (arg2
== NULL
) {
16207 PyErr_SetString(PyExc_TypeError
,"null reference");
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 Py_INCREF(Py_None
); resultobj
= Py_None
;
16224 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16227 PyObject
* obj0
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "ppi", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16233 arg1
= (int) SWIG_AsInt(obj0
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 wxPostScriptDC::SetResolution(arg1
);
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 Py_INCREF(Py_None
); resultobj
= Py_None
;
16249 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
;
16252 char *kwnames
[] = {
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= (int)wxPostScriptDC::GetResolution();
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= SWIG_FromInt((int)result
);
16271 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
16273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16274 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16276 return Py_BuildValue((char *)"");
16278 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16281 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16282 wxMetaFile
*result
;
16283 bool temp1
= False
;
16284 PyObject
* obj0
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "filename", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16292 arg1
= wxString_in_helper(obj0
);
16293 if (arg1
== NULL
) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16319 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16322 PyObject
* obj0
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "self", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 Py_INCREF(Py_None
); resultobj
= Py_None
;
16344 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
;
16346 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16348 PyObject
* obj0
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 result
= (bool)(arg1
)->Ok();
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16372 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16375 int arg2
= (int) 0 ;
16376 int arg3
= (int) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 PyObject
* obj1
= 0 ;
16380 PyObject
* obj2
= 0 ;
16381 char *kwnames
[] = {
16382 (char *) "self",(char *) "width",(char *) "height", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16389 arg2
= (int) SWIG_AsInt(obj1
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16393 arg3
= (int) SWIG_AsInt(obj2
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16412 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16416 PyObject
* obj0
= 0 ;
16417 char *kwnames
[] = {
16418 (char *) "self", NULL
16421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (arg1
)->GetSize();
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 wxSize
* resultptr
;
16433 resultptr
= new wxSize((wxSize
&) result
);
16434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16442 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
;
16444 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 result
= (int)(arg1
)->GetWidth();
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16461 resultobj
= SWIG_FromInt((int)result
);
16468 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16472 PyObject
* obj0
= 0 ;
16473 char *kwnames
[] = {
16474 (char *) "self", NULL
16477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= (int)(arg1
)->GetHeight();
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= SWIG_FromInt((int)result
);
16494 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
16510 result
= (wxString
*) &_result_ref
;
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16520 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16529 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
16531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16532 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16534 return Py_BuildValue((char *)"");
16536 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16539 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16540 int arg2
= (int) 0 ;
16541 int arg3
= (int) 0 ;
16542 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16543 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16544 wxMetaFileDC
*result
;
16545 bool temp1
= False
;
16546 bool temp4
= False
;
16547 PyObject
* obj0
= 0 ;
16548 PyObject
* obj1
= 0 ;
16549 PyObject
* obj2
= 0 ;
16550 PyObject
* obj3
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16558 arg1
= wxString_in_helper(obj0
);
16559 if (arg1
== NULL
) SWIG_fail
;
16564 arg2
= (int) SWIG_AsInt(obj1
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16568 arg3
= (int) SWIG_AsInt(obj2
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16573 arg4
= wxString_in_helper(obj3
);
16574 if (arg4
== NULL
) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16608 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16611 wxMetaFile
*result
;
16612 PyObject
* obj0
= 0 ;
16613 char *kwnames
[] = {
16614 (char *) "self", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 result
= (wxMetaFile
*)(arg1
)->Close();
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16634 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16637 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16639 return Py_BuildValue((char *)"");
16641 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
;
16643 wxPrintData
*arg1
= 0 ;
16644 wxPrinterDC
*result
;
16645 PyObject
* obj0
= 0 ;
16646 char *kwnames
[] = {
16647 (char *) "printData", NULL
16650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16654 if (arg1
== NULL
) {
16655 PyErr_SetString(PyExc_TypeError
,"null reference");
16659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16672 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16675 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16677 return Py_BuildValue((char *)"");
16679 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16683 int arg3
= (int) True
;
16684 int arg4
= (int) 1 ;
16685 wxImageList
*result
;
16686 PyObject
* obj0
= 0 ;
16687 PyObject
* obj1
= 0 ;
16688 PyObject
* obj2
= 0 ;
16689 PyObject
* obj3
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16695 arg1
= (int) SWIG_AsInt(obj0
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16697 arg2
= (int) SWIG_AsInt(obj1
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16700 arg3
= (int) SWIG_AsInt(obj2
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16704 arg4
= (int) SWIG_AsInt(obj3
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= wxPyMake_wxObject(result
);
16723 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxImageList
*arg1
= (wxImageList
*) 0 ;
16726 PyObject
* obj0
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 wxPyEndAllowThreads(__tstate
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16741 Py_INCREF(Py_None
); resultobj
= Py_None
;
16748 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16750 wxImageList
*arg1
= (wxImageList
*) 0 ;
16751 wxBitmap
*arg2
= 0 ;
16752 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16753 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16755 PyObject
* obj0
= 0 ;
16756 PyObject
* obj1
= 0 ;
16757 PyObject
* obj2
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16768 if (arg2
== NULL
) {
16769 PyErr_SetString(PyExc_TypeError
,"null reference");
16773 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16776 if (arg3
== NULL
) {
16777 PyErr_SetString(PyExc_TypeError
,"null reference");
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 resultobj
= SWIG_FromInt((int)result
);
16795 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxImageList
*arg1
= (wxImageList
*) 0 ;
16798 wxBitmap
*arg2
= 0 ;
16799 wxColour
*arg3
= 0 ;
16802 PyObject
* obj0
= 0 ;
16803 PyObject
* obj1
= 0 ;
16804 PyObject
* obj2
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16815 if (arg2
== NULL
) {
16816 PyErr_SetString(PyExc_TypeError
,"null reference");
16821 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= SWIG_FromInt((int)result
);
16837 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxImageList
*arg1
= (wxImageList
*) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "self",(char *) "icon", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16854 if (arg2
== NULL
) {
16855 PyErr_SetString(PyExc_TypeError
,"null reference");
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= SWIG_FromInt((int)result
);
16872 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16873 PyObject
*resultobj
;
16874 wxImageList
*arg1
= (wxImageList
*) 0 ;
16876 wxBitmap
*arg3
= 0 ;
16877 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
16878 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
16880 PyObject
* obj0
= 0 ;
16881 PyObject
* obj1
= 0 ;
16882 PyObject
* obj2
= 0 ;
16883 PyObject
* obj3
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16891 arg2
= (int) SWIG_AsInt(obj1
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16893 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16896 if (arg3
== NULL
) {
16897 PyErr_SetString(PyExc_TypeError
,"null reference");
16901 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16904 if (arg4
== NULL
) {
16905 PyErr_SetString(PyExc_TypeError
,"null reference");
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16925 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16926 PyObject
*resultobj
;
16927 wxImageList
*arg1
= (wxImageList
*) 0 ;
16932 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16933 bool arg7
= (bool) (bool)False
;
16935 PyObject
* obj0
= 0 ;
16936 PyObject
* obj1
= 0 ;
16937 PyObject
* obj2
= 0 ;
16938 PyObject
* obj3
= 0 ;
16939 PyObject
* obj4
= 0 ;
16940 PyObject
* obj5
= 0 ;
16941 PyObject
* obj6
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16949 arg2
= (int) SWIG_AsInt(obj1
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16951 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16954 if (arg3
== NULL
) {
16955 PyErr_SetString(PyExc_TypeError
,"null reference");
16958 arg4
= (int) SWIG_AsInt(obj3
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16960 arg5
= (int) SWIG_AsInt(obj4
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 arg6
= (int) SWIG_AsInt(obj5
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16967 arg7
= (bool const) SWIG_AsBool(obj6
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16986 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxImageList
*arg1
= (wxImageList
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 result
= (int)(arg1
)->GetImageCount();
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 resultobj
= SWIG_FromInt((int)result
);
17012 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxImageList
*arg1
= (wxImageList
*) 0 ;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self",(char *) "index", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17026 arg2
= (int) SWIG_AsInt(obj1
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (bool)(arg1
)->Remove(arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17044 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17046 wxImageList
*arg1
= (wxImageList
*) 0 ;
17048 PyObject
* obj0
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "self", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
17054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (bool)(arg1
)->RemoveAll();
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17072 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17073 PyObject
*resultobj
;
17074 wxImageList
*arg1
= (wxImageList
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self",(char *) "index", NULL
17088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17091 arg2
= (int) SWIG_AsInt(obj1
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 Py_INCREF(Py_None
); resultobj
= Py_None
;
17102 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17103 resultobj
= t_output_helper(resultobj
,o
);
17106 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
17107 resultobj
= t_output_helper(resultobj
,o
);
17115 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
17117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17118 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
17120 return Py_BuildValue((char *)"");
17122 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
17123 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
17128 static PyObject
*_wrap_NORMAL_FONT_get() {
17131 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
17136 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
17137 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
17142 static PyObject
*_wrap_SMALL_FONT_get() {
17145 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
17150 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
17151 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
17156 static PyObject
*_wrap_ITALIC_FONT_get() {
17159 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
17164 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
17165 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
17170 static PyObject
*_wrap_SWISS_FONT_get() {
17173 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
17178 static int _wrap_RED_PEN_set(PyObject
*_val
) {
17179 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
17184 static PyObject
*_wrap_RED_PEN_get() {
17187 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
17192 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
17193 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
17198 static PyObject
*_wrap_CYAN_PEN_get() {
17201 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
17206 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
17207 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
17212 static PyObject
*_wrap_GREEN_PEN_get() {
17215 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17220 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
17221 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17226 static PyObject
*_wrap_BLACK_PEN_get() {
17229 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17234 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
17235 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17240 static PyObject
*_wrap_WHITE_PEN_get() {
17243 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17248 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
17249 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17254 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17257 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17262 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
17263 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17268 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17271 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17276 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
17277 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17282 static PyObject
*_wrap_GREY_PEN_get() {
17285 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17290 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
17291 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17296 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17299 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17304 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
17305 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17310 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17313 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17318 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
17319 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17324 static PyObject
*_wrap_BLUE_BRUSH_get() {
17327 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17332 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
17333 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17338 static PyObject
*_wrap_GREEN_BRUSH_get() {
17341 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17346 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
17347 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17352 static PyObject
*_wrap_WHITE_BRUSH_get() {
17355 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17360 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
17361 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17366 static PyObject
*_wrap_BLACK_BRUSH_get() {
17369 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17374 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
17375 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17380 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17383 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17388 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
17389 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17394 static PyObject
*_wrap_CYAN_BRUSH_get() {
17397 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17402 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
17403 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17408 static PyObject
*_wrap_RED_BRUSH_get() {
17411 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17416 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
17417 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17422 static PyObject
*_wrap_GREY_BRUSH_get() {
17425 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17430 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
17431 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17436 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17439 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17444 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
17445 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17450 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17453 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17458 static int _wrap_BLACK_set(PyObject
*_val
) {
17459 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17464 static PyObject
*_wrap_BLACK_get() {
17467 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17472 static int _wrap_WHITE_set(PyObject
*_val
) {
17473 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17478 static PyObject
*_wrap_WHITE_get() {
17481 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17486 static int _wrap_RED_set(PyObject
*_val
) {
17487 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17492 static PyObject
*_wrap_RED_get() {
17495 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17500 static int _wrap_BLUE_set(PyObject
*_val
) {
17501 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17506 static PyObject
*_wrap_BLUE_get() {
17509 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17514 static int _wrap_GREEN_set(PyObject
*_val
) {
17515 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17520 static PyObject
*_wrap_GREEN_get() {
17523 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17528 static int _wrap_CYAN_set(PyObject
*_val
) {
17529 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17534 static PyObject
*_wrap_CYAN_get() {
17537 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17542 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
17543 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17548 static PyObject
*_wrap_LIGHT_GREY_get() {
17551 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17556 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
17557 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17562 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17565 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17570 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
17571 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17576 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17579 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17584 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
17585 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17590 static PyObject
*_wrap_CROSS_CURSOR_get() {
17593 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17598 static int _wrap_NullBitmap_set(PyObject
*_val
) {
17599 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17604 static PyObject
*_wrap_NullBitmap_get() {
17607 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17612 static int _wrap_NullIcon_set(PyObject
*_val
) {
17613 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17618 static PyObject
*_wrap_NullIcon_get() {
17621 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17626 static int _wrap_NullCursor_set(PyObject
*_val
) {
17627 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17632 static PyObject
*_wrap_NullCursor_get() {
17635 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17640 static int _wrap_NullPen_set(PyObject
*_val
) {
17641 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17646 static PyObject
*_wrap_NullPen_get() {
17649 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17654 static int _wrap_NullBrush_set(PyObject
*_val
) {
17655 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17660 static PyObject
*_wrap_NullBrush_get() {
17663 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17668 static int _wrap_NullPalette_set(PyObject
*_val
) {
17669 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17674 static PyObject
*_wrap_NullPalette_get() {
17677 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17682 static int _wrap_NullFont_set(PyObject
*_val
) {
17683 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17688 static PyObject
*_wrap_NullFont_get() {
17691 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17696 static int _wrap_NullColour_set(PyObject
*_val
) {
17697 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17702 static PyObject
*_wrap_NullColour_get() {
17705 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17710 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxPenList
*arg1
= (wxPenList
*) 0 ;
17713 wxPen
*arg2
= (wxPen
*) 0 ;
17714 PyObject
* obj0
= 0 ;
17715 PyObject
* obj1
= 0 ;
17716 char *kwnames
[] = {
17717 (char *) "self",(char *) "pen", NULL
17720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 (arg1
)->AddPen(arg2
);
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 Py_INCREF(Py_None
); resultobj
= Py_None
;
17739 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17741 wxPenList
*arg1
= (wxPenList
*) 0 ;
17742 wxColour
*arg2
= 0 ;
17747 PyObject
* obj0
= 0 ;
17748 PyObject
* obj1
= 0 ;
17749 PyObject
* obj2
= 0 ;
17750 PyObject
* obj3
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17760 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17762 arg3
= (int) SWIG_AsInt(obj2
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17764 arg4
= (int) SWIG_AsInt(obj3
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17780 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
;
17782 wxPenList
*arg1
= (wxPenList
*) 0 ;
17783 wxPen
*arg2
= (wxPen
*) 0 ;
17784 PyObject
* obj0
= 0 ;
17785 PyObject
* obj1
= 0 ;
17786 char *kwnames
[] = {
17787 (char *) "self",(char *) "pen", NULL
17790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 (arg1
)->RemovePen(arg2
);
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 Py_INCREF(Py_None
); resultobj
= Py_None
;
17809 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 wxPenList
*arg1
= (wxPenList
*) 0 ;
17813 PyObject
* obj0
= 0 ;
17814 char *kwnames
[] = {
17815 (char *) "self", NULL
17818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (int)(arg1
)->GetCount();
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= SWIG_FromInt((int)result
);
17835 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17838 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17840 return Py_BuildValue((char *)"");
17842 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17845 wxBrush
*arg2
= (wxBrush
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 PyObject
* obj1
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "self",(char *) "brush", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 (arg1
)->AddBrush(arg2
);
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 Py_INCREF(Py_None
); resultobj
= Py_None
;
17871 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17874 wxColour
*arg2
= 0 ;
17878 PyObject
* obj0
= 0 ;
17879 PyObject
* obj1
= 0 ;
17880 PyObject
* obj2
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self",(char *) "colour",(char *) "style", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17890 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17892 arg3
= (int) SWIG_AsInt(obj2
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17908 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17911 wxBrush
*arg2
= (wxBrush
*) 0 ;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self",(char *) "brush", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 (arg1
)->RemoveBrush(arg2
);
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 Py_INCREF(Py_None
); resultobj
= Py_None
;
17937 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 result
= (int)(arg1
)->GetCount();
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 resultobj
= SWIG_FromInt((int)result
);
17963 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17966 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17968 return Py_BuildValue((char *)"");
17970 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxColourDatabase
*result
;
17973 char *kwnames
[] = {
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 result
= (wxColourDatabase
*)new wxColourDatabase();
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17992 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
18001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 Py_INCREF(Py_None
); resultobj
= Py_None
;
18017 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18020 wxString
*arg2
= 0 ;
18022 bool temp2
= False
;
18023 PyObject
* obj0
= 0 ;
18024 PyObject
* obj1
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self",(char *) "name", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18033 arg2
= wxString_in_helper(obj1
);
18034 if (arg2
== NULL
) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18045 wxColour
* resultptr
;
18046 resultptr
= new wxColour((wxColour
&) result
);
18047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18063 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18066 wxColour
*arg2
= 0 ;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self",(char *) "colour", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18080 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18102 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
;
18104 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18105 wxString
*arg2
= 0 ;
18106 wxColour
*arg3
= 0 ;
18107 bool temp2
= False
;
18109 PyObject
* obj0
= 0 ;
18110 PyObject
* obj1
= 0 ;
18111 PyObject
* obj2
= 0 ;
18112 char *kwnames
[] = {
18113 (char *) "self",(char *) "name",(char *) "colour", NULL
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18120 arg2
= wxString_in_helper(obj1
);
18121 if (arg2
== NULL
) SWIG_fail
;
18126 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 Py_INCREF(Py_None
); resultobj
= Py_None
;
18150 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18153 wxString
*arg2
= 0 ;
18157 bool temp2
= False
;
18158 PyObject
* obj0
= 0 ;
18159 PyObject
* obj1
= 0 ;
18160 PyObject
* obj2
= 0 ;
18161 PyObject
* obj3
= 0 ;
18162 PyObject
* obj4
= 0 ;
18163 char *kwnames
[] = {
18164 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
18167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18171 arg2
= wxString_in_helper(obj1
);
18172 if (arg2
== NULL
) SWIG_fail
;
18175 arg3
= (int) SWIG_AsInt(obj2
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18177 arg4
= (int) SWIG_AsInt(obj3
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18179 arg5
= (int) SWIG_AsInt(obj4
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 Py_INCREF(Py_None
); resultobj
= Py_None
;
18203 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
18205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18206 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
18208 return Py_BuildValue((char *)"");
18210 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
;
18212 wxFontList
*arg1
= (wxFontList
*) 0 ;
18213 wxFont
*arg2
= (wxFont
*) 0 ;
18214 PyObject
* obj0
= 0 ;
18215 PyObject
* obj1
= 0 ;
18216 char *kwnames
[] = {
18217 (char *) "self",(char *) "font", NULL
18220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 (arg1
)->AddFont(arg2
);
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 Py_INCREF(Py_None
); resultobj
= Py_None
;
18239 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxFontList
*arg1
= (wxFontList
*) 0 ;
18246 bool arg6
= (bool) False
;
18247 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18248 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18249 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18251 bool temp7
= False
;
18252 PyObject
* obj0
= 0 ;
18253 PyObject
* obj1
= 0 ;
18254 PyObject
* obj2
= 0 ;
18255 PyObject
* obj3
= 0 ;
18256 PyObject
* obj4
= 0 ;
18257 PyObject
* obj5
= 0 ;
18258 PyObject
* obj6
= 0 ;
18259 PyObject
* obj7
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18267 arg2
= (int) SWIG_AsInt(obj1
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18269 arg3
= (int) SWIG_AsInt(obj2
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18271 arg4
= (int) SWIG_AsInt(obj3
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18273 arg5
= (int) SWIG_AsInt(obj4
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 arg6
= (bool) SWIG_AsBool(obj5
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18281 arg7
= wxString_in_helper(obj6
);
18282 if (arg7
== NULL
) SWIG_fail
;
18287 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18292 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18312 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxFontList
*arg1
= (wxFontList
*) 0 ;
18315 wxFont
*arg2
= (wxFont
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self",(char *) "font", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 (arg1
)->RemoveFont(arg2
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 Py_INCREF(Py_None
); resultobj
= Py_None
;
18341 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxFontList
*arg1
= (wxFontList
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 char *kwnames
[] = {
18347 (char *) "self", NULL
18350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 result
= (int)(arg1
)->GetCount();
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 resultobj
= SWIG_FromInt((int)result
);
18367 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
18369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18370 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18372 return Py_BuildValue((char *)"");
18374 static int _wrap_TheFontList_set(PyObject
*_val
) {
18375 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18380 static PyObject
*_wrap_TheFontList_get() {
18383 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18388 static int _wrap_ThePenList_set(PyObject
*_val
) {
18389 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18394 static PyObject
*_wrap_ThePenList_get() {
18397 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18402 static int _wrap_TheBrushList_set(PyObject
*_val
) {
18403 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18408 static PyObject
*_wrap_TheBrushList_get() {
18411 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18416 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
18417 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18422 static PyObject
*_wrap_TheColourDatabase_get() {
18425 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18430 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18433 char *kwnames
[] = {
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 result
= (wxEffects
*)new wxEffects();
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18452 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxEffects
*arg1
= (wxEffects
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18472 wxColour
* resultptr
;
18473 resultptr
= new wxColour((wxColour
&) result
);
18474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18482 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxEffects
*arg1
= (wxEffects
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 wxColour
* resultptr
;
18503 resultptr
= new wxColour((wxColour
&) result
);
18504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18512 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxEffects
*arg1
= (wxEffects
*) 0 ;
18516 PyObject
* obj0
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18526 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18532 wxColour
* resultptr
;
18533 resultptr
= new wxColour((wxColour
&) result
);
18534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18542 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxEffects
*arg1
= (wxEffects
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18562 wxColour
* resultptr
;
18563 resultptr
= new wxColour((wxColour
&) result
);
18564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18572 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxEffects
*arg1
= (wxEffects
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18592 wxColour
* resultptr
;
18593 resultptr
= new wxColour((wxColour
&) result
);
18594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18602 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxEffects
*arg1
= (wxEffects
*) 0 ;
18605 wxColour
*arg2
= 0 ;
18607 PyObject
* obj0
= 0 ;
18608 PyObject
* obj1
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "self",(char *) "c", NULL
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18618 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 Py_INCREF(Py_None
); resultobj
= Py_None
;
18634 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxEffects
*arg1
= (wxEffects
*) 0 ;
18637 wxColour
*arg2
= 0 ;
18639 PyObject
* obj0
= 0 ;
18640 PyObject
* obj1
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self",(char *) "c", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18650 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 Py_INCREF(Py_None
); resultobj
= Py_None
;
18666 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
;
18668 wxEffects
*arg1
= (wxEffects
*) 0 ;
18669 wxColour
*arg2
= 0 ;
18671 PyObject
* obj0
= 0 ;
18672 PyObject
* obj1
= 0 ;
18673 char *kwnames
[] = {
18674 (char *) "self",(char *) "c", NULL
18677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18682 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 Py_INCREF(Py_None
); resultobj
= Py_None
;
18698 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxEffects
*arg1
= (wxEffects
*) 0 ;
18701 wxColour
*arg2
= 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self",(char *) "c", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18714 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 Py_INCREF(Py_None
); resultobj
= Py_None
;
18730 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxEffects
*arg1
= (wxEffects
*) 0 ;
18733 wxColour
*arg2
= 0 ;
18735 PyObject
* obj0
= 0 ;
18736 PyObject
* obj1
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self",(char *) "c", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18746 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 Py_INCREF(Py_None
); resultobj
= Py_None
;
18762 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxEffects
*arg1
= (wxEffects
*) 0 ;
18765 wxColour
*arg2
= 0 ;
18766 wxColour
*arg3
= 0 ;
18767 wxColour
*arg4
= 0 ;
18768 wxColour
*arg5
= 0 ;
18769 wxColour
*arg6
= 0 ;
18775 PyObject
* obj0
= 0 ;
18776 PyObject
* obj1
= 0 ;
18777 PyObject
* obj2
= 0 ;
18778 PyObject
* obj3
= 0 ;
18779 PyObject
* obj4
= 0 ;
18780 PyObject
* obj5
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18790 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18794 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18798 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18802 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18806 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 Py_INCREF(Py_None
); resultobj
= Py_None
;
18822 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxEffects
*arg1
= (wxEffects
*) 0 ;
18827 int arg4
= (int) 1 ;
18829 PyObject
* obj0
= 0 ;
18830 PyObject
* obj1
= 0 ;
18831 PyObject
* obj2
= 0 ;
18832 PyObject
* obj3
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18843 if (arg2
== NULL
) {
18844 PyErr_SetString(PyExc_TypeError
,"null reference");
18849 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18852 arg4
= (int) SWIG_AsInt(obj3
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 Py_INCREF(Py_None
); resultobj
= Py_None
;
18869 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxEffects
*arg1
= (wxEffects
*) 0 ;
18874 wxBitmap
*arg4
= 0 ;
18877 PyObject
* obj0
= 0 ;
18878 PyObject
* obj1
= 0 ;
18879 PyObject
* obj2
= 0 ;
18880 PyObject
* obj3
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18890 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18892 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18895 if (arg3
== NULL
) {
18896 PyErr_SetString(PyExc_TypeError
,"null reference");
18899 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18902 if (arg4
== NULL
) {
18903 PyErr_SetString(PyExc_TypeError
,"null reference");
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18922 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18925 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18927 return Py_BuildValue((char *)"");
18929 static PyMethodDef SwigMethods
[] = {
18930 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18931 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18932 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18933 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18934 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18935 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18936 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18937 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18938 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18939 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18940 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18941 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18942 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18943 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18944 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18945 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18946 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18947 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18948 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18949 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18950 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18951 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18952 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18953 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18954 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18955 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18956 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18957 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18958 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18959 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18960 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18961 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18962 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18963 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18964 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18965 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18966 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18967 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18968 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18969 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18970 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18971 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18972 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18973 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18974 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18975 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18976 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18977 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18978 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18979 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18980 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18981 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18982 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18983 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18984 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18985 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18986 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18987 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18988 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18989 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18990 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18991 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18992 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18993 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18994 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18995 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18996 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18997 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18998 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18999 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19000 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19001 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19002 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19003 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19004 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19005 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19006 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
19007 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
19008 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
19009 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
19010 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19011 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
19012 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
19013 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
19014 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19015 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19016 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19017 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19018 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
19019 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
19020 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
19021 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19022 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19023 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
19024 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
19025 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
19026 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
19027 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
19028 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
19029 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
19030 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19031 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
19032 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
19033 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19034 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19035 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19036 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19037 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19038 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19039 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19040 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19041 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19042 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19043 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19044 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
19045 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
19046 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
19047 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
19048 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19049 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19050 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
19051 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
19052 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
19053 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
19054 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
19055 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
19056 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
19057 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19058 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
19059 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
19060 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
19061 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
19062 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
19063 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
19064 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
19065 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19066 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19067 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19068 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19069 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19070 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19071 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19072 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19073 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19074 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19075 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
19076 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
19077 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19078 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
19079 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
19080 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19081 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
19082 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
19083 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
19084 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
19085 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
19086 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
19087 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
19088 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
19089 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
19090 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
19091 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
19092 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
19093 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
19094 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
19095 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
19096 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
19097 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
19098 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
19099 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
19100 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19101 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19102 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
19103 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
19104 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
19105 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
19106 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
19107 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
19108 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19109 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
19110 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19111 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
19112 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
19113 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
19114 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
19115 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
19116 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
19117 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19118 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19119 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
19120 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
19121 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19122 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19123 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19124 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19125 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19126 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19127 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19128 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19129 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19130 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19131 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19132 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19133 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19134 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19135 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
19136 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
19137 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
19138 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
19139 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
19140 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
19141 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
19142 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
19143 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
19144 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
19145 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
19146 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
19147 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
19148 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
19149 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
19150 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19151 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19152 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
19153 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
19154 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
19155 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
19156 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19157 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
19158 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19159 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19160 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
19161 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
19162 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
19163 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
19164 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
19165 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19166 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
19167 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
19168 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
19169 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
19170 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
19171 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
19172 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
19173 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
19174 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
19175 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19176 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19177 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19178 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19179 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19180 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19181 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19182 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19183 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19184 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19185 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19186 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
19187 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
19188 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
19189 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19190 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19191 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19192 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19193 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19194 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19195 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19196 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19197 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
19198 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
19199 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
19200 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
19201 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
19202 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
19203 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
19204 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19205 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19206 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
19207 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
19208 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
19209 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
19210 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
19211 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
19212 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
19213 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
19214 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
19215 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
19216 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
19217 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
19218 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
19219 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
19220 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
19221 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
19222 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19223 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19224 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
19225 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
19226 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19227 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19228 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19229 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
19230 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19231 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19232 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
19233 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
19234 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
19235 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
19236 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
19237 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19238 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
19239 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19240 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19241 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
19242 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
19243 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
19244 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19245 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
19246 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19247 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19248 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
19249 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
19250 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19251 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19252 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
19253 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
19254 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
19255 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19256 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19257 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
19258 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
19259 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
19260 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
19261 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
19262 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
19263 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
19264 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
19265 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
19266 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
19267 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
19268 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
19269 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
19270 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19271 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
19272 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
19273 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19274 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19275 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
19276 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19277 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19278 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
19279 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
19280 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
19281 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
19282 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
19283 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
19284 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
19285 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
19286 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19287 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
19288 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
19289 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
19290 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
19291 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
19292 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
19293 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19294 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19295 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19296 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
19297 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19298 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
19299 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
19300 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
19301 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
19302 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
19303 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19304 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
19305 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
19306 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
19307 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
19308 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
19309 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
19310 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19311 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19312 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19313 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
19314 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19315 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
19316 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19317 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
19318 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
19319 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19320 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19321 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19322 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
19323 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19324 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
19325 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
19326 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
19327 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
19328 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
19329 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
19330 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
19331 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
19332 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
19333 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
19334 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
19335 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19336 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19337 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19338 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
19339 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19340 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19341 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19342 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19343 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
19344 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
19345 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19346 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19347 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19348 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19349 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19350 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19351 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19352 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19353 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19354 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19355 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19356 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19357 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19358 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
19359 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19360 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19361 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19362 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
19363 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
19364 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19365 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19366 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19367 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19368 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19369 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
19370 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19371 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
19372 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
19373 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
19374 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
19375 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19376 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
19377 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
19378 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
19379 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
19380 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
19381 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
19382 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
19383 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
19384 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
19385 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
19386 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
19387 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
19388 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
19389 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
19390 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
19391 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
19392 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19393 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
19394 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
19395 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
19396 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19397 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19398 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
19399 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
19400 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
19401 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19402 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
19403 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
19404 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
19405 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
19406 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
19407 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
19408 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19409 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19410 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19411 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19412 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
19413 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19414 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19415 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19416 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
19417 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19418 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19419 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19420 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19421 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
19422 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
19423 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
19424 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
19425 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
19426 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
19427 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19428 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19429 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
19430 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
19431 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19432 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
19433 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
19434 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
19435 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
19436 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
19437 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19438 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
19439 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
19440 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
19441 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
19442 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19443 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
19444 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
19445 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
19446 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
19447 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19448 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
19449 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19450 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19451 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
19452 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
19453 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
19454 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
19455 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
19456 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
19457 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
19458 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
19459 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19460 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
19461 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
19462 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19463 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19464 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19465 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19466 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19467 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19468 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19469 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19470 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19471 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19472 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
19473 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
19474 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19475 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
19480 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19482 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19483 return (void *)((wxWindow
*) ((wxControl
*) x
));
19485 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19486 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19488 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19489 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19491 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19492 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19494 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19495 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19497 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19498 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19500 static void *_p_wxPenTo_p_wxObject(void *x
) {
19501 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19503 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19504 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19506 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19507 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19509 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19510 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19512 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19513 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19515 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19518 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19519 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19521 static void *_p_wxIconTo_p_wxObject(void *x
) {
19522 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19524 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19525 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19527 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19528 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19530 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19531 return (void *)((wxObject
*) ((wxSizer
*) x
));
19533 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19534 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19536 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19537 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19539 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19540 return (void *)((wxObject
*) ((wxPenList
*) x
));
19542 static void *_p_wxEventTo_p_wxObject(void *x
) {
19543 return (void *)((wxObject
*) ((wxEvent
*) x
));
19545 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19546 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19548 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19549 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19551 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19552 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19554 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19555 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19557 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19558 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19560 static void *_p_wxDCTo_p_wxObject(void *x
) {
19561 return (void *)((wxObject
*) ((wxDC
*) x
));
19563 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19564 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19566 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19567 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19569 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19570 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19572 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19573 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19575 static void *_p_wxControlTo_p_wxObject(void *x
) {
19576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19578 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19579 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19581 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19582 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19584 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19585 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19587 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19588 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19590 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19591 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19593 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19594 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19596 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19597 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19599 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19600 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19602 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19603 return (void *)((wxObject
*) ((wxEffects
*) x
));
19605 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19606 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19608 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19611 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19612 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19614 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19615 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19617 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19618 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19620 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19621 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19623 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19626 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19627 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19629 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19630 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19632 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19633 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19635 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19636 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19638 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19639 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19641 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19642 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19644 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19645 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19647 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19648 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19650 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19651 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19653 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19654 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19656 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19657 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19659 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19660 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19662 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19663 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19665 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19666 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19668 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19669 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19671 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19674 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19675 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19677 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19678 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19680 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19681 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19683 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19684 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19686 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19687 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19689 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19690 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19692 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19693 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19695 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19696 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19698 static void *_p_wxImageTo_p_wxObject(void *x
) {
19699 return (void *)((wxObject
*) ((wxImage
*) x
));
19701 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19702 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19704 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19705 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19707 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19708 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19710 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19711 return (void *)((wxObject
*) ((wxImageList
*) x
));
19713 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19714 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19716 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19717 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19719 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19720 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19722 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19723 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19725 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19726 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19728 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19729 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19731 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19732 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19734 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19735 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19737 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19740 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19741 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19743 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19744 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19746 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19747 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19749 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19750 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19752 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19753 return (void *)((wxObject
*) ((wxMask
*) x
));
19755 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19756 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19758 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19759 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19761 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19762 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19764 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19765 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19767 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19768 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19770 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19771 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19773 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19776 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19777 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19779 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19780 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19782 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19783 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19785 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19786 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19788 static void *_p_wxFontTo_p_wxObject(void *x
) {
19789 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19791 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19792 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19794 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19795 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19797 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19800 static void *_p_wxColourTo_p_wxObject(void *x
) {
19801 return (void *)((wxObject
*) ((wxColour
*) x
));
19803 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19804 return (void *)((wxObject
*) ((wxFontList
*) x
));
19806 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19809 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19810 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19812 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19813 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19815 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19816 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19818 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19819 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19821 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19822 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19824 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19825 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19827 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19828 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19830 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19831 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19833 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19834 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19836 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19837 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19839 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19840 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19842 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19843 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19845 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19846 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19848 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19849 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19851 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19852 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19854 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19855 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19857 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19858 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19860 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19861 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19863 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19864 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19866 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19867 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19869 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19870 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19872 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}};
19873 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}};
19874 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}};
19875 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}};
19876 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}};
19877 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}};
19878 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}};
19879 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}};
19880 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}};
19881 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}};
19882 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}};
19883 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}};
19884 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}};
19885 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}};
19886 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}};
19887 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}};
19888 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}};
19889 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}};
19890 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}};
19891 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}};
19892 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}};
19893 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}};
19894 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}};
19895 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}};
19896 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}};
19897 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}};
19898 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}};
19899 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}};
19900 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}};
19901 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}};
19902 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}};
19903 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}};
19904 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}};
19905 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}};
19906 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}};
19907 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}};
19908 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}};
19909 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}};
19910 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}};
19911 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}};
19912 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}};
19913 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}};
19914 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}};
19915 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}};
19916 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}};
19917 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}};
19918 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}};
19919 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}};
19920 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}};
19921 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}};
19922 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}};
19923 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}};
19924 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}};
19925 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}};
19926 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}};
19928 static swig_type_info
*swig_types_initial
[] = {
19929 _swigt__p_wxPostScriptDC
,
19931 _swigt__p_wxColour
,
19933 _swigt__p_wxMirrorDC
,
19935 _swigt__p_wxPyFontEnumerator
,
19937 _swigt__p_wxIconLocation
,
19939 _swigt__p_wxMetaFileDC
,
19943 _swigt__p_wxWindow
,
19945 _swigt__p_wxMemoryDC
,
19946 _swigt__p_wxFontMapper
,
19947 _swigt__p_wxEffects
,
19948 _swigt__p_wxNativeEncodingInfo
,
19949 _swigt__p_wxPalette
,
19950 _swigt__p_wxBitmap
,
19951 _swigt__p_wxObject
,
19952 _swigt__p_wxRegionIterator
,
19954 _swigt__p_wxString
,
19955 _swigt__p_wxPrinterDC
,
19956 _swigt__p_wxIconBundle
,
19959 _swigt__p_wxScreenDC
,
19960 _swigt__p_wxCursor
,
19961 _swigt__p_wxClientDC
,
19962 _swigt__p_wxBufferedDC
,
19963 _swigt__p_wxImageList
,
19964 _swigt__p_unsigned_char
,
19965 _swigt__p_wxGDIObject
,
19967 _swigt__p_wxLocale
,
19968 _swigt__p_wxRegion
,
19969 _swigt__p_wxLanguageInfo
,
19970 _swigt__p_wxConfigBase
,
19971 _swigt__p_wxWindowDC
,
19972 _swigt__p_wxPrintData
,
19973 _swigt__p_wxBrushList
,
19974 _swigt__p_wxFontList
,
19976 _swigt__p_wxBufferedPaintDC
,
19977 _swigt__p_wxPaintDC
,
19978 _swigt__p_wxPenList
,
19980 _swigt__p_wxMetaFile
,
19981 _swigt__p_wxNativeFontInfo
,
19982 _swigt__p_wxEncodingConverter
,
19983 _swigt__p_wxColourDatabase
,
19988 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19990 static swig_const_info swig_const_table
[] = {
20000 SWIGEXPORT(void) SWIG_init(void) {
20001 static PyObject
*SWIG_globals
= 0;
20002 static int typeinit
= 0;
20005 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
20006 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20007 d
= PyModule_GetDict(m
);
20010 for (i
= 0; swig_types_initial
[i
]; i
++) {
20011 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
20015 SWIG_InstallConstants(d
,swig_const_table
);
20017 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
20018 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
20019 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
20020 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
20021 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
20022 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
20023 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
20024 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
20025 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
20026 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
20027 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
20028 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
20029 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
20030 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
20031 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
20032 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
20033 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
20034 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
20035 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
20036 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
20037 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
20038 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
20039 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
20040 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
20041 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
20042 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
20043 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
20044 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
20045 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
20046 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
20047 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
20048 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
20049 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
20050 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
20051 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
20052 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
20053 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
20054 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
20055 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
20056 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
20057 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
20058 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
20059 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
20060 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
20061 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
20062 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
20063 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
20064 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
20065 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
20066 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
20067 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
20068 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
20069 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
20070 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
20071 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
20072 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
20073 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
20074 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
20075 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
20076 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
20077 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
20078 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
20079 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
20080 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
20081 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
20082 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
20083 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
20084 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
20085 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
20086 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
20087 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
20088 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
20089 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
20090 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
20091 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
20092 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
20093 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
20094 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
20095 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
20096 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
20097 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
20098 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
20099 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
20100 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
20101 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
20102 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
20103 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
20104 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
20105 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
20106 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
20107 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
20108 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
20109 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
20110 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
20111 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
20112 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
20113 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
20114 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
20115 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
20116 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
20117 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
20118 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
20119 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
20120 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
20121 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
20122 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
20123 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
20124 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
20125 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
20126 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
20127 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
20128 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
20129 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
20130 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
20131 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
20132 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
20133 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
20134 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
20135 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
20136 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
20137 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
20138 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
20139 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
20140 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
20141 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
20142 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
20143 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
20145 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
20147 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
20148 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
20149 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
20150 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
20151 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
20152 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
20153 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
20154 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
20155 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
20156 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
20157 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
20158 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
20159 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
20160 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
20161 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
20162 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
20163 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
20164 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
20165 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
20166 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
20167 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
20168 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
20169 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
20170 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
20171 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
20172 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
20173 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
20174 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
20175 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
20176 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
20177 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
20178 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
20179 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
20180 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
20181 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
20182 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
20183 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
20184 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
20185 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
20186 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
20187 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
20188 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
20189 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
20190 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
20191 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
20192 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
20193 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
20194 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
20195 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
20196 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
20197 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
20198 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
20199 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
20200 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
20201 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
20202 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
20203 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
20204 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
20205 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
20206 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
20207 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
20208 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20209 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
20210 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20211 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
20212 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
20213 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20214 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20215 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20216 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20217 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20218 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20219 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
20220 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
20221 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
20222 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
20223 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
20224 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
20225 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
20226 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
20227 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
20228 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20229 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
20230 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
20231 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
20232 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
20233 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
20234 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
20235 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20236 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
20237 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20238 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20239 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
20240 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
20241 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
20242 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
20243 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
20244 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
20245 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
20246 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
20247 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
20248 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
20249 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
20250 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
20251 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
20252 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
20253 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
20254 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
20255 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
20256 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
20257 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
20258 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
20259 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
20260 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
20261 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
20262 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
20263 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
20264 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
20265 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
20266 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
20267 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
20268 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
20269 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
20270 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
20271 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
20272 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
20273 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
20274 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
20275 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
20276 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
20277 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
20278 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
20279 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20280 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
20281 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
20282 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
20283 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
20284 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
20285 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
20286 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
20287 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
20288 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
20289 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
20290 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20291 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20292 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
20293 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
20294 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
20295 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
20296 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
20297 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
20298 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20299 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
20300 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
20301 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
20302 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
20303 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
20304 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20305 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
20306 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
20307 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
20308 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
20309 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
20310 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20311 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
20312 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
20313 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
20314 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
20315 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
20316 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
20317 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
20318 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
20319 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
20320 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
20321 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
20322 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
20323 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20324 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20325 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
20326 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20327 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20328 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20329 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
20330 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20331 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20332 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
20333 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
20334 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
20335 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20336 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
20337 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20338 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
20339 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20340 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
20341 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
20342 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20343 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
20344 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
20345 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
20346 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
20347 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
20348 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
20349 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
20350 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
20351 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
20352 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
20353 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
20354 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
20355 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
20356 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
20357 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
20358 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
20359 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
20360 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
20361 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
20362 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
20363 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
20364 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
20365 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
20366 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20367 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
20368 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
20369 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
20370 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
20371 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
20372 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
20373 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
20374 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
20375 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
20376 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
20377 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
20378 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
20379 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
20380 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
20381 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
20382 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
20383 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
20384 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
20385 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
20386 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
20387 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
20388 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
20389 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
20390 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
20391 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
20392 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
20393 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
20394 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20395 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
20396 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
20397 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
20398 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
20399 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
20400 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20401 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20402 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20403 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20404 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20405 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20406 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20407 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20408 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20409 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20410 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20411 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20412 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20413 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20414 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20415 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20416 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20417 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20418 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20419 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20420 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20421 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20422 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20423 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20424 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20425 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20426 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20427 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20428 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20429 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20430 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20431 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20432 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20433 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20434 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20435 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20436 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20437 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20438 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20439 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20440 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20441 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20442 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20443 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20444 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20445 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20446 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20448 // Work around a chicken/egg problem in drawlist.cpp
20449 wxPyDrawList_SetAPIPtr();