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 SWIGSTATICINLINE(short)
569 SWIG_AsShort(PyObject
*obj
)
571 return swig_numeric_cast(short,
572 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
573 "short", SHRT_MIN
, SHRT_MAX
));
577 SWIGSTATICINLINE(int)
578 SWIG_CheckShort(PyObject
* obj
)
581 if (PyErr_Occurred()) {
590 #include <wx/image.h>
592 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
593 char** cArray
= NULL
;
596 if (!PyList_Check(listOfStrings
)) {
597 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
600 count
= PyList_Size(listOfStrings
);
601 cArray
= new char*[count
];
603 for(int x
=0; x
<count
; x
++) {
604 // TODO: Need some validation and error checking here
605 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
611 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
612 char** cArray
= NULL
;
615 cArray
= ConvertListOfStrings(listOfStrings
);
618 bmp
= new wxBitmap(cArray
);
622 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
625 PyString_AsStringAndSize(bits
, &buf
, &length
);
626 return new wxBitmap(buf
, width
, height
, depth
);
628 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
629 wxSize
size(self
->GetWidth(), self
->GetHeight());
632 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
633 wxMask
*mask
= new wxMask(*self
, colour
);
636 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
637 self
->SetWidth(size
.x
);
638 self
->SetHeight(size
.y
);
640 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
641 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
642 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
644 return new wxMask(bitmap
, *wxBLACK
);
646 return new wxMask(bitmap
, colour
);
649 #include <wx/iconbndl.h>
651 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
652 wxIcon
* icon
= new wxIcon();
653 icon
->CopyFromBitmap(bmp
);
656 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
657 char** cArray
= NULL
;
660 cArray
= ConvertListOfStrings(listOfStrings
);
663 icon
= new wxIcon(cArray
);
667 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
671 return new wxIconLocation(*filename
);
674 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
681 int wxIconLocation_GetIndex(wxIconLocation
*self
){
689 SWIGSTATICINLINE(int)
690 SWIG_CheckLong(PyObject
* obj
)
693 if (PyErr_Occurred()) {
701 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
703 wxCHECK_MSG(False
, NULL
,
704 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
706 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
711 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
712 wxPyRaiseNotImplemented();
715 void wxRegionIterator_Next(wxRegionIterator
*self
){
718 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
719 return self
->operator bool();
722 #include <wx/fontutil.h>
723 #include <wx/fontmap.h>
724 #include <wx/fontenum.h>
726 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
727 return self
->ToString();
730 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
731 static wxNativeEncodingInfo info
;
732 if ( wxGetNativeFontEncoding(encoding
, &info
) )
738 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
739 wxFontEncoding alt_enc
;
740 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
741 return PyInt_FromLong(alt_enc
);
747 wxFont
*new_wxFont(wxString
const &info
){
748 wxNativeFontInfo nfi
;
749 nfi
.FromString(info
);
750 return new wxFont(nfi
);
752 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
753 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
755 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
756 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
758 class wxPyFontEnumerator
: public wxFontEnumerator
{
760 wxPyFontEnumerator() {}
761 ~wxPyFontEnumerator() {}
763 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
764 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
769 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
770 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
773 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
774 wxArrayString
* arr
= self
->GetEncodings();
775 return wxArrayString2PyList_helper(*arr
);
777 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
778 wxArrayString
* arr
= self
->GetFacenames();
779 return wxArrayString2PyList_helper(*arr
);
783 wxLocale
*new_wxLocale(int language
,int flags
){
785 return new wxLocale();
787 return new wxLocale(language
, flags
);
790 #include "wx/wxPython/pydrawxxx.h"
792 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
794 self
->GetPixel(x
, y
, &col
);
797 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
799 self
->GetPixel(pt
, &col
);
803 SWIGSTATICINLINE(double)
804 SWIG_AsDouble(PyObject
*obj
)
806 if (PyNumber_Check(obj
))
807 return PyFloat_AsDouble(obj
);
809 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
810 obj
->ob_type
->tp_name
);
811 PyErr_SetObject(PyExc_TypeError
, errmsg
);
818 SWIGSTATICINLINE(int)
819 SWIG_CheckDouble(PyObject
* obj
)
822 if (PyErr_Occurred()) {
830 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
832 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
835 wxRect
wxDC_GetClippingRect(wxDC
*self
){
837 self
->GetClippingBox(rect
);
840 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
842 self
->GetPartialTextExtents(text
, widths
);
845 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
846 self
->SetLogicalOrigin(point
.x
, point
.y
);
848 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
849 self
->SetDeviceOrigin(point
.x
, point
.y
);
851 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
852 self
->CalcBoundingBox(point
.x
, point
.y
);
854 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
855 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
857 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
858 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
860 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
861 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
863 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
864 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
866 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
867 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
869 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
870 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
873 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
881 #include <wx/dcbuffer.h>
887 #include <wx/metafile.h>
891 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
892 self
->AddColour(name
, wxColour(red
, green
, blue
));
895 #include <wx/effects.h>
900 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
909 if (!wxPyCheckForApp()) SWIG_fail
;
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
911 result
= (wxGDIObject
*)new wxGDIObject();
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) SWIG_fail
;
916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
923 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
926 PyObject
* obj0
= 0 ;
928 (char *) "self", NULL
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",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();
938 wxPyEndAllowThreads(__tstate
);
939 if (PyErr_Occurred()) SWIG_fail
;
941 Py_INCREF(Py_None
); resultobj
= Py_None
;
948 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
952 PyObject
* obj0
= 0 ;
954 (char *) "self", NULL
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
962 result
= (bool)(arg1
)->GetVisible();
964 wxPyEndAllowThreads(__tstate
);
965 if (PyErr_Occurred()) SWIG_fail
;
968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
976 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
980 PyObject
* obj0
= 0 ;
981 PyObject
* obj1
= 0 ;
983 (char *) "self",(char *) "visible", NULL
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
989 arg2
= (bool) SWIG_AsBool(obj1
);
990 if (PyErr_Occurred()) SWIG_fail
;
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 (arg1
)->SetVisible(arg2
);
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) SWIG_fail
;
998 Py_INCREF(Py_None
); resultobj
= Py_None
;
1005 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
*resultobj
;
1007 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1009 PyObject
* obj0
= 0 ;
1011 (char *) "self", NULL
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 result
= (bool)(arg1
)->IsNull();
1021 wxPyEndAllowThreads(__tstate
);
1022 if (PyErr_Occurred()) SWIG_fail
;
1025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1033 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1036 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1038 return Py_BuildValue((char *)"");
1040 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 byte arg1
= (byte
) 0 ;
1043 byte arg2
= (byte
) 0 ;
1044 byte arg3
= (byte
) 0 ;
1046 PyObject
* obj0
= 0 ;
1047 PyObject
* obj1
= 0 ;
1048 PyObject
* obj2
= 0 ;
1050 (char *) "red",(char *) "green",(char *) "blue", NULL
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1055 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1056 if (PyErr_Occurred()) SWIG_fail
;
1059 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1060 if (PyErr_Occurred()) SWIG_fail
;
1063 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1064 if (PyErr_Occurred()) SWIG_fail
;
1067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1068 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1070 wxPyEndAllowThreads(__tstate
);
1071 if (PyErr_Occurred()) SWIG_fail
;
1073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1080 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
*resultobj
;
1082 wxString
*arg1
= 0 ;
1084 bool temp1
= False
;
1085 PyObject
* obj0
= 0 ;
1087 (char *) "colorName", NULL
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1092 arg1
= wxString_in_helper(obj0
);
1093 if (arg1
== NULL
) SWIG_fail
;
1097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1098 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1100 wxPyEndAllowThreads(__tstate
);
1101 if (PyErr_Occurred()) SWIG_fail
;
1103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1118 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
*resultobj
;
1120 unsigned long arg1
;
1122 PyObject
* obj0
= 0 ;
1124 (char *) "colRGB", NULL
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1128 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1132 result
= (wxColour
*)new wxColour(arg1
);
1134 wxPyEndAllowThreads(__tstate
);
1135 if (PyErr_Occurred()) SWIG_fail
;
1137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1144 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
*resultobj
;
1146 wxColour
*arg1
= (wxColour
*) 0 ;
1147 PyObject
* obj0
= 0 ;
1149 (char *) "self", NULL
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",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();
1159 wxPyEndAllowThreads(__tstate
);
1160 if (PyErr_Occurred()) SWIG_fail
;
1162 Py_INCREF(Py_None
); resultobj
= Py_None
;
1169 static PyObject
*_wrap_Colour_Red(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_Red",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
)->Red();
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) SWIG_fail
;
1188 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1195 static PyObject
*_wrap_Colour_Green(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_Green",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
)->Green();
1211 wxPyEndAllowThreads(__tstate
);
1212 if (PyErr_Occurred()) SWIG_fail
;
1214 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1221 static PyObject
*_wrap_Colour_Blue(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_Blue",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
= (byte
)(arg1
)->Blue();
1237 wxPyEndAllowThreads(__tstate
);
1238 if (PyErr_Occurred()) SWIG_fail
;
1240 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1247 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
*resultobj
;
1249 wxColour
*arg1
= (wxColour
*) 0 ;
1251 PyObject
* obj0
= 0 ;
1253 (char *) "self", NULL
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 result
= (bool)(arg1
)->Ok();
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) SWIG_fail
;
1267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1275 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
*resultobj
;
1277 wxColour
*arg1
= (wxColour
*) 0 ;
1281 PyObject
* obj0
= 0 ;
1282 PyObject
* obj1
= 0 ;
1283 PyObject
* obj2
= 0 ;
1284 PyObject
* obj3
= 0 ;
1286 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1292 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1293 if (PyErr_Occurred()) SWIG_fail
;
1294 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1295 if (PyErr_Occurred()) SWIG_fail
;
1296 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 (arg1
)->Set(arg2
,arg3
,arg4
);
1302 wxPyEndAllowThreads(__tstate
);
1303 if (PyErr_Occurred()) SWIG_fail
;
1305 Py_INCREF(Py_None
); resultobj
= Py_None
;
1312 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
*resultobj
;
1314 wxColour
*arg1
= (wxColour
*) 0 ;
1315 unsigned long arg2
;
1316 PyObject
* obj0
= 0 ;
1317 PyObject
* obj1
= 0 ;
1319 (char *) "self",(char *) "colRGB", NULL
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1325 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1326 if (PyErr_Occurred()) SWIG_fail
;
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) SWIG_fail
;
1334 Py_INCREF(Py_None
); resultobj
= Py_None
;
1341 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
*resultobj
;
1343 wxColour
*arg1
= (wxColour
*) 0 ;
1344 wxString
*arg2
= 0 ;
1345 bool temp2
= False
;
1346 PyObject
* obj0
= 0 ;
1347 PyObject
* obj1
= 0 ;
1349 (char *) "self",(char *) "colourName", NULL
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1356 arg2
= wxString_in_helper(obj1
);
1357 if (arg2
== NULL
) SWIG_fail
;
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1362 (arg1
)->InitFromName((wxString
const &)*arg2
);
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) SWIG_fail
;
1367 Py_INCREF(Py_None
); resultobj
= Py_None
;
1382 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
*resultobj
;
1384 wxColour
*arg1
= (wxColour
*) 0 ;
1386 PyObject
* obj0
= 0 ;
1388 (char *) "self", NULL
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1401 resultobj
= SWIG_FromLong((long)result
);
1408 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1409 PyObject
*resultobj
;
1410 wxColour
*arg1
= (wxColour
*) 0 ;
1411 wxColour
*arg2
= 0 ;
1414 PyObject
* obj0
= 0 ;
1415 PyObject
* obj1
= 0 ;
1417 (char *) "self",(char *) "colour", NULL
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1425 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) SWIG_fail
;
1435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1443 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
*resultobj
;
1445 wxColour
*arg1
= (wxColour
*) 0 ;
1446 wxColour
*arg2
= 0 ;
1449 PyObject
* obj0
= 0 ;
1450 PyObject
* obj1
= 0 ;
1452 (char *) "self",(char *) "colour", NULL
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1460 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1464 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1466 wxPyEndAllowThreads(__tstate
);
1467 if (PyErr_Occurred()) SWIG_fail
;
1470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1478 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
*resultobj
;
1480 wxColour
*arg1
= (wxColour
*) 0 ;
1482 PyObject
* obj0
= 0 ;
1484 (char *) "self", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",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
= (PyObject
*)wxColour_Get(arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1504 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
*resultobj
;
1506 wxColour
*arg1
= (wxColour
*) 0 ;
1507 unsigned long result
;
1508 PyObject
* obj0
= 0 ;
1510 (char *) "self", NULL
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 result
= (unsigned long)wxColour_GetRGB(arg1
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) SWIG_fail
;
1523 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1530 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1533 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1535 return Py_BuildValue((char *)"");
1537 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
*resultobj
;
1540 unsigned char *arg2
= (unsigned char *) 0 ;
1541 unsigned char *arg3
= (unsigned char *) 0 ;
1542 unsigned char *arg4
= (unsigned char *) 0 ;
1544 PyObject
* obj0
= 0 ;
1545 PyObject
* obj1
= 0 ;
1546 PyObject
* obj2
= 0 ;
1547 PyObject
* obj3
= 0 ;
1549 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1553 arg1
= (int) SWIG_AsInt(obj0
);
1554 if (PyErr_Occurred()) SWIG_fail
;
1555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1557 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1559 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1562 if (!wxPyCheckForApp()) SWIG_fail
;
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1576 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
*resultobj
;
1578 wxPalette
*arg1
= (wxPalette
*) 0 ;
1579 PyObject
* obj0
= 0 ;
1581 (char *) "self", NULL
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 wxPyEndAllowThreads(__tstate
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1594 Py_INCREF(Py_None
); resultobj
= Py_None
;
1601 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
*resultobj
;
1603 wxPalette
*arg1
= (wxPalette
*) 0 ;
1608 PyObject
* obj0
= 0 ;
1609 PyObject
* obj1
= 0 ;
1610 PyObject
* obj2
= 0 ;
1611 PyObject
* obj3
= 0 ;
1613 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1619 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1621 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1623 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1624 if (PyErr_Occurred()) SWIG_fail
;
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1632 resultobj
= SWIG_FromInt((int)result
);
1639 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxPalette
*arg1
= (wxPalette
*) 0 ;
1643 byte
*arg3
= (byte
*) 0 ;
1644 byte
*arg4
= (byte
*) 0 ;
1645 byte
*arg5
= (byte
*) 0 ;
1650 PyObject
* obj0
= 0 ;
1651 PyObject
* obj1
= 0 ;
1653 (char *) "self",(char *) "pixel", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1662 arg2
= (int) SWIG_AsInt(obj1
);
1663 if (PyErr_Occurred()) SWIG_fail
;
1665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1666 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1668 wxPyEndAllowThreads(__tstate
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1675 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1676 resultobj
= t_output_helper(resultobj
,o
);
1679 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1680 resultobj
= t_output_helper(resultobj
,o
);
1683 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1684 resultobj
= t_output_helper(resultobj
,o
);
1692 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
*resultobj
;
1694 wxPalette
*arg1
= (wxPalette
*) 0 ;
1696 PyObject
* obj0
= 0 ;
1698 (char *) "self", NULL
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 result
= (bool)(arg1
)->Ok();
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1720 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1723 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1725 return Py_BuildValue((char *)"");
1727 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
*resultobj
;
1729 wxColour
*arg1
= 0 ;
1730 int arg2
= (int) 1 ;
1731 int arg3
= (int) wxSOLID
;
1734 PyObject
* obj0
= 0 ;
1735 PyObject
* obj1
= 0 ;
1736 PyObject
* obj2
= 0 ;
1738 (char *) "colour",(char *) "width",(char *) "style", NULL
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1744 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1747 arg2
= (int) SWIG_AsInt(obj1
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1751 arg3
= (int) SWIG_AsInt(obj2
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1755 if (!wxPyCheckForApp()) SWIG_fail
;
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) SWIG_fail
;
1762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1769 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
*resultobj
;
1771 wxPen
*arg1
= (wxPen
*) 0 ;
1772 PyObject
* obj0
= 0 ;
1774 (char *) "self", NULL
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1787 Py_INCREF(Py_None
); resultobj
= Py_None
;
1794 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
*resultobj
;
1796 wxPen
*arg1
= (wxPen
*) 0 ;
1798 PyObject
* obj0
= 0 ;
1800 (char *) "self", NULL
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 result
= (int)(arg1
)->GetCap();
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1813 resultobj
= SWIG_FromInt((int)result
);
1820 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxPen
*arg1
= (wxPen
*) 0 ;
1824 PyObject
* obj0
= 0 ;
1826 (char *) "self", NULL
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 result
= (arg1
)->GetColour();
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1840 wxColour
* resultptr
;
1841 resultptr
= new wxColour((wxColour
&) result
);
1842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1850 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
*resultobj
;
1852 wxPen
*arg1
= (wxPen
*) 0 ;
1854 PyObject
* obj0
= 0 ;
1856 (char *) "self", NULL
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 result
= (int)(arg1
)->GetJoin();
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1869 resultobj
= SWIG_FromInt((int)result
);
1876 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1878 wxPen
*arg1
= (wxPen
*) 0 ;
1880 PyObject
* obj0
= 0 ;
1882 (char *) "self", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1890 result
= (int)(arg1
)->GetStyle();
1892 wxPyEndAllowThreads(__tstate
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1895 resultobj
= SWIG_FromInt((int)result
);
1902 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
*resultobj
;
1904 wxPen
*arg1
= (wxPen
*) 0 ;
1906 PyObject
* obj0
= 0 ;
1908 (char *) "self", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 result
= (int)(arg1
)->GetWidth();
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1921 resultobj
= SWIG_FromInt((int)result
);
1928 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxPen
*arg1
= (wxPen
*) 0 ;
1932 PyObject
* obj0
= 0 ;
1934 (char *) "self", NULL
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 result
= (bool)(arg1
)->Ok();
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1956 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
*resultobj
;
1958 wxPen
*arg1
= (wxPen
*) 0 ;
1960 PyObject
* obj0
= 0 ;
1961 PyObject
* obj1
= 0 ;
1963 (char *) "self",(char *) "cap_style", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1969 arg2
= (int) SWIG_AsInt(obj1
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 (arg1
)->SetCap(arg2
);
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) SWIG_fail
;
1978 Py_INCREF(Py_None
); resultobj
= Py_None
;
1985 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
*resultobj
;
1987 wxPen
*arg1
= (wxPen
*) 0 ;
1988 wxColour
*arg2
= 0 ;
1990 PyObject
* obj0
= 0 ;
1991 PyObject
* obj1
= 0 ;
1993 (char *) "self",(char *) "colour", NULL
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 (arg1
)->SetColour(*arg2
);
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) SWIG_fail
;
2010 Py_INCREF(Py_None
); resultobj
= Py_None
;
2017 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2019 wxPen
*arg1
= (wxPen
*) 0 ;
2021 PyObject
* obj0
= 0 ;
2022 PyObject
* obj1
= 0 ;
2024 (char *) "self",(char *) "join_style", NULL
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2030 arg2
= (int) SWIG_AsInt(obj1
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 (arg1
)->SetJoin(arg2
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 Py_INCREF(Py_None
); resultobj
= Py_None
;
2046 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
*resultobj
;
2048 wxPen
*arg1
= (wxPen
*) 0 ;
2050 PyObject
* obj0
= 0 ;
2051 PyObject
* obj1
= 0 ;
2053 (char *) "self",(char *) "style", NULL
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2059 arg2
= (int) SWIG_AsInt(obj1
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 (arg1
)->SetStyle(arg2
);
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) SWIG_fail
;
2068 Py_INCREF(Py_None
); resultobj
= Py_None
;
2075 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
*resultobj
;
2077 wxPen
*arg1
= (wxPen
*) 0 ;
2079 PyObject
* obj0
= 0 ;
2080 PyObject
* obj1
= 0 ;
2082 (char *) "self",(char *) "width", NULL
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 arg2
= (int) SWIG_AsInt(obj1
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 (arg1
)->SetWidth(arg2
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2097 Py_INCREF(Py_None
); resultobj
= Py_None
;
2104 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2106 wxPen
*arg1
= (wxPen
*) 0 ;
2108 wxDash
*arg3
= (wxDash
*) 0 ;
2109 PyObject
* obj0
= 0 ;
2110 PyObject
* obj1
= 0 ;
2112 (char *) "self",(char *) "dashes", NULL
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2119 arg2
= PyList_Size(obj1
);
2120 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2121 if (arg3
== NULL
) SWIG_fail
;
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 (arg1
)->SetDashes(arg2
,arg3
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) SWIG_fail
;
2130 Py_INCREF(Py_None
); resultobj
= Py_None
;
2132 if (arg3
) delete [] arg3
;
2137 if (arg3
) delete [] arg3
;
2143 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
*resultobj
;
2145 wxPen
*arg1
= (wxPen
*) 0 ;
2147 PyObject
* obj0
= 0 ;
2149 (char *) "self", NULL
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2169 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
*resultobj
;
2171 wxPen
*arg1
= (wxPen
*) 0 ;
2172 PyObject
*arg2
= (PyObject
*) 0 ;
2173 PyObject
*arg3
= (PyObject
*) 0 ;
2174 PyObject
* obj0
= 0 ;
2175 PyObject
* obj1
= 0 ;
2176 PyObject
* obj2
= 0 ;
2178 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 wxPen__SetDashes(arg1
,arg2
,arg3
);
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) SWIG_fail
;
2193 Py_INCREF(Py_None
); resultobj
= Py_None
;
2200 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
*resultobj
;
2202 wxPen
*arg1
= (wxPen
*) 0 ;
2203 wxPen
*arg2
= (wxPen
*) 0 ;
2205 PyObject
* obj0
= 0 ;
2206 PyObject
* obj1
= 0 ;
2208 (char *) "self",(char *) "other", NULL
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2232 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2234 wxPen
*arg1
= (wxPen
*) 0 ;
2235 wxPen
*arg2
= (wxPen
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2238 PyObject
* obj1
= 0 ;
2240 (char *) "self",(char *) "other", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2264 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2267 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2269 return Py_BuildValue((char *)"");
2271 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 wxColour
*arg1
= 0 ;
2274 int arg2
= (int) wxSOLID
;
2277 PyObject
* obj0
= 0 ;
2278 PyObject
* obj1
= 0 ;
2280 (char *) "colour",(char *) "style", NULL
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2286 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2289 arg2
= (int) SWIG_AsInt(obj1
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2293 if (!wxPyCheckForApp()) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2307 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2309 wxBrush
*arg1
= (wxBrush
*) 0 ;
2310 PyObject
* obj0
= 0 ;
2312 (char *) "self", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 Py_INCREF(Py_None
); resultobj
= Py_None
;
2332 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2334 wxBrush
*arg1
= (wxBrush
*) 0 ;
2335 wxColour
*arg2
= 0 ;
2337 PyObject
* obj0
= 0 ;
2338 PyObject
* obj1
= 0 ;
2340 (char *) "self",(char *) "col", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2348 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 (arg1
)->SetColour((wxColour
const &)*arg2
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 Py_INCREF(Py_None
); resultobj
= Py_None
;
2364 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
*resultobj
;
2366 wxBrush
*arg1
= (wxBrush
*) 0 ;
2368 PyObject
* obj0
= 0 ;
2369 PyObject
* obj1
= 0 ;
2371 (char *) "self",(char *) "style", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2377 arg2
= (int) SWIG_AsInt(obj1
);
2378 if (PyErr_Occurred()) SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 (arg1
)->SetStyle(arg2
);
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 Py_INCREF(Py_None
); resultobj
= Py_None
;
2393 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxBrush
*arg1
= (wxBrush
*) 0 ;
2396 wxBitmap
*arg2
= 0 ;
2397 PyObject
* obj0
= 0 ;
2398 PyObject
* obj1
= 0 ;
2400 (char *) "self",(char *) "stipple", NULL
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2410 PyErr_SetString(PyExc_TypeError
,"null reference");
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2420 Py_INCREF(Py_None
); resultobj
= Py_None
;
2427 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 wxBrush
*arg1
= (wxBrush
*) 0 ;
2431 PyObject
* obj0
= 0 ;
2433 (char *) "self", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 result
= ((wxBrush
const *)arg1
)->GetColour();
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2447 wxColour
* resultptr
;
2448 resultptr
= new wxColour((wxColour
&) result
);
2449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2457 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
*resultobj
;
2459 wxBrush
*arg1
= (wxBrush
*) 0 ;
2461 PyObject
* obj0
= 0 ;
2463 (char *) "self", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2476 resultobj
= SWIG_FromInt((int)result
);
2483 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2485 wxBrush
*arg1
= (wxBrush
*) 0 ;
2487 PyObject
* obj0
= 0 ;
2489 (char *) "self", NULL
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2509 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2511 wxBrush
*arg1
= (wxBrush
*) 0 ;
2513 PyObject
* obj0
= 0 ;
2515 (char *) "self", NULL
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 result
= (bool)(arg1
)->Ok();
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) SWIG_fail
;
2529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2537 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxBrush
*arg1
= (wxBrush
*) 0 ;
2541 PyObject
* obj0
= 0 ;
2543 (char *) "self", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 result
= (short)(arg1
)->MacGetTheme();
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2556 resultobj
= SWIG_FromShort((short)result
);
2563 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
;
2565 wxBrush
*arg1
= (wxBrush
*) 0 ;
2567 PyObject
* obj0
= 0 ;
2568 PyObject
* obj1
= 0 ;
2570 (char *) "self",(char *) "macThemeBrush", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2576 arg2
= (short) SWIG_AsShort(obj1
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 (arg1
)->MacSetTheme(arg2
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) SWIG_fail
;
2585 Py_INCREF(Py_None
); resultobj
= Py_None
;
2592 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2595 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2597 return Py_BuildValue((char *)"");
2599 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
*resultobj
;
2601 wxString
*arg1
= 0 ;
2602 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2604 bool temp1
= False
;
2605 PyObject
* obj0
= 0 ;
2606 PyObject
* obj1
= 0 ;
2608 (char *) "name",(char *) "type", NULL
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2613 arg1
= wxString_in_helper(obj0
);
2614 if (arg1
== NULL
) SWIG_fail
;
2618 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2622 if (!wxPyCheckForApp()) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2644 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
*resultobj
;
2646 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2647 PyObject
* obj0
= 0 ;
2649 (char *) "self", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2662 Py_INCREF(Py_None
); resultobj
= Py_None
;
2669 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
*resultobj
;
2673 int arg3
= (int) -1 ;
2675 PyObject
* obj0
= 0 ;
2676 PyObject
* obj1
= 0 ;
2677 PyObject
* obj2
= 0 ;
2679 (char *) "width",(char *) "height",(char *) "depth", NULL
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2683 arg1
= (int) SWIG_AsInt(obj0
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2685 arg2
= (int) SWIG_AsInt(obj1
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2688 arg3
= (int) SWIG_AsInt(obj2
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2692 if (!wxPyCheckForApp()) 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 if (!wxPyCheckForApp()) SWIG_fail
;
2725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2726 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2728 wxPyEndAllowThreads(__tstate
);
2729 if (PyErr_Occurred()) SWIG_fail
;
2731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2738 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2741 int arg2
= (int) -1 ;
2743 PyObject
* obj0
= 0 ;
2744 PyObject
* obj1
= 0 ;
2746 (char *) "image",(char *) "depth", NULL
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2754 PyErr_SetString(PyExc_TypeError
,"null reference");
2758 arg2
= (int) SWIG_AsInt(obj1
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2762 if (!wxPyCheckForApp()) SWIG_fail
;
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2776 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
*resultobj
;
2778 PyObject
*arg1
= (PyObject
*) 0 ;
2780 PyObject
* obj0
= 0 ;
2782 (char *) "listOfStrings", NULL
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2788 if (!wxPyCheckForApp()) SWIG_fail
;
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2802 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 PyObject
*arg1
= (PyObject
*) 0 ;
2807 int arg4
= (int) 1 ;
2809 PyObject
* obj0
= 0 ;
2810 PyObject
* obj1
= 0 ;
2811 PyObject
* obj2
= 0 ;
2812 PyObject
* obj3
= 0 ;
2814 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2819 arg2
= (int) SWIG_AsInt(obj1
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2821 arg3
= (int) SWIG_AsInt(obj2
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 arg4
= (int) SWIG_AsInt(obj3
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2828 if (!wxPyCheckForApp()) SWIG_fail
;
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2842 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
*resultobj
;
2844 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2846 PyObject
* obj0
= 0 ;
2848 (char *) "self", NULL
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= (bool)(arg1
)->Ok();
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2870 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
*resultobj
;
2872 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2874 PyObject
* obj0
= 0 ;
2876 (char *) "self", NULL
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 result
= (int)(arg1
)->GetWidth();
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 resultobj
= SWIG_FromInt((int)result
);
2896 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2900 PyObject
* obj0
= 0 ;
2902 (char *) "self", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 result
= (int)(arg1
)->GetHeight();
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2915 resultobj
= SWIG_FromInt((int)result
);
2922 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2924 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2926 PyObject
* obj0
= 0 ;
2928 (char *) "self", NULL
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 result
= (int)(arg1
)->GetDepth();
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2941 resultobj
= SWIG_FromInt((int)result
);
2948 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
*resultobj
;
2950 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2952 PyObject
* obj0
= 0 ;
2954 (char *) "self", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
2958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 result
= wxBitmap_GetSize(arg1
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2969 resultptr
= new wxSize((wxSize
&) result
);
2970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2978 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2981 SwigValueWrapper
< wxImage
> result
;
2982 PyObject
* obj0
= 0 ;
2984 (char *) "self", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2998 wxImage
* resultptr
;
2999 resultptr
= new wxImage((wxImage
&) result
);
3000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3008 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
*resultobj
;
3010 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3012 PyObject
* obj0
= 0 ;
3014 (char *) "self", NULL
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3034 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3036 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3037 wxMask
*arg2
= (wxMask
*) 0 ;
3038 PyObject
* obj0
= 0 ;
3039 PyObject
* obj1
= 0 ;
3041 (char *) "self",(char *) "mask", NULL
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 (arg1
)->SetMask(arg2
);
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) SWIG_fail
;
3056 Py_INCREF(Py_None
); resultobj
= Py_None
;
3063 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
*resultobj
;
3065 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3066 wxColour
*arg2
= 0 ;
3068 PyObject
* obj0
= 0 ;
3069 PyObject
* obj1
= 0 ;
3071 (char *) "self",(char *) "colour", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3079 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) SWIG_fail
;
3088 Py_INCREF(Py_None
); resultobj
= Py_None
;
3095 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
*resultobj
;
3097 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3099 SwigValueWrapper
< wxBitmap
> result
;
3101 PyObject
* obj0
= 0 ;
3102 PyObject
* obj1
= 0 ;
3104 (char *) "self",(char *) "rect", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3122 wxBitmap
* resultptr
;
3123 resultptr
= new wxBitmap((wxBitmap
&) result
);
3124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3132 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
;
3134 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3135 wxString
*arg2
= 0 ;
3137 wxPalette
*arg4
= (wxPalette
*) NULL
;
3139 bool temp2
= False
;
3140 PyObject
* obj0
= 0 ;
3141 PyObject
* obj1
= 0 ;
3142 PyObject
* obj2
= 0 ;
3143 PyObject
* obj3
= 0 ;
3145 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3152 arg2
= wxString_in_helper(obj1
);
3153 if (arg2
== NULL
) SWIG_fail
;
3156 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) SWIG_fail
;
3170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3186 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
;
3188 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3189 wxString
*arg2
= 0 ;
3192 bool temp2
= False
;
3193 PyObject
* obj0
= 0 ;
3194 PyObject
* obj1
= 0 ;
3195 PyObject
* obj2
= 0 ;
3197 (char *) "self",(char *) "name",(char *) "type", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3204 arg2
= wxString_in_helper(obj1
);
3205 if (arg2
== NULL
) SWIG_fail
;
3208 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3234 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
;
3236 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3239 PyObject
* obj0
= 0 ;
3240 PyObject
* obj1
= 0 ;
3242 (char *) "self",(char *) "icon", NULL
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3252 PyErr_SetString(PyExc_TypeError
,"null reference");
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3271 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3275 PyObject
* obj0
= 0 ;
3276 PyObject
* obj1
= 0 ;
3278 (char *) "self",(char *) "height", NULL
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3284 arg2
= (int) SWIG_AsInt(obj1
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 (arg1
)->SetHeight(arg2
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3293 Py_INCREF(Py_None
); resultobj
= Py_None
;
3300 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
;
3302 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3307 (char *) "self",(char *) "width", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3313 arg2
= (int) SWIG_AsInt(obj1
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 (arg1
)->SetWidth(arg2
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3322 Py_INCREF(Py_None
); resultobj
= Py_None
;
3329 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3333 PyObject
* obj0
= 0 ;
3334 PyObject
* obj1
= 0 ;
3336 (char *) "self",(char *) "depth", NULL
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3342 arg2
= (int) SWIG_AsInt(obj1
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 (arg1
)->SetDepth(arg2
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3351 Py_INCREF(Py_None
); resultobj
= Py_None
;
3358 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3360 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3363 PyObject
* obj0
= 0 ;
3364 PyObject
* obj1
= 0 ;
3366 (char *) "self",(char *) "size", NULL
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 Py_INCREF(Py_None
); resultobj
= Py_None
;
3390 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3393 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3398 (char *) "self",(char *) "other", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3422 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3425 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3427 PyObject
* obj0
= 0 ;
3428 PyObject
* obj1
= 0 ;
3430 (char *) "self",(char *) "other", NULL
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3454 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3457 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3459 return Py_BuildValue((char *)"");
3461 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxBitmap
*arg1
= 0 ;
3464 wxColour
const &arg2_defvalue
= wxNullColour
;
3465 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3468 PyObject
* obj0
= 0 ;
3469 PyObject
* obj1
= 0 ;
3471 (char *) "bitmap",(char *) "colour", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3479 PyErr_SetString(PyExc_TypeError
,"null reference");
3485 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3489 if (!wxPyCheckForApp()) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3503 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3506 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3508 return Py_BuildValue((char *)"");
3510 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
*resultobj
;
3512 wxString
*arg1
= 0 ;
3514 int arg3
= (int) -1 ;
3515 int arg4
= (int) -1 ;
3517 bool temp1
= False
;
3518 PyObject
* obj0
= 0 ;
3519 PyObject
* obj1
= 0 ;
3520 PyObject
* obj2
= 0 ;
3521 PyObject
* obj3
= 0 ;
3523 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3528 arg1
= wxString_in_helper(obj0
);
3529 if (arg1
== NULL
) SWIG_fail
;
3532 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 arg3
= (int) SWIG_AsInt(obj2
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3539 arg4
= (int) SWIG_AsInt(obj3
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3543 if (!wxPyCheckForApp()) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3565 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxIcon
*arg1
= (wxIcon
*) 0 ;
3568 PyObject
* obj0
= 0 ;
3570 (char *) "self", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 Py_INCREF(Py_None
); resultobj
= Py_None
;
3590 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3599 if (!wxPyCheckForApp()) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (wxIcon
*)new wxIcon();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3613 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxIconLocation
*arg1
= 0 ;
3617 PyObject
* obj0
= 0 ;
3619 (char *) "loc", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3627 PyErr_SetString(PyExc_TypeError
,"null reference");
3631 if (!wxPyCheckForApp()) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3645 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxBitmap
*arg1
= 0 ;
3649 PyObject
* obj0
= 0 ;
3651 (char *) "bmp", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3659 PyErr_SetString(PyExc_TypeError
,"null reference");
3663 if (!wxPyCheckForApp()) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3677 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 PyObject
*arg1
= (PyObject
*) 0 ;
3681 PyObject
* obj0
= 0 ;
3683 (char *) "listOfStrings", NULL
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3689 if (!wxPyCheckForApp()) SWIG_fail
;
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 result
= (wxIcon
*)new_wxIcon(arg1
);
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3703 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3705 wxIcon
*arg1
= (wxIcon
*) 0 ;
3707 PyObject
* obj0
= 0 ;
3709 (char *) "self", NULL
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 result
= (bool)(arg1
)->Ok();
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3731 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3733 wxIcon
*arg1
= (wxIcon
*) 0 ;
3735 PyObject
* obj0
= 0 ;
3737 (char *) "self", NULL
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 result
= (int)(arg1
)->GetWidth();
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_FromInt((int)result
);
3757 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 wxIcon
*arg1
= (wxIcon
*) 0 ;
3761 PyObject
* obj0
= 0 ;
3763 (char *) "self", NULL
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 result
= (int)(arg1
)->GetHeight();
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= SWIG_FromInt((int)result
);
3783 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 wxIcon
*arg1
= (wxIcon
*) 0 ;
3787 PyObject
* obj0
= 0 ;
3789 (char *) "self", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 result
= (int)(arg1
)->GetDepth();
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3802 resultobj
= SWIG_FromInt((int)result
);
3809 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
;
3811 wxIcon
*arg1
= (wxIcon
*) 0 ;
3813 PyObject
* obj0
= 0 ;
3814 PyObject
* obj1
= 0 ;
3816 (char *) "self",(char *) "w", NULL
3819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3822 arg2
= (int) SWIG_AsInt(obj1
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 (arg1
)->SetWidth(arg2
);
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3831 Py_INCREF(Py_None
); resultobj
= Py_None
;
3838 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
*resultobj
;
3840 wxIcon
*arg1
= (wxIcon
*) 0 ;
3842 PyObject
* obj0
= 0 ;
3843 PyObject
* obj1
= 0 ;
3845 (char *) "self",(char *) "h", NULL
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3851 arg2
= (int) SWIG_AsInt(obj1
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 (arg1
)->SetHeight(arg2
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 Py_INCREF(Py_None
); resultobj
= Py_None
;
3867 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
*resultobj
;
3869 wxIcon
*arg1
= (wxIcon
*) 0 ;
3871 PyObject
* obj0
= 0 ;
3872 PyObject
* obj1
= 0 ;
3874 (char *) "self",(char *) "d", NULL
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3880 arg2
= (int) SWIG_AsInt(obj1
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 (arg1
)->SetDepth(arg2
);
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3889 Py_INCREF(Py_None
); resultobj
= Py_None
;
3896 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxIcon
*arg1
= (wxIcon
*) 0 ;
3899 wxBitmap
*arg2
= 0 ;
3900 PyObject
* obj0
= 0 ;
3901 PyObject
* obj1
= 0 ;
3903 (char *) "self",(char *) "bmp", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3913 PyErr_SetString(PyExc_TypeError
,"null reference");
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3923 Py_INCREF(Py_None
); resultobj
= Py_None
;
3930 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3933 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3935 return Py_BuildValue((char *)"");
3937 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3940 int arg2
= (int) 0 ;
3941 wxIconLocation
*result
;
3942 bool temp1
= False
;
3943 PyObject
* obj0
= 0 ;
3944 PyObject
* obj1
= 0 ;
3946 (char *) "filename",(char *) "num", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3952 arg1
= wxString_in_helper(obj0
);
3953 if (arg1
== NULL
) SWIG_fail
;
3958 arg2
= (int) SWIG_AsInt(obj1
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3983 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3985 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3986 PyObject
* obj0
= 0 ;
3988 (char *) "self", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 Py_INCREF(Py_None
); resultobj
= Py_None
;
4008 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4014 (char *) "self", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4036 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
;
4038 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4039 wxString
*arg2
= 0 ;
4040 bool temp2
= False
;
4041 PyObject
* obj0
= 0 ;
4042 PyObject
* obj1
= 0 ;
4044 (char *) "self",(char *) "filename", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4051 arg2
= wxString_in_helper(obj1
);
4052 if (arg2
== NULL
) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 (arg1
)->SetFileName((wxString
const &)*arg2
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "self", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4093 result
= (wxString
*) &_result_ref
;
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4101 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4103 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4112 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4119 (char *) "self",(char *) "num", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
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 wxIconLocation_SetIndex(arg1
,arg2
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4141 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4145 PyObject
* obj0
= 0 ;
4147 (char *) "self", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (int)wxIconLocation_GetIndex(arg1
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= SWIG_FromInt((int)result
);
4167 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4170 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4172 return Py_BuildValue((char *)"");
4174 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxIconBundle
*result
;
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 result
= (wxIconBundle
*)new wxIconBundle();
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4196 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
;
4198 wxString
*arg1
= 0 ;
4200 wxIconBundle
*result
;
4201 bool temp1
= False
;
4202 PyObject
* obj0
= 0 ;
4203 PyObject
* obj1
= 0 ;
4205 (char *) "file",(char *) "type", NULL
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4210 arg1
= wxString_in_helper(obj0
);
4211 if (arg1
== NULL
) SWIG_fail
;
4214 arg2
= (long) SWIG_AsLong(obj1
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4238 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4241 wxIconBundle
*result
;
4242 PyObject
* obj0
= 0 ;
4244 (char *) "icon", NULL
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4252 PyErr_SetString(PyExc_TypeError
,"null reference");
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4269 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4272 PyObject
* obj0
= 0 ;
4274 (char *) "self", NULL
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 Py_INCREF(Py_None
); resultobj
= Py_None
;
4294 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4298 PyObject
* obj0
= 0 ;
4299 PyObject
* obj1
= 0 ;
4301 (char *) "self",(char *) "icon", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4311 PyErr_SetString(PyExc_TypeError
,"null reference");
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4321 Py_INCREF(Py_None
); resultobj
= Py_None
;
4328 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
*resultobj
;
4330 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4331 wxString
*arg2
= 0 ;
4333 bool temp2
= False
;
4334 PyObject
* obj0
= 0 ;
4335 PyObject
* obj1
= 0 ;
4336 PyObject
* obj2
= 0 ;
4338 (char *) "self",(char *) "file",(char *) "type", NULL
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4345 arg2
= wxString_in_helper(obj1
);
4346 if (arg2
== NULL
) SWIG_fail
;
4349 arg3
= (long) SWIG_AsLong(obj2
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 Py_INCREF(Py_None
); resultobj
= Py_None
;
4373 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4380 PyObject
* obj1
= 0 ;
4382 (char *) "self",(char *) "size", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4390 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4396 result
= (wxIcon
*) &_result_ref
;
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4403 wxIcon
* resultptr
= new wxIcon(*result
);
4404 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4412 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4415 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4417 return Py_BuildValue((char *)"");
4419 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxString
*arg1
= (wxString
*) 0 ;
4423 int arg3
= (int) 0 ;
4424 int arg4
= (int) 0 ;
4426 bool temp1
= False
;
4427 PyObject
* obj0
= 0 ;
4428 PyObject
* obj1
= 0 ;
4429 PyObject
* obj2
= 0 ;
4430 PyObject
* obj3
= 0 ;
4432 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4437 arg1
= wxString_in_helper(obj0
);
4438 if (arg1
== NULL
) SWIG_fail
;
4441 arg2
= (long) SWIG_AsLong(obj1
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4444 arg3
= (int) SWIG_AsInt(obj2
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4448 arg4
= (int) SWIG_AsInt(obj3
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4452 if (!wxPyCheckForApp()) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4474 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxCursor
*arg1
= (wxCursor
*) 0 ;
4477 PyObject
* obj0
= 0 ;
4479 (char *) "self", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 Py_INCREF(Py_None
); resultobj
= Py_None
;
4499 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4503 PyObject
* obj0
= 0 ;
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4509 arg1
= (int) SWIG_AsInt(obj0
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 if (!wxPyCheckForApp()) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 result
= (wxCursor
*)new wxCursor(arg1
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4526 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4530 PyObject
* obj0
= 0 ;
4532 (char *) "image", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4540 PyErr_SetString(PyExc_TypeError
,"null reference");
4544 if (!wxPyCheckForApp()) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4558 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxCursor
*arg1
= (wxCursor
*) 0 ;
4562 PyObject
* obj0
= 0 ;
4564 (char *) "self", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (bool)(arg1
)->Ok();
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4586 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4589 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4591 return Py_BuildValue((char *)"");
4593 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 int arg1
= (int) 0 ;
4596 int arg2
= (int) 0 ;
4597 int arg3
= (int) 0 ;
4598 int arg4
= (int) 0 ;
4600 PyObject
* obj0
= 0 ;
4601 PyObject
* obj1
= 0 ;
4602 PyObject
* obj2
= 0 ;
4603 PyObject
* obj3
= 0 ;
4605 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4610 arg1
= (int) SWIG_AsInt(obj0
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4614 arg2
= (int) SWIG_AsInt(obj1
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4618 arg3
= (int) SWIG_AsInt(obj2
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4622 arg4
= (int) SWIG_AsInt(obj3
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4626 if (!wxPyCheckForApp()) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4640 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxBitmap
*arg1
= 0 ;
4643 wxColour
const &arg2_defvalue
= wxNullColour
;
4644 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4645 int arg3
= (int) 0 ;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4650 PyObject
* obj2
= 0 ;
4652 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4660 PyErr_SetString(PyExc_TypeError
,"null reference");
4666 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4670 arg3
= (int) SWIG_AsInt(obj2
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4674 if (!wxPyCheckForApp()) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4688 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4691 wxPoint
*arg2
= (wxPoint
*) 0 ;
4692 int arg3
= (int) wxWINDING_RULE
;
4694 PyObject
* obj0
= 0 ;
4695 PyObject
* obj1
= 0 ;
4697 (char *) "points",(char *) "fillStyle", NULL
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4702 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4703 if (arg2
== NULL
) SWIG_fail
;
4706 arg3
= (int) SWIG_AsInt(obj1
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4710 if (!wxPyCheckForApp()) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4719 if (arg2
) delete [] arg2
;
4724 if (arg2
) delete [] arg2
;
4730 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxRegion
*arg1
= (wxRegion
*) 0 ;
4733 PyObject
* obj0
= 0 ;
4735 (char *) "self", NULL
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4748 Py_INCREF(Py_None
); resultobj
= Py_None
;
4755 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
;
4757 wxRegion
*arg1
= (wxRegion
*) 0 ;
4758 PyObject
* obj0
= 0 ;
4760 (char *) "self", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 Py_INCREF(Py_None
); resultobj
= Py_None
;
4780 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 wxRegion
*arg1
= (wxRegion
*) 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4788 PyObject
* obj2
= 0 ;
4790 (char *) "self",(char *) "x",(char *) "y", NULL
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4796 arg2
= (int) SWIG_AsInt(obj1
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4798 arg3
= (int) SWIG_AsInt(obj2
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_FromInt((int)result
);
4814 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
;
4816 wxRegion
*arg1
= (wxRegion
*) 0 ;
4820 PyObject
* obj0
= 0 ;
4821 PyObject
* obj1
= 0 ;
4823 (char *) "self",(char *) "pt", NULL
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4831 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= SWIG_FromInt((int)result
);
4847 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
;
4849 wxRegion
*arg1
= (wxRegion
*) 0 ;
4853 PyObject
* obj0
= 0 ;
4854 PyObject
* obj1
= 0 ;
4856 (char *) "self",(char *) "rect", NULL
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4864 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= SWIG_FromInt((int)result
);
4880 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxRegion
*arg1
= (wxRegion
*) 0 ;
4888 PyObject
* obj0
= 0 ;
4889 PyObject
* obj1
= 0 ;
4890 PyObject
* obj2
= 0 ;
4891 PyObject
* obj3
= 0 ;
4892 PyObject
* obj4
= 0 ;
4894 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4900 arg2
= (int) SWIG_AsInt(obj1
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4902 arg3
= (int) SWIG_AsInt(obj2
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4904 arg4
= (int) SWIG_AsInt(obj3
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4906 arg5
= (int) SWIG_AsInt(obj4
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_FromInt((int)result
);
4922 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxRegion
*arg1
= (wxRegion
*) 0 ;
4926 PyObject
* obj0
= 0 ;
4928 (char *) "self", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (arg1
)->GetBox();
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4943 resultptr
= new wxRect((wxRect
&) result
);
4944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4952 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxRegion
*arg1
= (wxRegion
*) 0 ;
4960 PyObject
* obj0
= 0 ;
4961 PyObject
* obj1
= 0 ;
4962 PyObject
* obj2
= 0 ;
4963 PyObject
* obj3
= 0 ;
4964 PyObject
* obj4
= 0 ;
4966 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4972 arg2
= (int) SWIG_AsInt(obj1
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4974 arg3
= (int) SWIG_AsInt(obj2
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4976 arg4
= (int) SWIG_AsInt(obj3
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4978 arg5
= (int) SWIG_AsInt(obj4
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4996 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxRegion
*arg1
= (wxRegion
*) 0 ;
5002 PyObject
* obj0
= 0 ;
5003 PyObject
* obj1
= 0 ;
5005 (char *) "self",(char *) "rect", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5013 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5031 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxRegion
*arg1
= (wxRegion
*) 0 ;
5034 wxRegion
*arg2
= 0 ;
5036 PyObject
* obj0
= 0 ;
5037 PyObject
* obj1
= 0 ;
5039 (char *) "self",(char *) "region", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5049 PyErr_SetString(PyExc_TypeError
,"null reference");
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5068 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxRegion
*arg1
= (wxRegion
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5074 (char *) "self", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= (bool)(arg1
)->IsEmpty();
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5096 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxRegion
*arg1
= (wxRegion
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5105 PyObject
* obj1
= 0 ;
5106 PyObject
* obj2
= 0 ;
5107 PyObject
* obj3
= 0 ;
5108 PyObject
* obj4
= 0 ;
5110 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5116 arg2
= (int) SWIG_AsInt(obj1
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5118 arg3
= (int) SWIG_AsInt(obj2
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5120 arg4
= (int) SWIG_AsInt(obj3
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5122 arg5
= (int) SWIG_AsInt(obj4
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5140 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
;
5142 wxRegion
*arg1
= (wxRegion
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5149 (char *) "self",(char *) "rect", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5157 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5175 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5177 wxRegion
*arg1
= (wxRegion
*) 0 ;
5178 wxRegion
*arg2
= 0 ;
5180 PyObject
* obj0
= 0 ;
5181 PyObject
* obj1
= 0 ;
5183 (char *) "self",(char *) "region", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5193 PyErr_SetString(PyExc_TypeError
,"null reference");
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5212 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
;
5214 wxRegion
*arg1
= (wxRegion
*) 0 ;
5220 PyObject
* obj0
= 0 ;
5221 PyObject
* obj1
= 0 ;
5222 PyObject
* obj2
= 0 ;
5223 PyObject
* obj3
= 0 ;
5224 PyObject
* obj4
= 0 ;
5226 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5232 arg2
= (int) SWIG_AsInt(obj1
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5234 arg3
= (int) SWIG_AsInt(obj2
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5236 arg4
= (int) SWIG_AsInt(obj3
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5238 arg5
= (int) SWIG_AsInt(obj4
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5256 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxRegion
*arg1
= (wxRegion
*) 0 ;
5262 PyObject
* obj0
= 0 ;
5263 PyObject
* obj1
= 0 ;
5265 (char *) "self",(char *) "rect", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5273 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5291 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5293 wxRegion
*arg1
= (wxRegion
*) 0 ;
5294 wxRegion
*arg2
= 0 ;
5296 PyObject
* obj0
= 0 ;
5297 PyObject
* obj1
= 0 ;
5299 (char *) "self",(char *) "region", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5309 PyErr_SetString(PyExc_TypeError
,"null reference");
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5328 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
;
5330 wxRegion
*arg1
= (wxRegion
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5337 PyObject
* obj1
= 0 ;
5338 PyObject
* obj2
= 0 ;
5339 PyObject
* obj3
= 0 ;
5340 PyObject
* obj4
= 0 ;
5342 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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
;
5352 arg4
= (int) SWIG_AsInt(obj3
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5354 arg5
= (int) SWIG_AsInt(obj4
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5372 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxRegion
*arg1
= (wxRegion
*) 0 ;
5378 PyObject
* obj0
= 0 ;
5379 PyObject
* obj1
= 0 ;
5381 (char *) "self",(char *) "rect", NULL
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5389 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5407 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxRegion
*arg1
= (wxRegion
*) 0 ;
5410 wxRegion
*arg2
= 0 ;
5412 PyObject
* obj0
= 0 ;
5413 PyObject
* obj1
= 0 ;
5415 (char *) "self",(char *) "region", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5425 PyErr_SetString(PyExc_TypeError
,"null reference");
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5444 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxRegion
*arg1
= (wxRegion
*) 0 ;
5447 SwigValueWrapper
< wxBitmap
> result
;
5448 PyObject
* obj0
= 0 ;
5450 (char *) "self", NULL
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (arg1
)->ConvertToBitmap();
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5464 wxBitmap
* resultptr
;
5465 resultptr
= new wxBitmap((wxBitmap
&) result
);
5466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5474 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxRegion
*arg1
= (wxRegion
*) 0 ;
5477 wxBitmap
*arg2
= 0 ;
5478 wxColour
const &arg3_defvalue
= wxNullColour
;
5479 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5480 int arg4
= (int) 0 ;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5485 PyObject
* obj2
= 0 ;
5486 PyObject
* obj3
= 0 ;
5488 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5498 PyErr_SetString(PyExc_TypeError
,"null reference");
5504 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5508 arg4
= (int) SWIG_AsInt(obj3
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5527 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5530 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5532 return Py_BuildValue((char *)"");
5534 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxRegion
*arg1
= 0 ;
5537 wxRegionIterator
*result
;
5538 PyObject
* obj0
= 0 ;
5540 (char *) "region", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5548 PyErr_SetString(PyExc_TypeError
,"null reference");
5552 if (!wxPyCheckForApp()) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5566 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5569 PyObject
* obj0
= 0 ;
5571 (char *) "self", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 Py_INCREF(Py_None
); resultobj
= Py_None
;
5591 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5595 PyObject
* obj0
= 0 ;
5597 (char *) "self", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 result
= (int)(arg1
)->GetX();
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5610 resultobj
= SWIG_FromInt((int)result
);
5617 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
;
5619 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5621 PyObject
* obj0
= 0 ;
5623 (char *) "self", NULL
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 result
= (int)(arg1
)->GetY();
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= SWIG_FromInt((int)result
);
5643 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
;
5645 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5647 PyObject
* obj0
= 0 ;
5649 (char *) "self", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (int)(arg1
)->GetW();
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= SWIG_FromInt((int)result
);
5669 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
;
5671 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5673 PyObject
* obj0
= 0 ;
5675 (char *) "self", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (int)(arg1
)->GetWidth();
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= SWIG_FromInt((int)result
);
5695 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5699 PyObject
* obj0
= 0 ;
5701 (char *) "self", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 result
= (int)(arg1
)->GetH();
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_FromInt((int)result
);
5721 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5727 (char *) "self", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (int)(arg1
)->GetHeight();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= SWIG_FromInt((int)result
);
5747 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5751 PyObject
* obj0
= 0 ;
5753 (char *) "self", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (arg1
)->GetRect();
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5768 resultptr
= new wxRect((wxRect
&) result
);
5769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5777 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5781 PyObject
* obj0
= 0 ;
5783 (char *) "self", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 result
= (bool)(arg1
)->HaveRects();
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5805 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5808 PyObject
* obj0
= 0 ;
5810 (char *) "self", NULL
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 Py_INCREF(Py_None
); resultobj
= Py_None
;
5830 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5832 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5833 PyObject
* obj0
= 0 ;
5835 (char *) "self", NULL
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 wxRegionIterator_Next(arg1
);
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5848 Py_INCREF(Py_None
); resultobj
= Py_None
;
5855 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5859 PyObject
* obj0
= 0 ;
5861 (char *) "self", NULL
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5883 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5886 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5888 return Py_BuildValue((char *)"");
5890 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxNativeFontInfo
*result
;
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5912 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5915 PyObject
* obj0
= 0 ;
5917 (char *) "self", NULL
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 Py_INCREF(Py_None
); resultobj
= Py_None
;
5937 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5940 PyObject
* obj0
= 0 ;
5942 (char *) "self", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 Py_INCREF(Py_None
); resultobj
= Py_None
;
5962 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5967 PyObject
* obj1
= 0 ;
5969 (char *) "self",(char *) "font", NULL
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
5976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5979 PyErr_SetString(PyExc_TypeError
,"null reference");
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 Py_INCREF(Py_None
); resultobj
= Py_None
;
5996 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6000 PyObject
* obj0
= 0 ;
6002 (char *) "self", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= SWIG_FromInt((int)result
);
6022 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6026 PyObject
* obj0
= 0 ;
6028 (char *) "self", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= SWIG_FromInt((int)result
);
6048 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6052 PyObject
* obj0
= 0 ;
6054 (char *) "self", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_FromInt((int)result
);
6074 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6078 PyObject
* obj0
= 0 ;
6080 (char *) "self", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6102 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6108 (char *) "self", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6134 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6140 (char *) "self", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 resultobj
= SWIG_FromInt((int)result
);
6160 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6164 PyObject
* obj0
= 0 ;
6166 (char *) "self", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_FromInt((int)result
);
6186 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6193 (char *) "self",(char *) "pointsize", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6199 arg2
= (int) SWIG_AsInt(obj1
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 (arg1
)->SetPointSize(arg2
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 Py_INCREF(Py_None
); resultobj
= Py_None
;
6215 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6220 PyObject
* obj1
= 0 ;
6222 (char *) "self",(char *) "style", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6228 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 Py_INCREF(Py_None
); resultobj
= Py_None
;
6244 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6249 PyObject
* obj1
= 0 ;
6251 (char *) "self",(char *) "weight", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6257 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 Py_INCREF(Py_None
); resultobj
= Py_None
;
6273 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6280 (char *) "self",(char *) "underlined", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6286 arg2
= (bool) SWIG_AsBool(obj1
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 (arg1
)->SetUnderlined(arg2
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 Py_INCREF(Py_None
); resultobj
= Py_None
;
6302 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
;
6304 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6306 PyObject
* obj0
= 0 ;
6307 PyObject
* obj1
= 0 ;
6309 (char *) "self",(char *) "facename", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6316 wxString
* sptr
= wxString_in_helper(obj1
);
6317 if (sptr
== NULL
) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 (arg1
)->SetFaceName(arg2
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 Py_INCREF(Py_None
); resultobj
= Py_None
;
6335 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6339 PyObject
* obj0
= 0 ;
6340 PyObject
* obj1
= 0 ;
6342 (char *) "self",(char *) "family", NULL
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6348 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 Py_INCREF(Py_None
); resultobj
= Py_None
;
6364 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6371 (char *) "self",(char *) "encoding", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6386 Py_INCREF(Py_None
); resultobj
= Py_None
;
6393 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
;
6395 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6396 wxString
*arg2
= 0 ;
6398 bool temp2
= False
;
6399 PyObject
* obj0
= 0 ;
6400 PyObject
* obj1
= 0 ;
6402 (char *) "self",(char *) "s", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6409 arg2
= wxString_in_helper(obj1
);
6410 if (arg2
== NULL
) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6437 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6443 (char *) "self", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6469 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6475 (char *) "self", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 result
= wxNativeFontInfo___str__(arg1
);
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6501 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6504 wxString
*arg2
= 0 ;
6506 bool temp2
= False
;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6510 (char *) "self",(char *) "s", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6517 arg2
= wxString_in_helper(obj1
);
6518 if (arg2
== NULL
) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6545 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6551 (char *) "self", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6577 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6580 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6582 return Py_BuildValue((char *)"");
6584 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
;
6586 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6587 wxString
*arg2
= (wxString
*) 0 ;
6588 bool temp2
= False
;
6589 PyObject
* obj0
= 0 ;
6590 PyObject
* obj1
= 0 ;
6592 (char *) "self",(char *) "facename", NULL
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6599 arg2
= wxString_in_helper(obj1
);
6600 if (arg2
== NULL
) SWIG_fail
;
6603 if (arg1
) (arg1
)->facename
= *arg2
;
6605 Py_INCREF(Py_None
); resultobj
= Py_None
;
6620 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6626 (char *) "self", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6632 result
= (wxString
*)& ((arg1
)->facename
);
6636 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6638 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6647 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6654 (char *) "self",(char *) "encoding", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6660 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6662 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6664 Py_INCREF(Py_None
); resultobj
= Py_None
;
6671 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6675 PyObject
* obj0
= 0 ;
6677 (char *) "self", NULL
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6683 result
= (int) ((arg1
)->encoding
);
6685 resultobj
= SWIG_FromInt((int)result
);
6692 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxNativeEncodingInfo
*result
;
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6714 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6719 (char *) "self", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 Py_INCREF(Py_None
); resultobj
= Py_None
;
6739 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6741 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6742 wxString
*arg2
= 0 ;
6744 bool temp2
= False
;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6748 (char *) "self",(char *) "s", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6755 arg2
= wxString_in_helper(obj1
);
6756 if (arg2
== NULL
) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6783 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6787 PyObject
* obj0
= 0 ;
6789 (char *) "self", NULL
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6815 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6818 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6820 return Py_BuildValue((char *)"");
6822 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6825 wxNativeEncodingInfo
*result
;
6826 PyObject
* obj0
= 0 ;
6828 (char *) "encoding", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6832 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6848 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6850 wxNativeEncodingInfo
*arg1
= 0 ;
6852 PyObject
* obj0
= 0 ;
6854 (char *) "info", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6862 PyErr_SetString(PyExc_TypeError
,"null reference");
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6881 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxFontMapper
*result
;
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (wxFontMapper
*)new wxFontMapper();
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6903 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
;
6905 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6906 PyObject
* obj0
= 0 ;
6908 (char *) "self", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 Py_INCREF(Py_None
); resultobj
= Py_None
;
6928 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxFontMapper
*result
;
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 result
= (wxFontMapper
*)wxFontMapper::Get();
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6950 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
;
6952 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6953 wxFontMapper
*result
;
6954 PyObject
* obj0
= 0 ;
6956 (char *) "mapper", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6976 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6979 wxString
*arg2
= 0 ;
6980 bool arg3
= (bool) True
;
6982 bool temp2
= False
;
6983 PyObject
* obj0
= 0 ;
6984 PyObject
* obj1
= 0 ;
6985 PyObject
* obj2
= 0 ;
6987 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6994 arg2
= wxString_in_helper(obj1
);
6995 if (arg2
== NULL
) SWIG_fail
;
6999 arg3
= (bool) SWIG_AsBool(obj2
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_FromInt((int)result
);
7024 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
;
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7046 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7050 PyObject
* obj0
= 0 ;
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7056 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (int)wxFontMapper::GetEncoding(arg1
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= SWIG_FromInt((int)result
);
7072 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7076 PyObject
* obj0
= 0 ;
7078 (char *) "encoding", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7082 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7104 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7108 PyObject
* obj0
= 0 ;
7110 (char *) "encoding", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7114 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7136 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxString
*arg1
= 0 ;
7140 bool temp1
= False
;
7141 PyObject
* obj0
= 0 ;
7143 (char *) "name", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7148 arg1
= wxString_in_helper(obj0
);
7149 if (arg1
== NULL
) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= SWIG_FromInt((int)result
);
7174 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7177 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7181 (char *) "self",(char *) "config", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 (arg1
)->SetConfig(arg2
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 Py_INCREF(Py_None
); resultobj
= Py_None
;
7203 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7206 wxString
*arg2
= 0 ;
7207 bool temp2
= False
;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7211 (char *) "self",(char *) "prefix", NULL
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7218 arg2
= wxString_in_helper(obj1
);
7219 if (arg2
== NULL
) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 Py_INCREF(Py_None
); resultobj
= Py_None
;
7244 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= wxFontMapper::GetDefaultConfigPath();
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7272 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
;
7274 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7276 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7277 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7278 bool arg4
= (bool) True
;
7280 bool temp3
= False
;
7281 PyObject
* obj0
= 0 ;
7282 PyObject
* obj1
= 0 ;
7283 PyObject
* obj2
= 0 ;
7284 PyObject
* obj3
= 0 ;
7286 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7292 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7296 arg3
= wxString_in_helper(obj2
);
7297 if (arg3
== NULL
) SWIG_fail
;
7302 arg4
= (bool) SWIG_AsBool(obj3
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7327 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
;
7329 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7331 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7332 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7334 bool temp3
= False
;
7335 PyObject
* obj0
= 0 ;
7336 PyObject
* obj1
= 0 ;
7337 PyObject
* obj2
= 0 ;
7339 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7345 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7349 arg3
= wxString_in_helper(obj2
);
7350 if (arg3
== NULL
) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7378 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7380 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7381 wxWindow
*arg2
= (wxWindow
*) 0 ;
7382 PyObject
* obj0
= 0 ;
7383 PyObject
* obj1
= 0 ;
7385 (char *) "self",(char *) "parent", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 (arg1
)->SetDialogParent(arg2
);
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7400 Py_INCREF(Py_None
); resultobj
= Py_None
;
7407 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7410 wxString
*arg2
= 0 ;
7411 bool temp2
= False
;
7412 PyObject
* obj0
= 0 ;
7413 PyObject
* obj1
= 0 ;
7415 (char *) "self",(char *) "title", NULL
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7422 arg2
= wxString_in_helper(obj1
);
7423 if (arg2
== NULL
) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 Py_INCREF(Py_None
); resultobj
= Py_None
;
7448 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7451 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7453 return Py_BuildValue((char *)"");
7455 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7461 bool arg5
= (bool) False
;
7462 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7463 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7464 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7466 bool temp6
= False
;
7467 PyObject
* obj0
= 0 ;
7468 PyObject
* obj1
= 0 ;
7469 PyObject
* obj2
= 0 ;
7470 PyObject
* obj3
= 0 ;
7471 PyObject
* obj4
= 0 ;
7472 PyObject
* obj5
= 0 ;
7473 PyObject
* obj6
= 0 ;
7475 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7479 arg1
= (int) SWIG_AsInt(obj0
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7481 arg2
= (int) SWIG_AsInt(obj1
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7483 arg3
= (int) SWIG_AsInt(obj2
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7485 arg4
= (int) SWIG_AsInt(obj3
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 arg5
= (bool) SWIG_AsBool(obj4
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7493 arg6
= wxString_in_helper(obj5
);
7494 if (arg6
== NULL
) SWIG_fail
;
7499 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7503 if (!wxPyCheckForApp()) SWIG_fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7525 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7527 wxFont
*arg1
= (wxFont
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7530 (char *) "self", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 Py_INCREF(Py_None
); resultobj
= Py_None
;
7550 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxNativeFontInfo
*arg1
= 0 ;
7554 PyObject
* obj0
= 0 ;
7556 (char *) "info", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7561 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7564 PyErr_SetString(PyExc_TypeError
,"null reference");
7568 if (!wxPyCheckForApp()) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7582 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7584 wxString
*arg1
= 0 ;
7586 bool temp1
= False
;
7587 PyObject
* obj0
= 0 ;
7589 (char *) "info", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7594 arg1
= wxString_in_helper(obj0
);
7595 if (arg1
== NULL
) SWIG_fail
;
7599 if (!wxPyCheckForApp()) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7621 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7625 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7626 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7627 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7628 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7630 bool temp4
= False
;
7631 PyObject
* obj0
= 0 ;
7632 PyObject
* obj1
= 0 ;
7633 PyObject
* obj2
= 0 ;
7634 PyObject
* obj3
= 0 ;
7635 PyObject
* obj4
= 0 ;
7637 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7641 arg1
= (int) SWIG_AsInt(obj0
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7643 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 arg3
= (int) SWIG_AsInt(obj2
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7651 arg4
= wxString_in_helper(obj3
);
7652 if (arg4
== NULL
) SWIG_fail
;
7657 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7661 if (!wxPyCheckForApp()) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7683 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxFont
*arg1
= (wxFont
*) 0 ;
7687 PyObject
* obj0
= 0 ;
7689 (char *) "self", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= (bool)((wxFont
const *)arg1
)->Ok();
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7711 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxFont
*arg1
= (wxFont
*) 0 ;
7714 wxFont
*arg2
= (wxFont
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7719 (char *) "self",(char *) "other", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7743 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxFont
*arg1
= (wxFont
*) 0 ;
7746 wxFont
*arg2
= (wxFont
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7749 PyObject
* obj1
= 0 ;
7751 (char *) "self",(char *) "other", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7775 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxFont
*arg1
= (wxFont
*) 0 ;
7779 PyObject
* obj0
= 0 ;
7781 (char *) "self", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_FromInt((int)result
);
7801 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxFont
*arg1
= (wxFont
*) 0 ;
7805 PyObject
* obj0
= 0 ;
7807 (char *) "self", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= SWIG_FromInt((int)result
);
7827 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
*resultobj
;
7829 wxFont
*arg1
= (wxFont
*) 0 ;
7831 PyObject
* obj0
= 0 ;
7833 (char *) "self", NULL
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= SWIG_FromInt((int)result
);
7853 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
;
7855 wxFont
*arg1
= (wxFont
*) 0 ;
7857 PyObject
* obj0
= 0 ;
7859 (char *) "self", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= SWIG_FromInt((int)result
);
7879 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
;
7881 wxFont
*arg1
= (wxFont
*) 0 ;
7883 PyObject
* obj0
= 0 ;
7885 (char *) "self", NULL
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7907 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxFont
*arg1
= (wxFont
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7913 (char *) "self", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= ((wxFont
const *)arg1
)->GetFaceName();
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7939 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7941 wxFont
*arg1
= (wxFont
*) 0 ;
7943 PyObject
* obj0
= 0 ;
7945 (char *) "self", NULL
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 resultobj
= SWIG_FromInt((int)result
);
7965 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxFont
*arg1
= (wxFont
*) 0 ;
7968 wxNativeFontInfo
*result
;
7969 PyObject
* obj0
= 0 ;
7971 (char *) "self", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
7991 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxFont
*arg1
= (wxFont
*) 0 ;
7995 PyObject
* obj0
= 0 ;
7997 (char *) "self", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8019 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8021 wxFont
*arg1
= (wxFont
*) 0 ;
8023 PyObject
* obj0
= 0 ;
8025 (char *) "self", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8033 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8051 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8053 wxFont
*arg1
= (wxFont
*) 0 ;
8055 PyObject
* obj0
= 0 ;
8057 (char *) "self", NULL
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8083 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8085 wxFont
*arg1
= (wxFont
*) 0 ;
8087 PyObject
* obj0
= 0 ;
8088 PyObject
* obj1
= 0 ;
8090 (char *) "self",(char *) "pointSize", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8096 arg2
= (int) SWIG_AsInt(obj1
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 (arg1
)->SetPointSize(arg2
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 Py_INCREF(Py_None
); resultobj
= Py_None
;
8112 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxFont
*arg1
= (wxFont
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8119 (char *) "self",(char *) "family", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8125 arg2
= (int) SWIG_AsInt(obj1
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 (arg1
)->SetFamily(arg2
);
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 Py_INCREF(Py_None
); resultobj
= Py_None
;
8141 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxFont
*arg1
= (wxFont
*) 0 ;
8145 PyObject
* obj0
= 0 ;
8146 PyObject
* obj1
= 0 ;
8148 (char *) "self",(char *) "style", NULL
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8154 arg2
= (int) SWIG_AsInt(obj1
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 (arg1
)->SetStyle(arg2
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 Py_INCREF(Py_None
); resultobj
= Py_None
;
8170 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
;
8172 wxFont
*arg1
= (wxFont
*) 0 ;
8174 PyObject
* obj0
= 0 ;
8175 PyObject
* obj1
= 0 ;
8177 (char *) "self",(char *) "weight", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8183 arg2
= (int) SWIG_AsInt(obj1
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 (arg1
)->SetWeight(arg2
);
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8192 Py_INCREF(Py_None
); resultobj
= Py_None
;
8199 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
;
8201 wxFont
*arg1
= (wxFont
*) 0 ;
8202 wxString
*arg2
= 0 ;
8203 bool temp2
= False
;
8204 PyObject
* obj0
= 0 ;
8205 PyObject
* obj1
= 0 ;
8207 (char *) "self",(char *) "faceName", NULL
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8214 arg2
= wxString_in_helper(obj1
);
8215 if (arg2
== NULL
) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 Py_INCREF(Py_None
); resultobj
= Py_None
;
8240 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxFont
*arg1
= (wxFont
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8247 (char *) "self",(char *) "underlined", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8253 arg2
= (bool) SWIG_AsBool(obj1
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 (arg1
)->SetUnderlined(arg2
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 Py_INCREF(Py_None
); resultobj
= Py_None
;
8269 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxFont
*arg1
= (wxFont
*) 0 ;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8276 (char *) "self",(char *) "encoding", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8282 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 Py_INCREF(Py_None
); resultobj
= Py_None
;
8298 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxFont
*arg1
= (wxFont
*) 0 ;
8301 wxNativeFontInfo
*arg2
= 0 ;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8305 (char *) "self",(char *) "info", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8315 PyErr_SetString(PyExc_TypeError
,"null reference");
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 Py_INCREF(Py_None
); resultobj
= Py_None
;
8332 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxFont
*arg1
= (wxFont
*) 0 ;
8335 wxString
*arg2
= 0 ;
8336 bool temp2
= False
;
8337 PyObject
* obj0
= 0 ;
8338 PyObject
* obj1
= 0 ;
8340 (char *) "self",(char *) "info", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8347 arg2
= wxString_in_helper(obj1
);
8348 if (arg2
== NULL
) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 Py_INCREF(Py_None
); resultobj
= Py_None
;
8373 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxFont
*arg1
= (wxFont
*) 0 ;
8376 wxString
*arg2
= 0 ;
8377 bool temp2
= False
;
8378 PyObject
* obj0
= 0 ;
8379 PyObject
* obj1
= 0 ;
8381 (char *) "self",(char *) "info", NULL
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8388 arg2
= wxString_in_helper(obj1
);
8389 if (arg2
== NULL
) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 Py_INCREF(Py_None
); resultobj
= Py_None
;
8414 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxFont
*arg1
= (wxFont
*) 0 ;
8418 PyObject
* obj0
= 0 ;
8420 (char *) "self", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8446 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxFont
*arg1
= (wxFont
*) 0 ;
8450 PyObject
* obj0
= 0 ;
8452 (char *) "self", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= ((wxFont
const *)arg1
)->GetStyleString();
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8478 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
*resultobj
;
8480 wxFont
*arg1
= (wxFont
*) 0 ;
8482 PyObject
* obj0
= 0 ;
8484 (char *) "self", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= ((wxFont
const *)arg1
)->GetWeightString();
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8510 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
;
8512 wxFont
*arg1
= (wxFont
*) 0 ;
8513 bool arg2
= (bool) True
;
8514 PyObject
* obj0
= 0 ;
8515 PyObject
* obj1
= 0 ;
8517 (char *) "self",(char *) "no", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8524 arg2
= (bool) SWIG_AsBool(obj1
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 (arg1
)->SetNoAntiAliasing(arg2
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 Py_INCREF(Py_None
); resultobj
= Py_None
;
8541 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxFont
*arg1
= (wxFont
*) 0 ;
8545 PyObject
* obj0
= 0 ;
8547 (char *) "self", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= (bool)(arg1
)->GetNoAntiAliasing();
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8569 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8578 if (!wxPyCheckForApp()) SWIG_fail
;
8579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 result
= (int)wxFont::GetDefaultEncoding();
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= SWIG_FromInt((int)result
);
8592 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8595 PyObject
* obj0
= 0 ;
8597 (char *) "encoding", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8601 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 if (!wxPyCheckForApp()) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 Py_INCREF(Py_None
); resultobj
= Py_None
;
8618 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8621 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8623 return Py_BuildValue((char *)"");
8625 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxPyFontEnumerator
*result
;
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8634 if (!wxPyCheckForApp()) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8648 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
;
8650 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8651 PyObject
* obj0
= 0 ;
8653 (char *) "self", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 Py_INCREF(Py_None
); resultobj
= Py_None
;
8673 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8676 PyObject
*arg2
= (PyObject
*) 0 ;
8677 PyObject
*arg3
= (PyObject
*) 0 ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8681 PyObject
* obj2
= 0 ;
8682 PyObject
* obj3
= 0 ;
8684 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8692 arg4
= (bool) SWIG_AsBool(obj3
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 Py_INCREF(Py_None
); resultobj
= Py_None
;
8708 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8711 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8712 bool arg3
= (bool) False
;
8714 PyObject
* obj0
= 0 ;
8715 PyObject
* obj1
= 0 ;
8716 PyObject
* obj2
= 0 ;
8718 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8725 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8729 arg3
= (bool) SWIG_AsBool(obj2
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8748 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
;
8750 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8751 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8752 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8754 bool temp2
= False
;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8758 (char *) "self",(char *) "facename", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8766 arg2
= wxString_in_helper(obj1
);
8767 if (arg2
== NULL
) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8795 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8799 PyObject
* obj0
= 0 ;
8801 (char *) "self", NULL
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8821 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8825 PyObject
* obj0
= 0 ;
8827 (char *) "self", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8847 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8850 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8852 return Py_BuildValue((char *)"");
8854 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8858 PyObject
* obj0
= 0 ;
8859 PyObject
* obj1
= 0 ;
8861 (char *) "self",(char *) "Language", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8867 arg2
= (int) SWIG_AsInt(obj1
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8869 if (arg1
) (arg1
)->Language
= arg2
;
8871 Py_INCREF(Py_None
); resultobj
= Py_None
;
8878 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8882 PyObject
* obj0
= 0 ;
8884 (char *) "self", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8890 result
= (int) ((arg1
)->Language
);
8892 resultobj
= SWIG_FromInt((int)result
);
8899 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8902 wxString
*arg2
= (wxString
*) 0 ;
8903 bool temp2
= False
;
8904 PyObject
* obj0
= 0 ;
8905 PyObject
* obj1
= 0 ;
8907 (char *) "self",(char *) "CanonicalName", NULL
8910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8914 arg2
= wxString_in_helper(obj1
);
8915 if (arg2
== NULL
) SWIG_fail
;
8918 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8920 Py_INCREF(Py_None
); resultobj
= Py_None
;
8935 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
;
8937 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8939 PyObject
* obj0
= 0 ;
8941 (char *) "self", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8947 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8951 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8953 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8962 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
;
8964 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8965 wxString
*arg2
= (wxString
*) 0 ;
8966 bool temp2
= False
;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8970 (char *) "self",(char *) "Description", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 arg2
= wxString_in_helper(obj1
);
8978 if (arg2
== NULL
) SWIG_fail
;
8981 if (arg1
) (arg1
)->Description
= *arg2
;
8983 Py_INCREF(Py_None
); resultobj
= Py_None
;
8998 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9004 (char *) "self", NULL
9007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9010 result
= (wxString
*)& ((arg1
)->Description
);
9014 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9016 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9025 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9028 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9030 return Py_BuildValue((char *)"");
9032 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 int arg1
= (int) -1 ;
9035 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9040 (char *) "language",(char *) "flags", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9045 arg1
= (int) SWIG_AsInt(obj0
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9049 arg2
= (int) SWIG_AsInt(obj1
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9066 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxLocale
*arg1
= (wxLocale
*) 0 ;
9069 PyObject
* obj0
= 0 ;
9071 (char *) "self", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 Py_INCREF(Py_None
); resultobj
= Py_None
;
9091 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
;
9093 wxLocale
*arg1
= (wxLocale
*) 0 ;
9094 wxString
*arg2
= 0 ;
9095 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9096 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9097 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9098 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9099 bool arg5
= (bool) True
;
9100 bool arg6
= (bool) False
;
9102 bool temp2
= False
;
9103 bool temp3
= False
;
9104 bool temp4
= False
;
9105 PyObject
* obj0
= 0 ;
9106 PyObject
* obj1
= 0 ;
9107 PyObject
* obj2
= 0 ;
9108 PyObject
* obj3
= 0 ;
9109 PyObject
* obj4
= 0 ;
9110 PyObject
* obj5
= 0 ;
9112 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9119 arg2
= wxString_in_helper(obj1
);
9120 if (arg2
== NULL
) SWIG_fail
;
9125 arg3
= wxString_in_helper(obj2
);
9126 if (arg3
== NULL
) SWIG_fail
;
9132 arg4
= wxString_in_helper(obj3
);
9133 if (arg4
== NULL
) SWIG_fail
;
9138 arg5
= (bool) SWIG_AsBool(obj4
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9142 arg6
= (bool) SWIG_AsBool(obj5
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9185 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxLocale
*arg1
= (wxLocale
*) 0 ;
9188 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9189 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9193 PyObject
* obj2
= 0 ;
9195 (char *) "self",(char *) "language",(char *) "flags", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9202 arg2
= (int) SWIG_AsInt(obj1
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9206 arg3
= (int) SWIG_AsInt(obj2
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9225 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= (int)wxLocale::GetSystemLanguage();
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= SWIG_FromInt((int)result
);
9247 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (int)wxLocale::GetSystemEncoding();
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_FromInt((int)result
);
9269 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= wxLocale::GetSystemEncodingName();
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9297 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxLocale
*arg1
= (wxLocale
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9303 (char *) "self", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9325 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxLocale
*arg1
= (wxLocale
*) 0 ;
9329 PyObject
* obj0
= 0 ;
9331 (char *) "self", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 result
= ((wxLocale
const *)arg1
)->GetLocale();
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9357 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxLocale
*arg1
= (wxLocale
*) 0 ;
9361 PyObject
* obj0
= 0 ;
9363 (char *) "self", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= SWIG_FromInt((int)result
);
9383 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
;
9385 wxLocale
*arg1
= (wxLocale
*) 0 ;
9387 PyObject
* obj0
= 0 ;
9389 (char *) "self", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= ((wxLocale
const *)arg1
)->GetSysName();
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9415 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
;
9417 wxLocale
*arg1
= (wxLocale
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9421 (char *) "self", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9447 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9449 wxString
*arg1
= 0 ;
9450 bool temp1
= False
;
9451 PyObject
* obj0
= 0 ;
9453 (char *) "prefix", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9458 arg1
= wxString_in_helper(obj0
);
9459 if (arg1
== NULL
) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9469 Py_INCREF(Py_None
); resultobj
= Py_None
;
9484 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
;
9486 wxLocale
*arg1
= (wxLocale
*) 0 ;
9487 wxString
*arg2
= 0 ;
9489 bool temp2
= False
;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9493 (char *) "self",(char *) "szDomain", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 arg2
= wxString_in_helper(obj1
);
9501 if (arg2
== NULL
) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9528 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxLocale
*arg1
= (wxLocale
*) 0 ;
9531 wxString
*arg2
= 0 ;
9533 bool temp2
= False
;
9534 PyObject
* obj0
= 0 ;
9535 PyObject
* obj1
= 0 ;
9537 (char *) "self",(char *) "szDomain", NULL
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9544 arg2
= wxString_in_helper(obj1
);
9545 if (arg2
== NULL
) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9572 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9575 wxLanguageInfo
*result
;
9576 PyObject
* obj0
= 0 ;
9578 (char *) "lang", NULL
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9582 arg1
= (int) SWIG_AsInt(obj0
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9598 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9602 PyObject
* obj0
= 0 ;
9604 (char *) "lang", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9608 arg1
= (int) SWIG_AsInt(obj0
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 result
= wxLocale::GetLanguageName(arg1
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9630 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxString
*arg1
= 0 ;
9633 wxLanguageInfo
*result
;
9634 bool temp1
= False
;
9635 PyObject
* obj0
= 0 ;
9637 (char *) "locale", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9642 arg1
= wxString_in_helper(obj0
);
9643 if (arg1
== NULL
) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9668 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxLanguageInfo
*arg1
= 0 ;
9671 PyObject
* obj0
= 0 ;
9673 (char *) "info", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9681 PyErr_SetString(PyExc_TypeError
,"null reference");
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 Py_INCREF(Py_None
); resultobj
= Py_None
;
9698 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
;
9700 wxLocale
*arg1
= (wxLocale
*) 0 ;
9701 wxString
*arg2
= 0 ;
9702 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9703 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9705 bool temp2
= False
;
9706 bool temp3
= False
;
9707 PyObject
* obj0
= 0 ;
9708 PyObject
* obj1
= 0 ;
9709 PyObject
* obj2
= 0 ;
9711 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9718 arg2
= wxString_in_helper(obj1
);
9719 if (arg2
== NULL
) SWIG_fail
;
9724 arg3
= wxString_in_helper(obj2
);
9725 if (arg3
== NULL
) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9765 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxLocale
*arg1
= (wxLocale
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9771 (char *) "self", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9781 result
= (wxString
*) &_result_ref
;
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9791 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9800 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9803 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9805 return Py_BuildValue((char *)"");
9807 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= (wxLocale
*)wxGetLocale();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9829 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9830 PyObject
*resultobj
;
9831 wxString
*arg1
= 0 ;
9833 bool temp1
= False
;
9834 PyObject
* obj0
= 0 ;
9836 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9838 arg1
= wxString_in_helper(obj0
);
9839 if (arg1
== NULL
) SWIG_fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= wxGetTranslation((wxString
const &)*arg1
);
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9870 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9871 PyObject
*resultobj
;
9872 wxString
*arg1
= 0 ;
9873 wxString
*arg2
= 0 ;
9876 bool temp1
= False
;
9877 bool temp2
= False
;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9880 PyObject
* obj2
= 0 ;
9882 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9884 arg1
= wxString_in_helper(obj0
);
9885 if (arg1
== NULL
) SWIG_fail
;
9889 arg2
= wxString_in_helper(obj1
);
9890 if (arg2
== NULL
) SWIG_fail
;
9893 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9931 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9936 argc
= PyObject_Length(args
);
9937 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9938 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9943 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9946 return _wrap_GetTranslation__SWIG_0(self
,args
);
9952 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9956 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9959 _v
= SWIG_CheckUnsignedLong(argv
[2]);
9961 return _wrap_GetTranslation__SWIG_1(self
,args
);
9967 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9972 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxEncodingConverter
*result
;
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
9994 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9997 PyObject
* obj0
= 0 ;
9999 (char *) "self", NULL
10002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10024 int arg4
= (int) wxCONVERT_STRICT
;
10026 PyObject
* obj0
= 0 ;
10027 PyObject
* obj1
= 0 ;
10028 PyObject
* obj2
= 0 ;
10029 PyObject
* obj3
= 0 ;
10030 char *kwnames
[] = {
10031 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10037 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10039 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 arg4
= (int) SWIG_AsInt(obj3
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10061 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10064 wxString
*arg2
= 0 ;
10066 bool temp2
= False
;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self",(char *) "input", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 arg2
= wxString_in_helper(obj1
);
10078 if (arg2
== NULL
) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10109 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10112 int arg2
= (int) wxPLATFORM_CURRENT
;
10113 wxFontEncodingArray result
;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "enc",(char *) "platform", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10121 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10124 arg2
= (int) SWIG_AsInt(obj1
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= PyList_New(0);
10136 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10137 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10138 PyList_Append(resultobj
, number
);
10148 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10149 PyObject
*resultobj
;
10151 wxFontEncodingArray result
;
10152 PyObject
* obj0
= 0 ;
10153 char *kwnames
[] = {
10154 (char *) "enc", NULL
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10158 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= PyList_New(0);
10169 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10170 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10171 PyList_Append(resultobj
, number
);
10181 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "encIn",(char *) "encOut", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10193 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10195 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10213 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10216 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10218 return Py_BuildValue((char *)"");
10220 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxDC
*arg1
= (wxDC
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "self", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 Py_INCREF(Py_None
); resultobj
= Py_None
;
10245 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxDC
*arg1
= (wxDC
*) 0 ;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 (arg1
)->BeginDrawing();
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 Py_INCREF(Py_None
); resultobj
= Py_None
;
10270 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxDC
*arg1
= (wxDC
*) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 (arg1
)->EndDrawing();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 Py_INCREF(Py_None
); resultobj
= Py_None
;
10295 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxDC
*arg1
= (wxDC
*) 0 ;
10300 wxColour
*arg4
= 0 ;
10301 int arg5
= (int) wxFLOOD_SURFACE
;
10304 PyObject
* obj0
= 0 ;
10305 PyObject
* obj1
= 0 ;
10306 PyObject
* obj2
= 0 ;
10307 PyObject
* obj3
= 0 ;
10308 PyObject
* obj4
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10316 arg2
= (int) SWIG_AsInt(obj1
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10318 arg3
= (int) SWIG_AsInt(obj2
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10322 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10325 arg5
= (int) SWIG_AsInt(obj4
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10344 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxDC
*arg1
= (wxDC
*) 0 ;
10347 wxPoint
*arg2
= 0 ;
10348 wxColour
*arg3
= 0 ;
10349 int arg4
= (int) wxFLOOD_SURFACE
;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 PyObject
* obj2
= 0 ;
10356 PyObject
* obj3
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10366 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10370 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10373 arg4
= (int) SWIG_AsInt(obj3
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10392 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxDC
*arg1
= (wxDC
*) 0 ;
10398 PyObject
* obj0
= 0 ;
10399 PyObject
* obj1
= 0 ;
10400 PyObject
* obj2
= 0 ;
10401 char *kwnames
[] = {
10402 (char *) "self",(char *) "x",(char *) "y", NULL
10405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10408 arg2
= (int) SWIG_AsInt(obj1
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10410 arg3
= (int) SWIG_AsInt(obj2
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10420 wxColour
* resultptr
;
10421 resultptr
= new wxColour((wxColour
&) result
);
10422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10430 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxDC
*arg1
= (wxDC
*) 0 ;
10433 wxPoint
*arg2
= 0 ;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self",(char *) "pt", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10447 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10457 wxColour
* resultptr
;
10458 resultptr
= new wxColour((wxColour
&) result
);
10459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10467 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
;
10469 wxDC
*arg1
= (wxDC
*) 0 ;
10474 PyObject
* obj0
= 0 ;
10475 PyObject
* obj1
= 0 ;
10476 PyObject
* obj2
= 0 ;
10477 PyObject
* obj3
= 0 ;
10478 PyObject
* obj4
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10486 arg2
= (int) SWIG_AsInt(obj1
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10488 arg3
= (int) SWIG_AsInt(obj2
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10490 arg4
= (int) SWIG_AsInt(obj3
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10492 arg5
= (int) SWIG_AsInt(obj4
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 Py_INCREF(Py_None
); resultobj
= Py_None
;
10508 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxDC
*arg1
= (wxDC
*) 0 ;
10511 wxPoint
*arg2
= 0 ;
10512 wxPoint
*arg3
= 0 ;
10515 PyObject
* obj0
= 0 ;
10516 PyObject
* obj1
= 0 ;
10517 PyObject
* obj2
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10531 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 Py_INCREF(Py_None
); resultobj
= Py_None
;
10547 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
;
10549 wxDC
*arg1
= (wxDC
*) 0 ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 PyObject
* obj2
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self",(char *) "x",(char *) "y", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10562 arg2
= (int) SWIG_AsInt(obj1
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10564 arg3
= (int) SWIG_AsInt(obj2
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 (arg1
)->CrossHair(arg2
,arg3
);
10570 wxPyEndAllowThreads(__tstate
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10573 Py_INCREF(Py_None
); resultobj
= Py_None
;
10580 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
;
10582 wxDC
*arg1
= (wxDC
*) 0 ;
10583 wxPoint
*arg2
= 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 char *kwnames
[] = {
10588 (char *) "self",(char *) "pt", NULL
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10596 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 Py_INCREF(Py_None
); resultobj
= Py_None
;
10612 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 wxDC
*arg1
= (wxDC
*) 0 ;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 PyObject
* obj2
= 0 ;
10624 PyObject
* obj3
= 0 ;
10625 PyObject
* obj4
= 0 ;
10626 PyObject
* obj5
= 0 ;
10627 PyObject
* obj6
= 0 ;
10628 char *kwnames
[] = {
10629 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10635 arg2
= (int) SWIG_AsInt(obj1
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10637 arg3
= (int) SWIG_AsInt(obj2
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10639 arg4
= (int) SWIG_AsInt(obj3
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10641 arg5
= (int) SWIG_AsInt(obj4
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10643 arg6
= (int) SWIG_AsInt(obj5
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10645 arg7
= (int) SWIG_AsInt(obj6
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 Py_INCREF(Py_None
); resultobj
= Py_None
;
10661 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxDC
*arg1
= (wxDC
*) 0 ;
10664 wxPoint
*arg2
= 0 ;
10665 wxPoint
*arg3
= 0 ;
10666 wxPoint
*arg4
= 0 ;
10670 PyObject
* obj0
= 0 ;
10671 PyObject
* obj1
= 0 ;
10672 PyObject
* obj2
= 0 ;
10673 PyObject
* obj3
= 0 ;
10674 char *kwnames
[] = {
10675 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10687 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10691 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 Py_INCREF(Py_None
); resultobj
= Py_None
;
10707 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxDC
*arg1
= (wxDC
*) 0 ;
10714 PyObject
* obj0
= 0 ;
10715 PyObject
* obj1
= 0 ;
10716 PyObject
* obj2
= 0 ;
10717 PyObject
* obj3
= 0 ;
10718 PyObject
* obj4
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10726 arg2
= (int) SWIG_AsInt(obj1
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10728 arg3
= (int) SWIG_AsInt(obj2
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10730 arg4
= (int) SWIG_AsInt(obj3
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10732 arg5
= (int) SWIG_AsInt(obj4
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 Py_INCREF(Py_None
); resultobj
= Py_None
;
10748 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxDC
*arg1
= (wxDC
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 char *kwnames
[] = {
10756 (char *) "self",(char *) "rect", NULL
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10764 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 Py_INCREF(Py_None
); resultobj
= Py_None
;
10780 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxDC
*arg1
= (wxDC
*) 0 ;
10789 PyObject
* obj0
= 0 ;
10790 PyObject
* obj1
= 0 ;
10791 PyObject
* obj2
= 0 ;
10792 PyObject
* obj3
= 0 ;
10793 PyObject
* obj4
= 0 ;
10794 PyObject
* obj5
= 0 ;
10795 PyObject
* obj6
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10803 arg2
= (int) SWIG_AsInt(obj1
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10805 arg3
= (int) SWIG_AsInt(obj2
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10807 arg4
= (int) SWIG_AsInt(obj3
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10809 arg5
= (int) SWIG_AsInt(obj4
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10811 arg6
= (double) SWIG_AsDouble(obj5
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10813 arg7
= (double) SWIG_AsDouble(obj6
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 Py_INCREF(Py_None
); resultobj
= Py_None
;
10829 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
*resultobj
;
10831 wxDC
*arg1
= (wxDC
*) 0 ;
10832 wxPoint
*arg2
= 0 ;
10838 PyObject
* obj0
= 0 ;
10839 PyObject
* obj1
= 0 ;
10840 PyObject
* obj2
= 0 ;
10841 PyObject
* obj3
= 0 ;
10842 PyObject
* obj4
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10852 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10856 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10858 arg4
= (double) SWIG_AsDouble(obj3
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10860 arg5
= (double) SWIG_AsDouble(obj4
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 Py_INCREF(Py_None
); resultobj
= Py_None
;
10876 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10878 wxDC
*arg1
= (wxDC
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 PyObject
* obj2
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self",(char *) "x",(char *) "y", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10891 arg2
= (int) SWIG_AsInt(obj1
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10893 arg3
= (int) SWIG_AsInt(obj2
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 (arg1
)->DrawPoint(arg2
,arg3
);
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10902 Py_INCREF(Py_None
); resultobj
= Py_None
;
10909 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
;
10911 wxDC
*arg1
= (wxDC
*) 0 ;
10912 wxPoint
*arg2
= 0 ;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self",(char *) "pt", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10925 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 Py_INCREF(Py_None
); resultobj
= Py_None
;
10941 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxDC
*arg1
= (wxDC
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 PyObject
* obj1
= 0 ;
10950 PyObject
* obj2
= 0 ;
10951 PyObject
* obj3
= 0 ;
10952 PyObject
* obj4
= 0 ;
10953 char *kwnames
[] = {
10954 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10960 arg2
= (int) SWIG_AsInt(obj1
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10962 arg3
= (int) SWIG_AsInt(obj2
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10964 arg4
= (int) SWIG_AsInt(obj3
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10966 arg5
= (int) SWIG_AsInt(obj4
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 Py_INCREF(Py_None
); resultobj
= Py_None
;
10982 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxDC
*arg1
= (wxDC
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self",(char *) "rect", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10998 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 Py_INCREF(Py_None
); resultobj
= Py_None
;
11014 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxDC
*arg1
= (wxDC
*) 0 ;
11017 wxPoint
*arg2
= 0 ;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self",(char *) "pt",(char *) "sz", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11033 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11037 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 Py_INCREF(Py_None
); resultobj
= Py_None
;
11053 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
;
11055 wxDC
*arg1
= (wxDC
*) 0 ;
11061 PyObject
* obj0
= 0 ;
11062 PyObject
* obj1
= 0 ;
11063 PyObject
* obj2
= 0 ;
11064 PyObject
* obj3
= 0 ;
11065 PyObject
* obj4
= 0 ;
11066 PyObject
* obj5
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11074 arg2
= (int) SWIG_AsInt(obj1
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11076 arg3
= (int) SWIG_AsInt(obj2
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11078 arg4
= (int) SWIG_AsInt(obj3
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11080 arg5
= (int) SWIG_AsInt(obj4
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11082 arg6
= (double) SWIG_AsDouble(obj5
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 Py_INCREF(Py_None
); resultobj
= Py_None
;
11098 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxDC
*arg1
= (wxDC
*) 0 ;
11104 PyObject
* obj0
= 0 ;
11105 PyObject
* obj1
= 0 ;
11106 PyObject
* obj2
= 0 ;
11107 char *kwnames
[] = {
11108 (char *) "self",(char *) "r",(char *) "radius", NULL
11111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11116 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11118 arg3
= (double) SWIG_AsDouble(obj2
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11127 Py_INCREF(Py_None
); resultobj
= Py_None
;
11134 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
*resultobj
;
11136 wxDC
*arg1
= (wxDC
*) 0 ;
11137 wxPoint
*arg2
= 0 ;
11142 PyObject
* obj0
= 0 ;
11143 PyObject
* obj1
= 0 ;
11144 PyObject
* obj2
= 0 ;
11145 PyObject
* obj3
= 0 ;
11146 char *kwnames
[] = {
11147 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11159 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11161 arg4
= (double) SWIG_AsDouble(obj3
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11165 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11167 wxPyEndAllowThreads(__tstate
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11170 Py_INCREF(Py_None
); resultobj
= Py_None
;
11177 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11178 PyObject
*resultobj
;
11179 wxDC
*arg1
= (wxDC
*) 0 ;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj1
= 0 ;
11185 PyObject
* obj2
= 0 ;
11186 PyObject
* obj3
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11194 arg2
= (int) SWIG_AsInt(obj1
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11196 arg3
= (int) SWIG_AsInt(obj2
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11198 arg4
= (int) SWIG_AsInt(obj3
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 Py_INCREF(Py_None
); resultobj
= Py_None
;
11214 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
;
11216 wxDC
*arg1
= (wxDC
*) 0 ;
11217 wxPoint
*arg2
= 0 ;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 PyObject
* obj2
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self",(char *) "pt",(char *) "radius", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11234 arg3
= (int) SWIG_AsInt(obj2
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 Py_INCREF(Py_None
); resultobj
= Py_None
;
11250 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
;
11252 wxDC
*arg1
= (wxDC
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 PyObject
* obj2
= 0 ;
11260 PyObject
* obj3
= 0 ;
11261 PyObject
* obj4
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11269 arg2
= (int) SWIG_AsInt(obj1
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11271 arg3
= (int) SWIG_AsInt(obj2
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11273 arg4
= (int) SWIG_AsInt(obj3
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11275 arg5
= (int) SWIG_AsInt(obj4
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 Py_INCREF(Py_None
); resultobj
= Py_None
;
11291 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
;
11293 wxDC
*arg1
= (wxDC
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self",(char *) "rect", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11307 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 Py_INCREF(Py_None
); resultobj
= Py_None
;
11323 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11325 wxDC
*arg1
= (wxDC
*) 0 ;
11326 wxPoint
*arg2
= 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 PyObject
* obj2
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self",(char *) "pt",(char *) "sz", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11342 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11346 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 Py_INCREF(Py_None
); resultobj
= Py_None
;
11362 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
;
11364 wxDC
*arg1
= (wxDC
*) 0 ;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 PyObject
* obj2
= 0 ;
11371 PyObject
* obj3
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11382 if (arg2
== NULL
) {
11383 PyErr_SetString(PyExc_TypeError
,"null reference");
11386 arg3
= (int) SWIG_AsInt(obj2
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11388 arg4
= (int) SWIG_AsInt(obj3
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 Py_INCREF(Py_None
); resultobj
= Py_None
;
11404 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxDC
*arg1
= (wxDC
*) 0 ;
11408 wxPoint
*arg3
= 0 ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 PyObject
* obj2
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "self",(char *) "icon",(char *) "pt", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11423 if (arg2
== NULL
) {
11424 PyErr_SetString(PyExc_TypeError
,"null reference");
11429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 Py_INCREF(Py_None
); resultobj
= Py_None
;
11445 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxDC
*arg1
= (wxDC
*) 0 ;
11448 wxBitmap
*arg2
= 0 ;
11451 bool arg5
= (bool) False
;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 PyObject
* obj2
= 0 ;
11455 PyObject
* obj3
= 0 ;
11456 PyObject
* obj4
= 0 ;
11457 char *kwnames
[] = {
11458 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11467 if (arg2
== NULL
) {
11468 PyErr_SetString(PyExc_TypeError
,"null reference");
11471 arg3
= (int) SWIG_AsInt(obj2
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11473 arg4
= (int) SWIG_AsInt(obj3
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 arg5
= (bool) SWIG_AsBool(obj4
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 Py_INCREF(Py_None
); resultobj
= Py_None
;
11493 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
;
11495 wxDC
*arg1
= (wxDC
*) 0 ;
11496 wxBitmap
*arg2
= 0 ;
11497 wxPoint
*arg3
= 0 ;
11498 bool arg4
= (bool) False
;
11500 PyObject
* obj0
= 0 ;
11501 PyObject
* obj1
= 0 ;
11502 PyObject
* obj2
= 0 ;
11503 PyObject
* obj3
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11514 if (arg2
== NULL
) {
11515 PyErr_SetString(PyExc_TypeError
,"null reference");
11520 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11523 arg4
= (bool) SWIG_AsBool(obj3
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 Py_INCREF(Py_None
); resultobj
= Py_None
;
11540 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxDC
*arg1
= (wxDC
*) 0 ;
11543 wxString
*arg2
= 0 ;
11546 bool temp2
= False
;
11547 PyObject
* obj0
= 0 ;
11548 PyObject
* obj1
= 0 ;
11549 PyObject
* obj2
= 0 ;
11550 PyObject
* obj3
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11559 arg2
= wxString_in_helper(obj1
);
11560 if (arg2
== NULL
) SWIG_fail
;
11563 arg3
= (int) SWIG_AsInt(obj2
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11565 arg4
= (int) SWIG_AsInt(obj3
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 Py_INCREF(Py_None
); resultobj
= Py_None
;
11589 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxDC
*arg1
= (wxDC
*) 0 ;
11592 wxString
*arg2
= 0 ;
11593 wxPoint
*arg3
= 0 ;
11594 bool temp2
= False
;
11596 PyObject
* obj0
= 0 ;
11597 PyObject
* obj1
= 0 ;
11598 PyObject
* obj2
= 0 ;
11599 char *kwnames
[] = {
11600 (char *) "self",(char *) "text",(char *) "pt", NULL
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11607 arg2
= wxString_in_helper(obj1
);
11608 if (arg2
== NULL
) SWIG_fail
;
11613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 Py_INCREF(Py_None
); resultobj
= Py_None
;
11637 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
;
11639 wxDC
*arg1
= (wxDC
*) 0 ;
11640 wxString
*arg2
= 0 ;
11644 bool temp2
= False
;
11645 PyObject
* obj0
= 0 ;
11646 PyObject
* obj1
= 0 ;
11647 PyObject
* obj2
= 0 ;
11648 PyObject
* obj3
= 0 ;
11649 PyObject
* obj4
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11658 arg2
= wxString_in_helper(obj1
);
11659 if (arg2
== NULL
) SWIG_fail
;
11662 arg3
= (int) SWIG_AsInt(obj2
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11664 arg4
= (int) SWIG_AsInt(obj3
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11666 arg5
= (double) SWIG_AsDouble(obj4
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11675 Py_INCREF(Py_None
); resultobj
= Py_None
;
11690 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 wxDC
*arg1
= (wxDC
*) 0 ;
11693 wxString
*arg2
= 0 ;
11694 wxPoint
*arg3
= 0 ;
11696 bool temp2
= False
;
11698 PyObject
* obj0
= 0 ;
11699 PyObject
* obj1
= 0 ;
11700 PyObject
* obj2
= 0 ;
11701 PyObject
* obj3
= 0 ;
11702 char *kwnames
[] = {
11703 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11710 arg2
= wxString_in_helper(obj1
);
11711 if (arg2
== NULL
) SWIG_fail
;
11716 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11718 arg4
= (double) SWIG_AsDouble(obj3
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 Py_INCREF(Py_None
); resultobj
= Py_None
;
11742 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxDC
*arg1
= (wxDC
*) 0 ;
11749 wxDC
*arg6
= (wxDC
*) 0 ;
11752 int arg9
= (int) wxCOPY
;
11753 bool arg10
= (bool) False
;
11754 int arg11
= (int) -1 ;
11755 int arg12
= (int) -1 ;
11757 PyObject
* obj0
= 0 ;
11758 PyObject
* obj1
= 0 ;
11759 PyObject
* obj2
= 0 ;
11760 PyObject
* obj3
= 0 ;
11761 PyObject
* obj4
= 0 ;
11762 PyObject
* obj5
= 0 ;
11763 PyObject
* obj6
= 0 ;
11764 PyObject
* obj7
= 0 ;
11765 PyObject
* obj8
= 0 ;
11766 PyObject
* obj9
= 0 ;
11767 PyObject
* obj10
= 0 ;
11768 PyObject
* obj11
= 0 ;
11769 char *kwnames
[] = {
11770 (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
11773 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
;
11774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11776 arg2
= (int) SWIG_AsInt(obj1
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11778 arg3
= (int) SWIG_AsInt(obj2
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11780 arg4
= (int) SWIG_AsInt(obj3
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11782 arg5
= (int) SWIG_AsInt(obj4
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11784 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11786 arg7
= (int) SWIG_AsInt(obj6
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11788 arg8
= (int) SWIG_AsInt(obj7
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 arg9
= (int) SWIG_AsInt(obj8
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11795 arg10
= (bool) SWIG_AsBool(obj9
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11799 arg11
= (int) SWIG_AsInt(obj10
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11803 arg12
= (int) SWIG_AsInt(obj11
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11822 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxDC
*arg1
= (wxDC
*) 0 ;
11825 wxPoint
*arg2
= 0 ;
11827 wxDC
*arg4
= (wxDC
*) 0 ;
11828 wxPoint
*arg5
= 0 ;
11829 int arg6
= (int) wxCOPY
;
11830 bool arg7
= (bool) False
;
11831 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11832 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11838 PyObject
* obj0
= 0 ;
11839 PyObject
* obj1
= 0 ;
11840 PyObject
* obj2
= 0 ;
11841 PyObject
* obj3
= 0 ;
11842 PyObject
* obj4
= 0 ;
11843 PyObject
* obj5
= 0 ;
11844 PyObject
* obj6
= 0 ;
11845 PyObject
* obj7
= 0 ;
11846 char *kwnames
[] = {
11847 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11855 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11859 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11861 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11865 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11868 arg6
= (int) SWIG_AsInt(obj5
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11872 arg7
= (bool) SWIG_AsBool(obj6
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11878 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11897 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
;
11899 wxDC
*arg1
= (wxDC
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 PyObject
* obj1
= 0 ;
11906 PyObject
* obj2
= 0 ;
11907 PyObject
* obj3
= 0 ;
11908 PyObject
* obj4
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11916 arg2
= (int) SWIG_AsInt(obj1
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11918 arg3
= (int) SWIG_AsInt(obj2
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11920 arg4
= (int) SWIG_AsInt(obj3
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11922 arg5
= (int) SWIG_AsInt(obj4
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 Py_INCREF(Py_None
); resultobj
= Py_None
;
11938 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxDC
*arg1
= (wxDC
*) 0 ;
11941 wxPoint
*arg2
= 0 ;
11945 PyObject
* obj0
= 0 ;
11946 PyObject
* obj1
= 0 ;
11947 PyObject
* obj2
= 0 ;
11948 char *kwnames
[] = {
11949 (char *) "self",(char *) "pt",(char *) "sz", NULL
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11957 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11961 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 Py_INCREF(Py_None
); resultobj
= Py_None
;
11977 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
;
11979 wxDC
*arg1
= (wxDC
*) 0 ;
11980 wxRegion
*arg2
= 0 ;
11981 PyObject
* obj0
= 0 ;
11982 PyObject
* obj1
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self",(char *) "region", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
11988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
11991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11993 if (arg2
== NULL
) {
11994 PyErr_SetString(PyExc_TypeError
,"null reference");
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 Py_INCREF(Py_None
); resultobj
= Py_None
;
12011 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxDC
*arg1
= (wxDC
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "self",(char *) "rect", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12027 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 Py_INCREF(Py_None
); resultobj
= Py_None
;
12043 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxDC
*arg1
= (wxDC
*) 0 ;
12047 wxPoint
*arg3
= (wxPoint
*) 0 ;
12048 int arg4
= (int) 0 ;
12049 int arg5
= (int) 0 ;
12050 PyObject
* obj0
= 0 ;
12051 PyObject
* obj1
= 0 ;
12052 PyObject
* obj2
= 0 ;
12053 PyObject
* obj3
= 0 ;
12054 char *kwnames
[] = {
12055 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12062 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12063 if (arg3
== NULL
) SWIG_fail
;
12066 arg4
= (int) SWIG_AsInt(obj2
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12070 arg5
= (int) SWIG_AsInt(obj3
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 Py_INCREF(Py_None
); resultobj
= Py_None
;
12082 if (arg3
) delete [] arg3
;
12087 if (arg3
) delete [] arg3
;
12093 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxDC
*arg1
= (wxDC
*) 0 ;
12097 wxPoint
*arg3
= (wxPoint
*) 0 ;
12098 int arg4
= (int) 0 ;
12099 int arg5
= (int) 0 ;
12100 int arg6
= (int) wxODDEVEN_RULE
;
12101 PyObject
* obj0
= 0 ;
12102 PyObject
* obj1
= 0 ;
12103 PyObject
* obj2
= 0 ;
12104 PyObject
* obj3
= 0 ;
12105 PyObject
* obj4
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12114 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12115 if (arg3
== NULL
) SWIG_fail
;
12118 arg4
= (int) SWIG_AsInt(obj2
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12122 arg5
= (int) SWIG_AsInt(obj3
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 arg6
= (int) SWIG_AsInt(obj4
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 Py_INCREF(Py_None
); resultobj
= Py_None
;
12138 if (arg3
) delete [] arg3
;
12143 if (arg3
) delete [] arg3
;
12149 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
;
12151 wxDC
*arg1
= (wxDC
*) 0 ;
12152 wxString
*arg2
= 0 ;
12154 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12155 int arg5
= (int) -1 ;
12156 bool temp2
= False
;
12158 PyObject
* obj0
= 0 ;
12159 PyObject
* obj1
= 0 ;
12160 PyObject
* obj2
= 0 ;
12161 PyObject
* obj3
= 0 ;
12162 PyObject
* obj4
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12171 arg2
= wxString_in_helper(obj1
);
12172 if (arg2
== NULL
) SWIG_fail
;
12177 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12180 arg4
= (int) SWIG_AsInt(obj3
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 arg5
= (int) SWIG_AsInt(obj4
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 Py_INCREF(Py_None
); resultobj
= Py_None
;
12209 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
;
12211 wxDC
*arg1
= (wxDC
*) 0 ;
12212 wxString
*arg2
= 0 ;
12213 wxBitmap
*arg3
= 0 ;
12215 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12216 int arg6
= (int) -1 ;
12218 bool temp2
= False
;
12220 PyObject
* obj0
= 0 ;
12221 PyObject
* obj1
= 0 ;
12222 PyObject
* obj2
= 0 ;
12223 PyObject
* obj3
= 0 ;
12224 PyObject
* obj4
= 0 ;
12225 PyObject
* obj5
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12234 arg2
= wxString_in_helper(obj1
);
12235 if (arg2
== NULL
) SWIG_fail
;
12238 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12241 if (arg3
== NULL
) {
12242 PyErr_SetString(PyExc_TypeError
,"null reference");
12247 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12250 arg5
= (int) SWIG_AsInt(obj4
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 arg6
= (int) SWIG_AsInt(obj5
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12265 wxRect
* resultptr
;
12266 resultptr
= new wxRect((wxRect
&) result
);
12267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12283 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxDC
*arg1
= (wxDC
*) 0 ;
12287 wxPoint
*arg3
= (wxPoint
*) 0 ;
12288 PyObject
* obj0
= 0 ;
12289 PyObject
* obj1
= 0 ;
12290 char *kwnames
[] = {
12291 (char *) "self",(char *) "points", NULL
12294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12298 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12299 if (arg3
== NULL
) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 (arg1
)->DrawSpline(arg2
,arg3
);
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 Py_INCREF(Py_None
); resultobj
= Py_None
;
12310 if (arg3
) delete [] arg3
;
12315 if (arg3
) delete [] arg3
;
12321 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxDC
*arg1
= (wxDC
*) 0 ;
12324 PyObject
* obj0
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "self", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 Py_INCREF(Py_None
); resultobj
= Py_None
;
12346 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
;
12348 wxDC
*arg1
= (wxDC
*) 0 ;
12349 wxString
*arg2
= 0 ;
12351 bool temp2
= False
;
12352 PyObject
* obj0
= 0 ;
12353 PyObject
* obj1
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self",(char *) "message", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12362 arg2
= wxString_in_helper(obj1
);
12363 if (arg2
== NULL
) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12390 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
;
12392 wxDC
*arg1
= (wxDC
*) 0 ;
12393 PyObject
* obj0
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "self", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 Py_INCREF(Py_None
); resultobj
= Py_None
;
12415 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxDC
*arg1
= (wxDC
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 (arg1
)->StartPage();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 Py_INCREF(Py_None
); resultobj
= Py_None
;
12440 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
;
12442 wxDC
*arg1
= (wxDC
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "self", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 Py_INCREF(Py_None
); resultobj
= Py_None
;
12465 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxDC
*arg1
= (wxDC
*) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 PyObject
* obj1
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self",(char *) "font", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12481 if (arg2
== NULL
) {
12482 PyErr_SetString(PyExc_TypeError
,"null reference");
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 (arg1
)->SetFont((wxFont
const &)*arg2
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 Py_INCREF(Py_None
); resultobj
= Py_None
;
12499 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxDC
*arg1
= (wxDC
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self",(char *) "pen", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12515 if (arg2
== NULL
) {
12516 PyErr_SetString(PyExc_TypeError
,"null reference");
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 (arg1
)->SetPen((wxPen
const &)*arg2
);
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 Py_INCREF(Py_None
); resultobj
= Py_None
;
12533 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxDC
*arg1
= (wxDC
*) 0 ;
12536 wxBrush
*arg2
= 0 ;
12537 PyObject
* obj0
= 0 ;
12538 PyObject
* obj1
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self",(char *) "brush", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12549 if (arg2
== NULL
) {
12550 PyErr_SetString(PyExc_TypeError
,"null reference");
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12560 Py_INCREF(Py_None
); resultobj
= Py_None
;
12567 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxDC
*arg1
= (wxDC
*) 0 ;
12570 wxBrush
*arg2
= 0 ;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self",(char *) "brush", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12583 if (arg2
== NULL
) {
12584 PyErr_SetString(PyExc_TypeError
,"null reference");
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12594 Py_INCREF(Py_None
); resultobj
= Py_None
;
12601 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
;
12603 wxDC
*arg1
= (wxDC
*) 0 ;
12605 PyObject
* obj0
= 0 ;
12606 PyObject
* obj1
= 0 ;
12607 char *kwnames
[] = {
12608 (char *) "self",(char *) "mode", NULL
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12614 arg2
= (int) SWIG_AsInt(obj1
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 (arg1
)->SetBackgroundMode(arg2
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 Py_INCREF(Py_None
); resultobj
= Py_None
;
12630 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxDC
*arg1
= (wxDC
*) 0 ;
12633 wxPalette
*arg2
= 0 ;
12634 PyObject
* obj0
= 0 ;
12635 PyObject
* obj1
= 0 ;
12636 char *kwnames
[] = {
12637 (char *) "self",(char *) "palette", NULL
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12646 if (arg2
== NULL
) {
12647 PyErr_SetString(PyExc_TypeError
,"null reference");
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 Py_INCREF(Py_None
); resultobj
= Py_None
;
12664 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxDC
*arg1
= (wxDC
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 (arg1
)->DestroyClippingRegion();
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 Py_INCREF(Py_None
); resultobj
= Py_None
;
12689 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxDC
*arg1
= (wxDC
*) 0 ;
12692 int *arg2
= (int *) 0 ;
12693 int *arg3
= (int *) 0 ;
12694 int *arg4
= (int *) 0 ;
12695 int *arg5
= (int *) 0 ;
12700 PyObject
* obj0
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 Py_INCREF(Py_None
); resultobj
= Py_None
;
12721 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12722 resultobj
= t_output_helper(resultobj
,o
);
12725 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12726 resultobj
= t_output_helper(resultobj
,o
);
12729 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12730 resultobj
= t_output_helper(resultobj
,o
);
12733 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12734 resultobj
= t_output_helper(resultobj
,o
);
12742 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
;
12744 wxDC
*arg1
= (wxDC
*) 0 ;
12746 PyObject
* obj0
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "self", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 result
= wxDC_GetClippingRect(arg1
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12762 wxRect
* resultptr
;
12763 resultptr
= new wxRect((wxRect
&) result
);
12764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12772 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12773 PyObject
*resultobj
;
12774 wxDC
*arg1
= (wxDC
*) 0 ;
12776 PyObject
* obj0
= 0 ;
12777 char *kwnames
[] = {
12778 (char *) "self", NULL
12781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= SWIG_FromInt((int)result
);
12798 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxDC
*arg1
= (wxDC
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= SWIG_FromInt((int)result
);
12824 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxDC
*arg1
= (wxDC
*) 0 ;
12827 wxString
*arg2
= 0 ;
12828 int *arg3
= (int *) 0 ;
12829 int *arg4
= (int *) 0 ;
12830 bool temp2
= False
;
12833 PyObject
* obj0
= 0 ;
12834 PyObject
* obj1
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self",(char *) "string", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 arg2
= wxString_in_helper(obj1
);
12846 if (arg2
== NULL
) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 Py_INCREF(Py_None
); resultobj
= Py_None
;
12858 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12859 resultobj
= t_output_helper(resultobj
,o
);
12862 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12863 resultobj
= t_output_helper(resultobj
,o
);
12879 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxDC
*arg1
= (wxDC
*) 0 ;
12882 wxString
*arg2
= 0 ;
12883 int *arg3
= (int *) 0 ;
12884 int *arg4
= (int *) 0 ;
12885 int *arg5
= (int *) 0 ;
12886 int *arg6
= (int *) 0 ;
12887 wxFont
*arg7
= (wxFont
*) NULL
;
12888 bool temp2
= False
;
12893 PyObject
* obj0
= 0 ;
12894 PyObject
* obj1
= 0 ;
12895 PyObject
* obj2
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self",(char *) "string",(char *) "font", NULL
12904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12908 arg2
= wxString_in_helper(obj1
);
12909 if (arg2
== NULL
) SWIG_fail
;
12913 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 Py_INCREF(Py_None
); resultobj
= Py_None
;
12925 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12926 resultobj
= t_output_helper(resultobj
,o
);
12929 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12930 resultobj
= t_output_helper(resultobj
,o
);
12933 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12934 resultobj
= t_output_helper(resultobj
,o
);
12937 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12938 resultobj
= t_output_helper(resultobj
,o
);
12954 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxDC
*arg1
= (wxDC
*) 0 ;
12957 wxString
*arg2
= 0 ;
12958 int *arg3
= (int *) 0 ;
12959 int *arg4
= (int *) 0 ;
12960 int *arg5
= (int *) 0 ;
12961 wxFont
*arg6
= (wxFont
*) NULL
;
12962 bool temp2
= False
;
12966 PyObject
* obj0
= 0 ;
12967 PyObject
* obj1
= 0 ;
12968 PyObject
* obj2
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "self",(char *) "text",(char *) "font", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12980 arg2
= wxString_in_helper(obj1
);
12981 if (arg2
== NULL
) SWIG_fail
;
12985 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
12986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 Py_INCREF(Py_None
); resultobj
= Py_None
;
12997 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12998 resultobj
= t_output_helper(resultobj
,o
);
13001 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13002 resultobj
= t_output_helper(resultobj
,o
);
13005 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13006 resultobj
= t_output_helper(resultobj
,o
);
13022 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxDC
*arg1
= (wxDC
*) 0 ;
13025 wxString
*arg2
= 0 ;
13027 bool temp2
= False
;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self",(char *) "text", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13038 arg2
= wxString_in_helper(obj1
);
13039 if (arg2
== NULL
) SWIG_fail
;
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= PyList_New(0);
13052 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13053 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13054 PyList_Append(resultobj
, val
);
13072 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxDC
*arg1
= (wxDC
*) 0 ;
13076 PyObject
* obj0
= 0 ;
13077 char *kwnames
[] = {
13078 (char *) "self", NULL
13081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (arg1
)->GetSize();
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13092 wxSize
* resultptr
;
13093 resultptr
= new wxSize((wxSize
&) result
);
13094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13102 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxDC
*arg1
= (wxDC
*) 0 ;
13105 int *arg2
= (int *) 0 ;
13106 int *arg3
= (int *) 0 ;
13109 PyObject
* obj0
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 (arg1
)->GetSize(arg2
,arg3
);
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 Py_INCREF(Py_None
); resultobj
= Py_None
;
13128 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13129 resultobj
= t_output_helper(resultobj
,o
);
13132 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13133 resultobj
= t_output_helper(resultobj
,o
);
13141 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxDC
*arg1
= (wxDC
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13161 wxSize
* resultptr
;
13162 resultptr
= new wxSize((wxSize
&) result
);
13163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13171 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxDC
*arg1
= (wxDC
*) 0 ;
13174 int *arg2
= (int *) 0 ;
13175 int *arg3
= (int *) 0 ;
13178 PyObject
* obj0
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 Py_INCREF(Py_None
); resultobj
= Py_None
;
13197 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13198 resultobj
= t_output_helper(resultobj
,o
);
13201 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13202 resultobj
= t_output_helper(resultobj
,o
);
13210 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxDC
*arg1
= (wxDC
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 PyObject
* obj1
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "self",(char *) "x", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13224 arg2
= (int) SWIG_AsInt(obj1
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_FromInt((int)result
);
13240 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxDC
*arg1
= (wxDC
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 PyObject
* obj1
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self",(char *) "y", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 arg2
= (int) SWIG_AsInt(obj1
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_FromInt((int)result
);
13270 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxDC
*arg1
= (wxDC
*) 0 ;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self",(char *) "x", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13284 arg2
= (int) SWIG_AsInt(obj1
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= SWIG_FromInt((int)result
);
13300 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxDC
*arg1
= (wxDC
*) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 PyObject
* obj1
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "self",(char *) "y", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13314 arg2
= (int) SWIG_AsInt(obj1
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= SWIG_FromInt((int)result
);
13330 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxDC
*arg1
= (wxDC
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self",(char *) "x", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 arg2
= (int) SWIG_AsInt(obj1
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_FromInt((int)result
);
13360 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
;
13362 wxDC
*arg1
= (wxDC
*) 0 ;
13365 PyObject
* obj0
= 0 ;
13366 PyObject
* obj1
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self",(char *) "y", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13374 arg2
= (int) SWIG_AsInt(obj1
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_FromInt((int)result
);
13390 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxDC
*arg1
= (wxDC
*) 0 ;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj1
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self",(char *) "x", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13404 arg2
= (int) SWIG_AsInt(obj1
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= SWIG_FromInt((int)result
);
13420 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxDC
*arg1
= (wxDC
*) 0 ;
13425 PyObject
* obj0
= 0 ;
13426 PyObject
* obj1
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self",(char *) "y", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13434 arg2
= (int) SWIG_AsInt(obj1
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= SWIG_FromInt((int)result
);
13450 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxDC
*arg1
= (wxDC
*) 0 ;
13454 PyObject
* obj0
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "self", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13478 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13479 PyObject
*resultobj
;
13480 wxDC
*arg1
= (wxDC
*) 0 ;
13482 PyObject
* obj0
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13506 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxDC
*arg1
= (wxDC
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= SWIG_FromInt((int)result
);
13532 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxDC
*arg1
= (wxDC
*) 0 ;
13536 PyObject
* obj0
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= ((wxDC
const *)arg1
)->GetPPI();
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13552 wxSize
* resultptr
;
13553 resultptr
= new wxSize((wxSize
&) result
);
13554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13562 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxDC
*arg1
= (wxDC
*) 0 ;
13566 PyObject
* obj0
= 0 ;
13567 char *kwnames
[] = {
13568 (char *) "self", NULL
13571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (bool)((wxDC
const *)arg1
)->Ok();
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13590 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxDC
*arg1
= (wxDC
*) 0 ;
13594 PyObject
* obj0
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= SWIG_FromInt((int)result
);
13616 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxDC
*arg1
= (wxDC
*) 0 ;
13620 PyObject
* obj0
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13632 result
= (wxBrush
*) &_result_ref
;
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13639 wxBrush
* resultptr
= new wxBrush(*result
);
13640 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13648 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
;
13650 wxDC
*arg1
= (wxDC
*) 0 ;
13652 PyObject
* obj0
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "self", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13664 result
= (wxBrush
*) &_result_ref
;
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13671 wxBrush
* resultptr
= new wxBrush(*result
);
13672 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13680 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxDC
*arg1
= (wxDC
*) 0 ;
13684 PyObject
* obj0
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "self", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13696 result
= (wxFont
*) &_result_ref
;
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13703 wxFont
* resultptr
= new wxFont(*result
);
13704 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13712 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
;
13714 wxDC
*arg1
= (wxDC
*) 0 ;
13716 PyObject
* obj0
= 0 ;
13717 char *kwnames
[] = {
13718 (char *) "self", NULL
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13728 result
= (wxPen
*) &_result_ref
;
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13735 wxPen
* resultptr
= new wxPen(*result
);
13736 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13744 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxDC
*arg1
= (wxDC
*) 0 ;
13748 PyObject
* obj0
= 0 ;
13749 char *kwnames
[] = {
13750 (char *) "self", NULL
13753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13760 result
= (wxColour
*) &_result_ref
;
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13773 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 wxDC
*arg1
= (wxDC
*) 0 ;
13777 PyObject
* obj0
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13789 result
= (wxColour
*) &_result_ref
;
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13802 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxDC
*arg1
= (wxDC
*) 0 ;
13805 wxColour
*arg2
= 0 ;
13807 PyObject
* obj0
= 0 ;
13808 PyObject
* obj1
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self",(char *) "colour", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13818 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 Py_INCREF(Py_None
); resultobj
= Py_None
;
13834 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
;
13836 wxDC
*arg1
= (wxDC
*) 0 ;
13837 wxColour
*arg2
= 0 ;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self",(char *) "colour", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13850 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 Py_INCREF(Py_None
); resultobj
= Py_None
;
13866 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
;
13868 wxDC
*arg1
= (wxDC
*) 0 ;
13870 PyObject
* obj0
= 0 ;
13871 char *kwnames
[] = {
13872 (char *) "self", NULL
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13882 wxPyEndAllowThreads(__tstate
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13885 resultobj
= SWIG_FromInt((int)result
);
13892 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxDC
*arg1
= (wxDC
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 PyObject
* obj1
= 0 ;
13898 char *kwnames
[] = {
13899 (char *) "self",(char *) "mode", NULL
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13905 arg2
= (int) SWIG_AsInt(obj1
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 (arg1
)->SetMapMode(arg2
);
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 Py_INCREF(Py_None
); resultobj
= Py_None
;
13921 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxDC
*arg1
= (wxDC
*) 0 ;
13924 double *arg2
= (double *) 0 ;
13925 double *arg3
= (double *) 0 ;
13928 PyObject
* obj0
= 0 ;
13929 char *kwnames
[] = {
13930 (char *) "self", NULL
13935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 Py_INCREF(Py_None
); resultobj
= Py_None
;
13947 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13948 resultobj
= t_output_helper(resultobj
,o
);
13951 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13952 resultobj
= t_output_helper(resultobj
,o
);
13960 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxDC
*arg1
= (wxDC
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 PyObject
* obj1
= 0 ;
13967 PyObject
* obj2
= 0 ;
13968 char *kwnames
[] = {
13969 (char *) "self",(char *) "x",(char *) "y", NULL
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13975 arg2
= (double) SWIG_AsDouble(obj1
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13977 arg3
= (double) SWIG_AsDouble(obj2
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 (arg1
)->SetUserScale(arg2
,arg3
);
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13986 Py_INCREF(Py_None
); resultobj
= Py_None
;
13993 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13994 PyObject
*resultobj
;
13995 wxDC
*arg1
= (wxDC
*) 0 ;
13996 double *arg2
= (double *) 0 ;
13997 double *arg3
= (double *) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 (arg1
)->GetLogicalScale(arg2
,arg3
);
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 Py_INCREF(Py_None
); resultobj
= Py_None
;
14019 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14020 resultobj
= t_output_helper(resultobj
,o
);
14023 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14024 resultobj
= t_output_helper(resultobj
,o
);
14032 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
;
14034 wxDC
*arg1
= (wxDC
*) 0 ;
14037 PyObject
* obj0
= 0 ;
14038 PyObject
* obj1
= 0 ;
14039 PyObject
* obj2
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self",(char *) "x",(char *) "y", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14047 arg2
= (double) SWIG_AsDouble(obj1
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14049 arg3
= (double) SWIG_AsDouble(obj2
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 (arg1
)->SetLogicalScale(arg2
,arg3
);
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14058 Py_INCREF(Py_None
); resultobj
= Py_None
;
14065 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14066 PyObject
*resultobj
;
14067 wxDC
*arg1
= (wxDC
*) 0 ;
14069 PyObject
* obj0
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14085 wxPoint
* resultptr
;
14086 resultptr
= new wxPoint((wxPoint
&) result
);
14087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14095 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxDC
*arg1
= (wxDC
*) 0 ;
14098 int *arg2
= (int *) 0 ;
14099 int *arg3
= (int *) 0 ;
14102 PyObject
* obj0
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self", NULL
14109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 Py_INCREF(Py_None
); resultobj
= Py_None
;
14121 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14122 resultobj
= t_output_helper(resultobj
,o
);
14125 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14126 resultobj
= t_output_helper(resultobj
,o
);
14134 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxDC
*arg1
= (wxDC
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 PyObject
* obj1
= 0 ;
14141 PyObject
* obj2
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "self",(char *) "x",(char *) "y", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14149 arg2
= (int) SWIG_AsInt(obj1
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14151 arg3
= (int) SWIG_AsInt(obj2
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14160 Py_INCREF(Py_None
); resultobj
= Py_None
;
14167 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxDC
*arg1
= (wxDC
*) 0 ;
14170 wxPoint
*arg2
= 0 ;
14172 PyObject
* obj0
= 0 ;
14173 PyObject
* obj1
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self",(char *) "point", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 Py_INCREF(Py_None
); resultobj
= Py_None
;
14199 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
;
14201 wxDC
*arg1
= (wxDC
*) 0 ;
14203 PyObject
* obj0
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self", NULL
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14219 wxPoint
* resultptr
;
14220 resultptr
= new wxPoint((wxPoint
&) result
);
14221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14229 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxDC
*arg1
= (wxDC
*) 0 ;
14232 int *arg2
= (int *) 0 ;
14233 int *arg3
= (int *) 0 ;
14236 PyObject
* obj0
= 0 ;
14237 char *kwnames
[] = {
14238 (char *) "self", NULL
14243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 Py_INCREF(Py_None
); resultobj
= Py_None
;
14255 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14256 resultobj
= t_output_helper(resultobj
,o
);
14259 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14260 resultobj
= t_output_helper(resultobj
,o
);
14268 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxDC
*arg1
= (wxDC
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 PyObject
* obj2
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self",(char *) "x",(char *) "y", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14283 arg2
= (int) SWIG_AsInt(obj1
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14285 arg3
= (int) SWIG_AsInt(obj2
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 Py_INCREF(Py_None
); resultobj
= Py_None
;
14301 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxDC
*arg1
= (wxDC
*) 0 ;
14304 wxPoint
*arg2
= 0 ;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self",(char *) "point", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 Py_INCREF(Py_None
); resultobj
= Py_None
;
14333 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxDC
*arg1
= (wxDC
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 PyObject
* obj1
= 0 ;
14340 PyObject
* obj2
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14348 arg2
= (bool) SWIG_AsBool(obj1
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14350 arg3
= (bool) SWIG_AsBool(obj2
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 Py_INCREF(Py_None
); resultobj
= Py_None
;
14366 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxDC
*arg1
= (wxDC
*) 0 ;
14370 PyObject
* obj0
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= SWIG_FromInt((int)result
);
14392 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxDC
*arg1
= (wxDC
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 PyObject
* obj1
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "self",(char *) "function", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14405 arg2
= (int) SWIG_AsInt(obj1
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 (arg1
)->SetLogicalFunction(arg2
);
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 Py_INCREF(Py_None
); resultobj
= Py_None
;
14421 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxDC
*arg1
= (wxDC
*) 0 ;
14425 PyObject
* obj0
= 0 ;
14426 PyObject
* obj1
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self",(char *) "opt", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14434 arg2
= (bool) SWIG_AsBool(obj1
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 (arg1
)->SetOptimization(arg2
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 Py_INCREF(Py_None
); resultobj
= Py_None
;
14450 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxDC
*arg1
= (wxDC
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (bool)(arg1
)->GetOptimization();
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14478 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
;
14480 wxDC
*arg1
= (wxDC
*) 0 ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 PyObject
* obj2
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self",(char *) "x",(char *) "y", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14493 arg2
= (int) SWIG_AsInt(obj1
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14495 arg3
= (int) SWIG_AsInt(obj2
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14499 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 Py_INCREF(Py_None
); resultobj
= Py_None
;
14511 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxDC
*arg1
= (wxDC
*) 0 ;
14514 wxPoint
*arg2
= 0 ;
14516 PyObject
* obj0
= 0 ;
14517 PyObject
* obj1
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self",(char *) "point", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 Py_INCREF(Py_None
); resultobj
= Py_None
;
14543 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxDC
*arg1
= (wxDC
*) 0 ;
14546 PyObject
* obj0
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "self", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 (arg1
)->ResetBoundingBox();
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 Py_INCREF(Py_None
); resultobj
= Py_None
;
14568 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
;
14570 wxDC
*arg1
= (wxDC
*) 0 ;
14572 PyObject
* obj0
= 0 ;
14573 char *kwnames
[] = {
14574 (char *) "self", NULL
14577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= (int)((wxDC
const *)arg1
)->MinX();
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14587 resultobj
= SWIG_FromInt((int)result
);
14594 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxDC
*arg1
= (wxDC
*) 0 ;
14598 PyObject
* obj0
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "self", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= (int)((wxDC
const *)arg1
)->MaxX();
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 resultobj
= SWIG_FromInt((int)result
);
14620 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14621 PyObject
*resultobj
;
14622 wxDC
*arg1
= (wxDC
*) 0 ;
14624 PyObject
* obj0
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "self", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= (int)((wxDC
const *)arg1
)->MinY();
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= SWIG_FromInt((int)result
);
14646 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 wxDC
*arg1
= (wxDC
*) 0 ;
14650 PyObject
* obj0
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "self", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (int)((wxDC
const *)arg1
)->MaxY();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= SWIG_FromInt((int)result
);
14672 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxDC
*arg1
= (wxDC
*) 0 ;
14675 int *arg2
= (int *) 0 ;
14676 int *arg3
= (int *) 0 ;
14677 int *arg4
= (int *) 0 ;
14678 int *arg5
= (int *) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 Py_INCREF(Py_None
); resultobj
= Py_None
;
14704 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14705 resultobj
= t_output_helper(resultobj
,o
);
14708 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14709 resultobj
= t_output_helper(resultobj
,o
);
14712 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14713 resultobj
= t_output_helper(resultobj
,o
);
14716 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14717 resultobj
= t_output_helper(resultobj
,o
);
14725 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxDC
*arg1
= (wxDC
*) 0 ;
14728 PyObject
*arg2
= (PyObject
*) 0 ;
14729 PyObject
*arg3
= (PyObject
*) 0 ;
14730 PyObject
*arg4
= (PyObject
*) 0 ;
14732 PyObject
* obj0
= 0 ;
14733 PyObject
* obj1
= 0 ;
14734 PyObject
* obj2
= 0 ;
14735 PyObject
* obj3
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= result
;
14760 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxDC
*arg1
= (wxDC
*) 0 ;
14763 PyObject
*arg2
= (PyObject
*) 0 ;
14764 PyObject
*arg3
= (PyObject
*) 0 ;
14765 PyObject
*arg4
= (PyObject
*) 0 ;
14767 PyObject
* obj0
= 0 ;
14768 PyObject
* obj1
= 0 ;
14769 PyObject
* obj2
= 0 ;
14770 PyObject
* obj3
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 resultobj
= result
;
14795 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
;
14797 wxDC
*arg1
= (wxDC
*) 0 ;
14798 PyObject
*arg2
= (PyObject
*) 0 ;
14799 PyObject
*arg3
= (PyObject
*) 0 ;
14800 PyObject
*arg4
= (PyObject
*) 0 ;
14802 PyObject
* obj0
= 0 ;
14803 PyObject
* obj1
= 0 ;
14804 PyObject
* obj2
= 0 ;
14805 PyObject
* obj3
= 0 ;
14806 char *kwnames
[] = {
14807 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= result
;
14830 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
;
14832 wxDC
*arg1
= (wxDC
*) 0 ;
14833 PyObject
*arg2
= (PyObject
*) 0 ;
14834 PyObject
*arg3
= (PyObject
*) 0 ;
14835 PyObject
*arg4
= (PyObject
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 PyObject
* obj1
= 0 ;
14839 PyObject
* obj2
= 0 ;
14840 PyObject
* obj3
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= result
;
14865 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxDC
*arg1
= (wxDC
*) 0 ;
14868 PyObject
*arg2
= (PyObject
*) 0 ;
14869 PyObject
*arg3
= (PyObject
*) 0 ;
14870 PyObject
*arg4
= (PyObject
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 PyObject
* obj1
= 0 ;
14874 PyObject
* obj2
= 0 ;
14875 PyObject
* obj3
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= result
;
14900 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxDC
*arg1
= (wxDC
*) 0 ;
14903 PyObject
*arg2
= (PyObject
*) 0 ;
14904 PyObject
*arg3
= (PyObject
*) 0 ;
14905 PyObject
*arg4
= (PyObject
*) 0 ;
14906 PyObject
*arg5
= (PyObject
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 PyObject
* obj2
= 0 ;
14911 PyObject
* obj3
= 0 ;
14912 PyObject
* obj4
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= result
;
14938 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14941 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14943 return Py_BuildValue((char *)"");
14945 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxMemoryDC
*result
;
14948 char *kwnames
[] = {
14952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14954 if (!wxPyCheckForApp()) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (wxMemoryDC
*)new wxMemoryDC();
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14968 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
;
14970 wxDC
*arg1
= (wxDC
*) 0 ;
14971 wxMemoryDC
*result
;
14972 PyObject
* obj0
= 0 ;
14973 char *kwnames
[] = {
14974 (char *) "oldDC", NULL
14977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14981 if (!wxPyCheckForApp()) SWIG_fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14995 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14998 wxBitmap
*arg2
= 0 ;
14999 PyObject
* obj0
= 0 ;
15000 PyObject
* obj1
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self",(char *) "bitmap", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15011 if (arg2
== NULL
) {
15012 PyErr_SetString(PyExc_TypeError
,"null reference");
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15022 Py_INCREF(Py_None
); resultobj
= Py_None
;
15029 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15032 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15034 return Py_BuildValue((char *)"");
15036 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15037 PyObject
*resultobj
;
15038 wxDC
*arg1
= (wxDC
*) 0 ;
15039 wxBitmap
*arg2
= 0 ;
15040 wxBufferedDC
*result
;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15044 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15050 if (arg2
== NULL
) {
15051 PyErr_SetString(PyExc_TypeError
,"null reference");
15055 if (!wxPyCheckForApp()) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15069 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15070 PyObject
*resultobj
;
15071 wxDC
*arg1
= (wxDC
*) 0 ;
15073 wxBufferedDC
*result
;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15078 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15083 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15086 if (!wxPyCheckForApp()) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15100 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15105 argc
= PyObject_Length(args
);
15106 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15107 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15113 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15123 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15131 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15139 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15148 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15151 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15156 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15161 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15162 PyObject
*resultobj
;
15163 wxDC
*arg1
= (wxDC
*) 0 ;
15165 wxBufferedDC
*result
;
15167 PyObject
* obj0
= 0 ;
15168 PyObject
* obj1
= 0 ;
15170 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15178 if (!wxPyCheckForApp()) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15192 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15195 PyObject
* obj0
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 Py_INCREF(Py_None
); resultobj
= Py_None
;
15217 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15220 PyObject
* obj0
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 Py_INCREF(Py_None
); resultobj
= Py_None
;
15242 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15245 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15247 return Py_BuildValue((char *)"");
15249 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxWindow
*arg1
= (wxWindow
*) 0 ;
15252 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15253 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15254 wxBufferedPaintDC
*result
;
15255 PyObject
* obj0
= 0 ;
15256 PyObject
* obj1
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "window",(char *) "buffer", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15268 if (arg2
== NULL
) {
15269 PyErr_SetString(PyExc_TypeError
,"null reference");
15274 if (!wxPyCheckForApp()) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15288 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15291 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15293 return Py_BuildValue((char *)"");
15295 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
;
15297 wxScreenDC
*result
;
15298 char *kwnames
[] = {
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15304 if (!wxPyCheckForApp()) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 result
= (wxScreenDC
*)new wxScreenDC();
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15318 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15321 wxWindow
*arg2
= (wxWindow
*) 0 ;
15323 PyObject
* obj0
= 0 ;
15324 PyObject
* obj1
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self",(char *) "window", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15350 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15353 wxRect
*arg2
= (wxRect
*) NULL
;
15355 PyObject
* obj0
= 0 ;
15356 PyObject
* obj1
= 0 ;
15357 char *kwnames
[] = {
15358 (char *) "self",(char *) "rect", NULL
15361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15384 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15388 PyObject
* obj0
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 result
= (bool)(arg1
)->EndDrawingOnTop();
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15412 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15415 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15417 return Py_BuildValue((char *)"");
15419 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxWindow
*arg1
= (wxWindow
*) 0 ;
15422 wxClientDC
*result
;
15423 PyObject
* obj0
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "win", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 if (!wxPyCheckForApp()) SWIG_fail
;
15433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15434 result
= (wxClientDC
*)new wxClientDC(arg1
);
15436 wxPyEndAllowThreads(__tstate
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15446 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15449 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15451 return Py_BuildValue((char *)"");
15453 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
;
15455 wxWindow
*arg1
= (wxWindow
*) 0 ;
15457 PyObject
* obj0
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "win", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15466 if (!wxPyCheckForApp()) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15480 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15483 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15485 return Py_BuildValue((char *)"");
15487 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxWindow
*arg1
= (wxWindow
*) 0 ;
15490 wxWindowDC
*result
;
15491 PyObject
* obj0
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "win", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15500 if (!wxPyCheckForApp()) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15514 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15517 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15519 return Py_BuildValue((char *)"");
15521 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
;
15525 wxMirrorDC
*result
;
15526 PyObject
* obj0
= 0 ;
15527 PyObject
* obj1
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "dc",(char *) "mirror", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15536 if (arg1
== NULL
) {
15537 PyErr_SetString(PyExc_TypeError
,"null reference");
15540 arg2
= (bool) SWIG_AsBool(obj1
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 if (!wxPyCheckForApp()) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15557 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15560 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15562 return Py_BuildValue((char *)"");
15564 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxPrintData
*arg1
= 0 ;
15567 wxPostScriptDC
*result
;
15568 PyObject
* obj0
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "printData", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15577 if (arg1
== NULL
) {
15578 PyErr_SetString(PyExc_TypeError
,"null reference");
15582 if (!wxPyCheckForApp()) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15596 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15599 wxPrintData
*result
;
15600 PyObject
* obj0
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15612 result
= (wxPrintData
*) &_result_ref
;
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15625 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15628 wxPrintData
*arg2
= 0 ;
15629 PyObject
* obj0
= 0 ;
15630 PyObject
* obj1
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "self",(char *) "data", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15641 if (arg2
== NULL
) {
15642 PyErr_SetString(PyExc_TypeError
,"null reference");
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 Py_INCREF(Py_None
); resultobj
= Py_None
;
15659 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
;
15662 PyObject
* obj0
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "ppi", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15668 arg1
= (int) SWIG_AsInt(obj0
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 wxPostScriptDC::SetResolution(arg1
);
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 Py_INCREF(Py_None
); resultobj
= Py_None
;
15684 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15687 char *kwnames
[] = {
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 result
= (int)wxPostScriptDC::GetResolution();
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_FromInt((int)result
);
15706 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15709 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15711 return Py_BuildValue((char *)"");
15713 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15716 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15717 wxMetaFile
*result
;
15718 bool temp1
= False
;
15719 PyObject
* obj0
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "filename", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15727 arg1
= wxString_in_helper(obj0
);
15728 if (arg1
== NULL
) SWIG_fail
;
15733 if (!wxPyCheckForApp()) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15755 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15758 PyObject
* obj0
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "self", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 Py_INCREF(Py_None
); resultobj
= Py_None
;
15780 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
;
15782 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15784 PyObject
* obj0
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "self", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 result
= (bool)(arg1
)->Ok();
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15808 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15811 int arg2
= (int) 0 ;
15812 int arg3
= (int) 0 ;
15814 PyObject
* obj0
= 0 ;
15815 PyObject
* obj1
= 0 ;
15816 PyObject
* obj2
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "self",(char *) "width",(char *) "height", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15825 arg2
= (int) SWIG_AsInt(obj1
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15829 arg3
= (int) SWIG_AsInt(obj2
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15834 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15848 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15852 PyObject
* obj0
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "self", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
15858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 result
= (arg1
)->GetSize();
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15868 wxSize
* resultptr
;
15869 resultptr
= new wxSize((wxSize
&) result
);
15870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15878 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
;
15880 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 char *kwnames
[] = {
15884 (char *) "self", NULL
15887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
15888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 result
= (int)(arg1
)->GetWidth();
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= SWIG_FromInt((int)result
);
15904 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15908 PyObject
* obj0
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "self", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
15914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= (int)(arg1
)->GetHeight();
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= SWIG_FromInt((int)result
);
15930 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15933 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15935 return Py_BuildValue((char *)"");
15937 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15940 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15941 int arg2
= (int) 0 ;
15942 int arg3
= (int) 0 ;
15943 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15944 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15945 wxMetaFileDC
*result
;
15946 bool temp1
= False
;
15947 bool temp4
= False
;
15948 PyObject
* obj0
= 0 ;
15949 PyObject
* obj1
= 0 ;
15950 PyObject
* obj2
= 0 ;
15951 PyObject
* obj3
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15959 arg1
= wxString_in_helper(obj0
);
15960 if (arg1
== NULL
) SWIG_fail
;
15965 arg2
= (int) SWIG_AsInt(obj1
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15969 arg3
= (int) SWIG_AsInt(obj2
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15974 arg4
= wxString_in_helper(obj3
);
15975 if (arg4
== NULL
) SWIG_fail
;
15980 if (!wxPyCheckForApp()) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16010 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16013 wxMetaFile
*result
;
16014 PyObject
* obj0
= 0 ;
16015 char *kwnames
[] = {
16016 (char *) "self", NULL
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (wxMetaFile
*)(arg1
)->Close();
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16036 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16039 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16041 return Py_BuildValue((char *)"");
16043 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxPrintData
*arg1
= 0 ;
16046 wxPrinterDC
*result
;
16047 PyObject
* obj0
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "printData", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16056 if (arg1
== NULL
) {
16057 PyErr_SetString(PyExc_TypeError
,"null reference");
16061 if (!wxPyCheckForApp()) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16075 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16078 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16080 return Py_BuildValue((char *)"");
16082 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16086 int arg3
= (int) True
;
16087 int arg4
= (int) 1 ;
16088 wxImageList
*result
;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 PyObject
* obj2
= 0 ;
16092 PyObject
* obj3
= 0 ;
16093 char *kwnames
[] = {
16094 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16098 arg1
= (int) SWIG_AsInt(obj0
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16100 arg2
= (int) SWIG_AsInt(obj1
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 arg3
= (int) SWIG_AsInt(obj2
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 arg4
= (int) SWIG_AsInt(obj3
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16111 if (!wxPyCheckForApp()) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= wxPyMake_wxObject(result
);
16127 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 wxImageList
*arg1
= (wxImageList
*) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16145 Py_INCREF(Py_None
); resultobj
= Py_None
;
16152 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
;
16154 wxImageList
*arg1
= (wxImageList
*) 0 ;
16155 wxBitmap
*arg2
= 0 ;
16156 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16157 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16159 PyObject
* obj0
= 0 ;
16160 PyObject
* obj1
= 0 ;
16161 PyObject
* obj2
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16172 if (arg2
== NULL
) {
16173 PyErr_SetString(PyExc_TypeError
,"null reference");
16177 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16180 if (arg3
== NULL
) {
16181 PyErr_SetString(PyExc_TypeError
,"null reference");
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= SWIG_FromInt((int)result
);
16199 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxImageList
*arg1
= (wxImageList
*) 0 ;
16202 wxBitmap
*arg2
= 0 ;
16203 wxColour
*arg3
= 0 ;
16206 PyObject
* obj0
= 0 ;
16207 PyObject
* obj1
= 0 ;
16208 PyObject
* obj2
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16219 if (arg2
== NULL
) {
16220 PyErr_SetString(PyExc_TypeError
,"null reference");
16225 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= SWIG_FromInt((int)result
);
16241 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxImageList
*arg1
= (wxImageList
*) 0 ;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self",(char *) "icon", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16258 if (arg2
== NULL
) {
16259 PyErr_SetString(PyExc_TypeError
,"null reference");
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_FromInt((int)result
);
16276 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxImageList
*arg1
= (wxImageList
*) 0 ;
16280 wxBitmap
*arg3
= 0 ;
16282 PyObject
* obj0
= 0 ;
16283 PyObject
* obj1
= 0 ;
16284 PyObject
* obj2
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16292 arg2
= (int) SWIG_AsInt(obj1
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16294 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16297 if (arg3
== NULL
) {
16298 PyErr_SetString(PyExc_TypeError
,"null reference");
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16317 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxImageList
*arg1
= (wxImageList
*) 0 ;
16324 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16325 bool arg7
= (bool) (bool)False
;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 PyObject
* obj2
= 0 ;
16330 PyObject
* obj3
= 0 ;
16331 PyObject
* obj4
= 0 ;
16332 PyObject
* obj5
= 0 ;
16333 PyObject
* obj6
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16341 arg2
= (int) SWIG_AsInt(obj1
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16343 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16344 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16346 if (arg3
== NULL
) {
16347 PyErr_SetString(PyExc_TypeError
,"null reference");
16350 arg4
= (int) SWIG_AsInt(obj3
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16352 arg5
= (int) SWIG_AsInt(obj4
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16355 arg6
= (int) SWIG_AsInt(obj5
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 arg7
= (bool const) SWIG_AsBool(obj6
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16378 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
;
16380 wxImageList
*arg1
= (wxImageList
*) 0 ;
16382 PyObject
* obj0
= 0 ;
16383 char *kwnames
[] = {
16384 (char *) "self", NULL
16387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 result
= (int)(arg1
)->GetImageCount();
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16397 resultobj
= SWIG_FromInt((int)result
);
16404 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxImageList
*arg1
= (wxImageList
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self",(char *) "index", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16418 arg2
= (int) SWIG_AsInt(obj1
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 result
= (bool)(arg1
)->Remove(arg2
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16436 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxImageList
*arg1
= (wxImageList
*) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 char *kwnames
[] = {
16442 (char *) "self", NULL
16445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 result
= (bool)(arg1
)->RemoveAll();
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16464 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxImageList
*arg1
= (wxImageList
*) 0 ;
16472 PyObject
* obj0
= 0 ;
16473 PyObject
* obj1
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "self",(char *) "index", NULL
16480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16483 arg2
= (int) SWIG_AsInt(obj1
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16489 wxPyEndAllowThreads(__tstate
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16492 Py_INCREF(Py_None
); resultobj
= Py_None
;
16494 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16495 resultobj
= t_output_helper(resultobj
,o
);
16498 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16499 resultobj
= t_output_helper(resultobj
,o
);
16507 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16510 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16512 return Py_BuildValue((char *)"");
16514 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16515 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16520 static PyObject
*_wrap_NORMAL_FONT_get() {
16523 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16528 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16529 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16534 static PyObject
*_wrap_SMALL_FONT_get() {
16537 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16542 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16543 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16548 static PyObject
*_wrap_ITALIC_FONT_get() {
16551 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16556 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16557 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16562 static PyObject
*_wrap_SWISS_FONT_get() {
16565 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16570 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16571 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16576 static PyObject
*_wrap_RED_PEN_get() {
16579 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16584 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16585 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16590 static PyObject
*_wrap_CYAN_PEN_get() {
16593 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16598 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16599 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16604 static PyObject
*_wrap_GREEN_PEN_get() {
16607 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16612 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16613 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16618 static PyObject
*_wrap_BLACK_PEN_get() {
16621 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16626 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16627 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16632 static PyObject
*_wrap_WHITE_PEN_get() {
16635 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16640 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16641 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16646 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16649 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16654 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16655 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16660 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16663 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16668 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16669 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16674 static PyObject
*_wrap_GREY_PEN_get() {
16677 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16682 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16683 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16688 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16691 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16696 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16697 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16702 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16705 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16710 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16711 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16716 static PyObject
*_wrap_BLUE_BRUSH_get() {
16719 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16724 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16725 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16730 static PyObject
*_wrap_GREEN_BRUSH_get() {
16733 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16738 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16739 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16744 static PyObject
*_wrap_WHITE_BRUSH_get() {
16747 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16752 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16753 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16758 static PyObject
*_wrap_BLACK_BRUSH_get() {
16761 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16766 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16767 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16772 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16775 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16780 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16781 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16786 static PyObject
*_wrap_CYAN_BRUSH_get() {
16789 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16794 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16795 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16800 static PyObject
*_wrap_RED_BRUSH_get() {
16803 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16808 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16809 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16814 static PyObject
*_wrap_GREY_BRUSH_get() {
16817 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16822 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16823 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16828 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16831 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16836 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16837 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16842 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16845 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16850 static int _wrap_BLACK_set(PyObject
*_val
) {
16851 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16856 static PyObject
*_wrap_BLACK_get() {
16859 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16864 static int _wrap_WHITE_set(PyObject
*_val
) {
16865 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16870 static PyObject
*_wrap_WHITE_get() {
16873 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16878 static int _wrap_RED_set(PyObject
*_val
) {
16879 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16884 static PyObject
*_wrap_RED_get() {
16887 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16892 static int _wrap_BLUE_set(PyObject
*_val
) {
16893 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16898 static PyObject
*_wrap_BLUE_get() {
16901 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16906 static int _wrap_GREEN_set(PyObject
*_val
) {
16907 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16912 static PyObject
*_wrap_GREEN_get() {
16915 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16920 static int _wrap_CYAN_set(PyObject
*_val
) {
16921 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16926 static PyObject
*_wrap_CYAN_get() {
16929 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16934 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16935 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16940 static PyObject
*_wrap_LIGHT_GREY_get() {
16943 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16948 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16949 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16954 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16957 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16962 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16963 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16968 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16971 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16976 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16977 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16982 static PyObject
*_wrap_CROSS_CURSOR_get() {
16985 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16990 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16991 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16996 static PyObject
*_wrap_NullBitmap_get() {
16999 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17004 static int _wrap_NullIcon_set(PyObject
*_val
) {
17005 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17010 static PyObject
*_wrap_NullIcon_get() {
17013 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17018 static int _wrap_NullCursor_set(PyObject
*_val
) {
17019 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17024 static PyObject
*_wrap_NullCursor_get() {
17027 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17032 static int _wrap_NullPen_set(PyObject
*_val
) {
17033 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17038 static PyObject
*_wrap_NullPen_get() {
17041 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17046 static int _wrap_NullBrush_set(PyObject
*_val
) {
17047 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17052 static PyObject
*_wrap_NullBrush_get() {
17055 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17060 static int _wrap_NullPalette_set(PyObject
*_val
) {
17061 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17066 static PyObject
*_wrap_NullPalette_get() {
17069 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17074 static int _wrap_NullFont_set(PyObject
*_val
) {
17075 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17080 static PyObject
*_wrap_NullFont_get() {
17083 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17088 static int _wrap_NullColour_set(PyObject
*_val
) {
17089 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17094 static PyObject
*_wrap_NullColour_get() {
17097 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17102 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxPenList
*arg1
= (wxPenList
*) 0 ;
17105 wxPen
*arg2
= (wxPen
*) 0 ;
17106 PyObject
* obj0
= 0 ;
17107 PyObject
* obj1
= 0 ;
17108 char *kwnames
[] = {
17109 (char *) "self",(char *) "pen", NULL
17112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 (arg1
)->AddPen(arg2
);
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17124 Py_INCREF(Py_None
); resultobj
= Py_None
;
17131 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17132 PyObject
*resultobj
;
17133 wxPenList
*arg1
= (wxPenList
*) 0 ;
17134 wxColour
*arg2
= 0 ;
17139 PyObject
* obj0
= 0 ;
17140 PyObject
* obj1
= 0 ;
17141 PyObject
* obj2
= 0 ;
17142 PyObject
* obj3
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17152 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17154 arg3
= (int) SWIG_AsInt(obj2
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17156 arg4
= (int) SWIG_AsInt(obj3
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17172 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxPenList
*arg1
= (wxPenList
*) 0 ;
17175 wxPen
*arg2
= (wxPen
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "self",(char *) "pen", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 (arg1
)->RemovePen(arg2
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 Py_INCREF(Py_None
); resultobj
= Py_None
;
17201 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17203 wxPenList
*arg1
= (wxPenList
*) 0 ;
17205 PyObject
* obj0
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (int)(arg1
)->GetCount();
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= SWIG_FromInt((int)result
);
17227 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17230 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17232 return Py_BuildValue((char *)"");
17234 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
;
17236 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17237 wxBrush
*arg2
= (wxBrush
*) 0 ;
17238 PyObject
* obj0
= 0 ;
17239 PyObject
* obj1
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self",(char *) "brush", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 (arg1
)->AddBrush(arg2
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 Py_INCREF(Py_None
); resultobj
= Py_None
;
17263 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17266 wxColour
*arg2
= 0 ;
17270 PyObject
* obj0
= 0 ;
17271 PyObject
* obj1
= 0 ;
17272 PyObject
* obj2
= 0 ;
17273 char *kwnames
[] = {
17274 (char *) "self",(char *) "colour",(char *) "style", NULL
17277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17282 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17284 arg3
= (int) SWIG_AsInt(obj2
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17300 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
;
17302 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17303 wxBrush
*arg2
= (wxBrush
*) 0 ;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj1
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self",(char *) "brush", NULL
17310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 (arg1
)->RemoveBrush(arg2
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 Py_INCREF(Py_None
); resultobj
= Py_None
;
17329 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17333 PyObject
* obj0
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 result
= (int)(arg1
)->GetCount();
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= SWIG_FromInt((int)result
);
17355 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17358 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17360 return Py_BuildValue((char *)"");
17362 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
;
17364 wxColourDatabase
*result
;
17365 char *kwnames
[] = {
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17371 if (!wxPyCheckForApp()) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 result
= (wxColourDatabase
*)new wxColourDatabase();
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17385 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17403 Py_INCREF(Py_None
); resultobj
= Py_None
;
17410 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17413 wxString
*arg2
= 0 ;
17415 bool temp2
= False
;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self",(char *) "name", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17426 arg2
= wxString_in_helper(obj1
);
17427 if (arg2
== NULL
) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17438 wxColour
* resultptr
;
17439 resultptr
= new wxColour((wxColour
&) result
);
17440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17456 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
;
17458 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17459 wxColour
*arg2
= 0 ;
17462 PyObject
* obj0
= 0 ;
17463 PyObject
* obj1
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self",(char *) "colour", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17495 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17498 wxString
*arg2
= 0 ;
17499 wxColour
*arg3
= 0 ;
17500 bool temp2
= False
;
17502 PyObject
* obj0
= 0 ;
17503 PyObject
* obj1
= 0 ;
17504 PyObject
* obj2
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self",(char *) "name",(char *) "colour", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17513 arg2
= wxString_in_helper(obj1
);
17514 if (arg2
== NULL
) SWIG_fail
;
17519 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 Py_INCREF(Py_None
); resultobj
= Py_None
;
17543 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17546 wxString
*arg2
= 0 ;
17550 bool temp2
= False
;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 PyObject
* obj2
= 0 ;
17554 PyObject
* obj3
= 0 ;
17555 PyObject
* obj4
= 0 ;
17556 char *kwnames
[] = {
17557 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17564 arg2
= wxString_in_helper(obj1
);
17565 if (arg2
== NULL
) SWIG_fail
;
17568 arg3
= (int) SWIG_AsInt(obj2
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17570 arg4
= (int) SWIG_AsInt(obj3
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17572 arg5
= (int) SWIG_AsInt(obj4
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 Py_INCREF(Py_None
); resultobj
= Py_None
;
17596 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17599 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17601 return Py_BuildValue((char *)"");
17603 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxFontList
*arg1
= (wxFontList
*) 0 ;
17606 wxFont
*arg2
= (wxFont
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 PyObject
* obj1
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self",(char *) "font", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 (arg1
)->AddFont(arg2
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 Py_INCREF(Py_None
); resultobj
= Py_None
;
17632 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxFontList
*arg1
= (wxFontList
*) 0 ;
17639 bool arg6
= (bool) False
;
17640 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17642 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17644 bool temp7
= False
;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 PyObject
* obj2
= 0 ;
17648 PyObject
* obj3
= 0 ;
17649 PyObject
* obj4
= 0 ;
17650 PyObject
* obj5
= 0 ;
17651 PyObject
* obj6
= 0 ;
17652 PyObject
* obj7
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17660 arg2
= (int) SWIG_AsInt(obj1
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17662 arg3
= (int) SWIG_AsInt(obj2
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17664 arg4
= (int) SWIG_AsInt(obj3
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17666 arg5
= (int) SWIG_AsInt(obj4
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 arg6
= (bool) SWIG_AsBool(obj5
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17674 arg7
= wxString_in_helper(obj6
);
17675 if (arg7
== NULL
) SWIG_fail
;
17680 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17705 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxFontList
*arg1
= (wxFontList
*) 0 ;
17708 wxFont
*arg2
= (wxFont
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self",(char *) "font", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 (arg1
)->RemoveFont(arg2
);
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 Py_INCREF(Py_None
); resultobj
= Py_None
;
17734 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxFontList
*arg1
= (wxFontList
*) 0 ;
17738 PyObject
* obj0
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (int)(arg1
)->GetCount();
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= SWIG_FromInt((int)result
);
17760 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17763 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17765 return Py_BuildValue((char *)"");
17767 static int _wrap_TheFontList_set(PyObject
*_val
) {
17768 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17773 static PyObject
*_wrap_TheFontList_get() {
17776 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17781 static int _wrap_ThePenList_set(PyObject
*_val
) {
17782 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17787 static PyObject
*_wrap_ThePenList_get() {
17790 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17795 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17796 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17801 static PyObject
*_wrap_TheBrushList_get() {
17804 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17809 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17810 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17815 static PyObject
*_wrap_TheColourDatabase_get() {
17818 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17823 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17826 char *kwnames
[] = {
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (wxEffects
*)new wxEffects();
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17845 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17847 wxEffects
*arg1
= (wxEffects
*) 0 ;
17849 PyObject
* obj0
= 0 ;
17850 char *kwnames
[] = {
17851 (char *) "self", NULL
17854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17865 wxColour
* resultptr
;
17866 resultptr
= new wxColour((wxColour
&) result
);
17867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17875 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxEffects
*arg1
= (wxEffects
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17895 wxColour
* resultptr
;
17896 resultptr
= new wxColour((wxColour
&) result
);
17897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17905 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxEffects
*arg1
= (wxEffects
*) 0 ;
17909 PyObject
* obj0
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self", NULL
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17925 wxColour
* resultptr
;
17926 resultptr
= new wxColour((wxColour
&) result
);
17927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17935 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
;
17937 wxEffects
*arg1
= (wxEffects
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "self", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17955 wxColour
* resultptr
;
17956 resultptr
= new wxColour((wxColour
&) result
);
17957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17965 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxEffects
*arg1
= (wxEffects
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17985 wxColour
* resultptr
;
17986 resultptr
= new wxColour((wxColour
&) result
);
17987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17995 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxEffects
*arg1
= (wxEffects
*) 0 ;
17998 wxColour
*arg2
= 0 ;
18000 PyObject
* obj0
= 0 ;
18001 PyObject
* obj1
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self",(char *) "c", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 Py_INCREF(Py_None
); resultobj
= Py_None
;
18027 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxEffects
*arg1
= (wxEffects
*) 0 ;
18030 wxColour
*arg2
= 0 ;
18032 PyObject
* obj0
= 0 ;
18033 PyObject
* obj1
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self",(char *) "c", NULL
18038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18043 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 Py_INCREF(Py_None
); resultobj
= Py_None
;
18059 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxEffects
*arg1
= (wxEffects
*) 0 ;
18062 wxColour
*arg2
= 0 ;
18064 PyObject
* obj0
= 0 ;
18065 PyObject
* obj1
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self",(char *) "c", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18075 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 Py_INCREF(Py_None
); resultobj
= Py_None
;
18091 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxEffects
*arg1
= (wxEffects
*) 0 ;
18094 wxColour
*arg2
= 0 ;
18096 PyObject
* obj0
= 0 ;
18097 PyObject
* obj1
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self",(char *) "c", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18107 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 Py_INCREF(Py_None
); resultobj
= Py_None
;
18123 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxEffects
*arg1
= (wxEffects
*) 0 ;
18126 wxColour
*arg2
= 0 ;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 char *kwnames
[] = {
18131 (char *) "self",(char *) "c", NULL
18134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18139 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 Py_INCREF(Py_None
); resultobj
= Py_None
;
18155 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
;
18157 wxEffects
*arg1
= (wxEffects
*) 0 ;
18158 wxColour
*arg2
= 0 ;
18159 wxColour
*arg3
= 0 ;
18160 wxColour
*arg4
= 0 ;
18161 wxColour
*arg5
= 0 ;
18162 wxColour
*arg6
= 0 ;
18168 PyObject
* obj0
= 0 ;
18169 PyObject
* obj1
= 0 ;
18170 PyObject
* obj2
= 0 ;
18171 PyObject
* obj3
= 0 ;
18172 PyObject
* obj4
= 0 ;
18173 PyObject
* obj5
= 0 ;
18174 char *kwnames
[] = {
18175 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18183 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18187 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18191 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18195 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18199 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 Py_INCREF(Py_None
); resultobj
= Py_None
;
18215 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxEffects
*arg1
= (wxEffects
*) 0 ;
18220 int arg4
= (int) 1 ;
18222 PyObject
* obj0
= 0 ;
18223 PyObject
* obj1
= 0 ;
18224 PyObject
* obj2
= 0 ;
18225 PyObject
* obj3
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18236 if (arg2
== NULL
) {
18237 PyErr_SetString(PyExc_TypeError
,"null reference");
18242 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18245 arg4
= (int) SWIG_AsInt(obj3
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 Py_INCREF(Py_None
); resultobj
= Py_None
;
18262 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
;
18264 wxEffects
*arg1
= (wxEffects
*) 0 ;
18267 wxBitmap
*arg4
= 0 ;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 PyObject
* obj2
= 0 ;
18273 PyObject
* obj3
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18283 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18285 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18288 if (arg3
== NULL
) {
18289 PyErr_SetString(PyExc_TypeError
,"null reference");
18292 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18295 if (arg4
== NULL
) {
18296 PyErr_SetString(PyExc_TypeError
,"null reference");
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18315 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18318 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18320 return Py_BuildValue((char *)"");
18322 static PyMethodDef SwigMethods
[] = {
18323 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18324 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18329 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18346 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18347 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18348 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18352 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18353 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18356 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18358 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18366 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18371 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18383 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18387 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18410 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18412 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18427 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18429 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18435 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18443 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18449 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18475 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18489 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18513 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18522 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18542 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18579 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18587 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18594 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18616 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18618 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18626 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18659 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18675 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18690 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18691 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18692 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18693 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18698 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18699 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18701 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18703 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18704 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18705 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18708 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18710 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18712 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18714 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18718 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18719 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18724 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18728 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18730 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18732 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18737 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18740 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18751 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18755 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18756 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18757 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18758 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18759 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18760 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18761 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18762 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18763 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18764 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18765 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18766 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18767 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18768 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18769 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18770 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18771 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18772 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18773 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18774 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18775 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18776 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18777 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18778 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18779 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18780 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18781 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18782 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18783 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18784 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18785 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18786 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18787 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18788 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
18789 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18790 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18791 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18792 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18793 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18794 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
18795 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18796 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18797 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18798 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18799 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18800 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18801 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18802 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18803 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18804 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18805 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18806 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18807 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18808 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18809 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18810 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18811 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18812 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18813 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18814 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18815 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18816 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18817 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18818 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18819 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18820 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18821 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18822 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18823 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18824 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18825 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18826 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18827 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18828 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18829 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18830 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18831 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18832 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18833 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18834 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18835 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18836 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18837 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18838 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18839 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18840 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18841 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18842 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18843 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18844 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18845 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18846 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18851 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18853 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18854 return (void *)((wxWindow
*) ((wxControl
*) x
));
18856 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18857 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18859 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18860 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18862 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18863 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18865 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18866 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18868 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18869 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18871 static void *_p_wxPenTo_p_wxObject(void *x
) {
18872 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18874 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18875 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18877 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18878 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18880 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18881 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18883 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18884 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18886 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18887 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18889 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18890 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18892 static void *_p_wxIconTo_p_wxObject(void *x
) {
18893 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18895 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18896 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18898 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18899 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18901 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18902 return (void *)((wxObject
*) ((wxSizer
*) x
));
18904 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18905 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18907 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18908 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18910 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18911 return (void *)((wxObject
*) ((wxPenList
*) x
));
18913 static void *_p_wxEventTo_p_wxObject(void *x
) {
18914 return (void *)((wxObject
*) ((wxEvent
*) x
));
18916 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18917 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18919 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18920 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18922 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18923 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18925 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18926 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18928 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18929 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18931 static void *_p_wxDCTo_p_wxObject(void *x
) {
18932 return (void *)((wxObject
*) ((wxDC
*) x
));
18934 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18935 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18937 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18938 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18940 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18941 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18943 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18944 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18946 static void *_p_wxControlTo_p_wxObject(void *x
) {
18947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18949 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18950 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18952 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18953 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18955 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18958 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18961 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18964 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18967 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18970 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18973 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) ((wxEffects
*) x
));
18976 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18979 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18982 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18985 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18988 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18991 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18994 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18997 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19000 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19003 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19004 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19006 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19007 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19009 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19010 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19012 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19013 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19015 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19016 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19018 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19019 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19021 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19022 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19024 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19025 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19027 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19030 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19031 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19033 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19034 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19036 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19037 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19039 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19040 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19042 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19043 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19045 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19046 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19048 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19049 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19051 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19052 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19054 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19055 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19057 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19058 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19060 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19061 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19063 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19064 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19066 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19067 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19069 static void *_p_wxImageTo_p_wxObject(void *x
) {
19070 return (void *)((wxObject
*) ((wxImage
*) x
));
19072 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19073 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19075 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19076 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19078 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19079 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19081 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19082 return (void *)((wxObject
*) ((wxImageList
*) x
));
19084 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19085 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19087 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19088 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19090 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19091 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19093 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19094 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19096 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19097 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19099 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19100 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19102 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19103 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19105 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19106 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19108 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19111 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19112 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19114 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19115 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19117 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19118 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19120 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19121 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19123 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19124 return (void *)((wxObject
*) ((wxMask
*) x
));
19126 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19129 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19130 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19132 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19133 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19135 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19136 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19138 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19139 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19141 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19142 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19144 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19147 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19148 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19150 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19151 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19153 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19154 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19156 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19157 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19159 static void *_p_wxFontTo_p_wxObject(void *x
) {
19160 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19162 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19163 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19165 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19166 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19168 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19171 static void *_p_wxColourTo_p_wxObject(void *x
) {
19172 return (void *)((wxObject
*) ((wxColour
*) x
));
19174 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19175 return (void *)((wxObject
*) ((wxFontList
*) x
));
19177 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19180 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19181 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19183 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19184 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19186 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19187 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19189 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19190 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19192 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19193 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19195 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19196 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19198 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19199 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19201 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19202 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19204 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19205 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19207 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19208 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19210 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19211 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19213 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19214 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19216 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19217 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19219 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19220 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19222 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19223 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19225 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19226 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19228 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19229 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19231 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19232 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19234 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19235 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19237 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19238 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19240 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19241 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19243 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}};
19244 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}};
19245 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}};
19246 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}};
19247 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}};
19248 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}};
19249 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}};
19250 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}};
19251 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}};
19252 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}};
19253 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}};
19254 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}};
19255 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}};
19256 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}};
19257 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}};
19258 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}};
19259 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}};
19260 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}};
19261 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}};
19262 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}};
19263 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}};
19264 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}};
19265 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}};
19266 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}};
19267 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}};
19268 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}};
19269 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}};
19270 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}};
19271 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}};
19272 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}};
19273 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}};
19274 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}};
19275 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}};
19276 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}};
19277 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}};
19278 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}};
19279 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}};
19280 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}};
19281 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}};
19282 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}};
19283 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}};
19284 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}};
19285 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}};
19286 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}};
19287 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}};
19288 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}};
19289 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}};
19290 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}};
19291 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}};
19292 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}};
19293 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}};
19294 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}};
19295 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}};
19296 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}};
19297 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}};
19299 static swig_type_info
*swig_types_initial
[] = {
19300 _swigt__p_wxPostScriptDC
,
19302 _swigt__p_wxColour
,
19304 _swigt__p_wxMirrorDC
,
19306 _swigt__p_wxPyFontEnumerator
,
19308 _swigt__p_wxIconLocation
,
19310 _swigt__p_wxMetaFileDC
,
19314 _swigt__p_wxWindow
,
19316 _swigt__p_wxMemoryDC
,
19317 _swigt__p_wxFontMapper
,
19318 _swigt__p_wxEffects
,
19319 _swigt__p_wxNativeEncodingInfo
,
19320 _swigt__p_wxPalette
,
19321 _swigt__p_wxBitmap
,
19322 _swigt__p_wxObject
,
19323 _swigt__p_wxRegionIterator
,
19325 _swigt__p_wxString
,
19326 _swigt__p_wxPrinterDC
,
19327 _swigt__p_wxIconBundle
,
19330 _swigt__p_wxScreenDC
,
19331 _swigt__p_wxCursor
,
19332 _swigt__p_wxClientDC
,
19333 _swigt__p_wxBufferedDC
,
19334 _swigt__p_wxImageList
,
19335 _swigt__p_unsigned_char
,
19336 _swigt__p_wxGDIObject
,
19338 _swigt__p_wxLocale
,
19339 _swigt__p_wxRegion
,
19340 _swigt__p_wxLanguageInfo
,
19341 _swigt__p_wxConfigBase
,
19342 _swigt__p_wxWindowDC
,
19343 _swigt__p_wxPrintData
,
19344 _swigt__p_wxBrushList
,
19345 _swigt__p_wxFontList
,
19347 _swigt__p_wxBufferedPaintDC
,
19348 _swigt__p_wxPaintDC
,
19349 _swigt__p_wxPenList
,
19351 _swigt__p_wxMetaFile
,
19352 _swigt__p_wxNativeFontInfo
,
19353 _swigt__p_wxEncodingConverter
,
19354 _swigt__p_wxColourDatabase
,
19359 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19361 static swig_const_info swig_const_table
[] = {
19371 SWIGEXPORT(void) SWIG_init(void) {
19372 static PyObject
*SWIG_globals
= 0;
19373 static int typeinit
= 0;
19376 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19377 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19378 d
= PyModule_GetDict(m
);
19381 for (i
= 0; swig_types_initial
[i
]; i
++) {
19382 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19386 SWIG_InstallConstants(d
,swig_const_table
);
19388 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19389 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19390 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19391 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19392 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19393 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19394 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19395 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19396 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19397 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19398 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19399 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19400 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19401 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19402 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19403 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19404 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19405 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19406 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19407 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19408 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19409 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19410 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19411 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19412 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19413 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19414 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19415 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19416 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19417 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19418 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19419 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19420 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19421 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19422 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19423 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19424 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19425 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19426 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19427 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19428 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19429 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19430 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19431 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19432 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19433 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19434 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19435 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19436 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19437 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19438 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19439 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19440 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19441 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19442 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19443 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19444 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19445 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19446 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19447 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19448 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19449 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19450 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19451 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19452 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19453 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19454 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19455 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19456 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19457 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19458 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19459 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19460 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19461 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19462 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19463 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19464 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19465 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19466 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19467 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19468 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19469 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19470 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19471 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19472 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19473 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19474 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19475 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19476 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19477 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19478 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19479 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19480 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19481 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19482 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19483 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19484 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19485 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19486 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19487 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19488 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19489 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19490 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19491 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19492 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19493 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19494 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19495 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19496 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19497 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19498 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19499 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19500 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19501 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19502 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19503 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19504 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19505 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19506 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19507 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19508 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19509 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19510 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19511 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19512 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19513 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19514 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19516 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19518 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19519 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19520 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19521 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19522 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19523 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19524 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19525 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19526 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19527 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19528 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19529 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19530 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19531 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19532 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19533 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19534 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19535 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19536 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19537 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19538 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19539 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19540 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19541 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19542 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19543 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19544 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19545 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19546 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19547 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19548 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19549 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19550 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19551 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19552 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19553 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19554 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19555 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19556 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19557 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19558 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19559 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19560 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19561 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19562 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19563 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19564 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19565 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19566 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19567 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19568 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19569 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19570 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19571 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19572 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19573 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19574 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19575 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19576 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19577 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19578 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19579 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19580 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19581 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19582 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19583 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19584 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19585 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19586 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19587 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19588 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19589 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19590 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19591 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19592 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19593 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19594 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19595 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19596 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19597 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19598 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19599 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19600 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19601 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19602 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19603 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19604 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19605 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19606 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19607 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19608 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19609 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19610 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19611 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19612 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19613 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19614 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19615 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19616 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19617 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19618 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19619 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19620 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19621 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19622 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19623 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19624 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19625 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19626 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19627 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19628 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19629 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19630 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19631 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19632 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19633 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19634 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19635 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19636 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19637 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19638 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19639 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19640 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19641 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19642 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19643 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19644 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19645 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19646 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19647 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19648 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19649 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19650 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19651 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19652 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19653 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19654 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19655 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19656 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19657 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19658 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19659 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19660 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19661 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19662 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19663 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19664 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19665 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19666 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19667 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19668 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19669 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19670 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19671 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19672 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19673 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19674 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19675 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19676 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19677 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19678 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19679 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19680 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19681 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19682 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19683 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19684 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19685 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19686 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19687 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19688 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19689 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19690 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19691 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19692 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19693 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19694 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19695 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19696 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19697 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19698 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19699 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19700 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19701 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19702 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19703 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19704 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19705 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19706 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19707 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19708 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19709 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19710 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19711 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19712 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19713 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19714 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19715 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19716 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19717 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19718 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19719 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19720 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19721 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19722 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19723 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19724 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19725 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19726 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19727 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19728 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19729 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19730 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19731 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19732 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19733 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19734 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19735 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19736 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19737 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19738 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19739 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19740 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19741 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19742 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19743 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19744 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19745 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19746 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19747 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19748 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19749 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19750 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19751 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19752 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19753 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19754 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19755 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19756 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19757 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19758 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19759 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19760 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19761 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19762 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19763 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19764 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19765 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19766 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19767 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19768 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19769 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19770 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19771 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19772 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19773 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19774 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19775 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19776 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19777 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19778 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19779 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19780 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19781 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19782 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19783 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19784 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19785 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19786 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19787 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19788 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19789 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19790 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19791 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19792 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19793 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19794 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19795 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19796 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19797 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19798 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19799 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19800 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19801 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19802 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19803 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19804 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19805 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19806 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19807 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19808 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19809 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19810 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19811 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19812 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19813 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19814 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19815 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19816 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19817 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19819 // Work around a chicken/egg problem in drawlist.cpp
19820 wxPyDrawList_SetAPIPtr();