1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxSize swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxWindow swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250 #define SWIGTYPE_p_wxConfigBase swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_int swig_types[50]
260 #define SWIGTYPE_p_wxMetaFile swig_types[51]
261 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
262 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
263 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
264 static swig_type_info
*swig_types
[56];
266 /* -------- TYPES TABLE (END) -------- */
269 /*-----------------------------------------------
271 ------------------------------------------------*/
272 #define SWIG_init init_gdi_
274 #define SWIG_name "_gdi_"
276 /* Auxiliar swig macros */
279 #define SWIGSTATICINLINE(a) static inline a
280 #define SWIGSTATIC(a) static a
281 #define swig_new_array(type, size) (new type[(size)])
282 #define swig_delete_array(cptr) delete[] cptr
283 #define swig_const_cast(type,a) const_cast<type>(a)
284 #define swig_static_cast(type,a) static_cast<type>(a)
285 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
287 #ifdef HAVE_NUMERIC_CAST
288 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
290 #define swig_numeric_cast(type,a) static_cast<type>(a)
295 #define SWIGSTATICINLINE(a) static a
296 #define SWIGSTATIC(a) static a
297 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
298 #define swig_delete_array(cptr) free((char*)cptr)
299 #define swig_const_cast(type,a) (type)(a)
300 #define swig_static_cast(type,a) (type)(a)
301 #define swig_reinterpret_cast(type,a) (type)(a)
302 #define swig_numeric_cast(type,a) (type)(a)
304 #endif /* __cplusplus */
307 #define SWIG_FromSignedChar PyInt_FromLong
308 #define SWIG_FromUnsignedChar PyInt_FromLong
309 #define SWIG_FromShort PyInt_FromLong
310 #define SWIG_FromUnsignedShort PyInt_FromLong
311 #define SWIG_FromInt PyInt_FromLong
312 #define SWIG_FromLong PyInt_FromLong
313 #define SWIG_FromFloat PyFloat_FromDouble
314 #define SWIG_FromDouble PyFloat_FromDouble
315 #define SWIG_FromFloat PyFloat_FromDouble
316 #define SWIG_FromDouble PyFloat_FromDouble
319 #include "wx/wxPython/wxPython.h"
320 #include "wx/wxPython/pyclasses.h"
323 static const wxString
wxPyEmptyString(wxEmptyString
);
325 SWIGSTATICINLINE(bool)
326 SWIG_AsBool(PyObject
*obj
)
328 return PyObject_IsTrue(obj
) ? true : false;
332 SWIGSTATICINLINE(int)
333 SWIG_CheckBool(PyObject
* obj
)
336 if (PyErr_Occurred()) {
348 SWIGSTATICINLINE(unsigned long)
349 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
350 unsigned long max_value
)
352 if (!PyErr_Occurred()) {
353 if (value
> max_value
) {
355 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
356 value
, type
, max_value
);
357 PyErr_SetObject(PyExc_OverflowError
, err
);
365 SWIGSTATICINLINE(long)
366 SWIG_AsLong(PyObject
* obj
)
368 if (PyNumber_Check(obj
))
369 return PyInt_AsLong(obj
);
371 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
372 obj
->ob_type
->tp_name
);
373 PyErr_SetObject(PyExc_TypeError
, errmsg
);
380 SWIGSTATICINLINE(unsigned long)
381 SWIG_AsUnsignedLong(PyObject
* obj
)
383 if (PyLong_Check(obj
)) {
384 return PyLong_AsUnsignedLong(obj
);
386 long i
= SWIG_AsLong(obj
);
387 if ( !PyErr_Occurred() && (i
< 0)) {
388 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
395 SWIGSTATICINLINE(unsigned char)
396 SWIG_AsUnsignedChar(PyObject
*obj
)
398 return swig_numeric_cast(unsigned char,
399 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
400 "unsigned char", UCHAR_MAX
));
404 SWIGSTATICINLINE(int)
405 SWIG_CheckUnsignedChar(PyObject
* obj
)
407 SWIG_AsUnsignedChar(obj
);
408 if (PyErr_Occurred()) {
417 SWIGSTATICINLINE(int)
418 SWIG_CheckUnsignedLong(PyObject
* obj
)
420 SWIG_AsUnsignedLong(obj
);
421 if (PyErr_Occurred()) {
429 PyObject
*wxColour_Get(wxColour
*self
){
430 PyObject
* rv
= PyTuple_New(3);
436 green
= self
->Green();
439 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
440 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
441 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
444 unsigned long wxColour_GetRGB(wxColour
*self
){
445 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
448 SWIGSTATICINLINE(PyObject
* )
449 SWIG_FromUnsignedLong(unsigned long value
)
451 return (value
> LONG_MAX
) ?
452 PyLong_FromUnsignedLong(value
)
453 : PyInt_FromLong(swig_numeric_cast(long,value
));
457 SWIGSTATICINLINE(long)
458 SWIG_CheckLongInRange(long value
, const char* type
,
459 long min_value
, long max_value
)
461 if (!PyErr_Occurred()) {
462 if (value
< min_value
) {
464 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
465 value
, type
, min_value
);
467 PyErr_SetObject(PyExc_OverflowError
, err
);
469 } else if (value
> max_value
) {
471 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
472 value
, type
, max_value
);
473 PyErr_SetObject(PyExc_OverflowError
, err
);
481 #if INT_MAX != LONG_MAX
482 SWIGSTATICINLINE(int)
483 SWIG_AsInt(PyObject
*obj
)
485 return swig_numeric_cast(int,
486 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
487 "int", INT_MIN
, INT_MAX
));
490 #define SWIG_AsInt SWIG_AsLong
494 SWIGSTATICINLINE(int)
495 SWIG_CheckInt(PyObject
* obj
)
498 if (PyErr_Occurred()) {
507 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
513 } else if (target
== Py_None
) {
517 if (!PyTuple_Check(target
)) {
519 target
= PyTuple_New(1);
520 PyTuple_SetItem(target
, 0, o2
);
523 PyTuple_SetItem(o3
, 0, o
);
526 target
= PySequence_Concat(o2
, o3
);
533 PyObject
*wxPen_GetDashes(wxPen
*self
){
535 int count
= self
->GetDashes(&dashes
);
536 bool blocked
= wxPyBeginBlockThreads();
537 PyObject
* retval
= PyList_New(0);
538 for (int x
=0; x
<count
; x
++) {
539 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
540 PyList_Append(retval
, pyint
);
543 wxPyEndBlockThreads(blocked
);
546 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
547 bool blocked
= wxPyBeginBlockThreads();
548 int size
= PyList_Size(pyDashes
);
549 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
551 // black magic warning! The array of wxDashes needs to exist as
552 // long as the pen does because wxPen does not copy the array. So
553 // stick a copy in a Python string object and attach it to _self,
554 // and then call SetDashes with a pointer to that array. Then
555 // when the Python pen object is destroyed the array will be
557 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
558 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
560 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
562 Py_DECREF(strDashes
);
563 wxPyEndBlockThreads(blocked
);
565 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
566 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
568 #include <wx/image.h>
570 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
571 char** cArray
= NULL
;
574 if (!PyList_Check(listOfStrings
)) {
575 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
578 count
= PyList_Size(listOfStrings
);
579 cArray
= new char*[count
];
581 for(int x
=0; x
<count
; x
++) {
582 // TODO: Need some validation and error checking here
583 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
589 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
590 char** cArray
= NULL
;
593 cArray
= ConvertListOfStrings(listOfStrings
);
596 bmp
= new wxBitmap(cArray
);
600 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
603 PyString_AsStringAndSize(bits
, &buf
, &length
);
604 return new wxBitmap(buf
, width
, height
, depth
);
607 SWIGSTATICINLINE(int)
608 SWIG_CheckLong(PyObject
* obj
)
611 if (PyErr_Occurred()) {
619 void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
620 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
621 wxSize
size(self
->GetWidth(), self
->GetHeight());
624 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
625 wxMask
*mask
= new wxMask(*self
, colour
);
628 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
629 self
->SetWidth(size
.x
);
630 self
->SetHeight(size
.y
);
632 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
633 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
634 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
636 return new wxMask(bitmap
, *wxBLACK
);
638 return new wxMask(bitmap
, colour
);
641 #include <wx/iconbndl.h>
643 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
644 wxIcon
* icon
= new wxIcon();
645 icon
->CopyFromBitmap(bmp
);
648 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
649 char** cArray
= NULL
;
652 cArray
= ConvertListOfStrings(listOfStrings
);
655 icon
= new wxIcon(cArray
);
659 void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
660 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
662 return new wxIconLocation(*filename
, num
);
667 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
674 int wxIconLocation_GetIndex(wxIconLocation
*self
){
676 return self
->GetIndex();
681 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
683 wxCHECK_MSG(False
, NULL
,
684 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
686 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
689 void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
692 void wxRegionIterator_Next(wxRegionIterator
*self
){
695 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
696 return self
->operator bool();
699 #include <wx/fontutil.h>
700 #include <wx/fontmap.h>
701 #include <wx/fontenum.h>
703 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
704 return self
->ToString();
707 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
708 { wxPyRaiseNotImplemented(); return NULL
; }
710 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
711 { wxPyRaiseNotImplemented(); return False
; }
713 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
714 wxFontEncoding alt_enc
;
715 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
716 return PyInt_FromLong(alt_enc
);
722 wxFont
*new_wxFont(wxString
const &info
){
723 wxNativeFontInfo nfi
;
724 nfi
.FromString(info
);
725 return new wxFont(nfi
);
727 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
728 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
730 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
731 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
733 class wxPyFontEnumerator
: public wxFontEnumerator
{
735 wxPyFontEnumerator() {}
736 ~wxPyFontEnumerator() {}
738 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
739 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
744 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
745 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
748 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
749 wxArrayString
* arr
= self
->GetEncodings();
750 return wxArrayString2PyList_helper(*arr
);
752 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
753 wxArrayString
* arr
= self
->GetFacenames();
754 return wxArrayString2PyList_helper(*arr
);
758 wxLocale
*new_wxLocale(int language
,int flags
){
760 return new wxLocale();
762 return new wxLocale(language
, flags
);
765 #include "wx/wxPython/pydrawxxx.h"
767 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
769 self
->GetPixel(x
, y
, &col
);
772 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
774 self
->GetPixel(pt
, &col
);
778 SWIGSTATICINLINE(double)
779 SWIG_AsDouble(PyObject
*obj
)
781 if (PyNumber_Check(obj
))
782 return PyFloat_AsDouble(obj
);
784 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
785 obj
->ob_type
->tp_name
);
786 PyErr_SetObject(PyExc_TypeError
, errmsg
);
793 SWIGSTATICINLINE(int)
794 SWIG_CheckDouble(PyObject
* obj
)
797 if (PyErr_Occurred()) {
805 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
807 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
810 wxRect
wxDC_GetClippingRect(wxDC
*self
){
812 self
->GetClippingBox(rect
);
815 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
817 self
->GetPartialTextExtents(text
, widths
);
820 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
821 self
->SetLogicalOrigin(point
.x
, point
.y
);
823 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
824 self
->SetDeviceOrigin(point
.x
, point
.y
);
826 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
827 self
->CalcBoundingBox(point
.x
, point
.y
);
829 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
830 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
832 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
833 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
835 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
836 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
838 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
839 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
841 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
842 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
844 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
845 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
848 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
856 #include <wx/dcbuffer.h>
862 #include <wx/metafile.h>
866 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
867 self
->AddColour(name
, wxColour(red
, green
, blue
));
870 #include <wx/effects.h>
875 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
885 result
= (wxGDIObject
*)new wxGDIObject();
887 wxPyEndAllowThreads(__tstate
);
888 if (PyErr_Occurred()) SWIG_fail
;
890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
897 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
900 PyObject
* obj0
= 0 ;
902 (char *) "self", NULL
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
912 wxPyEndAllowThreads(__tstate
);
913 if (PyErr_Occurred()) SWIG_fail
;
915 Py_INCREF(Py_None
); resultobj
= Py_None
;
922 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
926 PyObject
* obj0
= 0 ;
928 (char *) "self", NULL
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
936 result
= (bool)(arg1
)->GetVisible();
938 wxPyEndAllowThreads(__tstate
);
939 if (PyErr_Occurred()) SWIG_fail
;
942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
950 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
954 PyObject
* obj0
= 0 ;
955 PyObject
* obj1
= 0 ;
957 (char *) "self",(char *) "visible", NULL
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
963 arg2
= (bool) SWIG_AsBool(obj1
);
964 if (PyErr_Occurred()) SWIG_fail
;
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 (arg1
)->SetVisible(arg2
);
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) SWIG_fail
;
972 Py_INCREF(Py_None
); resultobj
= Py_None
;
979 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
983 PyObject
* obj0
= 0 ;
985 (char *) "self", NULL
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 result
= (bool)(arg1
)->IsNull();
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) SWIG_fail
;
999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1007 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1010 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1012 return Py_BuildValue((char *)"");
1014 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
*resultobj
;
1016 byte arg1
= (byte
) 0 ;
1017 byte arg2
= (byte
) 0 ;
1018 byte arg3
= (byte
) 0 ;
1020 PyObject
* obj0
= 0 ;
1021 PyObject
* obj1
= 0 ;
1022 PyObject
* obj2
= 0 ;
1024 (char *) "red",(char *) "green",(char *) "blue", NULL
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1029 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1030 if (PyErr_Occurred()) SWIG_fail
;
1033 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1034 if (PyErr_Occurred()) SWIG_fail
;
1037 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1038 if (PyErr_Occurred()) SWIG_fail
;
1041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1042 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1044 wxPyEndAllowThreads(__tstate
);
1045 if (PyErr_Occurred()) SWIG_fail
;
1047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1054 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
*resultobj
;
1056 wxString
*arg1
= 0 ;
1058 bool temp1
= False
;
1059 PyObject
* obj0
= 0 ;
1061 (char *) "colorName", NULL
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1066 arg1
= wxString_in_helper(obj0
);
1067 if (arg1
== NULL
) SWIG_fail
;
1071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1072 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1074 wxPyEndAllowThreads(__tstate
);
1075 if (PyErr_Occurred()) SWIG_fail
;
1077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1092 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1093 PyObject
*resultobj
;
1094 unsigned long arg1
;
1096 PyObject
* obj0
= 0 ;
1098 (char *) "colRGB", NULL
1101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1102 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1103 if (PyErr_Occurred()) SWIG_fail
;
1105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1106 result
= (wxColour
*)new wxColour(arg1
);
1108 wxPyEndAllowThreads(__tstate
);
1109 if (PyErr_Occurred()) SWIG_fail
;
1111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1118 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
*resultobj
;
1120 wxColour
*arg1
= (wxColour
*) 0 ;
1121 PyObject
* obj0
= 0 ;
1123 (char *) "self", NULL
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) SWIG_fail
;
1136 Py_INCREF(Py_None
); resultobj
= Py_None
;
1143 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
*resultobj
;
1145 wxColour
*arg1
= (wxColour
*) 0 ;
1147 PyObject
* obj0
= 0 ;
1149 (char *) "self", NULL
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1157 result
= (byte
)(arg1
)->Red();
1159 wxPyEndAllowThreads(__tstate
);
1160 if (PyErr_Occurred()) SWIG_fail
;
1162 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1169 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
*resultobj
;
1171 wxColour
*arg1
= (wxColour
*) 0 ;
1173 PyObject
* obj0
= 0 ;
1175 (char *) "self", NULL
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 result
= (byte
)(arg1
)->Green();
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) SWIG_fail
;
1188 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1195 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
*resultobj
;
1197 wxColour
*arg1
= (wxColour
*) 0 ;
1199 PyObject
* obj0
= 0 ;
1201 (char *) "self", NULL
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1209 result
= (byte
)(arg1
)->Blue();
1211 wxPyEndAllowThreads(__tstate
);
1212 if (PyErr_Occurred()) SWIG_fail
;
1214 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1221 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
*resultobj
;
1223 wxColour
*arg1
= (wxColour
*) 0 ;
1225 PyObject
* obj0
= 0 ;
1227 (char *) "self", NULL
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1235 result
= (bool)(arg1
)->Ok();
1237 wxPyEndAllowThreads(__tstate
);
1238 if (PyErr_Occurred()) SWIG_fail
;
1241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1249 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
*resultobj
;
1251 wxColour
*arg1
= (wxColour
*) 0 ;
1255 PyObject
* obj0
= 0 ;
1256 PyObject
* obj1
= 0 ;
1257 PyObject
* obj2
= 0 ;
1258 PyObject
* obj3
= 0 ;
1260 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1266 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1267 if (PyErr_Occurred()) SWIG_fail
;
1268 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1269 if (PyErr_Occurred()) SWIG_fail
;
1270 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1271 if (PyErr_Occurred()) SWIG_fail
;
1273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1274 (arg1
)->Set(arg2
,arg3
,arg4
);
1276 wxPyEndAllowThreads(__tstate
);
1277 if (PyErr_Occurred()) SWIG_fail
;
1279 Py_INCREF(Py_None
); resultobj
= Py_None
;
1286 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
*resultobj
;
1288 wxColour
*arg1
= (wxColour
*) 0 ;
1289 unsigned long arg2
;
1290 PyObject
* obj0
= 0 ;
1291 PyObject
* obj1
= 0 ;
1293 (char *) "self",(char *) "colRGB", NULL
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1299 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1300 if (PyErr_Occurred()) SWIG_fail
;
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1308 Py_INCREF(Py_None
); resultobj
= Py_None
;
1315 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
*resultobj
;
1317 wxColour
*arg1
= (wxColour
*) 0 ;
1318 wxString
*arg2
= 0 ;
1319 bool temp2
= False
;
1320 PyObject
* obj0
= 0 ;
1321 PyObject
* obj1
= 0 ;
1323 (char *) "self",(char *) "colourName", NULL
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1330 arg2
= wxString_in_helper(obj1
);
1331 if (arg2
== NULL
) SWIG_fail
;
1335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1336 (arg1
)->InitFromName((wxString
const &)*arg2
);
1338 wxPyEndAllowThreads(__tstate
);
1339 if (PyErr_Occurred()) SWIG_fail
;
1341 Py_INCREF(Py_None
); resultobj
= Py_None
;
1356 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
*resultobj
;
1358 wxColour
*arg1
= (wxColour
*) 0 ;
1360 PyObject
* obj0
= 0 ;
1362 (char *) "self", NULL
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1370 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1372 wxPyEndAllowThreads(__tstate
);
1373 if (PyErr_Occurred()) SWIG_fail
;
1375 resultobj
= SWIG_FromLong((long)result
);
1382 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
*resultobj
;
1384 wxColour
*arg1
= (wxColour
*) 0 ;
1385 wxColour
*arg2
= 0 ;
1388 PyObject
* obj0
= 0 ;
1389 PyObject
* obj1
= 0 ;
1391 (char *) "self",(char *) "colour", NULL
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1399 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1403 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1405 wxPyEndAllowThreads(__tstate
);
1406 if (PyErr_Occurred()) SWIG_fail
;
1409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1417 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
*resultobj
;
1419 wxColour
*arg1
= (wxColour
*) 0 ;
1420 wxColour
*arg2
= 0 ;
1423 PyObject
* obj0
= 0 ;
1424 PyObject
* obj1
= 0 ;
1426 (char *) "self",(char *) "colour", NULL
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1434 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1438 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1440 wxPyEndAllowThreads(__tstate
);
1441 if (PyErr_Occurred()) SWIG_fail
;
1444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1452 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
*resultobj
;
1454 wxColour
*arg1
= (wxColour
*) 0 ;
1456 PyObject
* obj0
= 0 ;
1458 (char *) "self", NULL
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 result
= (PyObject
*)wxColour_Get(arg1
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1478 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
*resultobj
;
1480 wxColour
*arg1
= (wxColour
*) 0 ;
1481 unsigned long result
;
1482 PyObject
* obj0
= 0 ;
1484 (char *) "self", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 result
= (unsigned long)wxColour_GetRGB(arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1497 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1504 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1507 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1509 return Py_BuildValue((char *)"");
1511 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
*resultobj
;
1514 unsigned char *arg2
= (unsigned char *) 0 ;
1515 unsigned char *arg3
= (unsigned char *) 0 ;
1516 unsigned char *arg4
= (unsigned char *) 0 ;
1518 PyObject
* obj0
= 0 ;
1519 PyObject
* obj1
= 0 ;
1520 PyObject
* obj2
= 0 ;
1521 PyObject
* obj3
= 0 ;
1523 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1527 arg1
= (int) SWIG_AsInt(obj0
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1531 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1533 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1549 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxPalette
*arg1
= (wxPalette
*) 0 ;
1552 PyObject
* obj0
= 0 ;
1554 (char *) "self", NULL
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) SWIG_fail
;
1567 Py_INCREF(Py_None
); resultobj
= Py_None
;
1574 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
*resultobj
;
1576 wxPalette
*arg1
= (wxPalette
*) 0 ;
1581 PyObject
* obj0
= 0 ;
1582 PyObject
* obj1
= 0 ;
1583 PyObject
* obj2
= 0 ;
1584 PyObject
* obj3
= 0 ;
1586 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1592 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1593 if (PyErr_Occurred()) SWIG_fail
;
1594 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1596 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1597 if (PyErr_Occurred()) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1605 resultobj
= SWIG_FromInt((int)result
);
1612 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
*resultobj
;
1614 wxPalette
*arg1
= (wxPalette
*) 0 ;
1616 byte
*arg3
= (byte
*) 0 ;
1617 byte
*arg4
= (byte
*) 0 ;
1618 byte
*arg5
= (byte
*) 0 ;
1623 PyObject
* obj0
= 0 ;
1624 PyObject
* obj1
= 0 ;
1626 (char *) "self",(char *) "pixel", NULL
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1635 arg2
= (int) SWIG_AsInt(obj1
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) SWIG_fail
;
1645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1648 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1649 resultobj
= t_output_helper(resultobj
,o
);
1652 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1653 resultobj
= t_output_helper(resultobj
,o
);
1656 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1657 resultobj
= t_output_helper(resultobj
,o
);
1665 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
*resultobj
;
1667 wxPalette
*arg1
= (wxPalette
*) 0 ;
1669 PyObject
* obj0
= 0 ;
1671 (char *) "self", NULL
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 result
= (bool)(arg1
)->Ok();
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1693 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1696 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1698 return Py_BuildValue((char *)"");
1700 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxColour
*arg1
= 0 ;
1703 int arg2
= (int) 1 ;
1704 int arg3
= (int) wxSOLID
;
1707 PyObject
* obj0
= 0 ;
1708 PyObject
* obj1
= 0 ;
1709 PyObject
* obj2
= 0 ;
1711 (char *) "colour",(char *) "width",(char *) "style", NULL
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1717 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1720 arg2
= (int) SWIG_AsInt(obj1
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1724 arg3
= (int) SWIG_AsInt(obj2
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1729 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1731 wxPyEndAllowThreads(__tstate
);
1732 if (PyErr_Occurred()) SWIG_fail
;
1734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1741 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
*resultobj
;
1743 wxPen
*arg1
= (wxPen
*) 0 ;
1744 PyObject
* obj0
= 0 ;
1746 (char *) "self", NULL
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 Py_INCREF(Py_None
); resultobj
= Py_None
;
1766 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxPen
*arg1
= (wxPen
*) 0 ;
1770 PyObject
* obj0
= 0 ;
1772 (char *) "self", NULL
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 result
= (int)(arg1
)->GetCap();
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 resultobj
= SWIG_FromInt((int)result
);
1792 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 wxPen
*arg1
= (wxPen
*) 0 ;
1796 PyObject
* obj0
= 0 ;
1798 (char *) "self", NULL
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 result
= (arg1
)->GetColour();
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) SWIG_fail
;
1812 wxColour
* resultptr
;
1813 resultptr
= new wxColour((wxColour
&) result
);
1814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1822 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
*resultobj
;
1824 wxPen
*arg1
= (wxPen
*) 0 ;
1826 PyObject
* obj0
= 0 ;
1828 (char *) "self", NULL
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 result
= (int)(arg1
)->GetJoin();
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1841 resultobj
= SWIG_FromInt((int)result
);
1848 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxPen
*arg1
= (wxPen
*) 0 ;
1852 PyObject
* obj0
= 0 ;
1854 (char *) "self", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 result
= (int)(arg1
)->GetStyle();
1864 wxPyEndAllowThreads(__tstate
);
1865 if (PyErr_Occurred()) SWIG_fail
;
1867 resultobj
= SWIG_FromInt((int)result
);
1874 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
*resultobj
;
1876 wxPen
*arg1
= (wxPen
*) 0 ;
1878 PyObject
* obj0
= 0 ;
1880 (char *) "self", NULL
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 result
= (int)(arg1
)->GetWidth();
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 resultobj
= SWIG_FromInt((int)result
);
1900 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
*resultobj
;
1902 wxPen
*arg1
= (wxPen
*) 0 ;
1904 PyObject
* obj0
= 0 ;
1906 (char *) "self", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 result
= (bool)(arg1
)->Ok();
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1928 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxPen
*arg1
= (wxPen
*) 0 ;
1932 PyObject
* obj0
= 0 ;
1933 PyObject
* obj1
= 0 ;
1935 (char *) "self",(char *) "cap_style", NULL
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1941 arg2
= (int) SWIG_AsInt(obj1
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 (arg1
)->SetCap(arg2
);
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1950 Py_INCREF(Py_None
); resultobj
= Py_None
;
1957 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxPen
*arg1
= (wxPen
*) 0 ;
1960 wxColour
*arg2
= 0 ;
1962 PyObject
* obj0
= 0 ;
1963 PyObject
* obj1
= 0 ;
1965 (char *) "self",(char *) "colour", NULL
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1973 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 (arg1
)->SetColour(*arg2
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 Py_INCREF(Py_None
); resultobj
= Py_None
;
1989 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxPen
*arg1
= (wxPen
*) 0 ;
1993 PyObject
* obj0
= 0 ;
1994 PyObject
* obj1
= 0 ;
1996 (char *) "self",(char *) "join_style", NULL
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2002 arg2
= (int) SWIG_AsInt(obj1
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 (arg1
)->SetJoin(arg2
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) SWIG_fail
;
2011 Py_INCREF(Py_None
); resultobj
= Py_None
;
2018 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
*resultobj
;
2020 wxPen
*arg1
= (wxPen
*) 0 ;
2022 PyObject
* obj0
= 0 ;
2023 PyObject
* obj1
= 0 ;
2025 (char *) "self",(char *) "style", NULL
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2031 arg2
= (int) SWIG_AsInt(obj1
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 (arg1
)->SetStyle(arg2
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 Py_INCREF(Py_None
); resultobj
= Py_None
;
2047 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
*resultobj
;
2049 wxPen
*arg1
= (wxPen
*) 0 ;
2051 PyObject
* obj0
= 0 ;
2052 PyObject
* obj1
= 0 ;
2054 (char *) "self",(char *) "width", NULL
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2060 arg2
= (int) SWIG_AsInt(obj1
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 (arg1
)->SetWidth(arg2
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2069 Py_INCREF(Py_None
); resultobj
= Py_None
;
2076 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
*resultobj
;
2078 wxPen
*arg1
= (wxPen
*) 0 ;
2080 wxDash
*arg3
= (wxDash
*) 0 ;
2081 PyObject
* obj0
= 0 ;
2082 PyObject
* obj1
= 0 ;
2084 (char *) "self",(char *) "dashes", NULL
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2091 arg2
= PyList_Size(obj1
);
2092 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2093 if (arg3
== NULL
) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 (arg1
)->SetDashes(arg2
,arg3
);
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 Py_INCREF(Py_None
); resultobj
= Py_None
;
2104 if (arg3
) delete [] arg3
;
2109 if (arg3
) delete [] arg3
;
2115 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
*resultobj
;
2117 wxPen
*arg1
= (wxPen
*) 0 ;
2119 PyObject
* obj0
= 0 ;
2121 (char *) "self", NULL
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2141 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxPen
*arg1
= (wxPen
*) 0 ;
2144 PyObject
*arg2
= (PyObject
*) 0 ;
2145 PyObject
*arg3
= (PyObject
*) 0 ;
2146 PyObject
* obj0
= 0 ;
2147 PyObject
* obj1
= 0 ;
2148 PyObject
* obj2
= 0 ;
2150 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 wxPen__SetDashes(arg1
,arg2
,arg3
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2165 Py_INCREF(Py_None
); resultobj
= Py_None
;
2172 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
*resultobj
;
2174 wxPen
*arg1
= (wxPen
*) 0 ;
2176 PyObject
* obj0
= 0 ;
2178 (char *) "self", NULL
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2186 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2188 wxPyEndAllowThreads(__tstate
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2191 resultobj
= SWIG_FromInt((int)result
);
2198 static PyObject
*_wrap_Pen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2200 wxPen
*arg1
= (wxPen
*) 0 ;
2202 PyObject
* obj0
= 0 ;
2204 (char *) "self", NULL
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
2208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 result
= (wxBitmap
*)(arg1
)->GetStipple();
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2224 static PyObject
*_wrap_Pen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2226 wxPen
*arg1
= (wxPen
*) 0 ;
2227 wxBitmap
*arg2
= 0 ;
2228 PyObject
* obj0
= 0 ;
2229 PyObject
* obj1
= 0 ;
2231 (char *) "self",(char *) "stipple", NULL
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2241 PyErr_SetString(PyExc_TypeError
,"null reference");
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2246 (arg1
)->SetStipple(*arg2
);
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) SWIG_fail
;
2251 Py_INCREF(Py_None
); resultobj
= Py_None
;
2258 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
*resultobj
;
2260 wxPen
*arg1
= (wxPen
*) 0 ;
2261 wxPen
*arg2
= (wxPen
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2264 PyObject
* obj1
= 0 ;
2266 (char *) "self",(char *) "other", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2290 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 wxPen
*arg1
= (wxPen
*) 0 ;
2293 wxPen
*arg2
= (wxPen
*) 0 ;
2295 PyObject
* obj0
= 0 ;
2296 PyObject
* obj1
= 0 ;
2298 (char *) "self",(char *) "other", NULL
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2322 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2325 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2327 return Py_BuildValue((char *)"");
2329 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
*resultobj
;
2331 wxColour
*arg1
= 0 ;
2332 int arg2
= (int) wxSOLID
;
2335 PyObject
* obj0
= 0 ;
2336 PyObject
* obj1
= 0 ;
2338 (char *) "colour",(char *) "style", NULL
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2344 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2347 arg2
= (int) SWIG_AsInt(obj1
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2364 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
*resultobj
;
2366 wxBrush
*arg1
= (wxBrush
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2369 (char *) "self", NULL
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2382 Py_INCREF(Py_None
); resultobj
= Py_None
;
2389 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2391 wxBrush
*arg1
= (wxBrush
*) 0 ;
2392 wxColour
*arg2
= 0 ;
2394 PyObject
* obj0
= 0 ;
2395 PyObject
* obj1
= 0 ;
2397 (char *) "self",(char *) "col", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2405 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 (arg1
)->SetColour((wxColour
const &)*arg2
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2414 Py_INCREF(Py_None
); resultobj
= Py_None
;
2421 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
*resultobj
;
2423 wxBrush
*arg1
= (wxBrush
*) 0 ;
2425 PyObject
* obj0
= 0 ;
2426 PyObject
* obj1
= 0 ;
2428 (char *) "self",(char *) "style", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2434 arg2
= (int) SWIG_AsInt(obj1
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2438 (arg1
)->SetStyle(arg2
);
2440 wxPyEndAllowThreads(__tstate
);
2441 if (PyErr_Occurred()) SWIG_fail
;
2443 Py_INCREF(Py_None
); resultobj
= Py_None
;
2450 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2452 wxBrush
*arg1
= (wxBrush
*) 0 ;
2453 wxBitmap
*arg2
= 0 ;
2454 PyObject
* obj0
= 0 ;
2455 PyObject
* obj1
= 0 ;
2457 (char *) "self",(char *) "stipple", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2467 PyErr_SetString(PyExc_TypeError
,"null reference");
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2477 Py_INCREF(Py_None
); resultobj
= Py_None
;
2484 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2486 wxBrush
*arg1
= (wxBrush
*) 0 ;
2488 PyObject
* obj0
= 0 ;
2490 (char *) "self", NULL
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 result
= ((wxBrush
const *)arg1
)->GetColour();
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) SWIG_fail
;
2504 wxColour
* resultptr
;
2505 resultptr
= new wxColour((wxColour
&) result
);
2506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2514 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
*resultobj
;
2516 wxBrush
*arg1
= (wxBrush
*) 0 ;
2518 PyObject
* obj0
= 0 ;
2520 (char *) "self", NULL
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 resultobj
= SWIG_FromInt((int)result
);
2540 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2542 wxBrush
*arg1
= (wxBrush
*) 0 ;
2544 PyObject
* obj0
= 0 ;
2546 (char *) "self", NULL
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2566 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
;
2568 wxBrush
*arg1
= (wxBrush
*) 0 ;
2570 PyObject
* obj0
= 0 ;
2572 (char *) "self", NULL
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 result
= (bool)(arg1
)->Ok();
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) SWIG_fail
;
2586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2594 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2597 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2599 return Py_BuildValue((char *)"");
2601 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
*resultobj
;
2603 wxString
*arg1
= 0 ;
2604 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2606 bool temp1
= False
;
2607 PyObject
* obj0
= 0 ;
2608 PyObject
* obj1
= 0 ;
2610 (char *) "name",(char *) "type", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2615 arg1
= wxString_in_helper(obj0
);
2616 if (arg1
== NULL
) SWIG_fail
;
2620 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2645 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
*resultobj
;
2647 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2648 PyObject
* obj0
= 0 ;
2650 (char *) "self", NULL
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 wxPyEndAllowThreads(__tstate
);
2661 if (PyErr_Occurred()) SWIG_fail
;
2663 Py_INCREF(Py_None
); resultobj
= Py_None
;
2670 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
*resultobj
;
2674 int arg3
= (int) -1 ;
2676 PyObject
* obj0
= 0 ;
2677 PyObject
* obj1
= 0 ;
2678 PyObject
* obj2
= 0 ;
2680 (char *) "width",(char *) "height",(char *) "depth", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2684 arg1
= (int) SWIG_AsInt(obj0
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2686 arg2
= (int) SWIG_AsInt(obj1
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2689 arg3
= (int) SWIG_AsInt(obj2
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2706 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
*resultobj
;
2710 PyObject
* obj0
= 0 ;
2712 (char *) "icon", NULL
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2720 PyErr_SetString(PyExc_TypeError
,"null reference");
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2737 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
*resultobj
;
2740 int arg2
= (int) -1 ;
2742 PyObject
* obj0
= 0 ;
2743 PyObject
* obj1
= 0 ;
2745 (char *) "image",(char *) "depth", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2753 PyErr_SetString(PyExc_TypeError
,"null reference");
2757 arg2
= (int) SWIG_AsInt(obj1
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2774 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 PyObject
*arg1
= (PyObject
*) 0 ;
2778 PyObject
* obj0
= 0 ;
2780 (char *) "listOfStrings", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2799 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2801 PyObject
*arg1
= (PyObject
*) 0 ;
2804 int arg4
= (int) 1 ;
2806 PyObject
* obj0
= 0 ;
2807 PyObject
* obj1
= 0 ;
2808 PyObject
* obj2
= 0 ;
2809 PyObject
* obj3
= 0 ;
2811 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2816 arg2
= (int) SWIG_AsInt(obj1
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2818 arg3
= (int) SWIG_AsInt(obj2
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 arg4
= (int) SWIG_AsInt(obj3
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2826 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2838 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2841 wxPalette
*arg2
= 0 ;
2842 PyObject
* obj0
= 0 ;
2843 PyObject
* obj1
= 0 ;
2845 (char *) "self",(char *) "palette", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2855 PyErr_SetString(PyExc_TypeError
,"null reference");
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 (arg1
)->SetPalette(*arg2
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 Py_INCREF(Py_None
); resultobj
= Py_None
;
2872 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2876 PyObject
* obj0
= 0 ;
2878 (char *) "self", NULL
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
2882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 result
= (long)(arg1
)->GetHandle();
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 resultobj
= SWIG_FromLong((long)result
);
2898 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2902 PyObject
* obj0
= 0 ;
2903 PyObject
* obj1
= 0 ;
2905 (char *) "self",(char *) "handle", NULL
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
2909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2911 arg2
= (long) SWIG_AsLong(obj1
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 wxBitmap_SetHandle(arg1
,arg2
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2920 Py_INCREF(Py_None
); resultobj
= Py_None
;
2927 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
*resultobj
;
2929 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2931 PyObject
* obj0
= 0 ;
2933 (char *) "self", NULL
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 result
= (bool)(arg1
)->Ok();
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2955 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
*resultobj
;
2957 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2959 PyObject
* obj0
= 0 ;
2961 (char *) "self", NULL
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2969 result
= (int)(arg1
)->GetWidth();
2971 wxPyEndAllowThreads(__tstate
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2974 resultobj
= SWIG_FromInt((int)result
);
2981 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
*resultobj
;
2983 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2985 PyObject
* obj0
= 0 ;
2987 (char *) "self", NULL
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 result
= (int)(arg1
)->GetHeight();
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3000 resultobj
= SWIG_FromInt((int)result
);
3007 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
*resultobj
;
3009 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3011 PyObject
* obj0
= 0 ;
3013 (char *) "self", NULL
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 result
= (int)(arg1
)->GetDepth();
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3026 resultobj
= SWIG_FromInt((int)result
);
3033 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3037 PyObject
* obj0
= 0 ;
3039 (char *) "self", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 result
= wxBitmap_GetSize(arg1
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3054 resultptr
= new wxSize((wxSize
&) result
);
3055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3063 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
*resultobj
;
3065 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3066 SwigValueWrapper
< wxImage
> result
;
3067 PyObject
* obj0
= 0 ;
3069 (char *) "self", NULL
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3083 wxImage
* resultptr
;
3084 resultptr
= new wxImage((wxImage
&) result
);
3085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3093 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
*resultobj
;
3095 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3097 PyObject
* obj0
= 0 ;
3099 (char *) "self", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3119 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
*resultobj
;
3121 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3122 wxMask
*arg2
= (wxMask
*) 0 ;
3123 PyObject
* obj0
= 0 ;
3124 PyObject
* obj1
= 0 ;
3126 (char *) "self",(char *) "mask", NULL
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 (arg1
)->SetMask(arg2
);
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3141 Py_INCREF(Py_None
); resultobj
= Py_None
;
3148 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3151 wxColour
*arg2
= 0 ;
3153 PyObject
* obj0
= 0 ;
3154 PyObject
* obj1
= 0 ;
3156 (char *) "self",(char *) "colour", NULL
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3164 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3173 Py_INCREF(Py_None
); resultobj
= Py_None
;
3180 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3184 SwigValueWrapper
< wxBitmap
> result
;
3186 PyObject
* obj0
= 0 ;
3187 PyObject
* obj1
= 0 ;
3189 (char *) "self",(char *) "rect", NULL
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3207 wxBitmap
* resultptr
;
3208 resultptr
= new wxBitmap((wxBitmap
&) result
);
3209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3217 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3220 wxString
*arg2
= 0 ;
3222 wxPalette
*arg4
= (wxPalette
*) NULL
;
3224 bool temp2
= False
;
3225 PyObject
* obj0
= 0 ;
3226 PyObject
* obj1
= 0 ;
3227 PyObject
* obj2
= 0 ;
3228 PyObject
* obj3
= 0 ;
3230 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3237 arg2
= wxString_in_helper(obj1
);
3238 if (arg2
== NULL
) SWIG_fail
;
3241 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3244 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3249 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3251 wxPyEndAllowThreads(__tstate
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3271 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3274 wxString
*arg2
= 0 ;
3277 bool temp2
= False
;
3278 PyObject
* obj0
= 0 ;
3279 PyObject
* obj1
= 0 ;
3280 PyObject
* obj2
= 0 ;
3282 (char *) "self",(char *) "name",(char *) "type", NULL
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3289 arg2
= wxString_in_helper(obj1
);
3290 if (arg2
== NULL
) SWIG_fail
;
3293 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3319 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3324 PyObject
* obj0
= 0 ;
3325 PyObject
* obj1
= 0 ;
3327 (char *) "self",(char *) "icon", NULL
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3337 PyErr_SetString(PyExc_TypeError
,"null reference");
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3356 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3363 (char *) "self",(char *) "height", NULL
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3369 arg2
= (int) SWIG_AsInt(obj1
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 (arg1
)->SetHeight(arg2
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 Py_INCREF(Py_None
); resultobj
= Py_None
;
3385 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3387 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3389 PyObject
* obj0
= 0 ;
3390 PyObject
* obj1
= 0 ;
3392 (char *) "self",(char *) "width", NULL
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3398 arg2
= (int) SWIG_AsInt(obj1
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 (arg1
)->SetWidth(arg2
);
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3407 Py_INCREF(Py_None
); resultobj
= Py_None
;
3414 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
*resultobj
;
3416 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3418 PyObject
* obj0
= 0 ;
3419 PyObject
* obj1
= 0 ;
3421 (char *) "self",(char *) "depth", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3427 arg2
= (int) SWIG_AsInt(obj1
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 (arg1
)->SetDepth(arg2
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 Py_INCREF(Py_None
); resultobj
= Py_None
;
3443 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3445 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3448 PyObject
* obj0
= 0 ;
3449 PyObject
* obj1
= 0 ;
3451 (char *) "self",(char *) "size", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 Py_INCREF(Py_None
); resultobj
= Py_None
;
3475 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
;
3477 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3478 wxCursor
*arg2
= 0 ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3483 (char *) "self",(char *) "cursor", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
3490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3493 PyErr_SetString(PyExc_TypeError
,"null reference");
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3512 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3516 PyObject
* obj0
= 0 ;
3518 (char *) "self", NULL
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 result
= (int)(arg1
)->GetQuality();
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3531 resultobj
= SWIG_FromInt((int)result
);
3538 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
;
3540 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3542 PyObject
* obj0
= 0 ;
3543 PyObject
* obj1
= 0 ;
3545 (char *) "self",(char *) "q", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3551 arg2
= (int) SWIG_AsInt(obj1
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 (arg1
)->SetQuality(arg2
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3560 Py_INCREF(Py_None
); resultobj
= Py_None
;
3567 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3569 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3570 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3572 PyObject
* obj0
= 0 ;
3573 PyObject
* obj1
= 0 ;
3575 (char *) "self",(char *) "other", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3599 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
;
3601 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3602 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3604 PyObject
* obj0
= 0 ;
3605 PyObject
* obj1
= 0 ;
3607 (char *) "self",(char *) "other", NULL
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3631 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3634 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3636 return Py_BuildValue((char *)"");
3638 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxBitmap
*arg1
= 0 ;
3641 wxColour
const &arg2_defvalue
= wxNullColour
;
3642 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3645 PyObject
* obj0
= 0 ;
3646 PyObject
* obj1
= 0 ;
3648 (char *) "bitmap",(char *) "colour", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3656 PyErr_SetString(PyExc_TypeError
,"null reference");
3662 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3679 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3682 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3684 return Py_BuildValue((char *)"");
3686 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
*resultobj
;
3688 wxString
*arg1
= 0 ;
3690 int arg3
= (int) -1 ;
3691 int arg4
= (int) -1 ;
3693 bool temp1
= False
;
3694 PyObject
* obj0
= 0 ;
3695 PyObject
* obj1
= 0 ;
3696 PyObject
* obj2
= 0 ;
3697 PyObject
* obj3
= 0 ;
3699 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3704 arg1
= wxString_in_helper(obj0
);
3705 if (arg1
== NULL
) SWIG_fail
;
3708 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 arg3
= (int) SWIG_AsInt(obj2
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3715 arg4
= (int) SWIG_AsInt(obj3
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3740 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
;
3742 wxIcon
*arg1
= (wxIcon
*) 0 ;
3743 PyObject
* obj0
= 0 ;
3745 (char *) "self", NULL
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 Py_INCREF(Py_None
); resultobj
= Py_None
;
3765 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 result
= (wxIcon
*)new wxIcon();
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3787 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
;
3789 wxIconLocation
*arg1
= 0 ;
3791 PyObject
* obj0
= 0 ;
3793 (char *) "loc", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3801 PyErr_SetString(PyExc_TypeError
,"null reference");
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3818 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
;
3820 wxBitmap
*arg1
= 0 ;
3822 PyObject
* obj0
= 0 ;
3824 (char *) "bmp", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3832 PyErr_SetString(PyExc_TypeError
,"null reference");
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3849 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
;
3851 PyObject
*arg1
= (PyObject
*) 0 ;
3853 PyObject
* obj0
= 0 ;
3855 (char *) "listOfStrings", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (wxIcon
*)new_wxIcon(arg1
);
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3874 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3876 wxIcon
*arg1
= (wxIcon
*) 0 ;
3877 wxString
*arg2
= 0 ;
3880 bool temp2
= False
;
3881 PyObject
* obj0
= 0 ;
3882 PyObject
* obj1
= 0 ;
3883 PyObject
* obj2
= 0 ;
3885 (char *) "self",(char *) "name",(char *) "type", NULL
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3892 arg2
= wxString_in_helper(obj1
);
3893 if (arg2
== NULL
) SWIG_fail
;
3896 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3922 static PyObject
*_wrap_Icon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 wxIcon
*arg1
= (wxIcon
*) 0 ;
3926 PyObject
* obj0
= 0 ;
3928 (char *) "self", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
3932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 result
= (long)(arg1
)->GetHandle();
3938 wxPyEndAllowThreads(__tstate
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3941 resultobj
= SWIG_FromLong((long)result
);
3948 static PyObject
*_wrap_Icon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
*resultobj
;
3950 wxIcon
*arg1
= (wxIcon
*) 0 ;
3952 PyObject
* obj0
= 0 ;
3953 PyObject
* obj1
= 0 ;
3955 (char *) "self",(char *) "handle", NULL
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3961 arg2
= (long) SWIG_AsLong(obj1
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 wxIcon_SetHandle(arg1
,arg2
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 Py_INCREF(Py_None
); resultobj
= Py_None
;
3977 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
*resultobj
;
3979 wxIcon
*arg1
= (wxIcon
*) 0 ;
3981 PyObject
* obj0
= 0 ;
3983 (char *) "self", NULL
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 result
= (bool)(arg1
)->Ok();
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4005 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4007 wxIcon
*arg1
= (wxIcon
*) 0 ;
4009 PyObject
* obj0
= 0 ;
4011 (char *) "self", NULL
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
4015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (int)(arg1
)->GetWidth();
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= SWIG_FromInt((int)result
);
4031 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
*resultobj
;
4033 wxIcon
*arg1
= (wxIcon
*) 0 ;
4035 PyObject
* obj0
= 0 ;
4037 (char *) "self", NULL
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 result
= (int)(arg1
)->GetHeight();
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 resultobj
= SWIG_FromInt((int)result
);
4057 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 wxIcon
*arg1
= (wxIcon
*) 0 ;
4061 PyObject
* obj0
= 0 ;
4063 (char *) "self", NULL
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 result
= (int)(arg1
)->GetDepth();
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 resultobj
= SWIG_FromInt((int)result
);
4083 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
;
4085 wxIcon
*arg1
= (wxIcon
*) 0 ;
4087 PyObject
* obj0
= 0 ;
4088 PyObject
* obj1
= 0 ;
4090 (char *) "self",(char *) "w", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4096 arg2
= (int) SWIG_AsInt(obj1
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 (arg1
)->SetWidth(arg2
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 Py_INCREF(Py_None
); resultobj
= Py_None
;
4112 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxIcon
*arg1
= (wxIcon
*) 0 ;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4119 (char *) "self",(char *) "h", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4125 arg2
= (int) SWIG_AsInt(obj1
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 (arg1
)->SetHeight(arg2
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4141 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxIcon
*arg1
= (wxIcon
*) 0 ;
4145 PyObject
* obj0
= 0 ;
4146 PyObject
* obj1
= 0 ;
4148 (char *) "self",(char *) "d", NULL
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4154 arg2
= (int) SWIG_AsInt(obj1
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 (arg1
)->SetDepth(arg2
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 Py_INCREF(Py_None
); resultobj
= Py_None
;
4170 static PyObject
*_wrap_Icon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxIcon
*arg1
= (wxIcon
*) 0 ;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4178 (char *) "self",(char *) "size", NULL
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4186 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 (arg1
)->SetSize((wxSize
const &)*arg2
);
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 Py_INCREF(Py_None
); resultobj
= Py_None
;
4202 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
;
4204 wxIcon
*arg1
= (wxIcon
*) 0 ;
4205 wxBitmap
*arg2
= 0 ;
4206 PyObject
* obj0
= 0 ;
4207 PyObject
* obj1
= 0 ;
4209 (char *) "self",(char *) "bmp", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4219 PyErr_SetString(PyExc_TypeError
,"null reference");
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 Py_INCREF(Py_None
); resultobj
= Py_None
;
4236 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4239 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4241 return Py_BuildValue((char *)"");
4243 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4246 int arg2
= (int) 0 ;
4247 wxIconLocation
*result
;
4248 bool temp1
= False
;
4249 PyObject
* obj0
= 0 ;
4250 PyObject
* obj1
= 0 ;
4252 (char *) "filename",(char *) "num", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4258 arg1
= wxString_in_helper(obj0
);
4259 if (arg1
== NULL
) SWIG_fail
;
4264 arg2
= (int) SWIG_AsInt(obj1
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4289 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4292 PyObject
* obj0
= 0 ;
4294 (char *) "self", NULL
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 Py_INCREF(Py_None
); resultobj
= Py_None
;
4314 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
;
4316 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4318 PyObject
* obj0
= 0 ;
4320 (char *) "self", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4342 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4344 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4345 wxString
*arg2
= 0 ;
4346 bool temp2
= False
;
4347 PyObject
* obj0
= 0 ;
4348 PyObject
* obj1
= 0 ;
4350 (char *) "self",(char *) "filename", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4357 arg2
= wxString_in_helper(obj1
);
4358 if (arg2
== NULL
) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 (arg1
)->SetFileName((wxString
const &)*arg2
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 Py_INCREF(Py_None
); resultobj
= Py_None
;
4383 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
;
4385 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4387 PyObject
* obj0
= 0 ;
4389 (char *) "self", NULL
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4399 result
= (wxString
*) &_result_ref
;
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4407 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4409 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4418 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4422 PyObject
* obj0
= 0 ;
4423 PyObject
* obj1
= 0 ;
4425 (char *) "self",(char *) "num", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4431 arg2
= (int) SWIG_AsInt(obj1
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 wxIconLocation_SetIndex(arg1
,arg2
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 Py_INCREF(Py_None
); resultobj
= Py_None
;
4447 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4449 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4453 (char *) "self", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (int)wxIconLocation_GetIndex(arg1
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= SWIG_FromInt((int)result
);
4473 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4476 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4478 return Py_BuildValue((char *)"");
4480 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 wxIconBundle
*result
;
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= (wxIconBundle
*)new wxIconBundle();
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4502 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4504 wxString
*arg1
= 0 ;
4506 wxIconBundle
*result
;
4507 bool temp1
= False
;
4508 PyObject
* obj0
= 0 ;
4509 PyObject
* obj1
= 0 ;
4511 (char *) "file",(char *) "type", NULL
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4516 arg1
= wxString_in_helper(obj0
);
4517 if (arg1
== NULL
) SWIG_fail
;
4520 arg2
= (long) SWIG_AsLong(obj1
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4544 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4547 wxIconBundle
*result
;
4548 PyObject
* obj0
= 0 ;
4550 (char *) "icon", NULL
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4558 PyErr_SetString(PyExc_TypeError
,"null reference");
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4575 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4578 PyObject
* obj0
= 0 ;
4580 (char *) "self", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 Py_INCREF(Py_None
); resultobj
= Py_None
;
4600 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4604 PyObject
* obj0
= 0 ;
4605 PyObject
* obj1
= 0 ;
4607 (char *) "self",(char *) "icon", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4617 PyErr_SetString(PyExc_TypeError
,"null reference");
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 Py_INCREF(Py_None
); resultobj
= Py_None
;
4634 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
;
4636 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4637 wxString
*arg2
= 0 ;
4639 bool temp2
= False
;
4640 PyObject
* obj0
= 0 ;
4641 PyObject
* obj1
= 0 ;
4642 PyObject
* obj2
= 0 ;
4644 (char *) "self",(char *) "file",(char *) "type", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4651 arg2
= wxString_in_helper(obj1
);
4652 if (arg2
== NULL
) SWIG_fail
;
4655 arg3
= (long) SWIG_AsLong(obj2
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4664 Py_INCREF(Py_None
); resultobj
= Py_None
;
4679 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
*resultobj
;
4681 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4685 PyObject
* obj0
= 0 ;
4686 PyObject
* obj1
= 0 ;
4688 (char *) "self",(char *) "size", NULL
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4696 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4702 result
= (wxIcon
*) &_result_ref
;
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4709 wxIcon
* resultptr
= new wxIcon(*result
);
4710 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4718 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4721 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4723 return Py_BuildValue((char *)"");
4725 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
;
4727 wxString
*arg1
= (wxString
*) 0 ;
4729 int arg3
= (int) 0 ;
4730 int arg4
= (int) 0 ;
4732 bool temp1
= False
;
4733 PyObject
* obj0
= 0 ;
4734 PyObject
* obj1
= 0 ;
4735 PyObject
* obj2
= 0 ;
4736 PyObject
* obj3
= 0 ;
4738 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4743 arg1
= wxString_in_helper(obj0
);
4744 if (arg1
== NULL
) SWIG_fail
;
4747 arg2
= (long) SWIG_AsLong(obj1
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 arg3
= (int) SWIG_AsInt(obj2
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4754 arg4
= (int) SWIG_AsInt(obj3
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4779 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
;
4781 wxCursor
*arg1
= (wxCursor
*) 0 ;
4782 PyObject
* obj0
= 0 ;
4784 (char *) "self", NULL
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 Py_INCREF(Py_None
); resultobj
= Py_None
;
4804 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4808 PyObject
* obj0
= 0 ;
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4814 arg1
= (int) SWIG_AsInt(obj0
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (wxCursor
*)new wxCursor(arg1
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4830 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4834 PyObject
* obj0
= 0 ;
4836 (char *) "image", NULL
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4844 PyErr_SetString(PyExc_TypeError
,"null reference");
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4861 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4863 wxCursor
*arg1
= (wxCursor
*) 0 ;
4865 PyObject
* obj0
= 0 ;
4867 (char *) "self", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (long)(arg1
)->GetHandle();
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_FromLong((long)result
);
4887 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxCursor
*arg1
= (wxCursor
*) 0 ;
4891 PyObject
* obj0
= 0 ;
4892 PyObject
* obj1
= 0 ;
4894 (char *) "self",(char *) "handle", NULL
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4900 arg2
= (long) SWIG_AsLong(obj1
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 wxCursor_SetHandle(arg1
,arg2
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 Py_INCREF(Py_None
); resultobj
= Py_None
;
4916 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxCursor
*arg1
= (wxCursor
*) 0 ;
4920 PyObject
* obj0
= 0 ;
4922 (char *) "self", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 result
= (bool)(arg1
)->Ok();
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4944 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxCursor
*arg1
= (wxCursor
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4950 (char *) "self", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
4954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (int)(arg1
)->GetWidth();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_FromInt((int)result
);
4970 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxCursor
*arg1
= (wxCursor
*) 0 ;
4974 PyObject
* obj0
= 0 ;
4976 (char *) "self", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
4980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (int)(arg1
)->GetHeight();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= SWIG_FromInt((int)result
);
4996 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxCursor
*arg1
= (wxCursor
*) 0 ;
5000 PyObject
* obj0
= 0 ;
5002 (char *) "self", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
5006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (int)(arg1
)->GetDepth();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_FromInt((int)result
);
5022 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxCursor
*arg1
= (wxCursor
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5027 PyObject
* obj1
= 0 ;
5029 (char *) "self",(char *) "w", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5035 arg2
= (int) SWIG_AsInt(obj1
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 (arg1
)->SetWidth(arg2
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 Py_INCREF(Py_None
); resultobj
= Py_None
;
5051 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxCursor
*arg1
= (wxCursor
*) 0 ;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5058 (char *) "self",(char *) "h", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5064 arg2
= (int) SWIG_AsInt(obj1
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 (arg1
)->SetHeight(arg2
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 Py_INCREF(Py_None
); resultobj
= Py_None
;
5080 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxCursor
*arg1
= (wxCursor
*) 0 ;
5084 PyObject
* obj0
= 0 ;
5085 PyObject
* obj1
= 0 ;
5087 (char *) "self",(char *) "d", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5093 arg2
= (int) SWIG_AsInt(obj1
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 (arg1
)->SetDepth(arg2
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 Py_INCREF(Py_None
); resultobj
= Py_None
;
5109 static PyObject
*_wrap_Cursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxCursor
*arg1
= (wxCursor
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5117 (char *) "self",(char *) "size", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5125 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 (arg1
)->SetSize((wxSize
const &)*arg2
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 Py_INCREF(Py_None
); resultobj
= Py_None
;
5141 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
5143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5144 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5146 return Py_BuildValue((char *)"");
5148 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 int arg1
= (int) 0 ;
5151 int arg2
= (int) 0 ;
5152 int arg3
= (int) 0 ;
5153 int arg4
= (int) 0 ;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj1
= 0 ;
5157 PyObject
* obj2
= 0 ;
5158 PyObject
* obj3
= 0 ;
5160 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5165 arg1
= (int) SWIG_AsInt(obj0
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5169 arg2
= (int) SWIG_AsInt(obj1
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 arg3
= (int) SWIG_AsInt(obj2
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5177 arg4
= (int) SWIG_AsInt(obj3
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5194 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5196 wxBitmap
*arg1
= 0 ;
5197 wxColour
const &arg2_defvalue
= wxNullColour
;
5198 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5199 int arg3
= (int) 0 ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5204 PyObject
* obj2
= 0 ;
5206 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5211 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5214 PyErr_SetString(PyExc_TypeError
,"null reference");
5220 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5224 arg3
= (int) SWIG_AsInt(obj2
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5241 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
;
5244 wxPoint
*arg2
= (wxPoint
*) 0 ;
5245 int arg3
= (int) wxWINDING_RULE
;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5250 (char *) "points",(char *) "fillStyle", NULL
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5255 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5256 if (arg2
== NULL
) SWIG_fail
;
5259 arg3
= (int) SWIG_AsInt(obj1
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5271 if (arg2
) delete [] arg2
;
5276 if (arg2
) delete [] arg2
;
5282 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxRegion
*arg1
= (wxRegion
*) 0 ;
5285 PyObject
* obj0
= 0 ;
5287 (char *) "self", NULL
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 Py_INCREF(Py_None
); resultobj
= Py_None
;
5307 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxRegion
*arg1
= (wxRegion
*) 0 ;
5310 PyObject
* obj0
= 0 ;
5312 (char *) "self", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 Py_INCREF(Py_None
); resultobj
= Py_None
;
5332 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxRegion
*arg1
= (wxRegion
*) 0 ;
5338 PyObject
* obj0
= 0 ;
5339 PyObject
* obj1
= 0 ;
5340 PyObject
* obj2
= 0 ;
5342 (char *) "self",(char *) "x",(char *) "y", NULL
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 arg2
= (int) SWIG_AsInt(obj1
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5350 arg3
= (int) SWIG_AsInt(obj2
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5368 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
*resultobj
;
5370 wxRegion
*arg1
= (wxRegion
*) 0 ;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5376 PyObject
* obj2
= 0 ;
5378 (char *) "self",(char *) "x",(char *) "y", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5384 arg2
= (int) SWIG_AsInt(obj1
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5386 arg3
= (int) SWIG_AsInt(obj2
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_FromInt((int)result
);
5402 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxRegion
*arg1
= (wxRegion
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5411 (char *) "self",(char *) "pt", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5419 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_FromInt((int)result
);
5435 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxRegion
*arg1
= (wxRegion
*) 0 ;
5441 PyObject
* obj0
= 0 ;
5442 PyObject
* obj1
= 0 ;
5444 (char *) "self",(char *) "rect", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5452 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_FromInt((int)result
);
5468 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxRegion
*arg1
= (wxRegion
*) 0 ;
5476 PyObject
* obj0
= 0 ;
5477 PyObject
* obj1
= 0 ;
5478 PyObject
* obj2
= 0 ;
5479 PyObject
* obj3
= 0 ;
5480 PyObject
* obj4
= 0 ;
5482 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5488 arg2
= (int) SWIG_AsInt(obj1
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5490 arg3
= (int) SWIG_AsInt(obj2
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5492 arg4
= (int) SWIG_AsInt(obj3
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5494 arg5
= (int) SWIG_AsInt(obj4
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_FromInt((int)result
);
5510 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxRegion
*arg1
= (wxRegion
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5516 (char *) "self", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 result
= (arg1
)->GetBox();
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5531 resultptr
= new wxRect((wxRect
&) result
);
5532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5540 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxRegion
*arg1
= (wxRegion
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5550 PyObject
* obj2
= 0 ;
5551 PyObject
* obj3
= 0 ;
5552 PyObject
* obj4
= 0 ;
5554 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 arg2
= (int) SWIG_AsInt(obj1
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5562 arg3
= (int) SWIG_AsInt(obj2
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5564 arg4
= (int) SWIG_AsInt(obj3
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5566 arg5
= (int) SWIG_AsInt(obj4
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5584 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
;
5586 wxRegion
*arg1
= (wxRegion
*) 0 ;
5590 PyObject
* obj0
= 0 ;
5591 PyObject
* obj1
= 0 ;
5593 (char *) "self",(char *) "rect", NULL
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5601 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5619 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxRegion
*arg1
= (wxRegion
*) 0 ;
5622 wxRegion
*arg2
= 0 ;
5624 PyObject
* obj0
= 0 ;
5625 PyObject
* obj1
= 0 ;
5627 (char *) "self",(char *) "region", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5637 PyErr_SetString(PyExc_TypeError
,"null reference");
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5656 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxRegion
*arg1
= (wxRegion
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5662 (char *) "self", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 result
= (bool)(arg1
)->IsEmpty();
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5684 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxRegion
*arg1
= (wxRegion
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5694 PyObject
* obj2
= 0 ;
5695 PyObject
* obj3
= 0 ;
5696 PyObject
* obj4
= 0 ;
5698 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5704 arg2
= (int) SWIG_AsInt(obj1
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5706 arg3
= (int) SWIG_AsInt(obj2
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5708 arg4
= (int) SWIG_AsInt(obj3
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5710 arg5
= (int) SWIG_AsInt(obj4
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5728 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
;
5730 wxRegion
*arg1
= (wxRegion
*) 0 ;
5734 PyObject
* obj0
= 0 ;
5735 PyObject
* obj1
= 0 ;
5737 (char *) "self",(char *) "rect", NULL
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5745 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5763 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
;
5765 wxRegion
*arg1
= (wxRegion
*) 0 ;
5766 wxRegion
*arg2
= 0 ;
5768 PyObject
* obj0
= 0 ;
5769 PyObject
* obj1
= 0 ;
5771 (char *) "self",(char *) "region", NULL
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5781 PyErr_SetString(PyExc_TypeError
,"null reference");
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5800 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
;
5802 wxRegion
*arg1
= (wxRegion
*) 0 ;
5808 PyObject
* obj0
= 0 ;
5809 PyObject
* obj1
= 0 ;
5810 PyObject
* obj2
= 0 ;
5811 PyObject
* obj3
= 0 ;
5812 PyObject
* obj4
= 0 ;
5814 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5820 arg2
= (int) SWIG_AsInt(obj1
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5822 arg3
= (int) SWIG_AsInt(obj2
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5824 arg4
= (int) SWIG_AsInt(obj3
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5826 arg5
= (int) SWIG_AsInt(obj4
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5844 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxRegion
*arg1
= (wxRegion
*) 0 ;
5850 PyObject
* obj0
= 0 ;
5851 PyObject
* obj1
= 0 ;
5853 (char *) "self",(char *) "rect", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5861 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5879 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxRegion
*arg1
= (wxRegion
*) 0 ;
5882 wxRegion
*arg2
= 0 ;
5884 PyObject
* obj0
= 0 ;
5885 PyObject
* obj1
= 0 ;
5887 (char *) "self",(char *) "region", NULL
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5897 PyErr_SetString(PyExc_TypeError
,"null reference");
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5916 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxRegion
*arg1
= (wxRegion
*) 0 ;
5924 PyObject
* obj0
= 0 ;
5925 PyObject
* obj1
= 0 ;
5926 PyObject
* obj2
= 0 ;
5927 PyObject
* obj3
= 0 ;
5928 PyObject
* obj4
= 0 ;
5930 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5936 arg2
= (int) SWIG_AsInt(obj1
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5938 arg3
= (int) SWIG_AsInt(obj2
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5940 arg4
= (int) SWIG_AsInt(obj3
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5942 arg5
= (int) SWIG_AsInt(obj4
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5960 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxRegion
*arg1
= (wxRegion
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5967 PyObject
* obj1
= 0 ;
5969 (char *) "self",(char *) "rect", NULL
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5977 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5995 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxRegion
*arg1
= (wxRegion
*) 0 ;
5998 wxRegion
*arg2
= 0 ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6003 (char *) "self",(char *) "region", NULL
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6013 PyErr_SetString(PyExc_TypeError
,"null reference");
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6032 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
;
6034 wxRegion
*arg1
= (wxRegion
*) 0 ;
6035 SwigValueWrapper
< wxBitmap
> result
;
6036 PyObject
* obj0
= 0 ;
6038 (char *) "self", NULL
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
6042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (arg1
)->ConvertToBitmap();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 wxBitmap
* resultptr
;
6053 resultptr
= new wxBitmap((wxBitmap
&) result
);
6054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6062 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxRegion
*arg1
= (wxRegion
*) 0 ;
6065 wxBitmap
*arg2
= 0 ;
6066 wxColour
const &arg3_defvalue
= wxNullColour
;
6067 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
6068 int arg4
= (int) 0 ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6073 PyObject
* obj2
= 0 ;
6074 PyObject
* obj3
= 0 ;
6076 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6086 PyErr_SetString(PyExc_TypeError
,"null reference");
6092 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6096 arg4
= (int) SWIG_AsInt(obj3
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6115 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
6117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6118 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
6120 return Py_BuildValue((char *)"");
6122 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxRegion
*arg1
= 0 ;
6125 wxRegionIterator
*result
;
6126 PyObject
* obj0
= 0 ;
6128 (char *) "region", NULL
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
6132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6136 PyErr_SetString(PyExc_TypeError
,"null reference");
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
6153 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
;
6155 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6158 (char *) "self", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6171 Py_INCREF(Py_None
); resultobj
= Py_None
;
6178 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6182 PyObject
* obj0
= 0 ;
6184 (char *) "self", NULL
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 result
= (int)(arg1
)->GetX();
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 resultobj
= SWIG_FromInt((int)result
);
6204 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
;
6206 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6208 PyObject
* obj0
= 0 ;
6210 (char *) "self", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
6214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (int)(arg1
)->GetY();
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= SWIG_FromInt((int)result
);
6230 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6236 (char *) "self", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (int)(arg1
)->GetW();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_FromInt((int)result
);
6256 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6262 (char *) "self", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 result
= (int)(arg1
)->GetWidth();
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= SWIG_FromInt((int)result
);
6282 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6286 PyObject
* obj0
= 0 ;
6288 (char *) "self", NULL
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (int)(arg1
)->GetH();
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= SWIG_FromInt((int)result
);
6308 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6310 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6312 PyObject
* obj0
= 0 ;
6314 (char *) "self", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 result
= (int)(arg1
)->GetHeight();
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_FromInt((int)result
);
6334 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6338 PyObject
* obj0
= 0 ;
6340 (char *) "self", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 result
= (arg1
)->GetRect();
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6355 resultptr
= new wxRect((wxRect
&) result
);
6356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6364 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "self", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 result
= (bool)(arg1
)->HaveRects();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6392 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6394 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6395 PyObject
* obj0
= 0 ;
6397 (char *) "self", NULL
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 Py_INCREF(Py_None
); resultobj
= Py_None
;
6417 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6422 (char *) "self", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 wxRegionIterator_Next(arg1
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 Py_INCREF(Py_None
); resultobj
= Py_None
;
6442 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
;
6444 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6446 PyObject
* obj0
= 0 ;
6448 (char *) "self", NULL
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6458 wxPyEndAllowThreads(__tstate
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6470 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6473 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6475 return Py_BuildValue((char *)"");
6477 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
*resultobj
;
6479 wxNativeFontInfo
*result
;
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6499 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6504 (char *) "self", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 Py_INCREF(Py_None
); resultobj
= Py_None
;
6524 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
;
6526 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6529 (char *) "self", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 Py_INCREF(Py_None
); resultobj
= Py_None
;
6549 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
*resultobj
;
6551 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6553 PyObject
* obj0
= 0 ;
6554 PyObject
* obj1
= 0 ;
6556 (char *) "self",(char *) "font", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6566 PyErr_SetString(PyExc_TypeError
,"null reference");
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 Py_INCREF(Py_None
); resultobj
= Py_None
;
6583 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6589 (char *) "self", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= SWIG_FromInt((int)result
);
6609 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6615 (char *) "self", NULL
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 resultobj
= SWIG_FromInt((int)result
);
6635 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6639 PyObject
* obj0
= 0 ;
6641 (char *) "self", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_FromInt((int)result
);
6661 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
;
6663 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6665 PyObject
* obj0
= 0 ;
6667 (char *) "self", NULL
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6689 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
;
6691 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6693 PyObject
* obj0
= 0 ;
6695 (char *) "self", NULL
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6721 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6723 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6725 PyObject
* obj0
= 0 ;
6727 (char *) "self", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= SWIG_FromInt((int)result
);
6747 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6751 PyObject
* obj0
= 0 ;
6753 (char *) "self", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 resultobj
= SWIG_FromInt((int)result
);
6773 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6780 (char *) "self",(char *) "pointsize", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6786 arg2
= (int) SWIG_AsInt(obj1
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 (arg1
)->SetPointSize(arg2
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 Py_INCREF(Py_None
); resultobj
= Py_None
;
6802 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
;
6804 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6806 PyObject
* obj0
= 0 ;
6807 PyObject
* obj1
= 0 ;
6809 (char *) "self",(char *) "style", NULL
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6815 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 Py_INCREF(Py_None
); resultobj
= Py_None
;
6831 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
;
6833 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6838 (char *) "self",(char *) "weight", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6844 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 Py_INCREF(Py_None
); resultobj
= Py_None
;
6860 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6867 (char *) "self",(char *) "underlined", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6873 arg2
= (bool) SWIG_AsBool(obj1
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 (arg1
)->SetUnderlined(arg2
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 Py_INCREF(Py_None
); resultobj
= Py_None
;
6889 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6896 (char *) "self",(char *) "facename", NULL
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6903 wxString
* sptr
= wxString_in_helper(obj1
);
6904 if (sptr
== NULL
) SWIG_fail
;
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 (arg1
)->SetFaceName(arg2
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 Py_INCREF(Py_None
); resultobj
= Py_None
;
6922 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
;
6924 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6929 (char *) "self",(char *) "family", NULL
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6935 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6944 Py_INCREF(Py_None
); resultobj
= Py_None
;
6951 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
;
6953 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6955 PyObject
* obj0
= 0 ;
6956 PyObject
* obj1
= 0 ;
6958 (char *) "self",(char *) "encoding", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6964 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 Py_INCREF(Py_None
); resultobj
= Py_None
;
6980 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6983 wxString
*arg2
= 0 ;
6985 bool temp2
= False
;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6989 (char *) "self",(char *) "s", NULL
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6996 arg2
= wxString_in_helper(obj1
);
6997 if (arg2
== NULL
) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7024 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
;
7026 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7028 PyObject
* obj0
= 0 ;
7030 (char *) "self", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
7034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7056 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7060 PyObject
* obj0
= 0 ;
7062 (char *) "self", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
7066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= wxNativeFontInfo___str__(arg1
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7088 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7091 wxString
*arg2
= 0 ;
7093 bool temp2
= False
;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7097 (char *) "self",(char *) "s", NULL
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
7101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7104 arg2
= wxString_in_helper(obj1
);
7105 if (arg2
== NULL
) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7132 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
;
7134 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7136 PyObject
* obj0
= 0 ;
7138 (char *) "self", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
7142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7164 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7167 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
7169 return Py_BuildValue((char *)"");
7171 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7174 wxString
*arg2
= (wxString
*) 0 ;
7175 bool temp2
= False
;
7176 PyObject
* obj0
= 0 ;
7177 PyObject
* obj1
= 0 ;
7179 (char *) "self",(char *) "facename", NULL
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7186 arg2
= wxString_in_helper(obj1
);
7187 if (arg2
== NULL
) SWIG_fail
;
7190 if (arg1
) (arg1
)->facename
= *arg2
;
7192 Py_INCREF(Py_None
); resultobj
= Py_None
;
7207 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7209 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7211 PyObject
* obj0
= 0 ;
7213 (char *) "self", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7219 result
= (wxString
*)& ((arg1
)->facename
);
7223 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7225 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7234 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7238 PyObject
* obj0
= 0 ;
7239 PyObject
* obj1
= 0 ;
7241 (char *) "self",(char *) "encoding", NULL
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7247 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7249 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7251 Py_INCREF(Py_None
); resultobj
= Py_None
;
7258 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7260 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7262 PyObject
* obj0
= 0 ;
7264 (char *) "self", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7270 result
= (int) ((arg1
)->encoding
);
7272 resultobj
= SWIG_FromInt((int)result
);
7279 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 wxNativeEncodingInfo
*result
;
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7301 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7304 PyObject
* obj0
= 0 ;
7306 (char *) "self", NULL
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 Py_INCREF(Py_None
); resultobj
= Py_None
;
7326 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
*resultobj
;
7328 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7329 wxString
*arg2
= 0 ;
7331 bool temp2
= False
;
7332 PyObject
* obj0
= 0 ;
7333 PyObject
* obj1
= 0 ;
7335 (char *) "self",(char *) "s", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7342 arg2
= wxString_in_helper(obj1
);
7343 if (arg2
== NULL
) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7370 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7376 (char *) "self", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7402 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7405 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7407 return Py_BuildValue((char *)"");
7409 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
;
7412 wxNativeEncodingInfo
*result
;
7413 PyObject
* obj0
= 0 ;
7415 (char *) "encoding", NULL
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7419 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7435 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
;
7437 wxNativeEncodingInfo
*arg1
= 0 ;
7439 PyObject
* obj0
= 0 ;
7441 (char *) "info", NULL
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7449 PyErr_SetString(PyExc_TypeError
,"null reference");
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7468 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxFontMapper
*result
;
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 result
= (wxFontMapper
*)new wxFontMapper();
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7490 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7492 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7493 PyObject
* obj0
= 0 ;
7495 (char *) "self", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 Py_INCREF(Py_None
); resultobj
= Py_None
;
7515 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
;
7517 wxFontMapper
*result
;
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (wxFontMapper
*)wxFontMapper::Get();
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7537 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7540 wxFontMapper
*result
;
7541 PyObject
* obj0
= 0 ;
7543 (char *) "mapper", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7563 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7566 wxString
*arg2
= 0 ;
7567 bool arg3
= (bool) True
;
7569 bool temp2
= False
;
7570 PyObject
* obj0
= 0 ;
7571 PyObject
* obj1
= 0 ;
7572 PyObject
* obj2
= 0 ;
7574 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7581 arg2
= wxString_in_helper(obj1
);
7582 if (arg2
== NULL
) SWIG_fail
;
7586 arg3
= (bool) SWIG_AsBool(obj2
);
7587 if (PyErr_Occurred()) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= SWIG_FromInt((int)result
);
7611 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7633 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7637 PyObject
* obj0
= 0 ;
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7643 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 result
= (int)wxFontMapper::GetEncoding(arg1
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 resultobj
= SWIG_FromInt((int)result
);
7659 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7663 PyObject
* obj0
= 0 ;
7665 (char *) "encoding", NULL
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7669 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7691 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7695 PyObject
* obj0
= 0 ;
7697 (char *) "encoding", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7701 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7723 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxString
*arg1
= 0 ;
7727 bool temp1
= False
;
7728 PyObject
* obj0
= 0 ;
7730 (char *) "name", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7735 arg1
= wxString_in_helper(obj0
);
7736 if (arg1
== NULL
) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= SWIG_FromInt((int)result
);
7761 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7764 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7765 PyObject
* obj0
= 0 ;
7766 PyObject
* obj1
= 0 ;
7768 (char *) "self",(char *) "config", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 (arg1
)->SetConfig(arg2
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 Py_INCREF(Py_None
); resultobj
= Py_None
;
7790 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7793 wxString
*arg2
= 0 ;
7794 bool temp2
= False
;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7798 (char *) "self",(char *) "prefix", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7805 arg2
= wxString_in_helper(obj1
);
7806 if (arg2
== NULL
) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 Py_INCREF(Py_None
); resultobj
= Py_None
;
7831 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= wxFontMapper::GetDefaultConfigPath();
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7859 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7863 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7864 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7865 bool arg4
= (bool) True
;
7867 bool temp3
= False
;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7870 PyObject
* obj2
= 0 ;
7871 PyObject
* obj3
= 0 ;
7873 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7879 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7883 arg3
= wxString_in_helper(obj2
);
7884 if (arg3
== NULL
) SWIG_fail
;
7889 arg4
= (bool) SWIG_AsBool(obj3
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7914 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7918 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7919 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7921 bool temp3
= False
;
7922 PyObject
* obj0
= 0 ;
7923 PyObject
* obj1
= 0 ;
7924 PyObject
* obj2
= 0 ;
7926 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7932 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7936 arg3
= wxString_in_helper(obj2
);
7937 if (arg3
== NULL
) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7965 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7968 wxWindow
*arg2
= (wxWindow
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7972 (char *) "self",(char *) "parent", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 (arg1
)->SetDialogParent(arg2
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 Py_INCREF(Py_None
); resultobj
= Py_None
;
7994 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7997 wxString
*arg2
= 0 ;
7998 bool temp2
= False
;
7999 PyObject
* obj0
= 0 ;
8000 PyObject
* obj1
= 0 ;
8002 (char *) "self",(char *) "title", NULL
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8009 arg2
= wxString_in_helper(obj1
);
8010 if (arg2
== NULL
) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 Py_INCREF(Py_None
); resultobj
= Py_None
;
8035 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
8037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8038 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
8040 return Py_BuildValue((char *)"");
8042 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8048 bool arg5
= (bool) False
;
8049 wxString
const &arg6_defvalue
= wxPyEmptyString
;
8050 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8051 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8053 bool temp6
= False
;
8054 PyObject
* obj0
= 0 ;
8055 PyObject
* obj1
= 0 ;
8056 PyObject
* obj2
= 0 ;
8057 PyObject
* obj3
= 0 ;
8058 PyObject
* obj4
= 0 ;
8059 PyObject
* obj5
= 0 ;
8060 PyObject
* obj6
= 0 ;
8062 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8066 arg1
= (int) SWIG_AsInt(obj0
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8068 arg2
= (int) SWIG_AsInt(obj1
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8070 arg3
= (int) SWIG_AsInt(obj2
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8072 arg4
= (int) SWIG_AsInt(obj3
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 arg5
= (bool) SWIG_AsBool(obj4
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8080 arg6
= wxString_in_helper(obj5
);
8081 if (arg6
== NULL
) SWIG_fail
;
8086 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8111 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxFont
*arg1
= (wxFont
*) 0 ;
8114 PyObject
* obj0
= 0 ;
8116 (char *) "self", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
8120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 Py_INCREF(Py_None
); resultobj
= Py_None
;
8136 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxNativeFontInfo
*arg1
= 0 ;
8140 PyObject
* obj0
= 0 ;
8142 (char *) "info", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
8147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8150 PyErr_SetString(PyExc_TypeError
,"null reference");
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8167 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxString
*arg1
= 0 ;
8171 bool temp1
= False
;
8172 PyObject
* obj0
= 0 ;
8174 (char *) "info", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
8179 arg1
= wxString_in_helper(obj0
);
8180 if (arg1
== NULL
) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8205 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
;
8209 int arg3
= (int) wxFONTFLAG_DEFAULT
;
8210 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8211 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8212 int arg5
= (int) wxFONTENCODING_DEFAULT
;
8214 bool temp4
= False
;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8217 PyObject
* obj2
= 0 ;
8218 PyObject
* obj3
= 0 ;
8219 PyObject
* obj4
= 0 ;
8221 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8225 arg1
= (int) SWIG_AsInt(obj0
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8227 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 arg3
= (int) SWIG_AsInt(obj2
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8235 arg4
= wxString_in_helper(obj3
);
8236 if (arg4
== NULL
) SWIG_fail
;
8241 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8266 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxFont
*arg1
= (wxFont
*) 0 ;
8270 PyObject
* obj0
= 0 ;
8272 (char *) "self", NULL
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (bool)((wxFont
const *)arg1
)->Ok();
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8294 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxFont
*arg1
= (wxFont
*) 0 ;
8297 wxFont
*arg2
= (wxFont
*) 0 ;
8299 PyObject
* obj0
= 0 ;
8300 PyObject
* obj1
= 0 ;
8302 (char *) "self",(char *) "other", NULL
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8326 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
*resultobj
;
8328 wxFont
*arg1
= (wxFont
*) 0 ;
8329 wxFont
*arg2
= (wxFont
*) 0 ;
8331 PyObject
* obj0
= 0 ;
8332 PyObject
* obj1
= 0 ;
8334 (char *) "self",(char *) "other", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8358 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
;
8360 wxFont
*arg1
= (wxFont
*) 0 ;
8362 PyObject
* obj0
= 0 ;
8364 (char *) "self", NULL
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= SWIG_FromInt((int)result
);
8384 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
*resultobj
;
8386 wxFont
*arg1
= (wxFont
*) 0 ;
8388 PyObject
* obj0
= 0 ;
8390 (char *) "self", NULL
8393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 resultobj
= SWIG_FromInt((int)result
);
8410 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxFont
*arg1
= (wxFont
*) 0 ;
8414 PyObject
* obj0
= 0 ;
8416 (char *) "self", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= SWIG_FromInt((int)result
);
8436 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxFont
*arg1
= (wxFont
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8442 (char *) "self", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= SWIG_FromInt((int)result
);
8462 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8464 wxFont
*arg1
= (wxFont
*) 0 ;
8466 PyObject
* obj0
= 0 ;
8468 (char *) "self", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8490 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxFont
*arg1
= (wxFont
*) 0 ;
8494 PyObject
* obj0
= 0 ;
8496 (char *) "self", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 result
= ((wxFont
const *)arg1
)->GetFaceName();
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8522 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
;
8524 wxFont
*arg1
= (wxFont
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8528 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= SWIG_FromInt((int)result
);
8548 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxFont
*arg1
= (wxFont
*) 0 ;
8551 wxNativeFontInfo
*result
;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "self", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8574 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
;
8576 wxFont
*arg1
= (wxFont
*) 0 ;
8578 PyObject
* obj0
= 0 ;
8580 (char *) "self", NULL
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8602 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxFont
*arg1
= (wxFont
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8608 (char *) "self", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8634 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxFont
*arg1
= (wxFont
*) 0 ;
8638 PyObject
* obj0
= 0 ;
8640 (char *) "self", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8666 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
;
8668 wxFont
*arg1
= (wxFont
*) 0 ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8673 (char *) "self",(char *) "pointSize", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8679 arg2
= (int) SWIG_AsInt(obj1
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 (arg1
)->SetPointSize(arg2
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 Py_INCREF(Py_None
); resultobj
= Py_None
;
8695 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxFont
*arg1
= (wxFont
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8700 PyObject
* obj1
= 0 ;
8702 (char *) "self",(char *) "family", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8708 arg2
= (int) SWIG_AsInt(obj1
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 (arg1
)->SetFamily(arg2
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 Py_INCREF(Py_None
); resultobj
= Py_None
;
8724 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxFont
*arg1
= (wxFont
*) 0 ;
8728 PyObject
* obj0
= 0 ;
8729 PyObject
* obj1
= 0 ;
8731 (char *) "self",(char *) "style", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8737 arg2
= (int) SWIG_AsInt(obj1
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 (arg1
)->SetStyle(arg2
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 Py_INCREF(Py_None
); resultobj
= Py_None
;
8753 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxFont
*arg1
= (wxFont
*) 0 ;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8760 (char *) "self",(char *) "weight", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8766 arg2
= (int) SWIG_AsInt(obj1
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 (arg1
)->SetWeight(arg2
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 Py_INCREF(Py_None
); resultobj
= Py_None
;
8782 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxFont
*arg1
= (wxFont
*) 0 ;
8785 wxString
*arg2
= 0 ;
8786 bool temp2
= False
;
8787 PyObject
* obj0
= 0 ;
8788 PyObject
* obj1
= 0 ;
8790 (char *) "self",(char *) "faceName", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8797 arg2
= wxString_in_helper(obj1
);
8798 if (arg2
== NULL
) SWIG_fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 Py_INCREF(Py_None
); resultobj
= Py_None
;
8823 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxFont
*arg1
= (wxFont
*) 0 ;
8827 PyObject
* obj0
= 0 ;
8828 PyObject
* obj1
= 0 ;
8830 (char *) "self",(char *) "underlined", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8836 arg2
= (bool) SWIG_AsBool(obj1
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 (arg1
)->SetUnderlined(arg2
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 Py_INCREF(Py_None
); resultobj
= Py_None
;
8852 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxFont
*arg1
= (wxFont
*) 0 ;
8856 PyObject
* obj0
= 0 ;
8857 PyObject
* obj1
= 0 ;
8859 (char *) "self",(char *) "encoding", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8865 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 Py_INCREF(Py_None
); resultobj
= Py_None
;
8881 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxFont
*arg1
= (wxFont
*) 0 ;
8884 wxNativeFontInfo
*arg2
= 0 ;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8888 (char *) "self",(char *) "info", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8898 PyErr_SetString(PyExc_TypeError
,"null reference");
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 Py_INCREF(Py_None
); resultobj
= Py_None
;
8915 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxFont
*arg1
= (wxFont
*) 0 ;
8918 wxString
*arg2
= 0 ;
8919 bool temp2
= False
;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8923 (char *) "self",(char *) "info", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8930 arg2
= wxString_in_helper(obj1
);
8931 if (arg2
== NULL
) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 Py_INCREF(Py_None
); resultobj
= Py_None
;
8956 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxFont
*arg1
= (wxFont
*) 0 ;
8959 wxString
*arg2
= 0 ;
8960 bool temp2
= False
;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8964 (char *) "self",(char *) "info", NULL
8967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8971 arg2
= wxString_in_helper(obj1
);
8972 if (arg2
== NULL
) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 Py_INCREF(Py_None
); resultobj
= Py_None
;
8997 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxFont
*arg1
= (wxFont
*) 0 ;
9001 PyObject
* obj0
= 0 ;
9003 (char *) "self", NULL
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
9007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 result
= ((wxFont
const *)arg1
)->GetFamilyString();
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9029 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxFont
*arg1
= (wxFont
*) 0 ;
9033 PyObject
* obj0
= 0 ;
9035 (char *) "self", NULL
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
9039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= ((wxFont
const *)arg1
)->GetStyleString();
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9061 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxFont
*arg1
= (wxFont
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "self", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= ((wxFont
const *)arg1
)->GetWeightString();
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9093 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
;
9095 wxFont
*arg1
= (wxFont
*) 0 ;
9096 bool arg2
= (bool) True
;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9100 (char *) "self",(char *) "no", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9107 arg2
= (bool) SWIG_AsBool(obj1
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 (arg1
)->SetNoAntiAliasing(arg2
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 Py_INCREF(Py_None
); resultobj
= Py_None
;
9124 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxFont
*arg1
= (wxFont
*) 0 ;
9128 PyObject
* obj0
= 0 ;
9130 (char *) "self", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 result
= (bool)(arg1
)->GetNoAntiAliasing();
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9152 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (int)wxFont::GetDefaultEncoding();
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_FromInt((int)result
);
9174 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9177 PyObject
* obj0
= 0 ;
9179 (char *) "encoding", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9183 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 Py_INCREF(Py_None
); resultobj
= Py_None
;
9199 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
9201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9202 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9204 return Py_BuildValue((char *)"");
9206 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxPyFontEnumerator
*result
;
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9228 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9231 PyObject
* obj0
= 0 ;
9233 (char *) "self", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 Py_INCREF(Py_None
); resultobj
= Py_None
;
9253 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
;
9255 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9256 PyObject
*arg2
= (PyObject
*) 0 ;
9257 PyObject
*arg3
= (PyObject
*) 0 ;
9259 PyObject
* obj0
= 0 ;
9260 PyObject
* obj1
= 0 ;
9261 PyObject
* obj2
= 0 ;
9262 PyObject
* obj3
= 0 ;
9264 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 arg4
= (bool) SWIG_AsBool(obj3
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9288 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9291 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9292 bool arg3
= (bool) False
;
9294 PyObject
* obj0
= 0 ;
9295 PyObject
* obj1
= 0 ;
9296 PyObject
* obj2
= 0 ;
9298 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9305 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9309 arg3
= (bool) SWIG_AsBool(obj2
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9328 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9331 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9332 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9334 bool temp2
= False
;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9338 (char *) "self",(char *) "facename", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9346 arg2
= wxString_in_helper(obj1
);
9347 if (arg2
== NULL
) SWIG_fail
;
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9375 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9377 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9381 (char *) "self", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9401 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9407 (char *) "self", NULL
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9427 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
9429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9430 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9432 return Py_BuildValue((char *)"");
9434 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9439 PyObject
* obj1
= 0 ;
9441 (char *) "self",(char *) "Language", NULL
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9447 arg2
= (int) SWIG_AsInt(obj1
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9449 if (arg1
) (arg1
)->Language
= arg2
;
9451 Py_INCREF(Py_None
); resultobj
= Py_None
;
9458 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9462 PyObject
* obj0
= 0 ;
9464 (char *) "self", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9470 result
= (int) ((arg1
)->Language
);
9472 resultobj
= SWIG_FromInt((int)result
);
9479 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9482 wxString
*arg2
= (wxString
*) 0 ;
9483 bool temp2
= False
;
9484 PyObject
* obj0
= 0 ;
9485 PyObject
* obj1
= 0 ;
9487 (char *) "self",(char *) "CanonicalName", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9494 arg2
= wxString_in_helper(obj1
);
9495 if (arg2
== NULL
) SWIG_fail
;
9498 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9500 Py_INCREF(Py_None
); resultobj
= Py_None
;
9515 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
;
9517 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9519 PyObject
* obj0
= 0 ;
9521 (char *) "self", NULL
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9527 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9531 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9533 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9542 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9545 wxString
*arg2
= (wxString
*) 0 ;
9546 bool temp2
= False
;
9547 PyObject
* obj0
= 0 ;
9548 PyObject
* obj1
= 0 ;
9550 (char *) "self",(char *) "Description", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9557 arg2
= wxString_in_helper(obj1
);
9558 if (arg2
== NULL
) SWIG_fail
;
9561 if (arg1
) (arg1
)->Description
= *arg2
;
9563 Py_INCREF(Py_None
); resultobj
= Py_None
;
9578 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
;
9580 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9582 PyObject
* obj0
= 0 ;
9584 (char *) "self", NULL
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9590 result
= (wxString
*)& ((arg1
)->Description
);
9594 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9596 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9605 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9608 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9610 return Py_BuildValue((char *)"");
9612 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
;
9614 int arg1
= (int) -1 ;
9615 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9617 PyObject
* obj0
= 0 ;
9618 PyObject
* obj1
= 0 ;
9620 (char *) "language",(char *) "flags", NULL
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9625 arg1
= (int) SWIG_AsInt(obj0
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 arg2
= (int) SWIG_AsInt(obj1
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9646 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxLocale
*arg1
= (wxLocale
*) 0 ;
9649 PyObject
* obj0
= 0 ;
9651 (char *) "self", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 Py_INCREF(Py_None
); resultobj
= Py_None
;
9671 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxLocale
*arg1
= (wxLocale
*) 0 ;
9674 wxString
*arg2
= 0 ;
9675 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9677 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9678 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9679 bool arg5
= (bool) True
;
9680 bool arg6
= (bool) False
;
9682 bool temp2
= False
;
9683 bool temp3
= False
;
9684 bool temp4
= False
;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9687 PyObject
* obj2
= 0 ;
9688 PyObject
* obj3
= 0 ;
9689 PyObject
* obj4
= 0 ;
9690 PyObject
* obj5
= 0 ;
9692 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9699 arg2
= wxString_in_helper(obj1
);
9700 if (arg2
== NULL
) SWIG_fail
;
9705 arg3
= wxString_in_helper(obj2
);
9706 if (arg3
== NULL
) SWIG_fail
;
9712 arg4
= wxString_in_helper(obj3
);
9713 if (arg4
== NULL
) SWIG_fail
;
9718 arg5
= (bool) SWIG_AsBool(obj4
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9722 arg6
= (bool) SWIG_AsBool(obj5
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9765 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxLocale
*arg1
= (wxLocale
*) 0 ;
9768 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9769 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9773 PyObject
* obj2
= 0 ;
9775 (char *) "self",(char *) "language",(char *) "flags", NULL
9778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9782 arg2
= (int) SWIG_AsInt(obj1
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9786 arg3
= (int) SWIG_AsInt(obj2
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9805 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 result
= (int)wxLocale::GetSystemLanguage();
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= SWIG_FromInt((int)result
);
9827 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (int)wxLocale::GetSystemEncoding();
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= SWIG_FromInt((int)result
);
9849 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= wxLocale::GetSystemEncodingName();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9877 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxLocale
*arg1
= (wxLocale
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9883 (char *) "self", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9905 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
;
9907 wxLocale
*arg1
= (wxLocale
*) 0 ;
9909 PyObject
* obj0
= 0 ;
9911 (char *) "self", NULL
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= ((wxLocale
const *)arg1
)->GetLocale();
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9937 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxLocale
*arg1
= (wxLocale
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= SWIG_FromInt((int)result
);
9963 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxLocale
*arg1
= (wxLocale
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9969 (char *) "self", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= ((wxLocale
const *)arg1
)->GetSysName();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9995 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxLocale
*arg1
= (wxLocale
*) 0 ;
9999 PyObject
* obj0
= 0 ;
10000 char *kwnames
[] = {
10001 (char *) "self", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
10005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10027 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxString
*arg1
= 0 ;
10030 bool temp1
= False
;
10031 PyObject
* obj0
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "prefix", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
10038 arg1
= wxString_in_helper(obj0
);
10039 if (arg1
== NULL
) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 Py_INCREF(Py_None
); resultobj
= Py_None
;
10064 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxLocale
*arg1
= (wxLocale
*) 0 ;
10067 wxString
*arg2
= 0 ;
10069 bool temp2
= False
;
10070 PyObject
* obj0
= 0 ;
10071 PyObject
* obj1
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "self",(char *) "szDomain", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10080 arg2
= wxString_in_helper(obj1
);
10081 if (arg2
== NULL
) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10108 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxLocale
*arg1
= (wxLocale
*) 0 ;
10111 wxString
*arg2
= 0 ;
10113 bool temp2
= False
;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self",(char *) "szDomain", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10124 arg2
= wxString_in_helper(obj1
);
10125 if (arg2
== NULL
) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10152 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10155 wxLanguageInfo
*result
;
10156 PyObject
* obj0
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "lang", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10162 arg1
= (int) SWIG_AsInt(obj0
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10178 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10182 PyObject
* obj0
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "lang", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10188 arg1
= (int) SWIG_AsInt(obj0
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= wxLocale::GetLanguageName(arg1
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10210 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxString
*arg1
= 0 ;
10213 wxLanguageInfo
*result
;
10214 bool temp1
= False
;
10215 PyObject
* obj0
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "locale", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10222 arg1
= wxString_in_helper(obj0
);
10223 if (arg1
== NULL
) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10248 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10250 wxLanguageInfo
*arg1
= 0 ;
10251 PyObject
* obj0
= 0 ;
10252 char *kwnames
[] = {
10253 (char *) "info", NULL
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10260 if (arg1
== NULL
) {
10261 PyErr_SetString(PyExc_TypeError
,"null reference");
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 Py_INCREF(Py_None
); resultobj
= Py_None
;
10278 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxLocale
*arg1
= (wxLocale
*) 0 ;
10281 wxString
*arg2
= 0 ;
10282 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10283 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10285 bool temp2
= False
;
10286 bool temp3
= False
;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 PyObject
* obj2
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10298 arg2
= wxString_in_helper(obj1
);
10299 if (arg2
== NULL
) SWIG_fail
;
10304 arg3
= wxString_in_helper(obj2
);
10305 if (arg3
== NULL
) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10345 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxLocale
*arg1
= (wxLocale
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10350 char *kwnames
[] = {
10351 (char *) "self", NULL
10354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10361 result
= (wxString
*) &_result_ref
;
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10371 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10380 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
10382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10383 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10385 return Py_BuildValue((char *)"");
10387 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10390 char *kwnames
[] = {
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 result
= (wxLocale
*)wxGetLocale();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10409 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
10410 PyObject
*resultobj
;
10411 wxString
*arg1
= 0 ;
10413 bool temp1
= False
;
10414 PyObject
* obj0
= 0 ;
10416 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10418 arg1
= wxString_in_helper(obj0
);
10419 if (arg1
== NULL
) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= wxGetTranslation((wxString
const &)*arg1
);
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10450 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
10451 PyObject
*resultobj
;
10452 wxString
*arg1
= 0 ;
10453 wxString
*arg2
= 0 ;
10456 bool temp1
= False
;
10457 bool temp2
= False
;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 PyObject
* obj2
= 0 ;
10462 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10464 arg1
= wxString_in_helper(obj0
);
10465 if (arg1
== NULL
) SWIG_fail
;
10469 arg2
= wxString_in_helper(obj1
);
10470 if (arg2
== NULL
) SWIG_fail
;
10473 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10511 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10516 argc
= PyObject_Length(args
);
10517 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10518 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10523 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10526 return _wrap_GetTranslation__SWIG_0(self
,args
);
10532 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10536 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10539 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10541 return _wrap_GetTranslation__SWIG_1(self
,args
);
10547 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10552 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 wxEncodingConverter
*result
;
10555 char *kwnames
[] = {
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10574 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10577 PyObject
* obj0
= 0 ;
10578 char *kwnames
[] = {
10579 (char *) "self", NULL
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 Py_INCREF(Py_None
); resultobj
= Py_None
;
10599 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10604 int arg4
= (int) wxCONVERT_STRICT
;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 PyObject
* obj3
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10617 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10619 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 arg4
= (int) SWIG_AsInt(obj3
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10641 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
;
10643 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10644 wxString
*arg2
= 0 ;
10646 bool temp2
= False
;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj1
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self",(char *) "input", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10657 arg2
= wxString_in_helper(obj1
);
10658 if (arg2
== NULL
) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10689 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10692 int arg2
= (int) wxPLATFORM_CURRENT
;
10693 wxFontEncodingArray result
;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 char *kwnames
[] = {
10697 (char *) "enc",(char *) "platform", NULL
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10701 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 arg2
= (int) SWIG_AsInt(obj1
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= PyList_New(0);
10716 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10717 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10718 PyList_Append(resultobj
, number
);
10728 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10731 wxFontEncodingArray result
;
10732 PyObject
* obj0
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "enc", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10738 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= PyList_New(0);
10749 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10750 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10751 PyList_Append(resultobj
, number
);
10761 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10766 PyObject
* obj0
= 0 ;
10767 PyObject
* obj1
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "encIn",(char *) "encOut", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10773 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10775 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10793 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10796 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10798 return Py_BuildValue((char *)"");
10800 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxDC
*arg1
= (wxDC
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxDC
*arg1
= (wxDC
*) 0 ;
10828 PyObject
* obj0
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->BeginDrawing();
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 Py_INCREF(Py_None
); resultobj
= Py_None
;
10850 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxDC
*arg1
= (wxDC
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 (arg1
)->EndDrawing();
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 Py_INCREF(Py_None
); resultobj
= Py_None
;
10875 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxDC
*arg1
= (wxDC
*) 0 ;
10880 wxColour
*arg4
= 0 ;
10881 int arg5
= (int) wxFLOOD_SURFACE
;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 PyObject
* obj2
= 0 ;
10887 PyObject
* obj3
= 0 ;
10888 PyObject
* obj4
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 arg2
= (int) SWIG_AsInt(obj1
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10898 arg3
= (int) SWIG_AsInt(obj2
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10902 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10905 arg5
= (int) SWIG_AsInt(obj4
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10924 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxDC
*arg1
= (wxDC
*) 0 ;
10927 wxPoint
*arg2
= 0 ;
10928 wxColour
*arg3
= 0 ;
10929 int arg4
= (int) wxFLOOD_SURFACE
;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 PyObject
* obj2
= 0 ;
10936 PyObject
* obj3
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10950 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10953 arg4
= (int) SWIG_AsInt(obj3
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10972 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxDC
*arg1
= (wxDC
*) 0 ;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 PyObject
* obj2
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self",(char *) "x",(char *) "y", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10988 arg2
= (int) SWIG_AsInt(obj1
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10990 arg3
= (int) SWIG_AsInt(obj2
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
11000 wxColour
* resultptr
;
11001 resultptr
= new wxColour((wxColour
&) result
);
11002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11010 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxDC
*arg1
= (wxDC
*) 0 ;
11013 wxPoint
*arg2
= 0 ;
11016 PyObject
* obj0
= 0 ;
11017 PyObject
* obj1
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self",(char *) "pt", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11037 wxColour
* resultptr
;
11038 resultptr
= new wxColour((wxColour
&) result
);
11039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11047 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxDC
*arg1
= (wxDC
*) 0 ;
11054 PyObject
* obj0
= 0 ;
11055 PyObject
* obj1
= 0 ;
11056 PyObject
* obj2
= 0 ;
11057 PyObject
* obj3
= 0 ;
11058 PyObject
* obj4
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11066 arg2
= (int) SWIG_AsInt(obj1
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11068 arg3
= (int) SWIG_AsInt(obj2
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11070 arg4
= (int) SWIG_AsInt(obj3
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11072 arg5
= (int) SWIG_AsInt(obj4
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 Py_INCREF(Py_None
); resultobj
= Py_None
;
11088 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxDC
*arg1
= (wxDC
*) 0 ;
11091 wxPoint
*arg2
= 0 ;
11092 wxPoint
*arg3
= 0 ;
11095 PyObject
* obj0
= 0 ;
11096 PyObject
* obj1
= 0 ;
11097 PyObject
* obj2
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11111 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 Py_INCREF(Py_None
); resultobj
= Py_None
;
11127 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxDC
*arg1
= (wxDC
*) 0 ;
11132 PyObject
* obj0
= 0 ;
11133 PyObject
* obj1
= 0 ;
11134 PyObject
* obj2
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self",(char *) "x",(char *) "y", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11142 arg2
= (int) SWIG_AsInt(obj1
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11144 arg3
= (int) SWIG_AsInt(obj2
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 (arg1
)->CrossHair(arg2
,arg3
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxDC
*arg1
= (wxDC
*) 0 ;
11163 wxPoint
*arg2
= 0 ;
11165 PyObject
* obj0
= 0 ;
11166 PyObject
* obj1
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "self",(char *) "pt", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11185 Py_INCREF(Py_None
); resultobj
= Py_None
;
11192 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxDC
*arg1
= (wxDC
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 PyObject
* obj1
= 0 ;
11203 PyObject
* obj2
= 0 ;
11204 PyObject
* obj3
= 0 ;
11205 PyObject
* obj4
= 0 ;
11206 PyObject
* obj5
= 0 ;
11207 PyObject
* obj6
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11215 arg2
= (int) SWIG_AsInt(obj1
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11217 arg3
= (int) SWIG_AsInt(obj2
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11219 arg4
= (int) SWIG_AsInt(obj3
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11221 arg5
= (int) SWIG_AsInt(obj4
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11223 arg6
= (int) SWIG_AsInt(obj5
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11225 arg7
= (int) SWIG_AsInt(obj6
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 Py_INCREF(Py_None
); resultobj
= Py_None
;
11241 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxDC
*arg1
= (wxDC
*) 0 ;
11244 wxPoint
*arg2
= 0 ;
11245 wxPoint
*arg3
= 0 ;
11246 wxPoint
*arg4
= 0 ;
11250 PyObject
* obj0
= 0 ;
11251 PyObject
* obj1
= 0 ;
11252 PyObject
* obj2
= 0 ;
11253 PyObject
* obj3
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11263 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11267 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11271 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 Py_INCREF(Py_None
); resultobj
= Py_None
;
11287 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxDC
*arg1
= (wxDC
*) 0 ;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 PyObject
* obj2
= 0 ;
11297 PyObject
* obj3
= 0 ;
11298 PyObject
* obj4
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11306 arg2
= (int) SWIG_AsInt(obj1
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11308 arg3
= (int) SWIG_AsInt(obj2
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11310 arg4
= (int) SWIG_AsInt(obj3
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11312 arg5
= (int) SWIG_AsInt(obj4
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxDC
*arg1
= (wxDC
*) 0 ;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "self",(char *) "rect", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11344 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 Py_INCREF(Py_None
); resultobj
= Py_None
;
11360 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxDC
*arg1
= (wxDC
*) 0 ;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 PyObject
* obj2
= 0 ;
11372 PyObject
* obj3
= 0 ;
11373 PyObject
* obj4
= 0 ;
11374 PyObject
* obj5
= 0 ;
11375 PyObject
* obj6
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11383 arg2
= (int) SWIG_AsInt(obj1
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11385 arg3
= (int) SWIG_AsInt(obj2
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11387 arg4
= (int) SWIG_AsInt(obj3
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11389 arg5
= (int) SWIG_AsInt(obj4
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11391 arg6
= (double) SWIG_AsDouble(obj5
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11393 arg7
= (double) SWIG_AsDouble(obj6
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 Py_INCREF(Py_None
); resultobj
= Py_None
;
11409 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxDC
*arg1
= (wxDC
*) 0 ;
11412 wxPoint
*arg2
= 0 ;
11418 PyObject
* obj0
= 0 ;
11419 PyObject
* obj1
= 0 ;
11420 PyObject
* obj2
= 0 ;
11421 PyObject
* obj3
= 0 ;
11422 PyObject
* obj4
= 0 ;
11423 char *kwnames
[] = {
11424 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11436 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11438 arg4
= (double) SWIG_AsDouble(obj3
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11440 arg5
= (double) SWIG_AsDouble(obj4
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 Py_INCREF(Py_None
); resultobj
= Py_None
;
11456 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxDC
*arg1
= (wxDC
*) 0 ;
11461 PyObject
* obj0
= 0 ;
11462 PyObject
* obj1
= 0 ;
11463 PyObject
* obj2
= 0 ;
11464 char *kwnames
[] = {
11465 (char *) "self",(char *) "x",(char *) "y", NULL
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11471 arg2
= (int) SWIG_AsInt(obj1
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11473 arg3
= (int) SWIG_AsInt(obj2
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 (arg1
)->DrawPoint(arg2
,arg3
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 Py_INCREF(Py_None
); resultobj
= Py_None
;
11489 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxDC
*arg1
= (wxDC
*) 0 ;
11492 wxPoint
*arg2
= 0 ;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "pt", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 Py_INCREF(Py_None
); resultobj
= Py_None
;
11521 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
;
11523 wxDC
*arg1
= (wxDC
*) 0 ;
11528 PyObject
* obj0
= 0 ;
11529 PyObject
* obj1
= 0 ;
11530 PyObject
* obj2
= 0 ;
11531 PyObject
* obj3
= 0 ;
11532 PyObject
* obj4
= 0 ;
11533 char *kwnames
[] = {
11534 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11540 arg2
= (int) SWIG_AsInt(obj1
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11542 arg3
= (int) SWIG_AsInt(obj2
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11544 arg4
= (int) SWIG_AsInt(obj3
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11546 arg5
= (int) SWIG_AsInt(obj4
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 Py_INCREF(Py_None
); resultobj
= Py_None
;
11562 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxDC
*arg1
= (wxDC
*) 0 ;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 char *kwnames
[] = {
11570 (char *) "self",(char *) "rect", NULL
11573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11578 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 Py_INCREF(Py_None
); resultobj
= Py_None
;
11594 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
;
11596 wxDC
*arg1
= (wxDC
*) 0 ;
11597 wxPoint
*arg2
= 0 ;
11601 PyObject
* obj0
= 0 ;
11602 PyObject
* obj1
= 0 ;
11603 PyObject
* obj2
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "self",(char *) "pt",(char *) "sz", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11617 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 Py_INCREF(Py_None
); resultobj
= Py_None
;
11633 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxDC
*arg1
= (wxDC
*) 0 ;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 PyObject
* obj2
= 0 ;
11644 PyObject
* obj3
= 0 ;
11645 PyObject
* obj4
= 0 ;
11646 PyObject
* obj5
= 0 ;
11647 char *kwnames
[] = {
11648 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11654 arg2
= (int) SWIG_AsInt(obj1
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11656 arg3
= (int) SWIG_AsInt(obj2
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11658 arg4
= (int) SWIG_AsInt(obj3
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11660 arg5
= (int) SWIG_AsInt(obj4
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11662 arg6
= (double) SWIG_AsDouble(obj5
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 Py_INCREF(Py_None
); resultobj
= Py_None
;
11678 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxDC
*arg1
= (wxDC
*) 0 ;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self",(char *) "r",(char *) "radius", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11696 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11698 arg3
= (double) SWIG_AsDouble(obj2
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 Py_INCREF(Py_None
); resultobj
= Py_None
;
11714 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
;
11716 wxDC
*arg1
= (wxDC
*) 0 ;
11717 wxPoint
*arg2
= 0 ;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 PyObject
* obj2
= 0 ;
11725 PyObject
* obj3
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11739 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11741 arg4
= (double) SWIG_AsDouble(obj3
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 Py_INCREF(Py_None
); resultobj
= Py_None
;
11757 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
;
11759 wxDC
*arg1
= (wxDC
*) 0 ;
11763 PyObject
* obj0
= 0 ;
11764 PyObject
* obj1
= 0 ;
11765 PyObject
* obj2
= 0 ;
11766 PyObject
* obj3
= 0 ;
11767 char *kwnames
[] = {
11768 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11774 arg2
= (int) SWIG_AsInt(obj1
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11776 arg3
= (int) SWIG_AsInt(obj2
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11778 arg4
= (int) SWIG_AsInt(obj3
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 Py_INCREF(Py_None
); resultobj
= Py_None
;
11794 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
;
11796 wxDC
*arg1
= (wxDC
*) 0 ;
11797 wxPoint
*arg2
= 0 ;
11800 PyObject
* obj0
= 0 ;
11801 PyObject
* obj1
= 0 ;
11802 PyObject
* obj2
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self",(char *) "pt",(char *) "radius", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11812 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11814 arg3
= (int) SWIG_AsInt(obj2
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 Py_INCREF(Py_None
); resultobj
= Py_None
;
11830 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxDC
*arg1
= (wxDC
*) 0 ;
11837 PyObject
* obj0
= 0 ;
11838 PyObject
* obj1
= 0 ;
11839 PyObject
* obj2
= 0 ;
11840 PyObject
* obj3
= 0 ;
11841 PyObject
* obj4
= 0 ;
11842 char *kwnames
[] = {
11843 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11849 arg2
= (int) SWIG_AsInt(obj1
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11851 arg3
= (int) SWIG_AsInt(obj2
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11853 arg4
= (int) SWIG_AsInt(obj3
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11855 arg5
= (int) SWIG_AsInt(obj4
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 Py_INCREF(Py_None
); resultobj
= Py_None
;
11871 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11872 PyObject
*resultobj
;
11873 wxDC
*arg1
= (wxDC
*) 0 ;
11876 PyObject
* obj0
= 0 ;
11877 PyObject
* obj1
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "self",(char *) "rect", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11887 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 Py_INCREF(Py_None
); resultobj
= Py_None
;
11903 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxDC
*arg1
= (wxDC
*) 0 ;
11906 wxPoint
*arg2
= 0 ;
11910 PyObject
* obj0
= 0 ;
11911 PyObject
* obj1
= 0 ;
11912 PyObject
* obj2
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "pt",(char *) "sz", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11922 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11926 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 Py_INCREF(Py_None
); resultobj
= Py_None
;
11942 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxDC
*arg1
= (wxDC
*) 0 ;
11948 PyObject
* obj0
= 0 ;
11949 PyObject
* obj1
= 0 ;
11950 PyObject
* obj2
= 0 ;
11951 PyObject
* obj3
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11962 if (arg2
== NULL
) {
11963 PyErr_SetString(PyExc_TypeError
,"null reference");
11966 arg3
= (int) SWIG_AsInt(obj2
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11968 arg4
= (int) SWIG_AsInt(obj3
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 Py_INCREF(Py_None
); resultobj
= Py_None
;
11984 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxDC
*arg1
= (wxDC
*) 0 ;
11988 wxPoint
*arg3
= 0 ;
11990 PyObject
* obj0
= 0 ;
11991 PyObject
* obj1
= 0 ;
11992 PyObject
* obj2
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "self",(char *) "icon",(char *) "pt", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12003 if (arg2
== NULL
) {
12004 PyErr_SetString(PyExc_TypeError
,"null reference");
12009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 Py_INCREF(Py_None
); resultobj
= Py_None
;
12025 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxDC
*arg1
= (wxDC
*) 0 ;
12028 wxBitmap
*arg2
= 0 ;
12031 bool arg5
= (bool) False
;
12032 PyObject
* obj0
= 0 ;
12033 PyObject
* obj1
= 0 ;
12034 PyObject
* obj2
= 0 ;
12035 PyObject
* obj3
= 0 ;
12036 PyObject
* obj4
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12047 if (arg2
== NULL
) {
12048 PyErr_SetString(PyExc_TypeError
,"null reference");
12051 arg3
= (int) SWIG_AsInt(obj2
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12053 arg4
= (int) SWIG_AsInt(obj3
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 arg5
= (bool) SWIG_AsBool(obj4
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12066 Py_INCREF(Py_None
); resultobj
= Py_None
;
12073 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12074 PyObject
*resultobj
;
12075 wxDC
*arg1
= (wxDC
*) 0 ;
12076 wxBitmap
*arg2
= 0 ;
12077 wxPoint
*arg3
= 0 ;
12078 bool arg4
= (bool) False
;
12080 PyObject
* obj0
= 0 ;
12081 PyObject
* obj1
= 0 ;
12082 PyObject
* obj2
= 0 ;
12083 PyObject
* obj3
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12094 if (arg2
== NULL
) {
12095 PyErr_SetString(PyExc_TypeError
,"null reference");
12100 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12103 arg4
= (bool) SWIG_AsBool(obj3
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12113 Py_INCREF(Py_None
); resultobj
= Py_None
;
12120 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxDC
*arg1
= (wxDC
*) 0 ;
12123 wxString
*arg2
= 0 ;
12126 bool temp2
= False
;
12127 PyObject
* obj0
= 0 ;
12128 PyObject
* obj1
= 0 ;
12129 PyObject
* obj2
= 0 ;
12130 PyObject
* obj3
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12139 arg2
= wxString_in_helper(obj1
);
12140 if (arg2
== NULL
) SWIG_fail
;
12143 arg3
= (int) SWIG_AsInt(obj2
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12145 arg4
= (int) SWIG_AsInt(obj3
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 Py_INCREF(Py_None
); resultobj
= Py_None
;
12169 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxDC
*arg1
= (wxDC
*) 0 ;
12172 wxString
*arg2
= 0 ;
12173 wxPoint
*arg3
= 0 ;
12174 bool temp2
= False
;
12176 PyObject
* obj0
= 0 ;
12177 PyObject
* obj1
= 0 ;
12178 PyObject
* obj2
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self",(char *) "text",(char *) "pt", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12187 arg2
= wxString_in_helper(obj1
);
12188 if (arg2
== NULL
) SWIG_fail
;
12193 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12202 Py_INCREF(Py_None
); resultobj
= Py_None
;
12217 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxDC
*arg1
= (wxDC
*) 0 ;
12220 wxString
*arg2
= 0 ;
12224 bool temp2
= False
;
12225 PyObject
* obj0
= 0 ;
12226 PyObject
* obj1
= 0 ;
12227 PyObject
* obj2
= 0 ;
12228 PyObject
* obj3
= 0 ;
12229 PyObject
* obj4
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12238 arg2
= wxString_in_helper(obj1
);
12239 if (arg2
== NULL
) SWIG_fail
;
12242 arg3
= (int) SWIG_AsInt(obj2
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12244 arg4
= (int) SWIG_AsInt(obj3
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12246 arg5
= (double) SWIG_AsDouble(obj4
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 Py_INCREF(Py_None
); resultobj
= Py_None
;
12270 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
;
12272 wxDC
*arg1
= (wxDC
*) 0 ;
12273 wxString
*arg2
= 0 ;
12274 wxPoint
*arg3
= 0 ;
12276 bool temp2
= False
;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 PyObject
* obj2
= 0 ;
12281 PyObject
* obj3
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 arg2
= wxString_in_helper(obj1
);
12291 if (arg2
== NULL
) SWIG_fail
;
12296 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12298 arg4
= (double) SWIG_AsDouble(obj3
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 Py_INCREF(Py_None
); resultobj
= Py_None
;
12322 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxDC
*arg1
= (wxDC
*) 0 ;
12329 wxDC
*arg6
= (wxDC
*) 0 ;
12332 int arg9
= (int) wxCOPY
;
12333 bool arg10
= (bool) False
;
12334 int arg11
= (int) -1 ;
12335 int arg12
= (int) -1 ;
12337 PyObject
* obj0
= 0 ;
12338 PyObject
* obj1
= 0 ;
12339 PyObject
* obj2
= 0 ;
12340 PyObject
* obj3
= 0 ;
12341 PyObject
* obj4
= 0 ;
12342 PyObject
* obj5
= 0 ;
12343 PyObject
* obj6
= 0 ;
12344 PyObject
* obj7
= 0 ;
12345 PyObject
* obj8
= 0 ;
12346 PyObject
* obj9
= 0 ;
12347 PyObject
* obj10
= 0 ;
12348 PyObject
* obj11
= 0 ;
12349 char *kwnames
[] = {
12350 (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
12353 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
;
12354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12356 arg2
= (int) SWIG_AsInt(obj1
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12358 arg3
= (int) SWIG_AsInt(obj2
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12360 arg4
= (int) SWIG_AsInt(obj3
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12362 arg5
= (int) SWIG_AsInt(obj4
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12364 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12366 arg7
= (int) SWIG_AsInt(obj6
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12368 arg8
= (int) SWIG_AsInt(obj7
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 arg9
= (int) SWIG_AsInt(obj8
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12375 arg10
= (bool) SWIG_AsBool(obj9
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12379 arg11
= (int) SWIG_AsInt(obj10
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12383 arg12
= (int) SWIG_AsInt(obj11
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12402 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxDC
*arg1
= (wxDC
*) 0 ;
12405 wxPoint
*arg2
= 0 ;
12407 wxDC
*arg4
= (wxDC
*) 0 ;
12408 wxPoint
*arg5
= 0 ;
12409 int arg6
= (int) wxCOPY
;
12410 bool arg7
= (bool) False
;
12411 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12412 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12418 PyObject
* obj0
= 0 ;
12419 PyObject
* obj1
= 0 ;
12420 PyObject
* obj2
= 0 ;
12421 PyObject
* obj3
= 0 ;
12422 PyObject
* obj4
= 0 ;
12423 PyObject
* obj5
= 0 ;
12424 PyObject
* obj6
= 0 ;
12425 PyObject
* obj7
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12439 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12441 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12445 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12448 arg6
= (int) SWIG_AsInt(obj5
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12452 arg7
= (bool) SWIG_AsBool(obj6
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12458 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12477 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxDC
*arg1
= (wxDC
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 PyObject
* obj1
= 0 ;
12486 PyObject
* obj2
= 0 ;
12487 PyObject
* obj3
= 0 ;
12488 PyObject
* obj4
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12496 arg2
= (int) SWIG_AsInt(obj1
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12498 arg3
= (int) SWIG_AsInt(obj2
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12500 arg4
= (int) SWIG_AsInt(obj3
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12502 arg5
= (int) SWIG_AsInt(obj4
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 Py_INCREF(Py_None
); resultobj
= Py_None
;
12518 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
;
12520 wxDC
*arg1
= (wxDC
*) 0 ;
12521 wxPoint
*arg2
= 0 ;
12525 PyObject
* obj0
= 0 ;
12526 PyObject
* obj1
= 0 ;
12527 PyObject
* obj2
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self",(char *) "pt",(char *) "sz", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12541 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxDC
*arg1
= (wxDC
*) 0 ;
12560 wxRegion
*arg2
= 0 ;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self",(char *) "region", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12573 if (arg2
== NULL
) {
12574 PyErr_SetString(PyExc_TypeError
,"null reference");
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 Py_INCREF(Py_None
); resultobj
= Py_None
;
12591 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 wxDC
*arg1
= (wxDC
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 PyObject
* obj1
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "self",(char *) "rect", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12607 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12611 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12616 Py_INCREF(Py_None
); resultobj
= Py_None
;
12623 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
;
12625 wxDC
*arg1
= (wxDC
*) 0 ;
12627 wxPoint
*arg3
= (wxPoint
*) 0 ;
12628 int arg4
= (int) 0 ;
12629 int arg5
= (int) 0 ;
12630 PyObject
* obj0
= 0 ;
12631 PyObject
* obj1
= 0 ;
12632 PyObject
* obj2
= 0 ;
12633 PyObject
* obj3
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12642 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12643 if (arg3
== NULL
) SWIG_fail
;
12646 arg4
= (int) SWIG_AsInt(obj2
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12650 arg5
= (int) SWIG_AsInt(obj3
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 Py_INCREF(Py_None
); resultobj
= Py_None
;
12662 if (arg3
) delete [] arg3
;
12667 if (arg3
) delete [] arg3
;
12673 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxDC
*arg1
= (wxDC
*) 0 ;
12677 wxPoint
*arg3
= (wxPoint
*) 0 ;
12678 int arg4
= (int) 0 ;
12679 int arg5
= (int) 0 ;
12680 int arg6
= (int) wxODDEVEN_RULE
;
12681 PyObject
* obj0
= 0 ;
12682 PyObject
* obj1
= 0 ;
12683 PyObject
* obj2
= 0 ;
12684 PyObject
* obj3
= 0 ;
12685 PyObject
* obj4
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12694 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12695 if (arg3
== NULL
) SWIG_fail
;
12698 arg4
= (int) SWIG_AsInt(obj2
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12702 arg5
= (int) SWIG_AsInt(obj3
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12706 arg6
= (int) SWIG_AsInt(obj4
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 if (arg3
) delete [] arg3
;
12723 if (arg3
) delete [] arg3
;
12729 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxDC
*arg1
= (wxDC
*) 0 ;
12732 wxString
*arg2
= 0 ;
12734 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12735 int arg5
= (int) -1 ;
12736 bool temp2
= False
;
12738 PyObject
* obj0
= 0 ;
12739 PyObject
* obj1
= 0 ;
12740 PyObject
* obj2
= 0 ;
12741 PyObject
* obj3
= 0 ;
12742 PyObject
* obj4
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12751 arg2
= wxString_in_helper(obj1
);
12752 if (arg2
== NULL
) SWIG_fail
;
12757 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12760 arg4
= (int) SWIG_AsInt(obj3
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12764 arg5
= (int) SWIG_AsInt(obj4
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 Py_INCREF(Py_None
); resultobj
= Py_None
;
12789 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxDC
*arg1
= (wxDC
*) 0 ;
12792 wxString
*arg2
= 0 ;
12793 wxBitmap
*arg3
= 0 ;
12795 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12796 int arg6
= (int) -1 ;
12798 bool temp2
= False
;
12800 PyObject
* obj0
= 0 ;
12801 PyObject
* obj1
= 0 ;
12802 PyObject
* obj2
= 0 ;
12803 PyObject
* obj3
= 0 ;
12804 PyObject
* obj4
= 0 ;
12805 PyObject
* obj5
= 0 ;
12806 char *kwnames
[] = {
12807 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12814 arg2
= wxString_in_helper(obj1
);
12815 if (arg2
== NULL
) SWIG_fail
;
12818 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12821 if (arg3
== NULL
) {
12822 PyErr_SetString(PyExc_TypeError
,"null reference");
12827 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12830 arg5
= (int) SWIG_AsInt(obj4
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12834 arg6
= (int) SWIG_AsInt(obj5
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12845 wxRect
* resultptr
;
12846 resultptr
= new wxRect((wxRect
&) result
);
12847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12863 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxDC
*arg1
= (wxDC
*) 0 ;
12867 wxPoint
*arg3
= (wxPoint
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self",(char *) "points", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12879 if (arg3
== NULL
) SWIG_fail
;
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 (arg1
)->DrawSpline(arg2
,arg3
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12888 Py_INCREF(Py_None
); resultobj
= Py_None
;
12890 if (arg3
) delete [] arg3
;
12895 if (arg3
) delete [] arg3
;
12901 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxDC
*arg1
= (wxDC
*) 0 ;
12904 PyObject
* obj0
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "self", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 wxPyEndAllowThreads(__tstate
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 Py_INCREF(Py_None
); resultobj
= Py_None
;
12926 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
;
12928 wxDC
*arg1
= (wxDC
*) 0 ;
12929 wxString
*arg2
= 0 ;
12931 bool temp2
= False
;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self",(char *) "message", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12942 arg2
= wxString_in_helper(obj1
);
12943 if (arg2
== NULL
) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12970 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxDC
*arg1
= (wxDC
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 Py_INCREF(Py_None
); resultobj
= Py_None
;
12995 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxDC
*arg1
= (wxDC
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
13004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 (arg1
)->StartPage();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 Py_INCREF(Py_None
); resultobj
= Py_None
;
13020 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxDC
*arg1
= (wxDC
*) 0 ;
13023 PyObject
* obj0
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self", NULL
13028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
13029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 Py_INCREF(Py_None
); resultobj
= Py_None
;
13045 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxDC
*arg1
= (wxDC
*) 0 ;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 char *kwnames
[] = {
13052 (char *) "self",(char *) "font", NULL
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13061 if (arg2
== NULL
) {
13062 PyErr_SetString(PyExc_TypeError
,"null reference");
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 (arg1
)->SetFont((wxFont
const &)*arg2
);
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 Py_INCREF(Py_None
); resultobj
= Py_None
;
13079 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
;
13081 wxDC
*arg1
= (wxDC
*) 0 ;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self",(char *) "pen", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
13090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
13093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13095 if (arg2
== NULL
) {
13096 PyErr_SetString(PyExc_TypeError
,"null reference");
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 (arg1
)->SetPen((wxPen
const &)*arg2
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 Py_INCREF(Py_None
); resultobj
= Py_None
;
13113 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxDC
*arg1
= (wxDC
*) 0 ;
13116 wxBrush
*arg2
= 0 ;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 char *kwnames
[] = {
13120 (char *) "self",(char *) "brush", NULL
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13129 if (arg2
== NULL
) {
13130 PyErr_SetString(PyExc_TypeError
,"null reference");
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 Py_INCREF(Py_None
); resultobj
= Py_None
;
13147 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxDC
*arg1
= (wxDC
*) 0 ;
13150 wxBrush
*arg2
= 0 ;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 char *kwnames
[] = {
13154 (char *) "self",(char *) "brush", NULL
13157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13163 if (arg2
== NULL
) {
13164 PyErr_SetString(PyExc_TypeError
,"null reference");
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 Py_INCREF(Py_None
); resultobj
= Py_None
;
13181 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxDC
*arg1
= (wxDC
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "self",(char *) "mode", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13194 arg2
= (int) SWIG_AsInt(obj1
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 (arg1
)->SetBackgroundMode(arg2
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 Py_INCREF(Py_None
); resultobj
= Py_None
;
13210 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxDC
*arg1
= (wxDC
*) 0 ;
13213 wxPalette
*arg2
= 0 ;
13214 PyObject
* obj0
= 0 ;
13215 PyObject
* obj1
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self",(char *) "palette", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13226 if (arg2
== NULL
) {
13227 PyErr_SetString(PyExc_TypeError
,"null reference");
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 Py_INCREF(Py_None
); resultobj
= Py_None
;
13244 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxDC
*arg1
= (wxDC
*) 0 ;
13247 PyObject
* obj0
= 0 ;
13248 char *kwnames
[] = {
13249 (char *) "self", NULL
13252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 (arg1
)->DestroyClippingRegion();
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 Py_INCREF(Py_None
); resultobj
= Py_None
;
13269 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxDC
*arg1
= (wxDC
*) 0 ;
13272 int *arg2
= (int *) 0 ;
13273 int *arg3
= (int *) 0 ;
13274 int *arg4
= (int *) 0 ;
13275 int *arg5
= (int *) 0 ;
13280 PyObject
* obj0
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 Py_INCREF(Py_None
); resultobj
= Py_None
;
13301 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13302 resultobj
= t_output_helper(resultobj
,o
);
13305 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13306 resultobj
= t_output_helper(resultobj
,o
);
13309 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13310 resultobj
= t_output_helper(resultobj
,o
);
13313 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13314 resultobj
= t_output_helper(resultobj
,o
);
13322 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxDC
*arg1
= (wxDC
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 result
= wxDC_GetClippingRect(arg1
);
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13342 wxRect
* resultptr
;
13343 resultptr
= new wxRect((wxRect
&) result
);
13344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13352 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
;
13354 wxDC
*arg1
= (wxDC
*) 0 ;
13356 PyObject
* obj0
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_FromInt((int)result
);
13378 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
;
13380 wxDC
*arg1
= (wxDC
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "self", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= SWIG_FromInt((int)result
);
13404 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
;
13406 wxDC
*arg1
= (wxDC
*) 0 ;
13407 wxString
*arg2
= 0 ;
13408 int *arg3
= (int *) 0 ;
13409 int *arg4
= (int *) 0 ;
13410 bool temp2
= False
;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self",(char *) "string", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13425 arg2
= wxString_in_helper(obj1
);
13426 if (arg2
== NULL
) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 Py_INCREF(Py_None
); resultobj
= Py_None
;
13438 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13439 resultobj
= t_output_helper(resultobj
,o
);
13442 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13443 resultobj
= t_output_helper(resultobj
,o
);
13459 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxDC
*arg1
= (wxDC
*) 0 ;
13462 wxString
*arg2
= 0 ;
13463 int *arg3
= (int *) 0 ;
13464 int *arg4
= (int *) 0 ;
13465 int *arg5
= (int *) 0 ;
13466 int *arg6
= (int *) 0 ;
13467 wxFont
*arg7
= (wxFont
*) NULL
;
13468 bool temp2
= False
;
13473 PyObject
* obj0
= 0 ;
13474 PyObject
* obj1
= 0 ;
13475 PyObject
* obj2
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self",(char *) "string",(char *) "font", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 arg2
= wxString_in_helper(obj1
);
13489 if (arg2
== NULL
) SWIG_fail
;
13493 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 Py_INCREF(Py_None
); resultobj
= Py_None
;
13505 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13506 resultobj
= t_output_helper(resultobj
,o
);
13509 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13510 resultobj
= t_output_helper(resultobj
,o
);
13513 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13514 resultobj
= t_output_helper(resultobj
,o
);
13517 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13518 resultobj
= t_output_helper(resultobj
,o
);
13534 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxDC
*arg1
= (wxDC
*) 0 ;
13537 wxString
*arg2
= 0 ;
13538 int *arg3
= (int *) 0 ;
13539 int *arg4
= (int *) 0 ;
13540 int *arg5
= (int *) 0 ;
13541 wxFont
*arg6
= (wxFont
*) NULL
;
13542 bool temp2
= False
;
13546 PyObject
* obj0
= 0 ;
13547 PyObject
* obj1
= 0 ;
13548 PyObject
* obj2
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "self",(char *) "text",(char *) "font", NULL
13556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13560 arg2
= wxString_in_helper(obj1
);
13561 if (arg2
== NULL
) SWIG_fail
;
13565 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13572 wxPyEndAllowThreads(__tstate
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13575 Py_INCREF(Py_None
); resultobj
= Py_None
;
13577 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13578 resultobj
= t_output_helper(resultobj
,o
);
13581 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13582 resultobj
= t_output_helper(resultobj
,o
);
13585 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13586 resultobj
= t_output_helper(resultobj
,o
);
13602 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
;
13604 wxDC
*arg1
= (wxDC
*) 0 ;
13605 wxString
*arg2
= 0 ;
13607 bool temp2
= False
;
13608 PyObject
* obj0
= 0 ;
13609 PyObject
* obj1
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self",(char *) "text", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13618 arg2
= wxString_in_helper(obj1
);
13619 if (arg2
== NULL
) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= PyList_New(0);
13632 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13633 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13634 PyList_Append(resultobj
, val
);
13652 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxDC
*arg1
= (wxDC
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (arg1
)->GetSize();
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13672 wxSize
* resultptr
;
13673 resultptr
= new wxSize((wxSize
&) result
);
13674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13682 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxDC
*arg1
= (wxDC
*) 0 ;
13685 int *arg2
= (int *) 0 ;
13686 int *arg3
= (int *) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "self", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 (arg1
)->GetSize(arg2
,arg3
);
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 Py_INCREF(Py_None
); resultobj
= Py_None
;
13708 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13709 resultobj
= t_output_helper(resultobj
,o
);
13712 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13713 resultobj
= t_output_helper(resultobj
,o
);
13721 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
;
13723 wxDC
*arg1
= (wxDC
*) 0 ;
13725 PyObject
* obj0
= 0 ;
13726 char *kwnames
[] = {
13727 (char *) "self", NULL
13730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13741 wxSize
* resultptr
;
13742 resultptr
= new wxSize((wxSize
&) result
);
13743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13751 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
;
13753 wxDC
*arg1
= (wxDC
*) 0 ;
13754 int *arg2
= (int *) 0 ;
13755 int *arg3
= (int *) 0 ;
13758 PyObject
* obj0
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "self", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 Py_INCREF(Py_None
); resultobj
= Py_None
;
13777 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13778 resultobj
= t_output_helper(resultobj
,o
);
13781 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13782 resultobj
= t_output_helper(resultobj
,o
);
13790 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxDC
*arg1
= (wxDC
*) 0 ;
13795 PyObject
* obj0
= 0 ;
13796 PyObject
* obj1
= 0 ;
13797 char *kwnames
[] = {
13798 (char *) "self",(char *) "x", NULL
13801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13804 arg2
= (int) SWIG_AsInt(obj1
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= SWIG_FromInt((int)result
);
13820 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxDC
*arg1
= (wxDC
*) 0 ;
13825 PyObject
* obj0
= 0 ;
13826 PyObject
* obj1
= 0 ;
13827 char *kwnames
[] = {
13828 (char *) "self",(char *) "y", NULL
13831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13834 arg2
= (int) SWIG_AsInt(obj1
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= SWIG_FromInt((int)result
);
13850 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
;
13852 wxDC
*arg1
= (wxDC
*) 0 ;
13855 PyObject
* obj0
= 0 ;
13856 PyObject
* obj1
= 0 ;
13857 char *kwnames
[] = {
13858 (char *) "self",(char *) "x", NULL
13861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13864 arg2
= (int) SWIG_AsInt(obj1
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_FromInt((int)result
);
13880 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxDC
*arg1
= (wxDC
*) 0 ;
13885 PyObject
* obj0
= 0 ;
13886 PyObject
* obj1
= 0 ;
13887 char *kwnames
[] = {
13888 (char *) "self",(char *) "y", NULL
13891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13894 arg2
= (int) SWIG_AsInt(obj1
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_FromInt((int)result
);
13910 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13911 PyObject
*resultobj
;
13912 wxDC
*arg1
= (wxDC
*) 0 ;
13915 PyObject
* obj0
= 0 ;
13916 PyObject
* obj1
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self",(char *) "x", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13924 arg2
= (int) SWIG_AsInt(obj1
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= SWIG_FromInt((int)result
);
13940 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxDC
*arg1
= (wxDC
*) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 PyObject
* obj1
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self",(char *) "y", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13954 arg2
= (int) SWIG_AsInt(obj1
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 resultobj
= SWIG_FromInt((int)result
);
13970 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
;
13972 wxDC
*arg1
= (wxDC
*) 0 ;
13975 PyObject
* obj0
= 0 ;
13976 PyObject
* obj1
= 0 ;
13977 char *kwnames
[] = {
13978 (char *) "self",(char *) "x", NULL
13981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13984 arg2
= (int) SWIG_AsInt(obj1
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= SWIG_FromInt((int)result
);
14000 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxDC
*arg1
= (wxDC
*) 0 ;
14005 PyObject
* obj0
= 0 ;
14006 PyObject
* obj1
= 0 ;
14007 char *kwnames
[] = {
14008 (char *) "self",(char *) "y", NULL
14011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14014 arg2
= (int) SWIG_AsInt(obj1
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= SWIG_FromInt((int)result
);
14030 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 wxDC
*arg1
= (wxDC
*) 0 ;
14034 PyObject
* obj0
= 0 ;
14035 char *kwnames
[] = {
14036 (char *) "self", NULL
14039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
14040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14058 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
;
14060 wxDC
*arg1
= (wxDC
*) 0 ;
14062 PyObject
* obj0
= 0 ;
14063 char *kwnames
[] = {
14064 (char *) "self", NULL
14067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
14068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14086 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxDC
*arg1
= (wxDC
*) 0 ;
14090 PyObject
* obj0
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "self", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
14096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14105 resultobj
= SWIG_FromInt((int)result
);
14112 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 wxDC
*arg1
= (wxDC
*) 0 ;
14116 PyObject
* obj0
= 0 ;
14117 char *kwnames
[] = {
14118 (char *) "self", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= ((wxDC
const *)arg1
)->GetPPI();
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14132 wxSize
* resultptr
;
14133 resultptr
= new wxSize((wxSize
&) result
);
14134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14142 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
;
14144 wxDC
*arg1
= (wxDC
*) 0 ;
14146 PyObject
* obj0
= 0 ;
14147 char *kwnames
[] = {
14148 (char *) "self", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 result
= (bool)((wxDC
const *)arg1
)->Ok();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14170 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxDC
*arg1
= (wxDC
*) 0 ;
14174 PyObject
* obj0
= 0 ;
14175 char *kwnames
[] = {
14176 (char *) "self", NULL
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= SWIG_FromInt((int)result
);
14196 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxDC
*arg1
= (wxDC
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "self", NULL
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14212 result
= (wxBrush
*) &_result_ref
;
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14219 wxBrush
* resultptr
= new wxBrush(*result
);
14220 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14228 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxDC
*arg1
= (wxDC
*) 0 ;
14232 PyObject
* obj0
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "self", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14244 result
= (wxBrush
*) &_result_ref
;
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14251 wxBrush
* resultptr
= new wxBrush(*result
);
14252 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14260 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxDC
*arg1
= (wxDC
*) 0 ;
14264 PyObject
* obj0
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "self", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14276 result
= (wxFont
*) &_result_ref
;
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14283 wxFont
* resultptr
= new wxFont(*result
);
14284 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14292 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxDC
*arg1
= (wxDC
*) 0 ;
14296 PyObject
* obj0
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "self", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14308 result
= (wxPen
*) &_result_ref
;
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14315 wxPen
* resultptr
= new wxPen(*result
);
14316 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14324 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14325 PyObject
*resultobj
;
14326 wxDC
*arg1
= (wxDC
*) 0 ;
14328 PyObject
* obj0
= 0 ;
14329 char *kwnames
[] = {
14330 (char *) "self", NULL
14333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14340 result
= (wxColour
*) &_result_ref
;
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14353 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxDC
*arg1
= (wxDC
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14369 result
= (wxColour
*) &_result_ref
;
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14382 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxDC
*arg1
= (wxDC
*) 0 ;
14385 wxColour
*arg2
= 0 ;
14387 PyObject
* obj0
= 0 ;
14388 PyObject
* obj1
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self",(char *) "colour", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14398 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 Py_INCREF(Py_None
); resultobj
= Py_None
;
14414 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxDC
*arg1
= (wxDC
*) 0 ;
14417 wxColour
*arg2
= 0 ;
14419 PyObject
* obj0
= 0 ;
14420 PyObject
* obj1
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self",(char *) "colour", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14430 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 Py_INCREF(Py_None
); resultobj
= Py_None
;
14446 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxDC
*arg1
= (wxDC
*) 0 ;
14450 PyObject
* obj0
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= SWIG_FromInt((int)result
);
14472 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
;
14474 wxDC
*arg1
= (wxDC
*) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self",(char *) "mode", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14485 arg2
= (int) SWIG_AsInt(obj1
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 (arg1
)->SetMapMode(arg2
);
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 Py_INCREF(Py_None
); resultobj
= Py_None
;
14501 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxDC
*arg1
= (wxDC
*) 0 ;
14504 double *arg2
= (double *) 0 ;
14505 double *arg3
= (double *) 0 ;
14508 PyObject
* obj0
= 0 ;
14509 char *kwnames
[] = {
14510 (char *) "self", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 Py_INCREF(Py_None
); resultobj
= Py_None
;
14527 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14528 resultobj
= t_output_helper(resultobj
,o
);
14531 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14532 resultobj
= t_output_helper(resultobj
,o
);
14540 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
;
14542 wxDC
*arg1
= (wxDC
*) 0 ;
14545 PyObject
* obj0
= 0 ;
14546 PyObject
* obj1
= 0 ;
14547 PyObject
* obj2
= 0 ;
14548 char *kwnames
[] = {
14549 (char *) "self",(char *) "x",(char *) "y", NULL
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14555 arg2
= (double) SWIG_AsDouble(obj1
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14557 arg3
= (double) SWIG_AsDouble(obj2
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 (arg1
)->SetUserScale(arg2
,arg3
);
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 Py_INCREF(Py_None
); resultobj
= Py_None
;
14573 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxDC
*arg1
= (wxDC
*) 0 ;
14576 double *arg2
= (double *) 0 ;
14577 double *arg3
= (double *) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 (arg1
)->GetLogicalScale(arg2
,arg3
);
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 Py_INCREF(Py_None
); resultobj
= Py_None
;
14599 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14600 resultobj
= t_output_helper(resultobj
,o
);
14603 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14604 resultobj
= t_output_helper(resultobj
,o
);
14612 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxDC
*arg1
= (wxDC
*) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 PyObject
* obj1
= 0 ;
14619 PyObject
* obj2
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self",(char *) "x",(char *) "y", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14627 arg2
= (double) SWIG_AsDouble(obj1
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14629 arg3
= (double) SWIG_AsDouble(obj2
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 (arg1
)->SetLogicalScale(arg2
,arg3
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 Py_INCREF(Py_None
); resultobj
= Py_None
;
14645 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxDC
*arg1
= (wxDC
*) 0 ;
14649 PyObject
* obj0
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14665 wxPoint
* resultptr
;
14666 resultptr
= new wxPoint((wxPoint
&) result
);
14667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14675 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
;
14677 wxDC
*arg1
= (wxDC
*) 0 ;
14678 int *arg2
= (int *) 0 ;
14679 int *arg3
= (int *) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "self", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 Py_INCREF(Py_None
); resultobj
= Py_None
;
14701 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14702 resultobj
= t_output_helper(resultobj
,o
);
14705 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14706 resultobj
= t_output_helper(resultobj
,o
);
14714 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 wxDC
*arg1
= (wxDC
*) 0 ;
14719 PyObject
* obj0
= 0 ;
14720 PyObject
* obj1
= 0 ;
14721 PyObject
* obj2
= 0 ;
14722 char *kwnames
[] = {
14723 (char *) "self",(char *) "x",(char *) "y", NULL
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14729 arg2
= (int) SWIG_AsInt(obj1
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14731 arg3
= (int) SWIG_AsInt(obj2
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 Py_INCREF(Py_None
); resultobj
= Py_None
;
14747 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
;
14749 wxDC
*arg1
= (wxDC
*) 0 ;
14750 wxPoint
*arg2
= 0 ;
14752 PyObject
* obj0
= 0 ;
14753 PyObject
* obj1
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "self",(char *) "point", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 Py_INCREF(Py_None
); resultobj
= Py_None
;
14779 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxDC
*arg1
= (wxDC
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14799 wxPoint
* resultptr
;
14800 resultptr
= new wxPoint((wxPoint
&) result
);
14801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14809 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxDC
*arg1
= (wxDC
*) 0 ;
14812 int *arg2
= (int *) 0 ;
14813 int *arg3
= (int *) 0 ;
14816 PyObject
* obj0
= 0 ;
14817 char *kwnames
[] = {
14818 (char *) "self", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 Py_INCREF(Py_None
); resultobj
= Py_None
;
14835 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14836 resultobj
= t_output_helper(resultobj
,o
);
14839 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14840 resultobj
= t_output_helper(resultobj
,o
);
14848 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxDC
*arg1
= (wxDC
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 PyObject
* obj2
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "self",(char *) "x",(char *) "y", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14863 arg2
= (int) SWIG_AsInt(obj1
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14865 arg3
= (int) SWIG_AsInt(obj2
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 Py_INCREF(Py_None
); resultobj
= Py_None
;
14881 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
;
14883 wxDC
*arg1
= (wxDC
*) 0 ;
14884 wxPoint
*arg2
= 0 ;
14886 PyObject
* obj0
= 0 ;
14887 PyObject
* obj1
= 0 ;
14888 char *kwnames
[] = {
14889 (char *) "self",(char *) "point", NULL
14892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14897 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 Py_INCREF(Py_None
); resultobj
= Py_None
;
14913 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxDC
*arg1
= (wxDC
*) 0 ;
14918 PyObject
* obj0
= 0 ;
14919 PyObject
* obj1
= 0 ;
14920 PyObject
* obj2
= 0 ;
14921 char *kwnames
[] = {
14922 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14928 arg2
= (bool) SWIG_AsBool(obj1
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14930 arg3
= (bool) SWIG_AsBool(obj2
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 Py_INCREF(Py_None
); resultobj
= Py_None
;
14946 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxDC
*arg1
= (wxDC
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "self", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_FromInt((int)result
);
14972 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxDC
*arg1
= (wxDC
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self",(char *) "function", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14985 arg2
= (int) SWIG_AsInt(obj1
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 (arg1
)->SetLogicalFunction(arg2
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 Py_INCREF(Py_None
); resultobj
= Py_None
;
15001 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
;
15003 wxDC
*arg1
= (wxDC
*) 0 ;
15005 PyObject
* obj0
= 0 ;
15006 PyObject
* obj1
= 0 ;
15007 char *kwnames
[] = {
15008 (char *) "self",(char *) "opt", NULL
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
15012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15014 arg2
= (bool) SWIG_AsBool(obj1
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 (arg1
)->SetOptimization(arg2
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 Py_INCREF(Py_None
); resultobj
= Py_None
;
15030 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15032 wxDC
*arg1
= (wxDC
*) 0 ;
15034 PyObject
* obj0
= 0 ;
15035 char *kwnames
[] = {
15036 (char *) "self", NULL
15039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
15040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 result
= (bool)(arg1
)->GetOptimization();
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15058 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxDC
*arg1
= (wxDC
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 PyObject
* obj2
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self",(char *) "x",(char *) "y", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 arg2
= (int) SWIG_AsInt(obj1
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15075 arg3
= (int) SWIG_AsInt(obj2
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 (arg1
)->CalcBoundingBox(arg2
,arg3
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 Py_INCREF(Py_None
); resultobj
= Py_None
;
15091 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 wxDC
*arg1
= (wxDC
*) 0 ;
15094 wxPoint
*arg2
= 0 ;
15096 PyObject
* obj0
= 0 ;
15097 PyObject
* obj1
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self",(char *) "point", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 Py_INCREF(Py_None
); resultobj
= Py_None
;
15123 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxDC
*arg1
= (wxDC
*) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 (arg1
)->ResetBoundingBox();
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 Py_INCREF(Py_None
); resultobj
= Py_None
;
15148 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxDC
*arg1
= (wxDC
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (int)((wxDC
const *)arg1
)->MinX();
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= SWIG_FromInt((int)result
);
15174 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxDC
*arg1
= (wxDC
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (int)((wxDC
const *)arg1
)->MaxX();
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_FromInt((int)result
);
15200 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
;
15202 wxDC
*arg1
= (wxDC
*) 0 ;
15204 PyObject
* obj0
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (int)((wxDC
const *)arg1
)->MinY();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= SWIG_FromInt((int)result
);
15226 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxDC
*arg1
= (wxDC
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (int)((wxDC
const *)arg1
)->MaxY();
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= SWIG_FromInt((int)result
);
15252 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxDC
*arg1
= (wxDC
*) 0 ;
15255 int *arg2
= (int *) 0 ;
15256 int *arg3
= (int *) 0 ;
15257 int *arg4
= (int *) 0 ;
15258 int *arg5
= (int *) 0 ;
15263 PyObject
* obj0
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 Py_INCREF(Py_None
); resultobj
= Py_None
;
15284 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15285 resultobj
= t_output_helper(resultobj
,o
);
15288 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15289 resultobj
= t_output_helper(resultobj
,o
);
15292 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15293 resultobj
= t_output_helper(resultobj
,o
);
15296 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
15297 resultobj
= t_output_helper(resultobj
,o
);
15305 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxDC
*arg1
= (wxDC
*) 0 ;
15308 PyObject
*arg2
= (PyObject
*) 0 ;
15309 PyObject
*arg3
= (PyObject
*) 0 ;
15310 PyObject
*arg4
= (PyObject
*) 0 ;
15312 PyObject
* obj0
= 0 ;
15313 PyObject
* obj1
= 0 ;
15314 PyObject
* obj2
= 0 ;
15315 PyObject
* obj3
= 0 ;
15316 char *kwnames
[] = {
15317 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= result
;
15340 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxDC
*arg1
= (wxDC
*) 0 ;
15343 PyObject
*arg2
= (PyObject
*) 0 ;
15344 PyObject
*arg3
= (PyObject
*) 0 ;
15345 PyObject
*arg4
= (PyObject
*) 0 ;
15347 PyObject
* obj0
= 0 ;
15348 PyObject
* obj1
= 0 ;
15349 PyObject
* obj2
= 0 ;
15350 PyObject
* obj3
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= result
;
15375 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 wxDC
*arg1
= (wxDC
*) 0 ;
15378 PyObject
*arg2
= (PyObject
*) 0 ;
15379 PyObject
*arg3
= (PyObject
*) 0 ;
15380 PyObject
*arg4
= (PyObject
*) 0 ;
15382 PyObject
* obj0
= 0 ;
15383 PyObject
* obj1
= 0 ;
15384 PyObject
* obj2
= 0 ;
15385 PyObject
* obj3
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= result
;
15410 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxDC
*arg1
= (wxDC
*) 0 ;
15413 PyObject
*arg2
= (PyObject
*) 0 ;
15414 PyObject
*arg3
= (PyObject
*) 0 ;
15415 PyObject
*arg4
= (PyObject
*) 0 ;
15417 PyObject
* obj0
= 0 ;
15418 PyObject
* obj1
= 0 ;
15419 PyObject
* obj2
= 0 ;
15420 PyObject
* obj3
= 0 ;
15421 char *kwnames
[] = {
15422 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15438 resultobj
= result
;
15445 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15446 PyObject
*resultobj
;
15447 wxDC
*arg1
= (wxDC
*) 0 ;
15448 PyObject
*arg2
= (PyObject
*) 0 ;
15449 PyObject
*arg3
= (PyObject
*) 0 ;
15450 PyObject
*arg4
= (PyObject
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 PyObject
* obj2
= 0 ;
15455 PyObject
* obj3
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= result
;
15480 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15482 wxDC
*arg1
= (wxDC
*) 0 ;
15483 PyObject
*arg2
= (PyObject
*) 0 ;
15484 PyObject
*arg3
= (PyObject
*) 0 ;
15485 PyObject
*arg4
= (PyObject
*) 0 ;
15486 PyObject
*arg5
= (PyObject
*) 0 ;
15488 PyObject
* obj0
= 0 ;
15489 PyObject
* obj1
= 0 ;
15490 PyObject
* obj2
= 0 ;
15491 PyObject
* obj3
= 0 ;
15492 PyObject
* obj4
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= result
;
15518 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15521 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15523 return Py_BuildValue((char *)"");
15525 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
;
15527 wxMemoryDC
*result
;
15528 char *kwnames
[] = {
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 result
= (wxMemoryDC
*)new wxMemoryDC();
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15547 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxDC
*arg1
= (wxDC
*) 0 ;
15550 wxMemoryDC
*result
;
15551 PyObject
* obj0
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "oldDC", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15573 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15576 wxBitmap
*arg2
= 0 ;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self",(char *) "bitmap", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15589 if (arg2
== NULL
) {
15590 PyErr_SetString(PyExc_TypeError
,"null reference");
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 Py_INCREF(Py_None
); resultobj
= Py_None
;
15607 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15610 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15612 return Py_BuildValue((char *)"");
15614 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15615 PyObject
*resultobj
;
15616 wxDC
*arg1
= (wxDC
*) 0 ;
15617 wxBitmap
*arg2
= 0 ;
15618 wxBufferedDC
*result
;
15619 PyObject
* obj0
= 0 ;
15620 PyObject
* obj1
= 0 ;
15622 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15628 if (arg2
== NULL
) {
15629 PyErr_SetString(PyExc_TypeError
,"null reference");
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15646 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15647 PyObject
*resultobj
;
15648 wxDC
*arg1
= (wxDC
*) 0 ;
15650 wxBufferedDC
*result
;
15652 PyObject
* obj0
= 0 ;
15653 PyObject
* obj1
= 0 ;
15655 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15660 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15676 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15681 argc
= PyObject_Length(args
);
15682 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15683 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15689 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15699 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15707 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15715 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15724 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15727 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15732 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15737 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15738 PyObject
*resultobj
;
15739 wxDC
*arg1
= (wxDC
*) 0 ;
15741 wxBufferedDC
*result
;
15743 PyObject
* obj0
= 0 ;
15744 PyObject
* obj1
= 0 ;
15746 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15751 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15767 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15770 PyObject
* obj0
= 0 ;
15771 char *kwnames
[] = {
15772 (char *) "self", NULL
15775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 Py_INCREF(Py_None
); resultobj
= Py_None
;
15792 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 Py_INCREF(Py_None
); resultobj
= Py_None
;
15817 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15820 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15822 return Py_BuildValue((char *)"");
15824 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxWindow
*arg1
= (wxWindow
*) 0 ;
15827 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15828 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15829 wxBufferedPaintDC
*result
;
15830 PyObject
* obj0
= 0 ;
15831 PyObject
* obj1
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "window",(char *) "buffer", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15843 if (arg2
== NULL
) {
15844 PyErr_SetString(PyExc_TypeError
,"null reference");
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15862 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15865 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15867 return Py_BuildValue((char *)"");
15869 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
;
15871 wxScreenDC
*result
;
15872 char *kwnames
[] = {
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (wxScreenDC
*)new wxScreenDC();
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15891 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15894 wxWindow
*arg2
= (wxWindow
*) 0 ;
15896 PyObject
* obj0
= 0 ;
15897 PyObject
* obj1
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self",(char *) "window", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15923 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
;
15925 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15926 wxRect
*arg2
= (wxRect
*) NULL
;
15928 PyObject
* obj0
= 0 ;
15929 PyObject
* obj1
= 0 ;
15930 char *kwnames
[] = {
15931 (char *) "self",(char *) "rect", NULL
15934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15957 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
;
15959 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15961 PyObject
* obj0
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 result
= (bool)(arg1
)->EndDrawingOnTop();
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15985 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15988 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15990 return Py_BuildValue((char *)"");
15992 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
;
15994 wxWindow
*arg1
= (wxWindow
*) 0 ;
15995 wxClientDC
*result
;
15996 PyObject
* obj0
= 0 ;
15997 char *kwnames
[] = {
15998 (char *) "win", NULL
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
16002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (wxClientDC
*)new wxClientDC(arg1
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
16018 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
16020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16021 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
16023 return Py_BuildValue((char *)"");
16025 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxWindow
*arg1
= (wxWindow
*) 0 ;
16029 PyObject
* obj0
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "win", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
16035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
16051 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
16053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16054 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
16056 return Py_BuildValue((char *)"");
16058 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxWindow
*arg1
= (wxWindow
*) 0 ;
16061 wxWindowDC
*result
;
16062 PyObject
* obj0
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "win", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
16068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
16084 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
16086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16087 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
16089 return Py_BuildValue((char *)"");
16091 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16095 wxMirrorDC
*result
;
16096 PyObject
* obj0
= 0 ;
16097 PyObject
* obj1
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "dc",(char *) "mirror", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16106 if (arg1
== NULL
) {
16107 PyErr_SetString(PyExc_TypeError
,"null reference");
16110 arg2
= (bool) SWIG_AsBool(obj1
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
16126 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
16128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16129 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
16131 return Py_BuildValue((char *)"");
16133 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxPrintData
*arg1
= 0 ;
16136 wxPostScriptDC
*result
;
16137 PyObject
* obj0
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "printData", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16146 if (arg1
== NULL
) {
16147 PyErr_SetString(PyExc_TypeError
,"null reference");
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16164 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
;
16166 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16167 wxPrintData
*result
;
16168 PyObject
* obj0
= 0 ;
16169 char *kwnames
[] = {
16170 (char *) "self", NULL
16173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16180 result
= (wxPrintData
*) &_result_ref
;
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16193 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16196 wxPrintData
*arg2
= 0 ;
16197 PyObject
* obj0
= 0 ;
16198 PyObject
* obj1
= 0 ;
16199 char *kwnames
[] = {
16200 (char *) "self",(char *) "data", NULL
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16209 if (arg2
== NULL
) {
16210 PyErr_SetString(PyExc_TypeError
,"null reference");
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 Py_INCREF(Py_None
); resultobj
= Py_None
;
16227 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
;
16230 PyObject
* obj0
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "ppi", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16236 arg1
= (int) SWIG_AsInt(obj0
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 wxPostScriptDC::SetResolution(arg1
);
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16245 Py_INCREF(Py_None
); resultobj
= Py_None
;
16252 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16253 PyObject
*resultobj
;
16255 char *kwnames
[] = {
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (int)wxPostScriptDC::GetResolution();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= SWIG_FromInt((int)result
);
16274 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
16276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16277 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16279 return Py_BuildValue((char *)"");
16281 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
;
16283 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16284 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16285 wxMetaFile
*result
;
16286 bool temp1
= False
;
16287 PyObject
* obj0
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "filename", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16295 arg1
= wxString_in_helper(obj0
);
16296 if (arg1
== NULL
) SWIG_fail
;
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16322 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
;
16324 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16325 PyObject
* obj0
= 0 ;
16326 char *kwnames
[] = {
16327 (char *) "self", NULL
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 Py_INCREF(Py_None
); resultobj
= Py_None
;
16347 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
;
16349 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16351 PyObject
* obj0
= 0 ;
16352 char *kwnames
[] = {
16353 (char *) "self", NULL
16356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (bool)(arg1
)->Ok();
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16375 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16378 int arg2
= (int) 0 ;
16379 int arg3
= (int) 0 ;
16381 PyObject
* obj0
= 0 ;
16382 PyObject
* obj1
= 0 ;
16383 PyObject
* obj2
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self",(char *) "width",(char *) "height", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16392 arg2
= (int) SWIG_AsInt(obj1
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16396 arg3
= (int) SWIG_AsInt(obj2
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16415 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 char *kwnames
[] = {
16421 (char *) "self", NULL
16424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= (arg1
)->GetSize();
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16435 wxSize
* resultptr
;
16436 resultptr
= new wxSize((wxSize
&) result
);
16437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16445 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16446 PyObject
*resultobj
;
16447 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16449 PyObject
* obj0
= 0 ;
16450 char *kwnames
[] = {
16451 (char *) "self", NULL
16454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 result
= (int)(arg1
)->GetWidth();
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 resultobj
= SWIG_FromInt((int)result
);
16471 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 char *kwnames
[] = {
16477 (char *) "self", NULL
16480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= (int)(arg1
)->GetHeight();
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16490 resultobj
= SWIG_FromInt((int)result
);
16497 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
;
16499 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
16513 result
= (wxString
*) &_result_ref
;
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16523 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16532 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
16534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16535 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16537 return Py_BuildValue((char *)"");
16539 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
;
16541 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16542 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16543 int arg2
= (int) 0 ;
16544 int arg3
= (int) 0 ;
16545 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16546 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16547 wxMetaFileDC
*result
;
16548 bool temp1
= False
;
16549 bool temp4
= False
;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 PyObject
* obj2
= 0 ;
16553 PyObject
* obj3
= 0 ;
16554 char *kwnames
[] = {
16555 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16561 arg1
= wxString_in_helper(obj0
);
16562 if (arg1
== NULL
) SWIG_fail
;
16567 arg2
= (int) SWIG_AsInt(obj1
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16571 arg3
= (int) SWIG_AsInt(obj2
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16576 arg4
= wxString_in_helper(obj3
);
16577 if (arg4
== NULL
) SWIG_fail
;
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16611 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16614 wxMetaFile
*result
;
16615 PyObject
* obj0
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= (wxMetaFile
*)(arg1
)->Close();
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16637 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16640 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16642 return Py_BuildValue((char *)"");
16644 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxPrintData
*arg1
= 0 ;
16647 wxPrinterDC
*result
;
16648 PyObject
* obj0
= 0 ;
16649 char *kwnames
[] = {
16650 (char *) "printData", NULL
16653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16657 if (arg1
== NULL
) {
16658 PyErr_SetString(PyExc_TypeError
,"null reference");
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16675 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16678 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16680 return Py_BuildValue((char *)"");
16682 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16686 int arg3
= (int) True
;
16687 int arg4
= (int) 1 ;
16688 wxImageList
*result
;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 PyObject
* obj2
= 0 ;
16692 PyObject
* obj3
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16698 arg1
= (int) SWIG_AsInt(obj0
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16700 arg2
= (int) SWIG_AsInt(obj1
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16703 arg3
= (int) SWIG_AsInt(obj2
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 arg4
= (int) SWIG_AsInt(obj3
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= wxPyMake_wxObject(result
);
16726 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
;
16728 wxImageList
*arg1
= (wxImageList
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 Py_INCREF(Py_None
); resultobj
= Py_None
;
16751 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxImageList
*arg1
= (wxImageList
*) 0 ;
16754 wxBitmap
*arg2
= 0 ;
16755 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16756 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16758 PyObject
* obj0
= 0 ;
16759 PyObject
* obj1
= 0 ;
16760 PyObject
* obj2
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16771 if (arg2
== NULL
) {
16772 PyErr_SetString(PyExc_TypeError
,"null reference");
16776 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16779 if (arg3
== NULL
) {
16780 PyErr_SetString(PyExc_TypeError
,"null reference");
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= SWIG_FromInt((int)result
);
16798 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 wxImageList
*arg1
= (wxImageList
*) 0 ;
16801 wxBitmap
*arg2
= 0 ;
16802 wxColour
*arg3
= 0 ;
16805 PyObject
* obj0
= 0 ;
16806 PyObject
* obj1
= 0 ;
16807 PyObject
* obj2
= 0 ;
16808 char *kwnames
[] = {
16809 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16818 if (arg2
== NULL
) {
16819 PyErr_SetString(PyExc_TypeError
,"null reference");
16824 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= SWIG_FromInt((int)result
);
16840 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxImageList
*arg1
= (wxImageList
*) 0 ;
16845 PyObject
* obj0
= 0 ;
16846 PyObject
* obj1
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self",(char *) "icon", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16857 if (arg2
== NULL
) {
16858 PyErr_SetString(PyExc_TypeError
,"null reference");
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= SWIG_FromInt((int)result
);
16875 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 wxImageList
*arg1
= (wxImageList
*) 0 ;
16879 wxBitmap
*arg3
= 0 ;
16880 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
16881 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
16883 PyObject
* obj0
= 0 ;
16884 PyObject
* obj1
= 0 ;
16885 PyObject
* obj2
= 0 ;
16886 PyObject
* obj3
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16894 arg2
= (int) SWIG_AsInt(obj1
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16896 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16899 if (arg3
== NULL
) {
16900 PyErr_SetString(PyExc_TypeError
,"null reference");
16904 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16907 if (arg4
== NULL
) {
16908 PyErr_SetString(PyExc_TypeError
,"null reference");
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16928 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 wxImageList
*arg1
= (wxImageList
*) 0 ;
16935 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16936 bool arg7
= (bool) (bool)False
;
16938 PyObject
* obj0
= 0 ;
16939 PyObject
* obj1
= 0 ;
16940 PyObject
* obj2
= 0 ;
16941 PyObject
* obj3
= 0 ;
16942 PyObject
* obj4
= 0 ;
16943 PyObject
* obj5
= 0 ;
16944 PyObject
* obj6
= 0 ;
16945 char *kwnames
[] = {
16946 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16952 arg2
= (int) SWIG_AsInt(obj1
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16954 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16957 if (arg3
== NULL
) {
16958 PyErr_SetString(PyExc_TypeError
,"null reference");
16961 arg4
= (int) SWIG_AsInt(obj3
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16963 arg5
= (int) SWIG_AsInt(obj4
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 arg6
= (int) SWIG_AsInt(obj5
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16970 arg7
= (bool const) SWIG_AsBool(obj6
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16989 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16990 PyObject
*resultobj
;
16991 wxImageList
*arg1
= (wxImageList
*) 0 ;
16993 PyObject
* obj0
= 0 ;
16994 char *kwnames
[] = {
16995 (char *) "self", NULL
16998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 result
= (int)(arg1
)->GetImageCount();
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17008 resultobj
= SWIG_FromInt((int)result
);
17015 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxImageList
*arg1
= (wxImageList
*) 0 ;
17020 PyObject
* obj0
= 0 ;
17021 PyObject
* obj1
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self",(char *) "index", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
17027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17029 arg2
= (int) SWIG_AsInt(obj1
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= (bool)(arg1
)->Remove(arg2
);
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17047 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxImageList
*arg1
= (wxImageList
*) 0 ;
17051 PyObject
* obj0
= 0 ;
17052 char *kwnames
[] = {
17053 (char *) "self", NULL
17056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
17057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= (bool)(arg1
)->RemoveAll();
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17075 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 wxImageList
*arg1
= (wxImageList
*) 0 ;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self",(char *) "index", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17094 arg2
= (int) SWIG_AsInt(obj1
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17103 Py_INCREF(Py_None
); resultobj
= Py_None
;
17105 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17106 resultobj
= t_output_helper(resultobj
,o
);
17109 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
17110 resultobj
= t_output_helper(resultobj
,o
);
17118 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
17120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17121 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
17123 return Py_BuildValue((char *)"");
17125 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
17126 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
17131 static PyObject
*_wrap_NORMAL_FONT_get() {
17134 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
17139 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
17140 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
17145 static PyObject
*_wrap_SMALL_FONT_get() {
17148 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
17153 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
17154 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
17159 static PyObject
*_wrap_ITALIC_FONT_get() {
17162 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
17167 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
17168 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
17173 static PyObject
*_wrap_SWISS_FONT_get() {
17176 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
17181 static int _wrap_RED_PEN_set(PyObject
*_val
) {
17182 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
17187 static PyObject
*_wrap_RED_PEN_get() {
17190 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
17195 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
17196 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
17201 static PyObject
*_wrap_CYAN_PEN_get() {
17204 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
17209 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
17210 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
17215 static PyObject
*_wrap_GREEN_PEN_get() {
17218 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17223 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
17224 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17229 static PyObject
*_wrap_BLACK_PEN_get() {
17232 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17237 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
17238 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17243 static PyObject
*_wrap_WHITE_PEN_get() {
17246 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17251 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
17252 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17257 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17260 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17265 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
17266 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17271 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17274 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17279 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
17280 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17285 static PyObject
*_wrap_GREY_PEN_get() {
17288 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17293 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
17294 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17299 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17302 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17307 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
17308 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17313 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17316 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17321 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
17322 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17327 static PyObject
*_wrap_BLUE_BRUSH_get() {
17330 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17335 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
17336 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17341 static PyObject
*_wrap_GREEN_BRUSH_get() {
17344 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17349 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
17350 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17355 static PyObject
*_wrap_WHITE_BRUSH_get() {
17358 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17363 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
17364 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17369 static PyObject
*_wrap_BLACK_BRUSH_get() {
17372 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17377 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
17378 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17383 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17386 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17391 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
17392 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17397 static PyObject
*_wrap_CYAN_BRUSH_get() {
17400 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17405 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
17406 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17411 static PyObject
*_wrap_RED_BRUSH_get() {
17414 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17419 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
17420 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17425 static PyObject
*_wrap_GREY_BRUSH_get() {
17428 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17433 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
17434 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17439 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17442 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17447 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
17448 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17453 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17456 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17461 static int _wrap_BLACK_set(PyObject
*_val
) {
17462 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17467 static PyObject
*_wrap_BLACK_get() {
17470 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17475 static int _wrap_WHITE_set(PyObject
*_val
) {
17476 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17481 static PyObject
*_wrap_WHITE_get() {
17484 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17489 static int _wrap_RED_set(PyObject
*_val
) {
17490 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17495 static PyObject
*_wrap_RED_get() {
17498 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17503 static int _wrap_BLUE_set(PyObject
*_val
) {
17504 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17509 static PyObject
*_wrap_BLUE_get() {
17512 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17517 static int _wrap_GREEN_set(PyObject
*_val
) {
17518 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17523 static PyObject
*_wrap_GREEN_get() {
17526 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17531 static int _wrap_CYAN_set(PyObject
*_val
) {
17532 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17537 static PyObject
*_wrap_CYAN_get() {
17540 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17545 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
17546 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17551 static PyObject
*_wrap_LIGHT_GREY_get() {
17554 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17559 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
17560 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17565 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17568 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17573 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
17574 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17579 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17582 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17587 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
17588 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17593 static PyObject
*_wrap_CROSS_CURSOR_get() {
17596 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17601 static int _wrap_NullBitmap_set(PyObject
*_val
) {
17602 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17607 static PyObject
*_wrap_NullBitmap_get() {
17610 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17615 static int _wrap_NullIcon_set(PyObject
*_val
) {
17616 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17621 static PyObject
*_wrap_NullIcon_get() {
17624 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17629 static int _wrap_NullCursor_set(PyObject
*_val
) {
17630 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17635 static PyObject
*_wrap_NullCursor_get() {
17638 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17643 static int _wrap_NullPen_set(PyObject
*_val
) {
17644 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17649 static PyObject
*_wrap_NullPen_get() {
17652 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17657 static int _wrap_NullBrush_set(PyObject
*_val
) {
17658 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17663 static PyObject
*_wrap_NullBrush_get() {
17666 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17671 static int _wrap_NullPalette_set(PyObject
*_val
) {
17672 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17677 static PyObject
*_wrap_NullPalette_get() {
17680 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17685 static int _wrap_NullFont_set(PyObject
*_val
) {
17686 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17691 static PyObject
*_wrap_NullFont_get() {
17694 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17699 static int _wrap_NullColour_set(PyObject
*_val
) {
17700 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17705 static PyObject
*_wrap_NullColour_get() {
17708 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17713 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
;
17715 wxPenList
*arg1
= (wxPenList
*) 0 ;
17716 wxPen
*arg2
= (wxPen
*) 0 ;
17717 PyObject
* obj0
= 0 ;
17718 PyObject
* obj1
= 0 ;
17719 char *kwnames
[] = {
17720 (char *) "self",(char *) "pen", NULL
17723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 (arg1
)->AddPen(arg2
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 Py_INCREF(Py_None
); resultobj
= Py_None
;
17742 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
;
17744 wxPenList
*arg1
= (wxPenList
*) 0 ;
17745 wxColour
*arg2
= 0 ;
17750 PyObject
* obj0
= 0 ;
17751 PyObject
* obj1
= 0 ;
17752 PyObject
* obj2
= 0 ;
17753 PyObject
* obj3
= 0 ;
17754 char *kwnames
[] = {
17755 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17763 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17765 arg3
= (int) SWIG_AsInt(obj2
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17767 arg4
= (int) SWIG_AsInt(obj3
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17783 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxPenList
*arg1
= (wxPenList
*) 0 ;
17786 wxPen
*arg2
= (wxPen
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self",(char *) "pen", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 (arg1
)->RemovePen(arg2
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 Py_INCREF(Py_None
); resultobj
= Py_None
;
17812 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxPenList
*arg1
= (wxPenList
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "self", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 result
= (int)(arg1
)->GetCount();
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= SWIG_FromInt((int)result
);
17838 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17841 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17843 return Py_BuildValue((char *)"");
17845 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17847 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17848 wxBrush
*arg2
= (wxBrush
*) 0 ;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self",(char *) "brush", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 (arg1
)->AddBrush(arg2
);
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17867 Py_INCREF(Py_None
); resultobj
= Py_None
;
17874 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17875 PyObject
*resultobj
;
17876 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17877 wxColour
*arg2
= 0 ;
17881 PyObject
* obj0
= 0 ;
17882 PyObject
* obj1
= 0 ;
17883 PyObject
* obj2
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self",(char *) "colour",(char *) "style", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17893 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17895 arg3
= (int) SWIG_AsInt(obj2
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17911 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17914 wxBrush
*arg2
= (wxBrush
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self",(char *) "brush", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 (arg1
)->RemoveBrush(arg2
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 Py_INCREF(Py_None
); resultobj
= Py_None
;
17940 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17944 PyObject
* obj0
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= (int)(arg1
)->GetCount();
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= SWIG_FromInt((int)result
);
17966 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17969 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17971 return Py_BuildValue((char *)"");
17973 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxColourDatabase
*result
;
17976 char *kwnames
[] = {
17980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (wxColourDatabase
*)new wxColourDatabase();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17995 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
18004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 Py_INCREF(Py_None
); resultobj
= Py_None
;
18020 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18023 wxString
*arg2
= 0 ;
18025 bool temp2
= False
;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self",(char *) "name", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
18033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18036 arg2
= wxString_in_helper(obj1
);
18037 if (arg2
== NULL
) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 wxColour
* resultptr
;
18049 resultptr
= new wxColour((wxColour
&) result
);
18050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18066 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18068 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18069 wxColour
*arg2
= 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self",(char *) "colour", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
18079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18083 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18105 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18108 wxString
*arg2
= 0 ;
18109 wxColour
*arg3
= 0 ;
18110 bool temp2
= False
;
18112 PyObject
* obj0
= 0 ;
18113 PyObject
* obj1
= 0 ;
18114 PyObject
* obj2
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self",(char *) "name",(char *) "colour", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18123 arg2
= wxString_in_helper(obj1
);
18124 if (arg2
== NULL
) SWIG_fail
;
18129 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 Py_INCREF(Py_None
); resultobj
= Py_None
;
18153 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18156 wxString
*arg2
= 0 ;
18160 bool temp2
= False
;
18161 PyObject
* obj0
= 0 ;
18162 PyObject
* obj1
= 0 ;
18163 PyObject
* obj2
= 0 ;
18164 PyObject
* obj3
= 0 ;
18165 PyObject
* obj4
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18174 arg2
= wxString_in_helper(obj1
);
18175 if (arg2
== NULL
) SWIG_fail
;
18178 arg3
= (int) SWIG_AsInt(obj2
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18180 arg4
= (int) SWIG_AsInt(obj3
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18182 arg5
= (int) SWIG_AsInt(obj4
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 Py_INCREF(Py_None
); resultobj
= Py_None
;
18206 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
18208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18209 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
18211 return Py_BuildValue((char *)"");
18213 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxFontList
*arg1
= (wxFontList
*) 0 ;
18216 wxFont
*arg2
= (wxFont
*) 0 ;
18217 PyObject
* obj0
= 0 ;
18218 PyObject
* obj1
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self",(char *) "font", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 (arg1
)->AddFont(arg2
);
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 Py_INCREF(Py_None
); resultobj
= Py_None
;
18242 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxFontList
*arg1
= (wxFontList
*) 0 ;
18249 bool arg6
= (bool) False
;
18250 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18251 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18252 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18254 bool temp7
= False
;
18255 PyObject
* obj0
= 0 ;
18256 PyObject
* obj1
= 0 ;
18257 PyObject
* obj2
= 0 ;
18258 PyObject
* obj3
= 0 ;
18259 PyObject
* obj4
= 0 ;
18260 PyObject
* obj5
= 0 ;
18261 PyObject
* obj6
= 0 ;
18262 PyObject
* obj7
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 arg2
= (int) SWIG_AsInt(obj1
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18272 arg3
= (int) SWIG_AsInt(obj2
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18274 arg4
= (int) SWIG_AsInt(obj3
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18276 arg5
= (int) SWIG_AsInt(obj4
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 arg6
= (bool) SWIG_AsBool(obj5
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18284 arg7
= wxString_in_helper(obj6
);
18285 if (arg7
== NULL
) SWIG_fail
;
18290 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18315 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxFontList
*arg1
= (wxFontList
*) 0 ;
18318 wxFont
*arg2
= (wxFont
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 PyObject
* obj1
= 0 ;
18321 char *kwnames
[] = {
18322 (char *) "self",(char *) "font", NULL
18325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 (arg1
)->RemoveFont(arg2
);
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 Py_INCREF(Py_None
); resultobj
= Py_None
;
18344 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
;
18346 wxFontList
*arg1
= (wxFontList
*) 0 ;
18348 PyObject
* obj0
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "self", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 result
= (int)(arg1
)->GetCount();
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 resultobj
= SWIG_FromInt((int)result
);
18370 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
18372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18373 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18375 return Py_BuildValue((char *)"");
18377 static int _wrap_TheFontList_set(PyObject
*_val
) {
18378 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18383 static PyObject
*_wrap_TheFontList_get() {
18386 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18391 static int _wrap_ThePenList_set(PyObject
*_val
) {
18392 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18397 static PyObject
*_wrap_ThePenList_get() {
18400 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18405 static int _wrap_TheBrushList_set(PyObject
*_val
) {
18406 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18411 static PyObject
*_wrap_TheBrushList_get() {
18414 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18419 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
18420 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18425 static PyObject
*_wrap_TheColourDatabase_get() {
18428 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18433 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18436 char *kwnames
[] = {
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 result
= (wxEffects
*)new wxEffects();
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18455 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxEffects
*arg1
= (wxEffects
*) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18475 wxColour
* resultptr
;
18476 resultptr
= new wxColour((wxColour
&) result
);
18477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18485 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxEffects
*arg1
= (wxEffects
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 wxColour
* resultptr
;
18506 resultptr
= new wxColour((wxColour
&) result
);
18507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18515 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 wxEffects
*arg1
= (wxEffects
*) 0 ;
18519 PyObject
* obj0
= 0 ;
18520 char *kwnames
[] = {
18521 (char *) "self", NULL
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18535 wxColour
* resultptr
;
18536 resultptr
= new wxColour((wxColour
&) result
);
18537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18545 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxEffects
*arg1
= (wxEffects
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18565 wxColour
* resultptr
;
18566 resultptr
= new wxColour((wxColour
&) result
);
18567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18575 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxEffects
*arg1
= (wxEffects
*) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self", NULL
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18595 wxColour
* resultptr
;
18596 resultptr
= new wxColour((wxColour
&) result
);
18597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18605 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxEffects
*arg1
= (wxEffects
*) 0 ;
18608 wxColour
*arg2
= 0 ;
18610 PyObject
* obj0
= 0 ;
18611 PyObject
* obj1
= 0 ;
18612 char *kwnames
[] = {
18613 (char *) "self",(char *) "c", NULL
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18621 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 Py_INCREF(Py_None
); resultobj
= Py_None
;
18637 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxEffects
*arg1
= (wxEffects
*) 0 ;
18640 wxColour
*arg2
= 0 ;
18642 PyObject
* obj0
= 0 ;
18643 PyObject
* obj1
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self",(char *) "c", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18653 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 Py_INCREF(Py_None
); resultobj
= Py_None
;
18669 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxEffects
*arg1
= (wxEffects
*) 0 ;
18672 wxColour
*arg2
= 0 ;
18674 PyObject
* obj0
= 0 ;
18675 PyObject
* obj1
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "self",(char *) "c", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18685 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 Py_INCREF(Py_None
); resultobj
= Py_None
;
18701 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxEffects
*arg1
= (wxEffects
*) 0 ;
18704 wxColour
*arg2
= 0 ;
18706 PyObject
* obj0
= 0 ;
18707 PyObject
* obj1
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self",(char *) "c", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 Py_INCREF(Py_None
); resultobj
= Py_None
;
18733 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxEffects
*arg1
= (wxEffects
*) 0 ;
18736 wxColour
*arg2
= 0 ;
18738 PyObject
* obj0
= 0 ;
18739 PyObject
* obj1
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self",(char *) "c", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18749 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 Py_INCREF(Py_None
); resultobj
= Py_None
;
18765 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxEffects
*arg1
= (wxEffects
*) 0 ;
18768 wxColour
*arg2
= 0 ;
18769 wxColour
*arg3
= 0 ;
18770 wxColour
*arg4
= 0 ;
18771 wxColour
*arg5
= 0 ;
18772 wxColour
*arg6
= 0 ;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj1
= 0 ;
18780 PyObject
* obj2
= 0 ;
18781 PyObject
* obj3
= 0 ;
18782 PyObject
* obj4
= 0 ;
18783 PyObject
* obj5
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18793 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18797 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18801 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18805 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18809 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 Py_INCREF(Py_None
); resultobj
= Py_None
;
18825 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
;
18827 wxEffects
*arg1
= (wxEffects
*) 0 ;
18830 int arg4
= (int) 1 ;
18832 PyObject
* obj0
= 0 ;
18833 PyObject
* obj1
= 0 ;
18834 PyObject
* obj2
= 0 ;
18835 PyObject
* obj3
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18846 if (arg2
== NULL
) {
18847 PyErr_SetString(PyExc_TypeError
,"null reference");
18852 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18855 arg4
= (int) SWIG_AsInt(obj3
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 Py_INCREF(Py_None
); resultobj
= Py_None
;
18872 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxEffects
*arg1
= (wxEffects
*) 0 ;
18877 wxBitmap
*arg4
= 0 ;
18880 PyObject
* obj0
= 0 ;
18881 PyObject
* obj1
= 0 ;
18882 PyObject
* obj2
= 0 ;
18883 PyObject
* obj3
= 0 ;
18884 char *kwnames
[] = {
18885 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18893 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18895 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18898 if (arg3
== NULL
) {
18899 PyErr_SetString(PyExc_TypeError
,"null reference");
18902 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18903 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18905 if (arg4
== NULL
) {
18906 PyErr_SetString(PyExc_TypeError
,"null reference");
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18925 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18928 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18930 return Py_BuildValue((char *)"");
18932 static PyMethodDef SwigMethods
[] = {
18933 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18934 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18935 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18936 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18937 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18938 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18939 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18940 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18941 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18942 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18943 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18944 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18945 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18946 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18947 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18948 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18949 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18950 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18951 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18952 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18953 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18954 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18955 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18956 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18957 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18958 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18959 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18960 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18961 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18962 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18963 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18964 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18965 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18966 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18967 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18968 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18969 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18970 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18971 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18972 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18973 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18974 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18975 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18976 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18977 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18978 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18979 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18980 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18981 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18982 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18983 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18984 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18985 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18986 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18987 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18988 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18989 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18990 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18991 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18992 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18993 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18994 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18995 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18996 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18997 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18998 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18999 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
19000 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
19001 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
19002 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19003 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19004 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19005 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19006 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19007 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19008 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19009 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
19010 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
19011 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
19012 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
19013 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19014 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
19015 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
19016 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
19017 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19018 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19019 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19020 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19021 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
19022 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
19023 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
19024 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19025 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19026 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
19027 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
19028 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
19029 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
19030 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
19031 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
19032 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
19033 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19034 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
19035 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
19036 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19037 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19038 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19039 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19040 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19041 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19042 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19043 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19044 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19045 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19046 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19047 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
19048 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
19049 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
19050 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
19051 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19052 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19053 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
19054 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
19055 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
19056 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
19057 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
19058 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
19059 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
19060 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19061 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
19062 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
19063 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
19064 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
19065 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
19066 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
19067 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
19068 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19069 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19070 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19071 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19072 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19073 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19074 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19075 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19076 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19077 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19078 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
19079 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
19080 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19081 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
19082 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
19083 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19084 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
19085 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
19086 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
19087 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
19088 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
19089 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
19090 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
19091 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
19092 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
19093 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
19094 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
19095 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
19096 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
19097 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
19098 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
19099 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
19100 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
19101 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
19102 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
19103 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19104 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19105 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
19106 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
19107 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
19108 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
19109 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
19110 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
19111 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19112 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
19113 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19114 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
19115 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
19116 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
19117 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
19118 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
19119 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
19120 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19121 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19122 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
19123 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
19124 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19125 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19126 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19127 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19128 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19129 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19130 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19131 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19132 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19133 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19134 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19135 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19136 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19137 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19138 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
19139 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
19140 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
19141 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
19142 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
19143 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
19144 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
19145 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
19146 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
19147 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
19148 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
19149 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
19150 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
19151 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
19152 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
19153 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19154 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19155 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
19156 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
19157 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
19158 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
19159 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19160 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
19161 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19162 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19163 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
19164 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
19165 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
19166 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
19167 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
19168 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19169 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
19170 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
19171 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
19172 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
19173 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
19174 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
19175 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
19176 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
19177 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
19178 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19179 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19180 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19181 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19182 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19183 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19184 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19185 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19186 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19187 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19188 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19189 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
19190 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
19191 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
19192 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19193 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19194 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19195 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19196 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19197 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19198 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19199 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19200 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
19201 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
19202 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
19203 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
19204 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
19205 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
19206 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
19207 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19208 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19209 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
19210 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
19211 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
19212 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
19213 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
19214 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
19215 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
19216 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
19217 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
19218 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
19219 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
19220 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
19221 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
19222 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
19223 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
19224 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
19225 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19226 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19227 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
19228 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
19229 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19230 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19231 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19232 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
19233 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19234 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19235 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
19236 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
19237 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
19238 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
19239 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
19240 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19241 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
19242 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19243 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19244 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
19245 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
19246 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
19247 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19248 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
19249 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19250 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19251 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
19252 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
19253 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19254 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19255 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
19256 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
19257 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
19258 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19259 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19260 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
19261 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
19262 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
19263 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
19264 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
19265 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
19266 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
19267 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
19268 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
19269 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
19270 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
19271 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
19272 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
19273 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19274 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
19275 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
19276 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19277 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19278 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
19279 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19280 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19281 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
19282 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
19283 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
19284 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
19285 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
19286 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
19287 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
19288 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
19289 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19290 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
19291 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
19292 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
19293 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
19294 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
19295 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
19296 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19297 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19298 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19299 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
19300 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19301 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
19302 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
19303 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
19304 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
19305 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
19306 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19307 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
19308 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
19309 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
19310 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
19311 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
19312 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
19313 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19314 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19315 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19316 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
19317 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19318 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
19319 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19320 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
19321 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
19322 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19323 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19324 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19325 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
19326 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19327 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
19328 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
19329 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
19330 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
19331 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
19332 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
19333 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
19334 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
19335 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
19336 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
19337 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
19338 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19339 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19340 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19341 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
19342 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19343 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19344 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19345 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19346 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
19347 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
19348 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19349 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19350 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19351 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19352 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19353 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19354 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19355 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19356 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19357 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19358 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19359 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19360 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19361 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
19362 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19363 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19364 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19365 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
19366 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
19367 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19368 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19369 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19370 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19371 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19372 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
19373 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19374 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
19375 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
19376 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
19377 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
19378 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19379 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
19380 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
19381 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
19382 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
19383 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
19384 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
19385 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
19386 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
19387 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
19388 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
19389 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
19390 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
19391 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
19392 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
19393 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
19394 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
19395 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19396 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
19397 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
19398 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
19399 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19400 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19401 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
19402 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
19403 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
19404 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19405 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
19406 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
19407 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
19408 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
19409 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
19410 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
19411 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19412 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19413 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19414 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19415 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
19416 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19417 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19418 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19419 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
19420 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19421 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19422 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19423 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19424 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
19425 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
19426 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
19427 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
19428 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
19429 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
19430 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19431 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19432 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
19433 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
19434 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19435 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
19436 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
19437 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
19438 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
19439 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
19440 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19441 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
19442 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
19443 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
19444 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
19445 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19446 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
19447 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
19448 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
19449 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
19450 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19451 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
19452 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19453 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19454 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
19455 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
19456 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
19457 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
19458 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
19459 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
19460 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
19461 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
19462 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19463 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
19464 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
19465 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19466 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19467 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19468 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19469 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19470 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19471 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19472 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19473 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19474 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19475 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
19476 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
19477 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19478 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
19483 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19485 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19486 return (void *)((wxWindow
*) ((wxControl
*) x
));
19488 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19489 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19491 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19492 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19494 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19495 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19497 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19498 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19500 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19501 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19503 static void *_p_wxPenTo_p_wxObject(void *x
) {
19504 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19506 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19507 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19509 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19510 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19512 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19513 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19515 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19516 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19518 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19519 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19521 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19522 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19524 static void *_p_wxIconTo_p_wxObject(void *x
) {
19525 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19527 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19528 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19530 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19531 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19533 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19534 return (void *)((wxObject
*) ((wxSizer
*) x
));
19536 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19537 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19539 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19542 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19543 return (void *)((wxObject
*) ((wxPenList
*) x
));
19545 static void *_p_wxEventTo_p_wxObject(void *x
) {
19546 return (void *)((wxObject
*) ((wxEvent
*) x
));
19548 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19549 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19551 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19552 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19554 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19555 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19557 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19558 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19560 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19561 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19563 static void *_p_wxDCTo_p_wxObject(void *x
) {
19564 return (void *)((wxObject
*) ((wxDC
*) x
));
19566 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19567 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19569 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19570 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19572 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19573 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19575 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19576 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19578 static void *_p_wxControlTo_p_wxObject(void *x
) {
19579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19581 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19582 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19584 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19585 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19587 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19588 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19590 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19591 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19593 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19594 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19596 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19597 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19599 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19600 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19602 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19603 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19605 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19606 return (void *)((wxObject
*) ((wxEffects
*) x
));
19608 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19609 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19611 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19614 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19615 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19617 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19618 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19620 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19621 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19623 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19624 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19626 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19629 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19630 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19632 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19633 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19635 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19636 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19638 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19639 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19641 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19642 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19644 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19645 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19647 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19648 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19650 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19651 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19653 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19654 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19656 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19657 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19659 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19660 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19662 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19663 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19665 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19666 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19668 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19669 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19671 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19672 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19674 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19675 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19677 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19678 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19680 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19681 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19683 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19684 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19686 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19687 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19689 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19690 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19692 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19693 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19695 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19696 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19698 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19699 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19701 static void *_p_wxImageTo_p_wxObject(void *x
) {
19702 return (void *)((wxObject
*) ((wxImage
*) x
));
19704 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19705 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19707 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19708 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19710 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19711 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19713 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19714 return (void *)((wxObject
*) ((wxImageList
*) x
));
19716 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19717 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19719 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19720 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19722 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19723 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19725 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19728 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19729 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19731 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19732 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19734 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19735 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19737 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19738 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19740 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19743 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19744 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19746 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19747 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19749 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19750 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19752 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19753 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19755 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19756 return (void *)((wxObject
*) ((wxMask
*) x
));
19758 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19759 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19761 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19762 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19764 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19765 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19767 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19768 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19770 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19771 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19773 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19774 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19776 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19779 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19780 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19782 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19783 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19785 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19786 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19788 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19789 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19791 static void *_p_wxFontTo_p_wxObject(void *x
) {
19792 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19794 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19795 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19797 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19798 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19800 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19803 static void *_p_wxColourTo_p_wxObject(void *x
) {
19804 return (void *)((wxObject
*) ((wxColour
*) x
));
19806 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19807 return (void *)((wxObject
*) ((wxFontList
*) x
));
19809 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19812 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19813 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19815 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19816 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19818 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19819 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19821 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19822 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19824 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19825 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19827 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19828 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19830 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19831 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19833 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19834 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19836 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19837 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19839 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19840 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19842 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19843 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19845 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19846 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19848 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19849 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19851 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19852 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19854 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19855 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19857 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19858 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19860 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19861 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19863 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19864 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19866 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19867 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19869 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19870 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19872 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19873 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19875 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}};
19876 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}};
19877 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}};
19878 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}};
19879 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}};
19880 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}};
19881 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}};
19882 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}};
19883 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}};
19884 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}};
19885 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}};
19886 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}};
19887 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}};
19888 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}};
19889 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}};
19890 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}};
19891 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}};
19892 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}};
19893 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}};
19894 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}};
19895 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}};
19896 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}};
19897 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}};
19898 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}};
19899 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}};
19900 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}};
19901 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}};
19902 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}};
19903 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}};
19904 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}};
19905 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}};
19906 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}};
19907 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}};
19908 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}};
19909 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}};
19910 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}};
19911 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}};
19912 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}};
19913 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}};
19914 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}};
19915 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}};
19916 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}};
19917 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}};
19918 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}};
19919 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}};
19920 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}};
19921 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}};
19922 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}};
19923 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}};
19924 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}};
19925 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}};
19926 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}};
19927 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}};
19928 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}};
19929 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}};
19931 static swig_type_info
*swig_types_initial
[] = {
19932 _swigt__p_wxPostScriptDC
,
19934 _swigt__p_wxColour
,
19936 _swigt__p_wxMirrorDC
,
19938 _swigt__p_wxPyFontEnumerator
,
19940 _swigt__p_wxIconLocation
,
19942 _swigt__p_wxMetaFileDC
,
19946 _swigt__p_wxWindow
,
19948 _swigt__p_wxMemoryDC
,
19949 _swigt__p_wxFontMapper
,
19950 _swigt__p_wxEffects
,
19951 _swigt__p_wxNativeEncodingInfo
,
19952 _swigt__p_wxPalette
,
19953 _swigt__p_wxBitmap
,
19954 _swigt__p_wxObject
,
19955 _swigt__p_wxRegionIterator
,
19957 _swigt__p_wxString
,
19958 _swigt__p_wxPrinterDC
,
19959 _swigt__p_wxIconBundle
,
19962 _swigt__p_wxScreenDC
,
19963 _swigt__p_wxCursor
,
19964 _swigt__p_wxClientDC
,
19965 _swigt__p_wxBufferedDC
,
19966 _swigt__p_wxImageList
,
19967 _swigt__p_unsigned_char
,
19968 _swigt__p_wxGDIObject
,
19970 _swigt__p_wxLocale
,
19971 _swigt__p_wxRegion
,
19972 _swigt__p_wxLanguageInfo
,
19973 _swigt__p_wxConfigBase
,
19974 _swigt__p_wxWindowDC
,
19975 _swigt__p_wxPrintData
,
19976 _swigt__p_wxBrushList
,
19977 _swigt__p_wxFontList
,
19979 _swigt__p_wxBufferedPaintDC
,
19980 _swigt__p_wxPaintDC
,
19981 _swigt__p_wxPenList
,
19983 _swigt__p_wxMetaFile
,
19984 _swigt__p_wxNativeFontInfo
,
19985 _swigt__p_wxEncodingConverter
,
19986 _swigt__p_wxColourDatabase
,
19991 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19993 static swig_const_info swig_const_table
[] = {
20003 SWIGEXPORT(void) SWIG_init(void) {
20004 static PyObject
*SWIG_globals
= 0;
20005 static int typeinit
= 0;
20008 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
20009 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20010 d
= PyModule_GetDict(m
);
20013 for (i
= 0; swig_types_initial
[i
]; i
++) {
20014 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
20018 SWIG_InstallConstants(d
,swig_const_table
);
20020 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
20021 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
20022 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
20023 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
20024 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
20025 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
20026 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
20027 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
20028 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
20029 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
20030 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
20031 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
20032 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
20033 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
20034 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
20035 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
20036 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
20037 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
20038 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
20039 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
20040 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
20041 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
20042 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
20043 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
20044 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
20045 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
20046 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
20047 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
20048 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
20049 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
20050 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
20051 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
20052 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
20053 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
20054 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
20055 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
20056 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
20057 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
20058 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
20059 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
20060 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
20061 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
20062 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
20063 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
20064 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
20065 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
20066 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
20067 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
20068 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
20069 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
20070 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
20071 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
20072 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
20073 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
20074 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
20075 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
20076 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
20077 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
20078 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
20079 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
20080 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
20081 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
20082 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
20083 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
20084 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
20085 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
20086 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
20087 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
20088 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
20089 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
20090 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
20091 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
20092 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
20093 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
20094 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
20095 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
20096 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
20097 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
20098 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
20099 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
20100 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
20101 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
20102 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
20103 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
20104 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
20105 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
20106 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
20107 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
20108 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
20109 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
20110 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
20111 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
20112 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
20113 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
20114 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
20115 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
20116 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
20117 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
20118 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
20119 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
20120 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
20121 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
20122 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
20123 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
20124 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
20125 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
20126 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
20127 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
20128 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
20129 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
20130 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
20131 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
20132 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
20133 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
20134 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
20135 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
20136 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
20137 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
20138 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
20139 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
20140 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
20141 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
20142 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
20143 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
20144 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
20145 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
20146 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
20148 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
20150 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
20151 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
20152 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
20153 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
20154 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
20155 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
20156 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
20157 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
20158 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
20159 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
20160 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
20161 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
20162 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
20163 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
20164 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
20165 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
20166 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
20167 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
20168 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
20169 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
20170 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
20171 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
20172 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
20173 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
20174 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
20175 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
20176 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
20177 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
20178 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
20179 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
20180 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
20181 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
20182 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
20183 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
20184 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
20185 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
20186 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
20187 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
20188 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
20189 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
20190 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
20191 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
20192 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
20193 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
20194 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
20195 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
20196 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
20197 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
20198 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
20199 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
20200 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
20201 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
20202 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
20203 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
20204 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
20205 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
20206 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
20207 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
20208 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
20209 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
20210 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
20211 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20212 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
20213 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20214 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
20215 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
20216 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20217 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20218 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20219 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20220 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20221 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20222 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
20223 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
20224 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
20225 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
20226 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
20227 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
20228 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
20229 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
20230 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
20231 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20232 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
20233 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
20234 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
20235 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
20236 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
20237 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
20238 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20239 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
20240 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20241 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20242 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
20243 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
20244 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
20245 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
20246 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
20247 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
20248 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
20249 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
20250 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
20251 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
20252 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
20253 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
20254 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
20255 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
20256 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
20257 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
20258 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
20259 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
20260 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
20261 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
20262 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
20263 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
20264 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
20265 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
20266 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
20267 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
20268 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
20269 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
20270 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
20271 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
20272 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
20273 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
20274 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
20275 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
20276 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
20277 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
20278 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
20279 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
20280 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
20281 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
20282 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20283 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
20284 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
20285 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
20286 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
20287 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
20288 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
20289 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
20290 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
20291 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
20292 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
20293 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20294 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20295 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
20296 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
20297 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
20298 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
20299 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
20300 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
20301 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20302 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
20303 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
20304 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
20305 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
20306 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
20307 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20308 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
20309 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
20310 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
20311 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
20312 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
20313 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20314 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
20315 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
20316 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
20317 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
20318 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
20319 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
20320 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
20321 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
20322 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
20323 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
20324 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
20325 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
20326 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20327 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20328 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
20329 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20330 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20331 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20332 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
20333 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20334 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20335 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
20336 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
20337 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
20338 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20339 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
20340 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20341 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
20342 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20343 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
20344 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
20345 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20346 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
20347 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
20348 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
20349 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
20350 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
20351 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
20352 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
20353 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
20354 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
20355 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
20356 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
20357 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
20358 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
20359 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
20360 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
20361 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
20362 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
20363 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
20364 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
20365 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
20366 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
20367 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
20368 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
20369 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20370 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
20371 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
20372 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
20373 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
20374 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
20375 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
20376 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
20377 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
20378 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
20379 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
20380 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
20381 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
20382 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
20383 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
20384 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
20385 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
20386 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
20387 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
20388 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
20389 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
20390 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
20391 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
20392 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
20393 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
20394 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
20395 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
20396 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
20397 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20398 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
20399 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
20400 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
20401 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
20402 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
20403 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20404 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20405 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20406 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20407 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20408 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20409 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20410 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20411 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20412 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20413 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20414 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20415 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20416 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20417 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20418 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20419 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20420 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20421 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20422 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20423 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20424 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20425 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20426 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20427 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20428 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20429 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20430 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20431 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20432 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20433 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20434 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20435 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20436 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20437 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20438 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20439 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20440 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20441 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20442 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20443 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20444 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20445 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20446 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20447 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20448 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20449 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20451 // Work around a chicken/egg problem in drawlist.cpp
20452 wxPyDrawList_SetAPIPtr();