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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
910 result
= (wxGDIObject
*)new wxGDIObject();
912 wxPyEndAllowThreads(__tstate
);
913 if (PyErr_Occurred()) SWIG_fail
;
915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
922 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
925 PyObject
* obj0
= 0 ;
927 (char *) "self", NULL
930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
937 wxPyEndAllowThreads(__tstate
);
938 if (PyErr_Occurred()) SWIG_fail
;
940 Py_INCREF(Py_None
); resultobj
= Py_None
;
947 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
951 PyObject
* obj0
= 0 ;
953 (char *) "self", NULL
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
961 result
= (bool)(arg1
)->GetVisible();
963 wxPyEndAllowThreads(__tstate
);
964 if (PyErr_Occurred()) SWIG_fail
;
967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
975 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
979 PyObject
* obj0
= 0 ;
980 PyObject
* obj1
= 0 ;
982 (char *) "self",(char *) "visible", NULL
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
988 arg2
= (bool) SWIG_AsBool(obj1
);
989 if (PyErr_Occurred()) SWIG_fail
;
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 (arg1
)->SetVisible(arg2
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) SWIG_fail
;
997 Py_INCREF(Py_None
); resultobj
= Py_None
;
1004 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
*resultobj
;
1006 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1008 PyObject
* obj0
= 0 ;
1010 (char *) "self", NULL
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1018 result
= (bool)(arg1
)->IsNull();
1020 wxPyEndAllowThreads(__tstate
);
1021 if (PyErr_Occurred()) SWIG_fail
;
1024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1032 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1035 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1037 return Py_BuildValue((char *)"");
1039 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1040 PyObject
*resultobj
;
1041 byte arg1
= (byte
) 0 ;
1042 byte arg2
= (byte
) 0 ;
1043 byte arg3
= (byte
) 0 ;
1045 PyObject
* obj0
= 0 ;
1046 PyObject
* obj1
= 0 ;
1047 PyObject
* obj2
= 0 ;
1049 (char *) "red",(char *) "green",(char *) "blue", NULL
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1054 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1055 if (PyErr_Occurred()) SWIG_fail
;
1058 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1059 if (PyErr_Occurred()) SWIG_fail
;
1062 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1063 if (PyErr_Occurred()) SWIG_fail
;
1066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1067 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1069 wxPyEndAllowThreads(__tstate
);
1070 if (PyErr_Occurred()) SWIG_fail
;
1072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1079 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
*resultobj
;
1081 wxString
*arg1
= 0 ;
1083 bool temp1
= False
;
1084 PyObject
* obj0
= 0 ;
1086 (char *) "colorName", NULL
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1091 arg1
= wxString_in_helper(obj0
);
1092 if (arg1
== NULL
) SWIG_fail
;
1096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1099 wxPyEndAllowThreads(__tstate
);
1100 if (PyErr_Occurred()) SWIG_fail
;
1102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1117 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
*resultobj
;
1119 unsigned long arg1
;
1121 PyObject
* obj0
= 0 ;
1123 (char *) "colRGB", NULL
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1127 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1128 if (PyErr_Occurred()) SWIG_fail
;
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1131 result
= (wxColour
*)new wxColour(arg1
);
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) SWIG_fail
;
1136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1143 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
*resultobj
;
1145 wxColour
*arg1
= (wxColour
*) 0 ;
1146 PyObject
* obj0
= 0 ;
1148 (char *) "self", NULL
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1158 wxPyEndAllowThreads(__tstate
);
1159 if (PyErr_Occurred()) SWIG_fail
;
1161 Py_INCREF(Py_None
); resultobj
= Py_None
;
1168 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
*resultobj
;
1170 wxColour
*arg1
= (wxColour
*) 0 ;
1172 PyObject
* obj0
= 0 ;
1174 (char *) "self", NULL
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1182 result
= (byte
)(arg1
)->Red();
1184 wxPyEndAllowThreads(__tstate
);
1185 if (PyErr_Occurred()) SWIG_fail
;
1187 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1194 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
*resultobj
;
1196 wxColour
*arg1
= (wxColour
*) 0 ;
1198 PyObject
* obj0
= 0 ;
1200 (char *) "self", NULL
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1208 result
= (byte
)(arg1
)->Green();
1210 wxPyEndAllowThreads(__tstate
);
1211 if (PyErr_Occurred()) SWIG_fail
;
1213 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1220 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1221 PyObject
*resultobj
;
1222 wxColour
*arg1
= (wxColour
*) 0 ;
1224 PyObject
* obj0
= 0 ;
1226 (char *) "self", NULL
1229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 result
= (byte
)(arg1
)->Blue();
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) SWIG_fail
;
1239 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1246 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
*resultobj
;
1248 wxColour
*arg1
= (wxColour
*) 0 ;
1250 PyObject
* obj0
= 0 ;
1252 (char *) "self", NULL
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1260 result
= (bool)(arg1
)->Ok();
1262 wxPyEndAllowThreads(__tstate
);
1263 if (PyErr_Occurred()) SWIG_fail
;
1266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1274 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1275 PyObject
*resultobj
;
1276 wxColour
*arg1
= (wxColour
*) 0 ;
1280 PyObject
* obj0
= 0 ;
1281 PyObject
* obj1
= 0 ;
1282 PyObject
* obj2
= 0 ;
1283 PyObject
* obj3
= 0 ;
1285 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1291 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1292 if (PyErr_Occurred()) SWIG_fail
;
1293 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1295 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1296 if (PyErr_Occurred()) SWIG_fail
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 (arg1
)->Set(arg2
,arg3
,arg4
);
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1304 Py_INCREF(Py_None
); resultobj
= Py_None
;
1311 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
*resultobj
;
1313 wxColour
*arg1
= (wxColour
*) 0 ;
1314 unsigned long arg2
;
1315 PyObject
* obj0
= 0 ;
1316 PyObject
* obj1
= 0 ;
1318 (char *) "self",(char *) "colRGB", NULL
1321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1324 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1325 if (PyErr_Occurred()) SWIG_fail
;
1327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 wxPyEndAllowThreads(__tstate
);
1331 if (PyErr_Occurred()) SWIG_fail
;
1333 Py_INCREF(Py_None
); resultobj
= Py_None
;
1340 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
*resultobj
;
1342 wxColour
*arg1
= (wxColour
*) 0 ;
1343 wxString
*arg2
= 0 ;
1344 bool temp2
= False
;
1345 PyObject
* obj0
= 0 ;
1346 PyObject
* obj1
= 0 ;
1348 (char *) "self",(char *) "colourName", NULL
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1355 arg2
= wxString_in_helper(obj1
);
1356 if (arg2
== NULL
) SWIG_fail
;
1360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1361 (arg1
)->InitFromName((wxString
const &)*arg2
);
1363 wxPyEndAllowThreads(__tstate
);
1364 if (PyErr_Occurred()) SWIG_fail
;
1366 Py_INCREF(Py_None
); resultobj
= Py_None
;
1381 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
*resultobj
;
1383 wxColour
*arg1
= (wxColour
*) 0 ;
1385 PyObject
* obj0
= 0 ;
1387 (char *) "self", NULL
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1395 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1397 wxPyEndAllowThreads(__tstate
);
1398 if (PyErr_Occurred()) SWIG_fail
;
1400 resultobj
= SWIG_FromLong((long)result
);
1407 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
*resultobj
;
1409 wxColour
*arg1
= (wxColour
*) 0 ;
1410 wxColour
*arg2
= 0 ;
1413 PyObject
* obj0
= 0 ;
1414 PyObject
* obj1
= 0 ;
1416 (char *) "self",(char *) "colour", NULL
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) SWIG_fail
;
1434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1442 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1444 wxColour
*arg1
= (wxColour
*) 0 ;
1445 wxColour
*arg2
= 0 ;
1448 PyObject
* obj0
= 0 ;
1449 PyObject
* obj1
= 0 ;
1451 (char *) "self",(char *) "colour", NULL
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1459 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) SWIG_fail
;
1469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1477 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
*resultobj
;
1479 wxColour
*arg1
= (wxColour
*) 0 ;
1481 PyObject
* obj0
= 0 ;
1483 (char *) "self", NULL
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1491 result
= (PyObject
*)wxColour_Get(arg1
);
1493 wxPyEndAllowThreads(__tstate
);
1494 if (PyErr_Occurred()) SWIG_fail
;
1503 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
*resultobj
;
1505 wxColour
*arg1
= (wxColour
*) 0 ;
1506 unsigned long result
;
1507 PyObject
* obj0
= 0 ;
1509 (char *) "self", NULL
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 result
= (unsigned long)wxColour_GetRGB(arg1
);
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1522 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1529 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1532 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1534 return Py_BuildValue((char *)"");
1536 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
*resultobj
;
1539 unsigned char *arg2
= (unsigned char *) 0 ;
1540 unsigned char *arg3
= (unsigned char *) 0 ;
1541 unsigned char *arg4
= (unsigned char *) 0 ;
1543 PyObject
* obj0
= 0 ;
1544 PyObject
* obj1
= 0 ;
1545 PyObject
* obj2
= 0 ;
1546 PyObject
* obj3
= 0 ;
1548 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1552 arg1
= (int) SWIG_AsInt(obj0
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1556 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1558 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1562 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) SWIG_fail
;
1567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1574 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
*resultobj
;
1576 wxPalette
*arg1
= (wxPalette
*) 0 ;
1577 PyObject
* obj0
= 0 ;
1579 (char *) "self", NULL
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1592 Py_INCREF(Py_None
); resultobj
= Py_None
;
1599 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxPalette
*arg1
= (wxPalette
*) 0 ;
1606 PyObject
* obj0
= 0 ;
1607 PyObject
* obj1
= 0 ;
1608 PyObject
* obj2
= 0 ;
1609 PyObject
* obj3
= 0 ;
1611 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1617 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1619 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1621 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1630 resultobj
= SWIG_FromInt((int)result
);
1637 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxPalette
*arg1
= (wxPalette
*) 0 ;
1641 byte
*arg3
= (byte
*) 0 ;
1642 byte
*arg4
= (byte
*) 0 ;
1643 byte
*arg5
= (byte
*) 0 ;
1648 PyObject
* obj0
= 0 ;
1649 PyObject
* obj1
= 0 ;
1651 (char *) "self",(char *) "pixel", NULL
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1660 arg2
= (int) SWIG_AsInt(obj1
);
1661 if (PyErr_Occurred()) SWIG_fail
;
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1673 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1674 resultobj
= t_output_helper(resultobj
,o
);
1677 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1678 resultobj
= t_output_helper(resultobj
,o
);
1681 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1682 resultobj
= t_output_helper(resultobj
,o
);
1690 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
*resultobj
;
1692 wxPalette
*arg1
= (wxPalette
*) 0 ;
1694 PyObject
* obj0
= 0 ;
1696 (char *) "self", NULL
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 result
= (bool)(arg1
)->Ok();
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1718 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1721 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1723 return Py_BuildValue((char *)"");
1725 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
*resultobj
;
1727 wxColour
*arg1
= 0 ;
1728 int arg2
= (int) 1 ;
1729 int arg3
= (int) wxSOLID
;
1732 PyObject
* obj0
= 0 ;
1733 PyObject
* obj1
= 0 ;
1734 PyObject
* obj2
= 0 ;
1736 (char *) "colour",(char *) "width",(char *) "style", NULL
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1742 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1745 arg2
= (int) SWIG_AsInt(obj1
);
1746 if (PyErr_Occurred()) SWIG_fail
;
1749 arg3
= (int) SWIG_AsInt(obj2
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1766 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxPen
*arg1
= (wxPen
*) 0 ;
1769 PyObject
* obj0
= 0 ;
1771 (char *) "self", NULL
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1781 wxPyEndAllowThreads(__tstate
);
1782 if (PyErr_Occurred()) SWIG_fail
;
1784 Py_INCREF(Py_None
); resultobj
= Py_None
;
1791 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
*resultobj
;
1793 wxPen
*arg1
= (wxPen
*) 0 ;
1795 PyObject
* obj0
= 0 ;
1797 (char *) "self", NULL
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 result
= (int)(arg1
)->GetCap();
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1810 resultobj
= SWIG_FromInt((int)result
);
1817 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
*resultobj
;
1819 wxPen
*arg1
= (wxPen
*) 0 ;
1821 PyObject
* obj0
= 0 ;
1823 (char *) "self", NULL
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 result
= (arg1
)->GetColour();
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1837 wxColour
* resultptr
;
1838 resultptr
= new wxColour((wxColour
&) result
);
1839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1847 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
*resultobj
;
1849 wxPen
*arg1
= (wxPen
*) 0 ;
1851 PyObject
* obj0
= 0 ;
1853 (char *) "self", NULL
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 result
= (int)(arg1
)->GetJoin();
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1866 resultobj
= SWIG_FromInt((int)result
);
1873 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxPen
*arg1
= (wxPen
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1879 (char *) "self", NULL
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 result
= (int)(arg1
)->GetStyle();
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 resultobj
= SWIG_FromInt((int)result
);
1899 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
*resultobj
;
1901 wxPen
*arg1
= (wxPen
*) 0 ;
1903 PyObject
* obj0
= 0 ;
1905 (char *) "self", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 result
= (int)(arg1
)->GetWidth();
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1918 resultobj
= SWIG_FromInt((int)result
);
1925 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
*resultobj
;
1927 wxPen
*arg1
= (wxPen
*) 0 ;
1929 PyObject
* obj0
= 0 ;
1931 (char *) "self", NULL
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 result
= (bool)(arg1
)->Ok();
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1953 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
*resultobj
;
1955 wxPen
*arg1
= (wxPen
*) 0 ;
1957 PyObject
* obj0
= 0 ;
1958 PyObject
* obj1
= 0 ;
1960 (char *) "self",(char *) "cap_style", NULL
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1966 arg2
= (int) SWIG_AsInt(obj1
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 (arg1
)->SetCap(arg2
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 Py_INCREF(Py_None
); resultobj
= Py_None
;
1982 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxPen
*arg1
= (wxPen
*) 0 ;
1985 wxColour
*arg2
= 0 ;
1987 PyObject
* obj0
= 0 ;
1988 PyObject
* obj1
= 0 ;
1990 (char *) "self",(char *) "colour", NULL
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1998 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 (arg1
)->SetColour(*arg2
);
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 Py_INCREF(Py_None
); resultobj
= Py_None
;
2014 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxPen
*arg1
= (wxPen
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2019 PyObject
* obj1
= 0 ;
2021 (char *) "self",(char *) "join_style", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2027 arg2
= (int) SWIG_AsInt(obj1
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 (arg1
)->SetJoin(arg2
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 Py_INCREF(Py_None
); resultobj
= Py_None
;
2043 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
*resultobj
;
2045 wxPen
*arg1
= (wxPen
*) 0 ;
2047 PyObject
* obj0
= 0 ;
2048 PyObject
* obj1
= 0 ;
2050 (char *) "self",(char *) "style", NULL
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2056 arg2
= (int) SWIG_AsInt(obj1
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 (arg1
)->SetStyle(arg2
);
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 Py_INCREF(Py_None
); resultobj
= Py_None
;
2072 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
*resultobj
;
2074 wxPen
*arg1
= (wxPen
*) 0 ;
2076 PyObject
* obj0
= 0 ;
2077 PyObject
* obj1
= 0 ;
2079 (char *) "self",(char *) "width", NULL
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2085 arg2
= (int) SWIG_AsInt(obj1
);
2086 if (PyErr_Occurred()) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 (arg1
)->SetWidth(arg2
);
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 Py_INCREF(Py_None
); resultobj
= Py_None
;
2101 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
;
2103 wxPen
*arg1
= (wxPen
*) 0 ;
2105 wxDash
*arg3
= (wxDash
*) 0 ;
2106 PyObject
* obj0
= 0 ;
2107 PyObject
* obj1
= 0 ;
2109 (char *) "self",(char *) "dashes", NULL
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2116 arg2
= PyList_Size(obj1
);
2117 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2118 if (arg3
== NULL
) SWIG_fail
;
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 (arg1
)->SetDashes(arg2
,arg3
);
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2127 Py_INCREF(Py_None
); resultobj
= Py_None
;
2129 if (arg3
) delete [] arg3
;
2134 if (arg3
) delete [] arg3
;
2140 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
*resultobj
;
2142 wxPen
*arg1
= (wxPen
*) 0 ;
2144 PyObject
* obj0
= 0 ;
2146 (char *) "self", NULL
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2166 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 wxPen
*arg1
= (wxPen
*) 0 ;
2169 PyObject
*arg2
= (PyObject
*) 0 ;
2170 PyObject
*arg3
= (PyObject
*) 0 ;
2171 PyObject
* obj0
= 0 ;
2172 PyObject
* obj1
= 0 ;
2173 PyObject
* obj2
= 0 ;
2175 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 wxPen__SetDashes(arg1
,arg2
,arg3
);
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2190 Py_INCREF(Py_None
); resultobj
= Py_None
;
2197 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2199 wxPen
*arg1
= (wxPen
*) 0 ;
2200 wxPen
*arg2
= (wxPen
*) 0 ;
2202 PyObject
* obj0
= 0 ;
2203 PyObject
* obj1
= 0 ;
2205 (char *) "self",(char *) "other", NULL
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2229 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
*resultobj
;
2231 wxPen
*arg1
= (wxPen
*) 0 ;
2232 wxPen
*arg2
= (wxPen
*) 0 ;
2234 PyObject
* obj0
= 0 ;
2235 PyObject
* obj1
= 0 ;
2237 (char *) "self",(char *) "other", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2261 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2264 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2266 return Py_BuildValue((char *)"");
2268 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
*resultobj
;
2270 wxColour
*arg1
= 0 ;
2271 int arg2
= (int) wxSOLID
;
2274 PyObject
* obj0
= 0 ;
2275 PyObject
* obj1
= 0 ;
2277 (char *) "colour",(char *) "style", NULL
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2283 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2286 arg2
= (int) SWIG_AsInt(obj1
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) SWIG_fail
;
2296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2303 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
*resultobj
;
2305 wxBrush
*arg1
= (wxBrush
*) 0 ;
2306 PyObject
* obj0
= 0 ;
2308 (char *) "self", NULL
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 Py_INCREF(Py_None
); resultobj
= Py_None
;
2328 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
*resultobj
;
2330 wxBrush
*arg1
= (wxBrush
*) 0 ;
2331 wxColour
*arg2
= 0 ;
2333 PyObject
* obj0
= 0 ;
2334 PyObject
* obj1
= 0 ;
2336 (char *) "self",(char *) "col", NULL
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2344 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 (arg1
)->SetColour((wxColour
const &)*arg2
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 Py_INCREF(Py_None
); resultobj
= Py_None
;
2360 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
*resultobj
;
2362 wxBrush
*arg1
= (wxBrush
*) 0 ;
2364 PyObject
* obj0
= 0 ;
2365 PyObject
* obj1
= 0 ;
2367 (char *) "self",(char *) "style", NULL
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2373 arg2
= (int) SWIG_AsInt(obj1
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 (arg1
)->SetStyle(arg2
);
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2382 Py_INCREF(Py_None
); resultobj
= Py_None
;
2389 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2391 wxBrush
*arg1
= (wxBrush
*) 0 ;
2392 wxBitmap
*arg2
= 0 ;
2393 PyObject
* obj0
= 0 ;
2394 PyObject
* obj1
= 0 ;
2396 (char *) "self",(char *) "stipple", NULL
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2406 PyErr_SetString(PyExc_TypeError
,"null reference");
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) SWIG_fail
;
2416 Py_INCREF(Py_None
); resultobj
= Py_None
;
2423 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
*resultobj
;
2425 wxBrush
*arg1
= (wxBrush
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2429 (char *) "self", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 result
= ((wxBrush
const *)arg1
)->GetColour();
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2443 wxColour
* resultptr
;
2444 resultptr
= new wxColour((wxColour
&) result
);
2445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2453 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2455 wxBrush
*arg1
= (wxBrush
*) 0 ;
2457 PyObject
* obj0
= 0 ;
2459 (char *) "self", NULL
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 resultobj
= SWIG_FromInt((int)result
);
2479 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxBrush
*arg1
= (wxBrush
*) 0 ;
2483 PyObject
* obj0
= 0 ;
2485 (char *) "self", NULL
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2505 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2507 wxBrush
*arg1
= (wxBrush
*) 0 ;
2509 PyObject
* obj0
= 0 ;
2511 (char *) "self", NULL
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 result
= (bool)(arg1
)->Ok();
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2533 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
*resultobj
;
2535 wxBrush
*arg1
= (wxBrush
*) 0 ;
2537 PyObject
* obj0
= 0 ;
2539 (char *) "self", NULL
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 result
= (short)(arg1
)->MacGetTheme();
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2552 resultobj
= SWIG_FromShort((short)result
);
2559 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
*resultobj
;
2561 wxBrush
*arg1
= (wxBrush
*) 0 ;
2563 PyObject
* obj0
= 0 ;
2564 PyObject
* obj1
= 0 ;
2566 (char *) "self",(char *) "macThemeBrush", NULL
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2572 arg2
= (short) SWIG_AsShort(obj1
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 (arg1
)->MacSetTheme(arg2
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2581 Py_INCREF(Py_None
); resultobj
= Py_None
;
2588 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2591 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2593 return Py_BuildValue((char *)"");
2595 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
*resultobj
;
2597 wxString
*arg1
= 0 ;
2598 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2600 bool temp1
= False
;
2601 PyObject
* obj0
= 0 ;
2602 PyObject
* obj1
= 0 ;
2604 (char *) "name",(char *) "type", NULL
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2609 arg1
= wxString_in_helper(obj0
);
2610 if (arg1
== NULL
) SWIG_fail
;
2614 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2639 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2642 PyObject
* obj0
= 0 ;
2644 (char *) "self", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 Py_INCREF(Py_None
); resultobj
= Py_None
;
2664 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2668 int arg3
= (int) -1 ;
2670 PyObject
* obj0
= 0 ;
2671 PyObject
* obj1
= 0 ;
2672 PyObject
* obj2
= 0 ;
2674 (char *) "width",(char *) "height",(char *) "depth", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2678 arg1
= (int) SWIG_AsInt(obj0
);
2679 if (PyErr_Occurred()) SWIG_fail
;
2680 arg2
= (int) SWIG_AsInt(obj1
);
2681 if (PyErr_Occurred()) SWIG_fail
;
2683 arg3
= (int) SWIG_AsInt(obj2
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2700 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2704 PyObject
* obj0
= 0 ;
2706 (char *) "icon", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2714 PyErr_SetString(PyExc_TypeError
,"null reference");
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2731 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2734 int arg2
= (int) -1 ;
2736 PyObject
* obj0
= 0 ;
2737 PyObject
* obj1
= 0 ;
2739 (char *) "image",(char *) "depth", NULL
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2747 PyErr_SetString(PyExc_TypeError
,"null reference");
2751 arg2
= (int) SWIG_AsInt(obj1
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2768 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
*resultobj
;
2770 PyObject
*arg1
= (PyObject
*) 0 ;
2772 PyObject
* obj0
= 0 ;
2774 (char *) "listOfStrings", NULL
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2793 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 PyObject
*arg1
= (PyObject
*) 0 ;
2798 int arg4
= (int) 1 ;
2800 PyObject
* obj0
= 0 ;
2801 PyObject
* obj1
= 0 ;
2802 PyObject
* obj2
= 0 ;
2803 PyObject
* obj3
= 0 ;
2805 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2810 arg2
= (int) SWIG_AsInt(obj1
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2812 arg3
= (int) SWIG_AsInt(obj2
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2815 arg4
= (int) SWIG_AsInt(obj3
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2832 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
;
2834 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2836 PyObject
* obj0
= 0 ;
2838 (char *) "self", NULL
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 result
= (bool)(arg1
)->Ok();
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2860 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2862 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2864 PyObject
* obj0
= 0 ;
2866 (char *) "self", NULL
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2874 result
= (int)(arg1
)->GetWidth();
2876 wxPyEndAllowThreads(__tstate
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2879 resultobj
= SWIG_FromInt((int)result
);
2886 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2888 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2890 PyObject
* obj0
= 0 ;
2892 (char *) "self", NULL
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 result
= (int)(arg1
)->GetHeight();
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 resultobj
= SWIG_FromInt((int)result
);
2912 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2916 PyObject
* obj0
= 0 ;
2918 (char *) "self", NULL
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= (int)(arg1
)->GetDepth();
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= SWIG_FromInt((int)result
);
2938 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2940 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2942 PyObject
* obj0
= 0 ;
2944 (char *) "self", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
2948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= wxBitmap_GetSize(arg1
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2959 resultptr
= new wxSize((wxSize
&) result
);
2960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2968 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2971 SwigValueWrapper
< wxImage
> result
;
2972 PyObject
* obj0
= 0 ;
2974 (char *) "self", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 wxImage
* resultptr
;
2989 resultptr
= new wxImage((wxImage
&) result
);
2990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
2998 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3002 PyObject
* obj0
= 0 ;
3004 (char *) "self", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3024 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
;
3026 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3027 wxMask
*arg2
= (wxMask
*) 0 ;
3028 PyObject
* obj0
= 0 ;
3029 PyObject
* obj1
= 0 ;
3031 (char *) "self",(char *) "mask", NULL
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 (arg1
)->SetMask(arg2
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3046 Py_INCREF(Py_None
); resultobj
= Py_None
;
3053 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
*resultobj
;
3055 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3056 wxColour
*arg2
= 0 ;
3058 PyObject
* obj0
= 0 ;
3059 PyObject
* obj1
= 0 ;
3061 (char *) "self",(char *) "colour", NULL
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3069 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3078 Py_INCREF(Py_None
); resultobj
= Py_None
;
3085 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3089 SwigValueWrapper
< wxBitmap
> result
;
3091 PyObject
* obj0
= 0 ;
3092 PyObject
* obj1
= 0 ;
3094 (char *) "self",(char *) "rect", NULL
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3102 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) SWIG_fail
;
3112 wxBitmap
* resultptr
;
3113 resultptr
= new wxBitmap((wxBitmap
&) result
);
3114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3122 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3125 wxString
*arg2
= 0 ;
3127 wxPalette
*arg4
= (wxPalette
*) NULL
;
3129 bool temp2
= False
;
3130 PyObject
* obj0
= 0 ;
3131 PyObject
* obj1
= 0 ;
3132 PyObject
* obj2
= 0 ;
3133 PyObject
* obj3
= 0 ;
3135 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3142 arg2
= wxString_in_helper(obj1
);
3143 if (arg2
== NULL
) SWIG_fail
;
3146 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3149 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3176 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
*resultobj
;
3178 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3179 wxString
*arg2
= 0 ;
3182 bool temp2
= False
;
3183 PyObject
* obj0
= 0 ;
3184 PyObject
* obj1
= 0 ;
3185 PyObject
* obj2
= 0 ;
3187 (char *) "self",(char *) "name",(char *) "type", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3194 arg2
= wxString_in_helper(obj1
);
3195 if (arg2
== NULL
) SWIG_fail
;
3198 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3202 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3204 wxPyEndAllowThreads(__tstate
);
3205 if (PyErr_Occurred()) SWIG_fail
;
3208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3224 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3226 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3229 PyObject
* obj0
= 0 ;
3230 PyObject
* obj1
= 0 ;
3232 (char *) "self",(char *) "icon", NULL
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3242 PyErr_SetString(PyExc_TypeError
,"null reference");
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3261 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3265 PyObject
* obj0
= 0 ;
3266 PyObject
* obj1
= 0 ;
3268 (char *) "self",(char *) "height", NULL
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3274 arg2
= (int) SWIG_AsInt(obj1
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 (arg1
)->SetHeight(arg2
);
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3283 Py_INCREF(Py_None
); resultobj
= Py_None
;
3290 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
*resultobj
;
3292 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3294 PyObject
* obj0
= 0 ;
3295 PyObject
* obj1
= 0 ;
3297 (char *) "self",(char *) "width", NULL
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3303 arg2
= (int) SWIG_AsInt(obj1
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 (arg1
)->SetWidth(arg2
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 Py_INCREF(Py_None
); resultobj
= Py_None
;
3319 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3323 PyObject
* obj0
= 0 ;
3324 PyObject
* obj1
= 0 ;
3326 (char *) "self",(char *) "depth", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3332 arg2
= (int) SWIG_AsInt(obj1
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 (arg1
)->SetDepth(arg2
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3341 Py_INCREF(Py_None
); resultobj
= Py_None
;
3348 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3350 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3353 PyObject
* obj0
= 0 ;
3354 PyObject
* obj1
= 0 ;
3356 (char *) "self",(char *) "size", NULL
3359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 Py_INCREF(Py_None
); resultobj
= Py_None
;
3380 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
*resultobj
;
3382 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3383 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3385 PyObject
* obj0
= 0 ;
3386 PyObject
* obj1
= 0 ;
3388 (char *) "self",(char *) "other", NULL
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3412 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
*resultobj
;
3414 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3415 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3417 PyObject
* obj0
= 0 ;
3418 PyObject
* obj1
= 0 ;
3420 (char *) "self",(char *) "other", NULL
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3444 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3447 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3449 return Py_BuildValue((char *)"");
3451 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxBitmap
*arg1
= 0 ;
3454 wxColour
const &arg2_defvalue
= wxNullColour
;
3455 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3458 PyObject
* obj0
= 0 ;
3459 PyObject
* obj1
= 0 ;
3461 (char *) "bitmap",(char *) "colour", NULL
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3469 PyErr_SetString(PyExc_TypeError
,"null reference");
3475 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3492 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3495 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3497 return Py_BuildValue((char *)"");
3499 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3501 wxString
*arg1
= 0 ;
3503 int arg3
= (int) -1 ;
3504 int arg4
= (int) -1 ;
3506 bool temp1
= False
;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3509 PyObject
* obj2
= 0 ;
3510 PyObject
* obj3
= 0 ;
3512 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3517 arg1
= wxString_in_helper(obj0
);
3518 if (arg1
== NULL
) SWIG_fail
;
3521 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3524 arg3
= (int) SWIG_AsInt(obj2
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3528 arg4
= (int) SWIG_AsInt(obj3
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3553 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
*resultobj
;
3555 wxIcon
*arg1
= (wxIcon
*) 0 ;
3556 PyObject
* obj0
= 0 ;
3558 (char *) "self", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3571 Py_INCREF(Py_None
); resultobj
= Py_None
;
3578 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 result
= (wxIcon
*)new wxIcon();
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3600 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
*resultobj
;
3602 wxIconLocation
*arg1
= 0 ;
3604 PyObject
* obj0
= 0 ;
3606 (char *) "loc", NULL
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3614 PyErr_SetString(PyExc_TypeError
,"null reference");
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3631 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
*resultobj
;
3633 wxBitmap
*arg1
= 0 ;
3635 PyObject
* obj0
= 0 ;
3637 (char *) "bmp", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3645 PyErr_SetString(PyExc_TypeError
,"null reference");
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3662 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3664 PyObject
*arg1
= (PyObject
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3668 (char *) "listOfStrings", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 result
= (wxIcon
*)new_wxIcon(arg1
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3687 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3689 wxIcon
*arg1
= (wxIcon
*) 0 ;
3691 PyObject
* obj0
= 0 ;
3693 (char *) "self", NULL
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 result
= (bool)(arg1
)->Ok();
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3715 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
;
3717 wxIcon
*arg1
= (wxIcon
*) 0 ;
3719 PyObject
* obj0
= 0 ;
3721 (char *) "self", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= (int)(arg1
)->GetWidth();
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 resultobj
= SWIG_FromInt((int)result
);
3741 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxIcon
*arg1
= (wxIcon
*) 0 ;
3745 PyObject
* obj0
= 0 ;
3747 (char *) "self", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 result
= (int)(arg1
)->GetHeight();
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 resultobj
= SWIG_FromInt((int)result
);
3767 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 wxIcon
*arg1
= (wxIcon
*) 0 ;
3771 PyObject
* obj0
= 0 ;
3773 (char *) "self", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 result
= (int)(arg1
)->GetDepth();
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 resultobj
= SWIG_FromInt((int)result
);
3793 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3795 wxIcon
*arg1
= (wxIcon
*) 0 ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3800 (char *) "self",(char *) "w", NULL
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3806 arg2
= (int) SWIG_AsInt(obj1
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 (arg1
)->SetWidth(arg2
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3815 Py_INCREF(Py_None
); resultobj
= Py_None
;
3822 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxIcon
*arg1
= (wxIcon
*) 0 ;
3826 PyObject
* obj0
= 0 ;
3827 PyObject
* obj1
= 0 ;
3829 (char *) "self",(char *) "h", NULL
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3835 arg2
= (int) SWIG_AsInt(obj1
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 (arg1
)->SetHeight(arg2
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 Py_INCREF(Py_None
); resultobj
= Py_None
;
3851 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
;
3853 wxIcon
*arg1
= (wxIcon
*) 0 ;
3855 PyObject
* obj0
= 0 ;
3856 PyObject
* obj1
= 0 ;
3858 (char *) "self",(char *) "d", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3864 arg2
= (int) SWIG_AsInt(obj1
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 (arg1
)->SetDepth(arg2
);
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3873 Py_INCREF(Py_None
); resultobj
= Py_None
;
3880 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
*resultobj
;
3882 wxIcon
*arg1
= (wxIcon
*) 0 ;
3883 wxBitmap
*arg2
= 0 ;
3884 PyObject
* obj0
= 0 ;
3885 PyObject
* obj1
= 0 ;
3887 (char *) "self",(char *) "bmp", NULL
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3897 PyErr_SetString(PyExc_TypeError
,"null reference");
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3914 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3917 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3919 return Py_BuildValue((char *)"");
3921 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
;
3923 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3924 int arg2
= (int) 0 ;
3925 wxIconLocation
*result
;
3926 bool temp1
= False
;
3927 PyObject
* obj0
= 0 ;
3928 PyObject
* obj1
= 0 ;
3930 (char *) "filename",(char *) "num", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3936 arg1
= wxString_in_helper(obj0
);
3937 if (arg1
== NULL
) SWIG_fail
;
3942 arg2
= (int) SWIG_AsInt(obj1
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3967 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3972 (char *) "self", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3998 (char *) "self", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4020 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4023 wxString
*arg2
= 0 ;
4024 bool temp2
= False
;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4028 (char *) "self",(char *) "filename", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4035 arg2
= wxString_in_helper(obj1
);
4036 if (arg2
== NULL
) SWIG_fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 (arg1
)->SetFileName((wxString
const &)*arg2
);
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 Py_INCREF(Py_None
); resultobj
= Py_None
;
4061 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4065 PyObject
* obj0
= 0 ;
4067 (char *) "self", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4077 result
= (wxString
*) &_result_ref
;
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4087 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4096 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
*resultobj
;
4098 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4101 PyObject
* obj1
= 0 ;
4103 (char *) "self",(char *) "num", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4109 arg2
= (int) SWIG_AsInt(obj1
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 wxIconLocation_SetIndex(arg1
,arg2
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 Py_INCREF(Py_None
); resultobj
= Py_None
;
4125 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
;
4127 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4129 PyObject
* obj0
= 0 ;
4131 (char *) "self", NULL
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (int)wxIconLocation_GetIndex(arg1
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= SWIG_FromInt((int)result
);
4151 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4154 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4156 return Py_BuildValue((char *)"");
4158 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxIconBundle
*result
;
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (wxIconBundle
*)new wxIconBundle();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4180 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 wxString
*arg1
= 0 ;
4184 wxIconBundle
*result
;
4185 bool temp1
= False
;
4186 PyObject
* obj0
= 0 ;
4187 PyObject
* obj1
= 0 ;
4189 (char *) "file",(char *) "type", NULL
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4194 arg1
= wxString_in_helper(obj0
);
4195 if (arg1
== NULL
) SWIG_fail
;
4198 arg2
= (long) SWIG_AsLong(obj1
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4222 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4225 wxIconBundle
*result
;
4226 PyObject
* obj0
= 0 ;
4228 (char *) "icon", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4236 PyErr_SetString(PyExc_TypeError
,"null reference");
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4253 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4255 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4256 PyObject
* obj0
= 0 ;
4258 (char *) "self", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 Py_INCREF(Py_None
); resultobj
= Py_None
;
4278 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4280 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4282 PyObject
* obj0
= 0 ;
4283 PyObject
* obj1
= 0 ;
4285 (char *) "self",(char *) "icon", NULL
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4295 PyErr_SetString(PyExc_TypeError
,"null reference");
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 Py_INCREF(Py_None
); resultobj
= Py_None
;
4312 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4315 wxString
*arg2
= 0 ;
4317 bool temp2
= False
;
4318 PyObject
* obj0
= 0 ;
4319 PyObject
* obj1
= 0 ;
4320 PyObject
* obj2
= 0 ;
4322 (char *) "self",(char *) "file",(char *) "type", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4329 arg2
= wxString_in_helper(obj1
);
4330 if (arg2
== NULL
) SWIG_fail
;
4333 arg3
= (long) SWIG_AsLong(obj2
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4357 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4363 PyObject
* obj0
= 0 ;
4364 PyObject
* obj1
= 0 ;
4366 (char *) "self",(char *) "size", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4380 result
= (wxIcon
*) &_result_ref
;
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4387 wxIcon
* resultptr
= new wxIcon(*result
);
4388 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4396 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4399 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4401 return Py_BuildValue((char *)"");
4403 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
;
4405 wxString
*arg1
= (wxString
*) 0 ;
4407 int arg3
= (int) 0 ;
4408 int arg4
= (int) 0 ;
4410 bool temp1
= False
;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4413 PyObject
* obj2
= 0 ;
4414 PyObject
* obj3
= 0 ;
4416 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4421 arg1
= wxString_in_helper(obj0
);
4422 if (arg1
== NULL
) SWIG_fail
;
4425 arg2
= (long) SWIG_AsLong(obj1
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 arg3
= (int) SWIG_AsInt(obj2
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4432 arg4
= (int) SWIG_AsInt(obj3
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4457 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
;
4459 wxCursor
*arg1
= (wxCursor
*) 0 ;
4460 PyObject
* obj0
= 0 ;
4462 (char *) "self", NULL
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4475 Py_INCREF(Py_None
); resultobj
= Py_None
;
4482 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
*resultobj
;
4486 PyObject
* obj0
= 0 ;
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4492 arg1
= (int) SWIG_AsInt(obj0
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 result
= (wxCursor
*)new wxCursor(arg1
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4508 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4512 PyObject
* obj0
= 0 ;
4514 (char *) "image", NULL
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4522 PyErr_SetString(PyExc_TypeError
,"null reference");
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4539 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
;
4541 wxCursor
*arg1
= (wxCursor
*) 0 ;
4543 PyObject
* obj0
= 0 ;
4545 (char *) "self", NULL
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 result
= (bool)(arg1
)->Ok();
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4567 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4570 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4572 return Py_BuildValue((char *)"");
4574 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
;
4576 int arg1
= (int) 0 ;
4577 int arg2
= (int) 0 ;
4578 int arg3
= (int) 0 ;
4579 int arg4
= (int) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4583 PyObject
* obj2
= 0 ;
4584 PyObject
* obj3
= 0 ;
4586 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4591 arg1
= (int) SWIG_AsInt(obj0
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4595 arg2
= (int) SWIG_AsInt(obj1
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4599 arg3
= (int) SWIG_AsInt(obj2
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4603 arg4
= (int) SWIG_AsInt(obj3
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4620 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
*resultobj
;
4622 wxBitmap
*arg1
= 0 ;
4623 wxColour
const &arg2_defvalue
= wxNullColour
;
4624 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4625 int arg3
= (int) 0 ;
4628 PyObject
* obj0
= 0 ;
4629 PyObject
* obj1
= 0 ;
4630 PyObject
* obj2
= 0 ;
4632 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4640 PyErr_SetString(PyExc_TypeError
,"null reference");
4646 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4650 arg3
= (int) SWIG_AsInt(obj2
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4667 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
;
4670 wxPoint
*arg2
= (wxPoint
*) 0 ;
4671 int arg3
= (int) wxWINDING_RULE
;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4676 (char *) "points",(char *) "fillStyle", NULL
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4681 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4682 if (arg2
== NULL
) SWIG_fail
;
4685 arg3
= (int) SWIG_AsInt(obj1
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4697 if (arg2
) delete [] arg2
;
4702 if (arg2
) delete [] arg2
;
4708 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxRegion
*arg1
= (wxRegion
*) 0 ;
4711 PyObject
* obj0
= 0 ;
4713 (char *) "self", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4726 Py_INCREF(Py_None
); resultobj
= Py_None
;
4733 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
*resultobj
;
4735 wxRegion
*arg1
= (wxRegion
*) 0 ;
4736 PyObject
* obj0
= 0 ;
4738 (char *) "self", NULL
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 Py_INCREF(Py_None
); resultobj
= Py_None
;
4758 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 wxRegion
*arg1
= (wxRegion
*) 0 ;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4766 PyObject
* obj2
= 0 ;
4768 (char *) "self",(char *) "x",(char *) "y", NULL
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4774 arg2
= (int) SWIG_AsInt(obj1
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4776 arg3
= (int) SWIG_AsInt(obj2
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4785 resultobj
= SWIG_FromInt((int)result
);
4792 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
*resultobj
;
4794 wxRegion
*arg1
= (wxRegion
*) 0 ;
4798 PyObject
* obj0
= 0 ;
4799 PyObject
* obj1
= 0 ;
4801 (char *) "self",(char *) "pt", NULL
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 resultobj
= SWIG_FromInt((int)result
);
4825 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxRegion
*arg1
= (wxRegion
*) 0 ;
4831 PyObject
* obj0
= 0 ;
4832 PyObject
* obj1
= 0 ;
4834 (char *) "self",(char *) "rect", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4842 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_FromInt((int)result
);
4858 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4860 wxRegion
*arg1
= (wxRegion
*) 0 ;
4866 PyObject
* obj0
= 0 ;
4867 PyObject
* obj1
= 0 ;
4868 PyObject
* obj2
= 0 ;
4869 PyObject
* obj3
= 0 ;
4870 PyObject
* obj4
= 0 ;
4872 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4878 arg2
= (int) SWIG_AsInt(obj1
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4880 arg3
= (int) SWIG_AsInt(obj2
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4882 arg4
= (int) SWIG_AsInt(obj3
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4884 arg5
= (int) SWIG_AsInt(obj4
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_FromInt((int)result
);
4900 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxRegion
*arg1
= (wxRegion
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4906 (char *) "self", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 result
= (arg1
)->GetBox();
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4921 resultptr
= new wxRect((wxRect
&) result
);
4922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4930 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
;
4932 wxRegion
*arg1
= (wxRegion
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4940 PyObject
* obj2
= 0 ;
4941 PyObject
* obj3
= 0 ;
4942 PyObject
* obj4
= 0 ;
4944 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4950 arg2
= (int) SWIG_AsInt(obj1
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4952 arg3
= (int) SWIG_AsInt(obj2
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4954 arg4
= (int) SWIG_AsInt(obj3
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4956 arg5
= (int) SWIG_AsInt(obj4
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4974 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxRegion
*arg1
= (wxRegion
*) 0 ;
4980 PyObject
* obj0
= 0 ;
4981 PyObject
* obj1
= 0 ;
4983 (char *) "self",(char *) "rect", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4991 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5009 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxRegion
*arg1
= (wxRegion
*) 0 ;
5012 wxRegion
*arg2
= 0 ;
5014 PyObject
* obj0
= 0 ;
5015 PyObject
* obj1
= 0 ;
5017 (char *) "self",(char *) "region", NULL
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5027 PyErr_SetString(PyExc_TypeError
,"null reference");
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5046 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxRegion
*arg1
= (wxRegion
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5052 (char *) "self", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 result
= (bool)(arg1
)->IsEmpty();
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5074 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxRegion
*arg1
= (wxRegion
*) 0 ;
5082 PyObject
* obj0
= 0 ;
5083 PyObject
* obj1
= 0 ;
5084 PyObject
* obj2
= 0 ;
5085 PyObject
* obj3
= 0 ;
5086 PyObject
* obj4
= 0 ;
5088 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5094 arg2
= (int) SWIG_AsInt(obj1
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5096 arg3
= (int) SWIG_AsInt(obj2
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5098 arg4
= (int) SWIG_AsInt(obj3
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5100 arg5
= (int) SWIG_AsInt(obj4
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5118 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxRegion
*arg1
= (wxRegion
*) 0 ;
5124 PyObject
* obj0
= 0 ;
5125 PyObject
* obj1
= 0 ;
5127 (char *) "self",(char *) "rect", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5135 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5153 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxRegion
*arg1
= (wxRegion
*) 0 ;
5156 wxRegion
*arg2
= 0 ;
5158 PyObject
* obj0
= 0 ;
5159 PyObject
* obj1
= 0 ;
5161 (char *) "self",(char *) "region", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5171 PyErr_SetString(PyExc_TypeError
,"null reference");
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5190 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxRegion
*arg1
= (wxRegion
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5199 PyObject
* obj1
= 0 ;
5200 PyObject
* obj2
= 0 ;
5201 PyObject
* obj3
= 0 ;
5202 PyObject
* obj4
= 0 ;
5204 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5210 arg2
= (int) SWIG_AsInt(obj1
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5212 arg3
= (int) SWIG_AsInt(obj2
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5214 arg4
= (int) SWIG_AsInt(obj3
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5216 arg5
= (int) SWIG_AsInt(obj4
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5234 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
;
5236 wxRegion
*arg1
= (wxRegion
*) 0 ;
5240 PyObject
* obj0
= 0 ;
5241 PyObject
* obj1
= 0 ;
5243 (char *) "self",(char *) "rect", NULL
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5251 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5269 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
*resultobj
;
5271 wxRegion
*arg1
= (wxRegion
*) 0 ;
5272 wxRegion
*arg2
= 0 ;
5274 PyObject
* obj0
= 0 ;
5275 PyObject
* obj1
= 0 ;
5277 (char *) "self",(char *) "region", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5287 PyErr_SetString(PyExc_TypeError
,"null reference");
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5306 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxRegion
*arg1
= (wxRegion
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5315 PyObject
* obj1
= 0 ;
5316 PyObject
* obj2
= 0 ;
5317 PyObject
* obj3
= 0 ;
5318 PyObject
* obj4
= 0 ;
5320 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5326 arg2
= (int) SWIG_AsInt(obj1
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5328 arg3
= (int) SWIG_AsInt(obj2
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5330 arg4
= (int) SWIG_AsInt(obj3
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5332 arg5
= (int) SWIG_AsInt(obj4
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5350 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
*resultobj
;
5352 wxRegion
*arg1
= (wxRegion
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5359 (char *) "self",(char *) "rect", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5367 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5385 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxRegion
*arg1
= (wxRegion
*) 0 ;
5388 wxRegion
*arg2
= 0 ;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5393 (char *) "self",(char *) "region", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5403 PyErr_SetString(PyExc_TypeError
,"null reference");
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5422 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
;
5424 wxRegion
*arg1
= (wxRegion
*) 0 ;
5425 SwigValueWrapper
< wxBitmap
> result
;
5426 PyObject
* obj0
= 0 ;
5428 (char *) "self", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= (arg1
)->ConvertToBitmap();
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5442 wxBitmap
* resultptr
;
5443 resultptr
= new wxBitmap((wxBitmap
&) result
);
5444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5452 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxRegion
*arg1
= (wxRegion
*) 0 ;
5455 wxBitmap
*arg2
= 0 ;
5456 wxColour
const &arg3_defvalue
= wxNullColour
;
5457 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5458 int arg4
= (int) 0 ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5463 PyObject
* obj2
= 0 ;
5464 PyObject
* obj3
= 0 ;
5466 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5476 PyErr_SetString(PyExc_TypeError
,"null reference");
5482 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5486 arg4
= (int) SWIG_AsInt(obj3
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5505 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5508 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5510 return Py_BuildValue((char *)"");
5512 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
;
5514 wxRegion
*arg1
= 0 ;
5515 wxRegionIterator
*result
;
5516 PyObject
* obj0
= 0 ;
5518 (char *) "region", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5526 PyErr_SetString(PyExc_TypeError
,"null reference");
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5543 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5546 PyObject
* obj0
= 0 ;
5548 (char *) "self", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 Py_INCREF(Py_None
); resultobj
= Py_None
;
5568 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5574 (char *) "self", NULL
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (int)(arg1
)->GetX();
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= SWIG_FromInt((int)result
);
5594 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
;
5596 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5598 PyObject
* obj0
= 0 ;
5600 (char *) "self", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 result
= (int)(arg1
)->GetY();
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= SWIG_FromInt((int)result
);
5620 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
;
5622 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5624 PyObject
* obj0
= 0 ;
5626 (char *) "self", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 result
= (int)(arg1
)->GetW();
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5639 resultobj
= SWIG_FromInt((int)result
);
5646 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
;
5648 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5650 PyObject
* obj0
= 0 ;
5652 (char *) "self", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= (int)(arg1
)->GetWidth();
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= SWIG_FromInt((int)result
);
5672 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5674 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5676 PyObject
* obj0
= 0 ;
5678 (char *) "self", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 result
= (int)(arg1
)->GetH();
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= SWIG_FromInt((int)result
);
5698 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5702 PyObject
* obj0
= 0 ;
5704 (char *) "self", NULL
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= (int)(arg1
)->GetHeight();
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= SWIG_FromInt((int)result
);
5724 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
;
5726 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5730 (char *) "self", NULL
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 result
= (arg1
)->GetRect();
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5745 resultptr
= new wxRect((wxRect
&) result
);
5746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5754 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
*resultobj
;
5756 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5758 PyObject
* obj0
= 0 ;
5760 (char *) "self", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 result
= (bool)(arg1
)->HaveRects();
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5782 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5785 PyObject
* obj0
= 0 ;
5787 (char *) "self", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 Py_INCREF(Py_None
); resultobj
= Py_None
;
5807 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5810 PyObject
* obj0
= 0 ;
5812 (char *) "self", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 wxRegionIterator_Next(arg1
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 Py_INCREF(Py_None
); resultobj
= Py_None
;
5832 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5838 (char *) "self", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5860 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5863 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5865 return Py_BuildValue((char *)"");
5867 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
;
5869 wxNativeFontInfo
*result
;
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5889 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5892 PyObject
* obj0
= 0 ;
5894 (char *) "self", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 Py_INCREF(Py_None
); resultobj
= Py_None
;
5914 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5916 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5917 PyObject
* obj0
= 0 ;
5919 (char *) "self", NULL
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 Py_INCREF(Py_None
); resultobj
= Py_None
;
5939 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5944 PyObject
* obj1
= 0 ;
5946 (char *) "self",(char *) "font", NULL
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
5953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5956 PyErr_SetString(PyExc_TypeError
,"null reference");
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5966 Py_INCREF(Py_None
); resultobj
= Py_None
;
5973 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5977 PyObject
* obj0
= 0 ;
5979 (char *) "self", NULL
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= SWIG_FromInt((int)result
);
5999 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
*resultobj
;
6001 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6003 PyObject
* obj0
= 0 ;
6005 (char *) "self", NULL
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= SWIG_FromInt((int)result
);
6025 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6029 PyObject
* obj0
= 0 ;
6031 (char *) "self", NULL
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= SWIG_FromInt((int)result
);
6051 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
;
6053 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6055 PyObject
* obj0
= 0 ;
6057 (char *) "self", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6079 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
*resultobj
;
6081 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6083 PyObject
* obj0
= 0 ;
6085 (char *) "self", NULL
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6111 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
;
6113 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6115 PyObject
* obj0
= 0 ;
6117 (char *) "self", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= SWIG_FromInt((int)result
);
6137 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6143 (char *) "self", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 resultobj
= SWIG_FromInt((int)result
);
6163 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
;
6165 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6170 (char *) "self",(char *) "pointsize", NULL
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6176 arg2
= (int) SWIG_AsInt(obj1
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 (arg1
)->SetPointSize(arg2
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 Py_INCREF(Py_None
); resultobj
= Py_None
;
6192 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
;
6194 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6199 (char *) "self",(char *) "style", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6205 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 Py_INCREF(Py_None
); resultobj
= Py_None
;
6221 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6228 (char *) "self",(char *) "weight", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 Py_INCREF(Py_None
); resultobj
= Py_None
;
6250 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6254 PyObject
* obj0
= 0 ;
6255 PyObject
* obj1
= 0 ;
6257 (char *) "self",(char *) "underlined", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6263 arg2
= (bool) SWIG_AsBool(obj1
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 (arg1
)->SetUnderlined(arg2
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 Py_INCREF(Py_None
); resultobj
= Py_None
;
6279 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6284 PyObject
* obj1
= 0 ;
6286 (char *) "self",(char *) "facename", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6293 wxString
* sptr
= wxString_in_helper(obj1
);
6294 if (sptr
== NULL
) SWIG_fail
;
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 (arg1
)->SetFaceName(arg2
);
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6305 Py_INCREF(Py_None
); resultobj
= Py_None
;
6312 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6316 PyObject
* obj0
= 0 ;
6317 PyObject
* obj1
= 0 ;
6319 (char *) "self",(char *) "family", NULL
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6325 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 Py_INCREF(Py_None
); resultobj
= Py_None
;
6341 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
;
6343 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6345 PyObject
* obj0
= 0 ;
6346 PyObject
* obj1
= 0 ;
6348 (char *) "self",(char *) "encoding", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6354 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 Py_INCREF(Py_None
); resultobj
= Py_None
;
6370 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
;
6372 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6373 wxString
*arg2
= 0 ;
6375 bool temp2
= False
;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6379 (char *) "self",(char *) "s", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 arg2
= wxString_in_helper(obj1
);
6387 if (arg2
== NULL
) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6414 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6420 (char *) "self", NULL
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6446 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6450 PyObject
* obj0
= 0 ;
6452 (char *) "self", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= wxNativeFontInfo___str__(arg1
);
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6478 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
;
6480 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6481 wxString
*arg2
= 0 ;
6483 bool temp2
= False
;
6484 PyObject
* obj0
= 0 ;
6485 PyObject
* obj1
= 0 ;
6487 (char *) "self",(char *) "s", NULL
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6494 arg2
= wxString_in_helper(obj1
);
6495 if (arg2
== NULL
) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6522 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6528 (char *) "self", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6554 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6557 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6559 return Py_BuildValue((char *)"");
6561 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6564 wxString
*arg2
= (wxString
*) 0 ;
6565 bool temp2
= False
;
6566 PyObject
* obj0
= 0 ;
6567 PyObject
* obj1
= 0 ;
6569 (char *) "self",(char *) "facename", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6576 arg2
= wxString_in_helper(obj1
);
6577 if (arg2
== NULL
) SWIG_fail
;
6580 if (arg1
) (arg1
)->facename
= *arg2
;
6582 Py_INCREF(Py_None
); resultobj
= Py_None
;
6597 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6603 (char *) "self", NULL
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6609 result
= (wxString
*)& ((arg1
)->facename
);
6613 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6615 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6624 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
*resultobj
;
6626 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6628 PyObject
* obj0
= 0 ;
6629 PyObject
* obj1
= 0 ;
6631 (char *) "self",(char *) "encoding", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6637 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6639 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6641 Py_INCREF(Py_None
); resultobj
= Py_None
;
6648 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
;
6650 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6654 (char *) "self", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6660 result
= (int) ((arg1
)->encoding
);
6662 resultobj
= SWIG_FromInt((int)result
);
6669 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxNativeEncodingInfo
*result
;
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6691 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
;
6693 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6694 PyObject
* obj0
= 0 ;
6696 (char *) "self", NULL
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6709 Py_INCREF(Py_None
); resultobj
= Py_None
;
6716 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6718 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6719 wxString
*arg2
= 0 ;
6721 bool temp2
= False
;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6725 (char *) "self",(char *) "s", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6732 arg2
= wxString_in_helper(obj1
);
6733 if (arg2
== NULL
) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6760 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6764 PyObject
* obj0
= 0 ;
6766 (char *) "self", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6783 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6792 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6795 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6797 return Py_BuildValue((char *)"");
6799 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6802 wxNativeEncodingInfo
*result
;
6803 PyObject
* obj0
= 0 ;
6805 (char *) "encoding", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6809 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6825 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxNativeEncodingInfo
*arg1
= 0 ;
6829 PyObject
* obj0
= 0 ;
6831 (char *) "info", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6839 PyErr_SetString(PyExc_TypeError
,"null reference");
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6858 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxFontMapper
*result
;
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (wxFontMapper
*)new wxFontMapper();
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6880 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6885 (char *) "self", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 Py_INCREF(Py_None
); resultobj
= Py_None
;
6905 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
;
6907 wxFontMapper
*result
;
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 result
= (wxFontMapper
*)wxFontMapper::Get();
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6927 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6930 wxFontMapper
*result
;
6931 PyObject
* obj0
= 0 ;
6933 (char *) "mapper", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6953 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
*resultobj
;
6955 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6956 wxString
*arg2
= 0 ;
6957 bool arg3
= (bool) True
;
6959 bool temp2
= False
;
6960 PyObject
* obj0
= 0 ;
6961 PyObject
* obj1
= 0 ;
6962 PyObject
* obj2
= 0 ;
6964 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6971 arg2
= wxString_in_helper(obj1
);
6972 if (arg2
== NULL
) SWIG_fail
;
6976 arg3
= (bool) SWIG_AsBool(obj2
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_FromInt((int)result
);
7001 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7023 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7027 PyObject
* obj0
= 0 ;
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7033 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 result
= (int)wxFontMapper::GetEncoding(arg1
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= SWIG_FromInt((int)result
);
7049 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7053 PyObject
* obj0
= 0 ;
7055 (char *) "encoding", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7059 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7081 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7085 PyObject
* obj0
= 0 ;
7087 (char *) "encoding", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7091 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7113 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
;
7115 wxString
*arg1
= 0 ;
7117 bool temp1
= False
;
7118 PyObject
* obj0
= 0 ;
7120 (char *) "name", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7125 arg1
= wxString_in_helper(obj0
);
7126 if (arg1
== NULL
) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= SWIG_FromInt((int)result
);
7151 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7154 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7158 (char *) "self",(char *) "config", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 (arg1
)->SetConfig(arg2
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 Py_INCREF(Py_None
); resultobj
= Py_None
;
7180 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7183 wxString
*arg2
= 0 ;
7184 bool temp2
= False
;
7185 PyObject
* obj0
= 0 ;
7186 PyObject
* obj1
= 0 ;
7188 (char *) "self",(char *) "prefix", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7195 arg2
= wxString_in_helper(obj1
);
7196 if (arg2
== NULL
) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 Py_INCREF(Py_None
); resultobj
= Py_None
;
7221 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 result
= wxFontMapper::GetDefaultConfigPath();
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7249 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7253 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7254 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7255 bool arg4
= (bool) True
;
7257 bool temp3
= False
;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7260 PyObject
* obj2
= 0 ;
7261 PyObject
* obj3
= 0 ;
7263 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7269 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7273 arg3
= wxString_in_helper(obj2
);
7274 if (arg3
== NULL
) SWIG_fail
;
7279 arg4
= (bool) SWIG_AsBool(obj3
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7304 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
*resultobj
;
7306 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7308 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7309 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7311 bool temp3
= False
;
7312 PyObject
* obj0
= 0 ;
7313 PyObject
* obj1
= 0 ;
7314 PyObject
* obj2
= 0 ;
7316 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7322 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7326 arg3
= wxString_in_helper(obj2
);
7327 if (arg3
== NULL
) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7355 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7358 wxWindow
*arg2
= (wxWindow
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7360 PyObject
* obj1
= 0 ;
7362 (char *) "self",(char *) "parent", NULL
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 (arg1
)->SetDialogParent(arg2
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 Py_INCREF(Py_None
); resultobj
= Py_None
;
7384 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7387 wxString
*arg2
= 0 ;
7388 bool temp2
= False
;
7389 PyObject
* obj0
= 0 ;
7390 PyObject
* obj1
= 0 ;
7392 (char *) "self",(char *) "title", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7399 arg2
= wxString_in_helper(obj1
);
7400 if (arg2
== NULL
) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7428 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7430 return Py_BuildValue((char *)"");
7432 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
;
7438 bool arg5
= (bool) False
;
7439 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7440 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7441 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7443 bool temp6
= False
;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7446 PyObject
* obj2
= 0 ;
7447 PyObject
* obj3
= 0 ;
7448 PyObject
* obj4
= 0 ;
7449 PyObject
* obj5
= 0 ;
7450 PyObject
* obj6
= 0 ;
7452 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7456 arg1
= (int) SWIG_AsInt(obj0
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7458 arg2
= (int) SWIG_AsInt(obj1
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7460 arg3
= (int) SWIG_AsInt(obj2
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7462 arg4
= (int) SWIG_AsInt(obj3
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 arg5
= (bool) SWIG_AsBool(obj4
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7470 arg6
= wxString_in_helper(obj5
);
7471 if (arg6
== NULL
) SWIG_fail
;
7476 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7501 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxFont
*arg1
= (wxFont
*) 0 ;
7504 PyObject
* obj0
= 0 ;
7506 (char *) "self", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 Py_INCREF(Py_None
); resultobj
= Py_None
;
7526 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxNativeFontInfo
*arg1
= 0 ;
7530 PyObject
* obj0
= 0 ;
7532 (char *) "info", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7540 PyErr_SetString(PyExc_TypeError
,"null reference");
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7557 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxString
*arg1
= 0 ;
7561 bool temp1
= False
;
7562 PyObject
* obj0
= 0 ;
7564 (char *) "info", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7569 arg1
= wxString_in_helper(obj0
);
7570 if (arg1
== NULL
) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7595 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7599 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7600 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7601 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7602 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7604 bool temp4
= False
;
7605 PyObject
* obj0
= 0 ;
7606 PyObject
* obj1
= 0 ;
7607 PyObject
* obj2
= 0 ;
7608 PyObject
* obj3
= 0 ;
7609 PyObject
* obj4
= 0 ;
7611 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7615 arg1
= (int) SWIG_AsInt(obj0
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7617 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 arg3
= (int) SWIG_AsInt(obj2
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7625 arg4
= wxString_in_helper(obj3
);
7626 if (arg4
== NULL
) SWIG_fail
;
7631 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7656 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxFont
*arg1
= (wxFont
*) 0 ;
7660 PyObject
* obj0
= 0 ;
7662 (char *) "self", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= (bool)((wxFont
const *)arg1
)->Ok();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7684 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxFont
*arg1
= (wxFont
*) 0 ;
7687 wxFont
*arg2
= (wxFont
*) 0 ;
7689 PyObject
* obj0
= 0 ;
7690 PyObject
* obj1
= 0 ;
7692 (char *) "self",(char *) "other", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7716 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxFont
*arg1
= (wxFont
*) 0 ;
7719 wxFont
*arg2
= (wxFont
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7722 PyObject
* obj1
= 0 ;
7724 (char *) "self",(char *) "other", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7748 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxFont
*arg1
= (wxFont
*) 0 ;
7752 PyObject
* obj0
= 0 ;
7754 (char *) "self", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= SWIG_FromInt((int)result
);
7774 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
;
7776 wxFont
*arg1
= (wxFont
*) 0 ;
7778 PyObject
* obj0
= 0 ;
7780 (char *) "self", NULL
7783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 resultobj
= SWIG_FromInt((int)result
);
7800 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxFont
*arg1
= (wxFont
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7806 (char *) "self", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_FromInt((int)result
);
7826 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7828 wxFont
*arg1
= (wxFont
*) 0 ;
7830 PyObject
* obj0
= 0 ;
7832 (char *) "self", NULL
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_FromInt((int)result
);
7852 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxFont
*arg1
= (wxFont
*) 0 ;
7856 PyObject
* obj0
= 0 ;
7858 (char *) "self", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7880 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxFont
*arg1
= (wxFont
*) 0 ;
7884 PyObject
* obj0
= 0 ;
7886 (char *) "self", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= ((wxFont
const *)arg1
)->GetFaceName();
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7912 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxFont
*arg1
= (wxFont
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7918 (char *) "self", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= SWIG_FromInt((int)result
);
7938 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
;
7940 wxFont
*arg1
= (wxFont
*) 0 ;
7941 wxNativeFontInfo
*result
;
7942 PyObject
* obj0
= 0 ;
7944 (char *) "self", NULL
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
7964 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxFont
*arg1
= (wxFont
*) 0 ;
7968 PyObject
* obj0
= 0 ;
7970 (char *) "self", NULL
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7992 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 wxFont
*arg1
= (wxFont
*) 0 ;
7996 PyObject
* obj0
= 0 ;
7998 (char *) "self", NULL
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8024 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxFont
*arg1
= (wxFont
*) 0 ;
8028 PyObject
* obj0
= 0 ;
8030 (char *) "self", NULL
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8056 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxFont
*arg1
= (wxFont
*) 0 ;
8060 PyObject
* obj0
= 0 ;
8061 PyObject
* obj1
= 0 ;
8063 (char *) "self",(char *) "pointSize", NULL
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8069 arg2
= (int) SWIG_AsInt(obj1
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 (arg1
)->SetPointSize(arg2
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 Py_INCREF(Py_None
); resultobj
= Py_None
;
8085 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxFont
*arg1
= (wxFont
*) 0 ;
8089 PyObject
* obj0
= 0 ;
8090 PyObject
* obj1
= 0 ;
8092 (char *) "self",(char *) "family", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8098 arg2
= (int) SWIG_AsInt(obj1
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 (arg1
)->SetFamily(arg2
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 Py_INCREF(Py_None
); resultobj
= Py_None
;
8114 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxFont
*arg1
= (wxFont
*) 0 ;
8118 PyObject
* obj0
= 0 ;
8119 PyObject
* obj1
= 0 ;
8121 (char *) "self",(char *) "style", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8127 arg2
= (int) SWIG_AsInt(obj1
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 (arg1
)->SetStyle(arg2
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 Py_INCREF(Py_None
); resultobj
= Py_None
;
8143 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
;
8145 wxFont
*arg1
= (wxFont
*) 0 ;
8147 PyObject
* obj0
= 0 ;
8148 PyObject
* obj1
= 0 ;
8150 (char *) "self",(char *) "weight", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8156 arg2
= (int) SWIG_AsInt(obj1
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 (arg1
)->SetWeight(arg2
);
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 Py_INCREF(Py_None
); resultobj
= Py_None
;
8172 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxFont
*arg1
= (wxFont
*) 0 ;
8175 wxString
*arg2
= 0 ;
8176 bool temp2
= False
;
8177 PyObject
* obj0
= 0 ;
8178 PyObject
* obj1
= 0 ;
8180 (char *) "self",(char *) "faceName", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8187 arg2
= wxString_in_helper(obj1
);
8188 if (arg2
== NULL
) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 Py_INCREF(Py_None
); resultobj
= Py_None
;
8213 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
;
8215 wxFont
*arg1
= (wxFont
*) 0 ;
8217 PyObject
* obj0
= 0 ;
8218 PyObject
* obj1
= 0 ;
8220 (char *) "self",(char *) "underlined", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8226 arg2
= (bool) SWIG_AsBool(obj1
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 (arg1
)->SetUnderlined(arg2
);
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 Py_INCREF(Py_None
); resultobj
= Py_None
;
8242 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxFont
*arg1
= (wxFont
*) 0 ;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8249 (char *) "self",(char *) "encoding", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8255 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 Py_INCREF(Py_None
); resultobj
= Py_None
;
8271 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxFont
*arg1
= (wxFont
*) 0 ;
8274 wxNativeFontInfo
*arg2
= 0 ;
8275 PyObject
* obj0
= 0 ;
8276 PyObject
* obj1
= 0 ;
8278 (char *) "self",(char *) "info", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8285 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8288 PyErr_SetString(PyExc_TypeError
,"null reference");
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 Py_INCREF(Py_None
); resultobj
= Py_None
;
8305 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxFont
*arg1
= (wxFont
*) 0 ;
8308 wxString
*arg2
= 0 ;
8309 bool temp2
= False
;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8313 (char *) "self",(char *) "info", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8320 arg2
= wxString_in_helper(obj1
);
8321 if (arg2
== NULL
) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 Py_INCREF(Py_None
); resultobj
= Py_None
;
8346 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxFont
*arg1
= (wxFont
*) 0 ;
8349 wxString
*arg2
= 0 ;
8350 bool temp2
= False
;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8354 (char *) "self",(char *) "info", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8361 arg2
= wxString_in_helper(obj1
);
8362 if (arg2
== NULL
) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 Py_INCREF(Py_None
); resultobj
= Py_None
;
8387 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
;
8389 wxFont
*arg1
= (wxFont
*) 0 ;
8391 PyObject
* obj0
= 0 ;
8393 (char *) "self", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8419 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 wxFont
*arg1
= (wxFont
*) 0 ;
8423 PyObject
* obj0
= 0 ;
8425 (char *) "self", NULL
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 result
= ((wxFont
const *)arg1
)->GetStyleString();
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8451 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxFont
*arg1
= (wxFont
*) 0 ;
8455 PyObject
* obj0
= 0 ;
8457 (char *) "self", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= ((wxFont
const *)arg1
)->GetWeightString();
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8483 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
;
8485 wxFont
*arg1
= (wxFont
*) 0 ;
8486 bool arg2
= (bool) True
;
8487 PyObject
* obj0
= 0 ;
8488 PyObject
* obj1
= 0 ;
8490 (char *) "self",(char *) "no", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8497 arg2
= (bool) SWIG_AsBool(obj1
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 (arg1
)->SetNoAntiAliasing(arg2
);
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 Py_INCREF(Py_None
); resultobj
= Py_None
;
8514 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxFont
*arg1
= (wxFont
*) 0 ;
8518 PyObject
* obj0
= 0 ;
8520 (char *) "self", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (bool)(arg1
)->GetNoAntiAliasing();
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8542 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 result
= (int)wxFont::GetDefaultEncoding();
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 resultobj
= SWIG_FromInt((int)result
);
8564 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8565 PyObject
*resultobj
;
8567 PyObject
* obj0
= 0 ;
8569 (char *) "encoding", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8573 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 Py_INCREF(Py_None
); resultobj
= Py_None
;
8589 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8592 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8594 return Py_BuildValue((char *)"");
8596 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxPyFontEnumerator
*result
;
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8618 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
;
8620 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8621 PyObject
* obj0
= 0 ;
8623 (char *) "self", NULL
8626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 Py_INCREF(Py_None
); resultobj
= Py_None
;
8643 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
;
8645 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8646 PyObject
*arg2
= (PyObject
*) 0 ;
8647 PyObject
*arg3
= (PyObject
*) 0 ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8651 PyObject
* obj2
= 0 ;
8652 PyObject
* obj3
= 0 ;
8654 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8662 arg4
= (bool) SWIG_AsBool(obj3
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 Py_INCREF(Py_None
); resultobj
= Py_None
;
8678 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8681 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8682 bool arg3
= (bool) False
;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8686 PyObject
* obj2
= 0 ;
8688 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8695 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8699 arg3
= (bool) SWIG_AsBool(obj2
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8718 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8721 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8722 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8724 bool temp2
= False
;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8728 (char *) "self",(char *) "facename", NULL
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8736 arg2
= wxString_in_helper(obj1
);
8737 if (arg2
== NULL
) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8765 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8769 PyObject
* obj0
= 0 ;
8771 (char *) "self", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8791 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8795 PyObject
* obj0
= 0 ;
8797 (char *) "self", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8817 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8820 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8822 return Py_BuildValue((char *)"");
8824 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8831 (char *) "self",(char *) "Language", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8837 arg2
= (int) SWIG_AsInt(obj1
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8839 if (arg1
) (arg1
)->Language
= arg2
;
8841 Py_INCREF(Py_None
); resultobj
= Py_None
;
8848 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8852 PyObject
* obj0
= 0 ;
8854 (char *) "self", NULL
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8860 result
= (int) ((arg1
)->Language
);
8862 resultobj
= SWIG_FromInt((int)result
);
8869 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
;
8871 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8872 wxString
*arg2
= (wxString
*) 0 ;
8873 bool temp2
= False
;
8874 PyObject
* obj0
= 0 ;
8875 PyObject
* obj1
= 0 ;
8877 (char *) "self",(char *) "CanonicalName", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8884 arg2
= wxString_in_helper(obj1
);
8885 if (arg2
== NULL
) SWIG_fail
;
8888 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8890 Py_INCREF(Py_None
); resultobj
= Py_None
;
8905 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8909 PyObject
* obj0
= 0 ;
8911 (char *) "self", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8917 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8921 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8923 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8932 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8935 wxString
*arg2
= (wxString
*) 0 ;
8936 bool temp2
= False
;
8937 PyObject
* obj0
= 0 ;
8938 PyObject
* obj1
= 0 ;
8940 (char *) "self",(char *) "Description", NULL
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8947 arg2
= wxString_in_helper(obj1
);
8948 if (arg2
== NULL
) SWIG_fail
;
8951 if (arg1
) (arg1
)->Description
= *arg2
;
8953 Py_INCREF(Py_None
); resultobj
= Py_None
;
8968 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8972 PyObject
* obj0
= 0 ;
8974 (char *) "self", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8980 result
= (wxString
*)& ((arg1
)->Description
);
8984 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8986 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8995 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8998 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9000 return Py_BuildValue((char *)"");
9002 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 int arg1
= (int) -1 ;
9005 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9010 (char *) "language",(char *) "flags", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9015 arg1
= (int) SWIG_AsInt(obj0
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9019 arg2
= (int) SWIG_AsInt(obj1
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9036 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxLocale
*arg1
= (wxLocale
*) 0 ;
9039 PyObject
* obj0
= 0 ;
9041 (char *) "self", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 Py_INCREF(Py_None
); resultobj
= Py_None
;
9061 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxLocale
*arg1
= (wxLocale
*) 0 ;
9064 wxString
*arg2
= 0 ;
9065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9067 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9068 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9069 bool arg5
= (bool) True
;
9070 bool arg6
= (bool) False
;
9072 bool temp2
= False
;
9073 bool temp3
= False
;
9074 bool temp4
= False
;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 PyObject
* obj2
= 0 ;
9078 PyObject
* obj3
= 0 ;
9079 PyObject
* obj4
= 0 ;
9080 PyObject
* obj5
= 0 ;
9082 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9089 arg2
= wxString_in_helper(obj1
);
9090 if (arg2
== NULL
) SWIG_fail
;
9095 arg3
= wxString_in_helper(obj2
);
9096 if (arg3
== NULL
) SWIG_fail
;
9102 arg4
= wxString_in_helper(obj3
);
9103 if (arg4
== NULL
) SWIG_fail
;
9108 arg5
= (bool) SWIG_AsBool(obj4
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9112 arg6
= (bool) SWIG_AsBool(obj5
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9155 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxLocale
*arg1
= (wxLocale
*) 0 ;
9158 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9159 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9161 PyObject
* obj0
= 0 ;
9162 PyObject
* obj1
= 0 ;
9163 PyObject
* obj2
= 0 ;
9165 (char *) "self",(char *) "language",(char *) "flags", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9172 arg2
= (int) SWIG_AsInt(obj1
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9176 arg3
= (int) SWIG_AsInt(obj2
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9195 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 result
= (int)wxLocale::GetSystemLanguage();
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 resultobj
= SWIG_FromInt((int)result
);
9217 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
;
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 result
= (int)wxLocale::GetSystemEncoding();
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= SWIG_FromInt((int)result
);
9239 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
;
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= wxLocale::GetSystemEncodingName();
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9267 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxLocale
*arg1
= (wxLocale
*) 0 ;
9271 PyObject
* obj0
= 0 ;
9273 (char *) "self", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9295 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxLocale
*arg1
= (wxLocale
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= ((wxLocale
const *)arg1
)->GetLocale();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9327 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
;
9329 wxLocale
*arg1
= (wxLocale
*) 0 ;
9331 PyObject
* obj0
= 0 ;
9333 (char *) "self", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= SWIG_FromInt((int)result
);
9353 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxLocale
*arg1
= (wxLocale
*) 0 ;
9357 PyObject
* obj0
= 0 ;
9359 (char *) "self", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= ((wxLocale
const *)arg1
)->GetSysName();
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9385 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxLocale
*arg1
= (wxLocale
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9391 (char *) "self", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9417 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxString
*arg1
= 0 ;
9420 bool temp1
= False
;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "prefix", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9428 arg1
= wxString_in_helper(obj0
);
9429 if (arg1
== NULL
) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 Py_INCREF(Py_None
); resultobj
= Py_None
;
9454 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxLocale
*arg1
= (wxLocale
*) 0 ;
9457 wxString
*arg2
= 0 ;
9459 bool temp2
= False
;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9463 (char *) "self",(char *) "szDomain", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9470 arg2
= wxString_in_helper(obj1
);
9471 if (arg2
== NULL
) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9498 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxLocale
*arg1
= (wxLocale
*) 0 ;
9501 wxString
*arg2
= 0 ;
9503 bool temp2
= False
;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9507 (char *) "self",(char *) "szDomain", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9514 arg2
= wxString_in_helper(obj1
);
9515 if (arg2
== NULL
) SWIG_fail
;
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9542 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9545 wxLanguageInfo
*result
;
9546 PyObject
* obj0
= 0 ;
9548 (char *) "lang", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9552 arg1
= (int) SWIG_AsInt(obj0
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9568 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
;
9572 PyObject
* obj0
= 0 ;
9574 (char *) "lang", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9578 arg1
= (int) SWIG_AsInt(obj0
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= wxLocale::GetLanguageName(arg1
);
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9600 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxString
*arg1
= 0 ;
9603 wxLanguageInfo
*result
;
9604 bool temp1
= False
;
9605 PyObject
* obj0
= 0 ;
9607 (char *) "locale", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9612 arg1
= wxString_in_helper(obj0
);
9613 if (arg1
== NULL
) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9638 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9640 wxLanguageInfo
*arg1
= 0 ;
9641 PyObject
* obj0
= 0 ;
9643 (char *) "info", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9651 PyErr_SetString(PyExc_TypeError
,"null reference");
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 Py_INCREF(Py_None
); resultobj
= Py_None
;
9668 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxLocale
*arg1
= (wxLocale
*) 0 ;
9671 wxString
*arg2
= 0 ;
9672 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9673 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9675 bool temp2
= False
;
9676 bool temp3
= False
;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj1
= 0 ;
9679 PyObject
* obj2
= 0 ;
9681 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9688 arg2
= wxString_in_helper(obj1
);
9689 if (arg2
== NULL
) SWIG_fail
;
9694 arg3
= wxString_in_helper(obj2
);
9695 if (arg3
== NULL
) SWIG_fail
;
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9735 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxLocale
*arg1
= (wxLocale
*) 0 ;
9739 PyObject
* obj0
= 0 ;
9741 (char *) "self", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9751 result
= (wxString
*) &_result_ref
;
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9761 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9770 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9773 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9775 return Py_BuildValue((char *)"");
9777 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (wxLocale
*)wxGetLocale();
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9799 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9800 PyObject
*resultobj
;
9801 wxString
*arg1
= 0 ;
9803 bool temp1
= False
;
9804 PyObject
* obj0
= 0 ;
9806 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9808 arg1
= wxString_in_helper(obj0
);
9809 if (arg1
== NULL
) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= wxGetTranslation((wxString
const &)*arg1
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9840 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9841 PyObject
*resultobj
;
9842 wxString
*arg1
= 0 ;
9843 wxString
*arg2
= 0 ;
9846 bool temp1
= False
;
9847 bool temp2
= False
;
9848 PyObject
* obj0
= 0 ;
9849 PyObject
* obj1
= 0 ;
9850 PyObject
* obj2
= 0 ;
9852 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9854 arg1
= wxString_in_helper(obj0
);
9855 if (arg1
== NULL
) SWIG_fail
;
9859 arg2
= wxString_in_helper(obj1
);
9860 if (arg2
== NULL
) SWIG_fail
;
9863 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9901 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9906 argc
= PyObject_Length(args
);
9907 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9908 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9913 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9916 return _wrap_GetTranslation__SWIG_0(self
,args
);
9922 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9926 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9929 _v
= SWIG_CheckUnsignedLong(argv
[2]);
9931 return _wrap_GetTranslation__SWIG_1(self
,args
);
9937 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9942 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxEncodingConverter
*result
;
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
9964 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9969 (char *) "self", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
9974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 Py_INCREF(Py_None
); resultobj
= Py_None
;
9989 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9994 int arg4
= (int) wxCONVERT_STRICT
;
9996 PyObject
* obj0
= 0 ;
9997 PyObject
* obj1
= 0 ;
9998 PyObject
* obj2
= 0 ;
9999 PyObject
* obj3
= 0 ;
10000 char *kwnames
[] = {
10001 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10007 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10009 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 arg4
= (int) SWIG_AsInt(obj3
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10031 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10034 wxString
*arg2
= 0 ;
10036 bool temp2
= False
;
10037 PyObject
* obj0
= 0 ;
10038 PyObject
* obj1
= 0 ;
10039 char *kwnames
[] = {
10040 (char *) "self",(char *) "input", NULL
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10047 arg2
= wxString_in_helper(obj1
);
10048 if (arg2
== NULL
) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10079 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10082 int arg2
= (int) wxPLATFORM_CURRENT
;
10083 wxFontEncodingArray result
;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char *kwnames
[] = {
10087 (char *) "enc",(char *) "platform", NULL
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10091 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10092 if (PyErr_Occurred()) SWIG_fail
;
10094 arg2
= (int) SWIG_AsInt(obj1
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= PyList_New(0);
10106 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10107 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10108 PyList_Append(resultobj
, number
);
10118 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10121 wxFontEncodingArray result
;
10122 PyObject
* obj0
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "enc", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10128 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= PyList_New(0);
10139 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10140 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10141 PyList_Append(resultobj
, number
);
10151 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10156 PyObject
* obj0
= 0 ;
10157 PyObject
* obj1
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "encIn",(char *) "encOut", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10163 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10165 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10183 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10186 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10188 return Py_BuildValue((char *)"");
10190 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxDC
*arg1
= (wxDC
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 Py_INCREF(Py_None
); resultobj
= Py_None
;
10215 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxDC
*arg1
= (wxDC
*) 0 ;
10218 PyObject
* obj0
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 (arg1
)->BeginDrawing();
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 Py_INCREF(Py_None
); resultobj
= Py_None
;
10240 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxDC
*arg1
= (wxDC
*) 0 ;
10243 PyObject
* obj0
= 0 ;
10244 char *kwnames
[] = {
10245 (char *) "self", NULL
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 (arg1
)->EndDrawing();
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 Py_INCREF(Py_None
); resultobj
= Py_None
;
10265 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxDC
*arg1
= (wxDC
*) 0 ;
10270 wxColour
*arg4
= 0 ;
10271 int arg5
= (int) wxFLOOD_SURFACE
;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10276 PyObject
* obj2
= 0 ;
10277 PyObject
* obj3
= 0 ;
10278 PyObject
* obj4
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10286 arg2
= (int) SWIG_AsInt(obj1
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10288 arg3
= (int) SWIG_AsInt(obj2
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10292 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10295 arg5
= (int) SWIG_AsInt(obj4
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10314 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
;
10316 wxDC
*arg1
= (wxDC
*) 0 ;
10317 wxPoint
*arg2
= 0 ;
10318 wxColour
*arg3
= 0 ;
10319 int arg4
= (int) wxFLOOD_SURFACE
;
10323 PyObject
* obj0
= 0 ;
10324 PyObject
* obj1
= 0 ;
10325 PyObject
* obj2
= 0 ;
10326 PyObject
* obj3
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10340 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10343 arg4
= (int) SWIG_AsInt(obj3
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10362 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxDC
*arg1
= (wxDC
*) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 PyObject
* obj2
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self",(char *) "x",(char *) "y", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10378 arg2
= (int) SWIG_AsInt(obj1
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10380 arg3
= (int) SWIG_AsInt(obj2
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10390 wxColour
* resultptr
;
10391 resultptr
= new wxColour((wxColour
&) result
);
10392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10400 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxDC
*arg1
= (wxDC
*) 0 ;
10403 wxPoint
*arg2
= 0 ;
10406 PyObject
* obj0
= 0 ;
10407 PyObject
* obj1
= 0 ;
10408 char *kwnames
[] = {
10409 (char *) "self",(char *) "pt", NULL
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10427 wxColour
* resultptr
;
10428 resultptr
= new wxColour((wxColour
&) result
);
10429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10437 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxDC
*arg1
= (wxDC
*) 0 ;
10444 PyObject
* obj0
= 0 ;
10445 PyObject
* obj1
= 0 ;
10446 PyObject
* obj2
= 0 ;
10447 PyObject
* obj3
= 0 ;
10448 PyObject
* obj4
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10456 arg2
= (int) SWIG_AsInt(obj1
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10458 arg3
= (int) SWIG_AsInt(obj2
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10460 arg4
= (int) SWIG_AsInt(obj3
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10462 arg5
= (int) SWIG_AsInt(obj4
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 Py_INCREF(Py_None
); resultobj
= Py_None
;
10478 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxDC
*arg1
= (wxDC
*) 0 ;
10481 wxPoint
*arg2
= 0 ;
10482 wxPoint
*arg3
= 0 ;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10487 PyObject
* obj2
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10497 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10501 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 Py_INCREF(Py_None
); resultobj
= Py_None
;
10517 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
;
10519 wxDC
*arg1
= (wxDC
*) 0 ;
10522 PyObject
* obj0
= 0 ;
10523 PyObject
* obj1
= 0 ;
10524 PyObject
* obj2
= 0 ;
10525 char *kwnames
[] = {
10526 (char *) "self",(char *) "x",(char *) "y", NULL
10529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10532 arg2
= (int) SWIG_AsInt(obj1
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10534 arg3
= (int) SWIG_AsInt(obj2
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 (arg1
)->CrossHair(arg2
,arg3
);
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 Py_INCREF(Py_None
); resultobj
= Py_None
;
10550 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxDC
*arg1
= (wxDC
*) 0 ;
10553 wxPoint
*arg2
= 0 ;
10555 PyObject
* obj0
= 0 ;
10556 PyObject
* obj1
= 0 ;
10557 char *kwnames
[] = {
10558 (char *) "self",(char *) "pt", NULL
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10575 Py_INCREF(Py_None
); resultobj
= Py_None
;
10582 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
;
10584 wxDC
*arg1
= (wxDC
*) 0 ;
10591 PyObject
* obj0
= 0 ;
10592 PyObject
* obj1
= 0 ;
10593 PyObject
* obj2
= 0 ;
10594 PyObject
* obj3
= 0 ;
10595 PyObject
* obj4
= 0 ;
10596 PyObject
* obj5
= 0 ;
10597 PyObject
* obj6
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10605 arg2
= (int) SWIG_AsInt(obj1
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10607 arg3
= (int) SWIG_AsInt(obj2
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10609 arg4
= (int) SWIG_AsInt(obj3
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10611 arg5
= (int) SWIG_AsInt(obj4
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10613 arg6
= (int) SWIG_AsInt(obj5
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10615 arg7
= (int) SWIG_AsInt(obj6
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 Py_INCREF(Py_None
); resultobj
= Py_None
;
10631 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10633 wxDC
*arg1
= (wxDC
*) 0 ;
10634 wxPoint
*arg2
= 0 ;
10635 wxPoint
*arg3
= 0 ;
10636 wxPoint
*arg4
= 0 ;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 PyObject
* obj2
= 0 ;
10643 PyObject
* obj3
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10657 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10661 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 Py_INCREF(Py_None
); resultobj
= Py_None
;
10677 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10679 wxDC
*arg1
= (wxDC
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 PyObject
* obj2
= 0 ;
10687 PyObject
* obj3
= 0 ;
10688 PyObject
* obj4
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10696 arg2
= (int) SWIG_AsInt(obj1
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10698 arg3
= (int) SWIG_AsInt(obj2
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10700 arg4
= (int) SWIG_AsInt(obj3
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10702 arg5
= (int) SWIG_AsInt(obj4
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 Py_INCREF(Py_None
); resultobj
= Py_None
;
10718 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxDC
*arg1
= (wxDC
*) 0 ;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self",(char *) "rect", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10734 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 Py_INCREF(Py_None
); resultobj
= Py_None
;
10750 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxDC
*arg1
= (wxDC
*) 0 ;
10759 PyObject
* obj0
= 0 ;
10760 PyObject
* obj1
= 0 ;
10761 PyObject
* obj2
= 0 ;
10762 PyObject
* obj3
= 0 ;
10763 PyObject
* obj4
= 0 ;
10764 PyObject
* obj5
= 0 ;
10765 PyObject
* obj6
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10773 arg2
= (int) SWIG_AsInt(obj1
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10775 arg3
= (int) SWIG_AsInt(obj2
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10777 arg4
= (int) SWIG_AsInt(obj3
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10779 arg5
= (int) SWIG_AsInt(obj4
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10781 arg6
= (double) SWIG_AsDouble(obj5
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10783 arg7
= (double) SWIG_AsDouble(obj6
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10792 Py_INCREF(Py_None
); resultobj
= Py_None
;
10799 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxDC
*arg1
= (wxDC
*) 0 ;
10802 wxPoint
*arg2
= 0 ;
10808 PyObject
* obj0
= 0 ;
10809 PyObject
* obj1
= 0 ;
10810 PyObject
* obj2
= 0 ;
10811 PyObject
* obj3
= 0 ;
10812 PyObject
* obj4
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10822 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10826 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10828 arg4
= (double) SWIG_AsDouble(obj3
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10830 arg5
= (double) SWIG_AsDouble(obj4
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 Py_INCREF(Py_None
); resultobj
= Py_None
;
10846 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxDC
*arg1
= (wxDC
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 PyObject
* obj2
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self",(char *) "x",(char *) "y", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10861 arg2
= (int) SWIG_AsInt(obj1
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10863 arg3
= (int) SWIG_AsInt(obj2
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 (arg1
)->DrawPoint(arg2
,arg3
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 Py_INCREF(Py_None
); resultobj
= Py_None
;
10879 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxDC
*arg1
= (wxDC
*) 0 ;
10882 wxPoint
*arg2
= 0 ;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self",(char *) "pt", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10895 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 Py_INCREF(Py_None
); resultobj
= Py_None
;
10911 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxDC
*arg1
= (wxDC
*) 0 ;
10918 PyObject
* obj0
= 0 ;
10919 PyObject
* obj1
= 0 ;
10920 PyObject
* obj2
= 0 ;
10921 PyObject
* obj3
= 0 ;
10922 PyObject
* obj4
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10930 arg2
= (int) SWIG_AsInt(obj1
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10932 arg3
= (int) SWIG_AsInt(obj2
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10934 arg4
= (int) SWIG_AsInt(obj3
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10936 arg5
= (int) SWIG_AsInt(obj4
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10945 Py_INCREF(Py_None
); resultobj
= Py_None
;
10952 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
;
10954 wxDC
*arg1
= (wxDC
*) 0 ;
10957 PyObject
* obj0
= 0 ;
10958 PyObject
* obj1
= 0 ;
10959 char *kwnames
[] = {
10960 (char *) "self",(char *) "rect", NULL
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10968 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 Py_INCREF(Py_None
); resultobj
= Py_None
;
10984 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxDC
*arg1
= (wxDC
*) 0 ;
10987 wxPoint
*arg2
= 0 ;
10991 PyObject
* obj0
= 0 ;
10992 PyObject
* obj1
= 0 ;
10993 PyObject
* obj2
= 0 ;
10994 char *kwnames
[] = {
10995 (char *) "self",(char *) "pt",(char *) "sz", NULL
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11007 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 Py_INCREF(Py_None
); resultobj
= Py_None
;
11023 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxDC
*arg1
= (wxDC
*) 0 ;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj1
= 0 ;
11033 PyObject
* obj2
= 0 ;
11034 PyObject
* obj3
= 0 ;
11035 PyObject
* obj4
= 0 ;
11036 PyObject
* obj5
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11044 arg2
= (int) SWIG_AsInt(obj1
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11046 arg3
= (int) SWIG_AsInt(obj2
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11048 arg4
= (int) SWIG_AsInt(obj3
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11050 arg5
= (int) SWIG_AsInt(obj4
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11052 arg6
= (double) SWIG_AsDouble(obj5
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxDC
*arg1
= (wxDC
*) 0 ;
11074 PyObject
* obj0
= 0 ;
11075 PyObject
* obj1
= 0 ;
11076 PyObject
* obj2
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "self",(char *) "r",(char *) "radius", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11086 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11088 arg3
= (double) SWIG_AsDouble(obj2
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 Py_INCREF(Py_None
); resultobj
= Py_None
;
11104 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
;
11106 wxDC
*arg1
= (wxDC
*) 0 ;
11107 wxPoint
*arg2
= 0 ;
11112 PyObject
* obj0
= 0 ;
11113 PyObject
* obj1
= 0 ;
11114 PyObject
* obj2
= 0 ;
11115 PyObject
* obj3
= 0 ;
11116 char *kwnames
[] = {
11117 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11129 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11131 arg4
= (double) SWIG_AsDouble(obj3
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 Py_INCREF(Py_None
); resultobj
= Py_None
;
11147 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxDC
*arg1
= (wxDC
*) 0 ;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 PyObject
* obj2
= 0 ;
11156 PyObject
* obj3
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11164 arg2
= (int) SWIG_AsInt(obj1
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11166 arg3
= (int) SWIG_AsInt(obj2
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11168 arg4
= (int) SWIG_AsInt(obj3
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 Py_INCREF(Py_None
); resultobj
= Py_None
;
11184 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxDC
*arg1
= (wxDC
*) 0 ;
11187 wxPoint
*arg2
= 0 ;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 PyObject
* obj2
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "self",(char *) "pt",(char *) "radius", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11202 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11204 arg3
= (int) SWIG_AsInt(obj2
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 Py_INCREF(Py_None
); resultobj
= Py_None
;
11220 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxDC
*arg1
= (wxDC
*) 0 ;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 PyObject
* obj2
= 0 ;
11230 PyObject
* obj3
= 0 ;
11231 PyObject
* obj4
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11239 arg2
= (int) SWIG_AsInt(obj1
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11241 arg3
= (int) SWIG_AsInt(obj2
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11243 arg4
= (int) SWIG_AsInt(obj3
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11245 arg5
= (int) SWIG_AsInt(obj4
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 Py_INCREF(Py_None
); resultobj
= Py_None
;
11261 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
*resultobj
;
11263 wxDC
*arg1
= (wxDC
*) 0 ;
11266 PyObject
* obj0
= 0 ;
11267 PyObject
* obj1
= 0 ;
11268 char *kwnames
[] = {
11269 (char *) "self",(char *) "rect", NULL
11272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11277 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 Py_INCREF(Py_None
); resultobj
= Py_None
;
11293 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxDC
*arg1
= (wxDC
*) 0 ;
11296 wxPoint
*arg2
= 0 ;
11300 PyObject
* obj0
= 0 ;
11301 PyObject
* obj1
= 0 ;
11302 PyObject
* obj2
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self",(char *) "pt",(char *) "sz", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11312 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11316 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 Py_INCREF(Py_None
); resultobj
= Py_None
;
11332 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
;
11334 wxDC
*arg1
= (wxDC
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 PyObject
* obj1
= 0 ;
11340 PyObject
* obj2
= 0 ;
11341 PyObject
* obj3
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11352 if (arg2
== NULL
) {
11353 PyErr_SetString(PyExc_TypeError
,"null reference");
11356 arg3
= (int) SWIG_AsInt(obj2
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11358 arg4
= (int) SWIG_AsInt(obj3
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 Py_INCREF(Py_None
); resultobj
= Py_None
;
11374 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11375 PyObject
*resultobj
;
11376 wxDC
*arg1
= (wxDC
*) 0 ;
11378 wxPoint
*arg3
= 0 ;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 PyObject
* obj2
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self",(char *) "icon",(char *) "pt", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11393 if (arg2
== NULL
) {
11394 PyErr_SetString(PyExc_TypeError
,"null reference");
11399 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11408 Py_INCREF(Py_None
); resultobj
= Py_None
;
11415 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxDC
*arg1
= (wxDC
*) 0 ;
11418 wxBitmap
*arg2
= 0 ;
11421 bool arg5
= (bool) False
;
11422 PyObject
* obj0
= 0 ;
11423 PyObject
* obj1
= 0 ;
11424 PyObject
* obj2
= 0 ;
11425 PyObject
* obj3
= 0 ;
11426 PyObject
* obj4
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11437 if (arg2
== NULL
) {
11438 PyErr_SetString(PyExc_TypeError
,"null reference");
11441 arg3
= (int) SWIG_AsInt(obj2
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11443 arg4
= (int) SWIG_AsInt(obj3
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 arg5
= (bool) SWIG_AsBool(obj4
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11456 Py_INCREF(Py_None
); resultobj
= Py_None
;
11463 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
;
11465 wxDC
*arg1
= (wxDC
*) 0 ;
11466 wxBitmap
*arg2
= 0 ;
11467 wxPoint
*arg3
= 0 ;
11468 bool arg4
= (bool) False
;
11470 PyObject
* obj0
= 0 ;
11471 PyObject
* obj1
= 0 ;
11472 PyObject
* obj2
= 0 ;
11473 PyObject
* obj3
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11484 if (arg2
== NULL
) {
11485 PyErr_SetString(PyExc_TypeError
,"null reference");
11490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11493 arg4
= (bool) SWIG_AsBool(obj3
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 Py_INCREF(Py_None
); resultobj
= Py_None
;
11510 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxDC
*arg1
= (wxDC
*) 0 ;
11513 wxString
*arg2
= 0 ;
11516 bool temp2
= False
;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 PyObject
* obj2
= 0 ;
11520 PyObject
* obj3
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11529 arg2
= wxString_in_helper(obj1
);
11530 if (arg2
== NULL
) SWIG_fail
;
11533 arg3
= (int) SWIG_AsInt(obj2
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11535 arg4
= (int) SWIG_AsInt(obj3
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 Py_INCREF(Py_None
); resultobj
= Py_None
;
11559 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxDC
*arg1
= (wxDC
*) 0 ;
11562 wxString
*arg2
= 0 ;
11563 wxPoint
*arg3
= 0 ;
11564 bool temp2
= False
;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 PyObject
* obj2
= 0 ;
11569 char *kwnames
[] = {
11570 (char *) "self",(char *) "text",(char *) "pt", NULL
11573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11577 arg2
= wxString_in_helper(obj1
);
11578 if (arg2
== NULL
) SWIG_fail
;
11583 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 Py_INCREF(Py_None
); resultobj
= Py_None
;
11607 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
;
11609 wxDC
*arg1
= (wxDC
*) 0 ;
11610 wxString
*arg2
= 0 ;
11614 bool temp2
= False
;
11615 PyObject
* obj0
= 0 ;
11616 PyObject
* obj1
= 0 ;
11617 PyObject
* obj2
= 0 ;
11618 PyObject
* obj3
= 0 ;
11619 PyObject
* obj4
= 0 ;
11620 char *kwnames
[] = {
11621 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11628 arg2
= wxString_in_helper(obj1
);
11629 if (arg2
== NULL
) SWIG_fail
;
11632 arg3
= (int) SWIG_AsInt(obj2
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11634 arg4
= (int) SWIG_AsInt(obj3
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11636 arg5
= (double) SWIG_AsDouble(obj4
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 Py_INCREF(Py_None
); resultobj
= Py_None
;
11660 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxDC
*arg1
= (wxDC
*) 0 ;
11663 wxString
*arg2
= 0 ;
11664 wxPoint
*arg3
= 0 ;
11666 bool temp2
= False
;
11668 PyObject
* obj0
= 0 ;
11669 PyObject
* obj1
= 0 ;
11670 PyObject
* obj2
= 0 ;
11671 PyObject
* obj3
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11680 arg2
= wxString_in_helper(obj1
);
11681 if (arg2
== NULL
) SWIG_fail
;
11686 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11688 arg4
= (double) SWIG_AsDouble(obj3
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 Py_INCREF(Py_None
); resultobj
= Py_None
;
11712 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxDC
*arg1
= (wxDC
*) 0 ;
11719 wxDC
*arg6
= (wxDC
*) 0 ;
11722 int arg9
= (int) wxCOPY
;
11723 bool arg10
= (bool) False
;
11724 int arg11
= (int) -1 ;
11725 int arg12
= (int) -1 ;
11727 PyObject
* obj0
= 0 ;
11728 PyObject
* obj1
= 0 ;
11729 PyObject
* obj2
= 0 ;
11730 PyObject
* obj3
= 0 ;
11731 PyObject
* obj4
= 0 ;
11732 PyObject
* obj5
= 0 ;
11733 PyObject
* obj6
= 0 ;
11734 PyObject
* obj7
= 0 ;
11735 PyObject
* obj8
= 0 ;
11736 PyObject
* obj9
= 0 ;
11737 PyObject
* obj10
= 0 ;
11738 PyObject
* obj11
= 0 ;
11739 char *kwnames
[] = {
11740 (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
11743 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
;
11744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11746 arg2
= (int) SWIG_AsInt(obj1
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11748 arg3
= (int) SWIG_AsInt(obj2
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11750 arg4
= (int) SWIG_AsInt(obj3
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11752 arg5
= (int) SWIG_AsInt(obj4
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11754 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11756 arg7
= (int) SWIG_AsInt(obj6
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11758 arg8
= (int) SWIG_AsInt(obj7
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11761 arg9
= (int) SWIG_AsInt(obj8
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 arg10
= (bool) SWIG_AsBool(obj9
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11769 arg11
= (int) SWIG_AsInt(obj10
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 arg12
= (int) SWIG_AsInt(obj11
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11792 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxDC
*arg1
= (wxDC
*) 0 ;
11795 wxPoint
*arg2
= 0 ;
11797 wxDC
*arg4
= (wxDC
*) 0 ;
11798 wxPoint
*arg5
= 0 ;
11799 int arg6
= (int) wxCOPY
;
11800 bool arg7
= (bool) False
;
11801 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11802 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11808 PyObject
* obj0
= 0 ;
11809 PyObject
* obj1
= 0 ;
11810 PyObject
* obj2
= 0 ;
11811 PyObject
* obj3
= 0 ;
11812 PyObject
* obj4
= 0 ;
11813 PyObject
* obj5
= 0 ;
11814 PyObject
* obj6
= 0 ;
11815 PyObject
* obj7
= 0 ;
11816 char *kwnames
[] = {
11817 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11825 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11829 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11831 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11835 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11838 arg6
= (int) SWIG_AsInt(obj5
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11842 arg7
= (bool) SWIG_AsBool(obj6
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11848 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11867 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
;
11869 wxDC
*arg1
= (wxDC
*) 0 ;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 PyObject
* obj2
= 0 ;
11877 PyObject
* obj3
= 0 ;
11878 PyObject
* obj4
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11886 arg2
= (int) SWIG_AsInt(obj1
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11888 arg3
= (int) SWIG_AsInt(obj2
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11890 arg4
= (int) SWIG_AsInt(obj3
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11892 arg5
= (int) SWIG_AsInt(obj4
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11901 Py_INCREF(Py_None
); resultobj
= Py_None
;
11908 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxDC
*arg1
= (wxDC
*) 0 ;
11911 wxPoint
*arg2
= 0 ;
11915 PyObject
* obj0
= 0 ;
11916 PyObject
* obj1
= 0 ;
11917 PyObject
* obj2
= 0 ;
11918 char *kwnames
[] = {
11919 (char *) "self",(char *) "pt",(char *) "sz", NULL
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11927 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11931 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 Py_INCREF(Py_None
); resultobj
= Py_None
;
11947 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxDC
*arg1
= (wxDC
*) 0 ;
11950 wxRegion
*arg2
= 0 ;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 char *kwnames
[] = {
11954 (char *) "self",(char *) "region", NULL
11957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
11958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
11961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11963 if (arg2
== NULL
) {
11964 PyErr_SetString(PyExc_TypeError
,"null reference");
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 Py_INCREF(Py_None
); resultobj
= Py_None
;
11981 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxDC
*arg1
= (wxDC
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 PyObject
* obj1
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self",(char *) "rect", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11997 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 Py_INCREF(Py_None
); resultobj
= Py_None
;
12013 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxDC
*arg1
= (wxDC
*) 0 ;
12017 wxPoint
*arg3
= (wxPoint
*) 0 ;
12018 int arg4
= (int) 0 ;
12019 int arg5
= (int) 0 ;
12020 PyObject
* obj0
= 0 ;
12021 PyObject
* obj1
= 0 ;
12022 PyObject
* obj2
= 0 ;
12023 PyObject
* obj3
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12032 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12033 if (arg3
== NULL
) SWIG_fail
;
12036 arg4
= (int) SWIG_AsInt(obj2
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 arg5
= (int) SWIG_AsInt(obj3
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 Py_INCREF(Py_None
); resultobj
= Py_None
;
12052 if (arg3
) delete [] arg3
;
12057 if (arg3
) delete [] arg3
;
12063 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxDC
*arg1
= (wxDC
*) 0 ;
12067 wxPoint
*arg3
= (wxPoint
*) 0 ;
12068 int arg4
= (int) 0 ;
12069 int arg5
= (int) 0 ;
12070 int arg6
= (int) wxODDEVEN_RULE
;
12071 PyObject
* obj0
= 0 ;
12072 PyObject
* obj1
= 0 ;
12073 PyObject
* obj2
= 0 ;
12074 PyObject
* obj3
= 0 ;
12075 PyObject
* obj4
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12084 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12085 if (arg3
== NULL
) SWIG_fail
;
12088 arg4
= (int) SWIG_AsInt(obj2
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12092 arg5
= (int) SWIG_AsInt(obj3
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12096 arg6
= (int) SWIG_AsInt(obj4
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 Py_INCREF(Py_None
); resultobj
= Py_None
;
12108 if (arg3
) delete [] arg3
;
12113 if (arg3
) delete [] arg3
;
12119 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxDC
*arg1
= (wxDC
*) 0 ;
12122 wxString
*arg2
= 0 ;
12124 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12125 int arg5
= (int) -1 ;
12126 bool temp2
= False
;
12128 PyObject
* obj0
= 0 ;
12129 PyObject
* obj1
= 0 ;
12130 PyObject
* obj2
= 0 ;
12131 PyObject
* obj3
= 0 ;
12132 PyObject
* obj4
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12141 arg2
= wxString_in_helper(obj1
);
12142 if (arg2
== NULL
) SWIG_fail
;
12147 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12150 arg4
= (int) SWIG_AsInt(obj3
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12154 arg5
= (int) SWIG_AsInt(obj4
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 Py_INCREF(Py_None
); resultobj
= Py_None
;
12179 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxDC
*arg1
= (wxDC
*) 0 ;
12182 wxString
*arg2
= 0 ;
12183 wxBitmap
*arg3
= 0 ;
12185 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12186 int arg6
= (int) -1 ;
12188 bool temp2
= False
;
12190 PyObject
* obj0
= 0 ;
12191 PyObject
* obj1
= 0 ;
12192 PyObject
* obj2
= 0 ;
12193 PyObject
* obj3
= 0 ;
12194 PyObject
* obj4
= 0 ;
12195 PyObject
* obj5
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12204 arg2
= wxString_in_helper(obj1
);
12205 if (arg2
== NULL
) SWIG_fail
;
12208 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12209 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12211 if (arg3
== NULL
) {
12212 PyErr_SetString(PyExc_TypeError
,"null reference");
12217 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12220 arg5
= (int) SWIG_AsInt(obj4
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12224 arg6
= (int) SWIG_AsInt(obj5
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12235 wxRect
* resultptr
;
12236 resultptr
= new wxRect((wxRect
&) result
);
12237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12253 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
;
12255 wxDC
*arg1
= (wxDC
*) 0 ;
12257 wxPoint
*arg3
= (wxPoint
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 PyObject
* obj1
= 0 ;
12260 char *kwnames
[] = {
12261 (char *) "self",(char *) "points", NULL
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12268 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12269 if (arg3
== NULL
) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 (arg1
)->DrawSpline(arg2
,arg3
);
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 Py_INCREF(Py_None
); resultobj
= Py_None
;
12280 if (arg3
) delete [] arg3
;
12285 if (arg3
) delete [] arg3
;
12291 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12292 PyObject
*resultobj
;
12293 wxDC
*arg1
= (wxDC
*) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 Py_INCREF(Py_None
); resultobj
= Py_None
;
12316 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxDC
*arg1
= (wxDC
*) 0 ;
12319 wxString
*arg2
= 0 ;
12321 bool temp2
= False
;
12322 PyObject
* obj0
= 0 ;
12323 PyObject
* obj1
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "message", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12332 arg2
= wxString_in_helper(obj1
);
12333 if (arg2
== NULL
) SWIG_fail
;
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12360 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxDC
*arg1
= (wxDC
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 Py_INCREF(Py_None
); resultobj
= Py_None
;
12385 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxDC
*arg1
= (wxDC
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 (arg1
)->StartPage();
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 Py_INCREF(Py_None
); resultobj
= Py_None
;
12410 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
;
12412 wxDC
*arg1
= (wxDC
*) 0 ;
12413 PyObject
* obj0
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 Py_INCREF(Py_None
); resultobj
= Py_None
;
12435 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxDC
*arg1
= (wxDC
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 PyObject
* obj1
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self",(char *) "font", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12451 if (arg2
== NULL
) {
12452 PyErr_SetString(PyExc_TypeError
,"null reference");
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 (arg1
)->SetFont((wxFont
const &)*arg2
);
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 Py_INCREF(Py_None
); resultobj
= Py_None
;
12469 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
;
12471 wxDC
*arg1
= (wxDC
*) 0 ;
12473 PyObject
* obj0
= 0 ;
12474 PyObject
* obj1
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self",(char *) "pen", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12485 if (arg2
== NULL
) {
12486 PyErr_SetString(PyExc_TypeError
,"null reference");
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 (arg1
)->SetPen((wxPen
const &)*arg2
);
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 Py_INCREF(Py_None
); resultobj
= Py_None
;
12503 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
;
12505 wxDC
*arg1
= (wxDC
*) 0 ;
12506 wxBrush
*arg2
= 0 ;
12507 PyObject
* obj0
= 0 ;
12508 PyObject
* obj1
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self",(char *) "brush", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12519 if (arg2
== NULL
) {
12520 PyErr_SetString(PyExc_TypeError
,"null reference");
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 Py_INCREF(Py_None
); resultobj
= Py_None
;
12537 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxDC
*arg1
= (wxDC
*) 0 ;
12540 wxBrush
*arg2
= 0 ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self",(char *) "brush", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12553 if (arg2
== NULL
) {
12554 PyErr_SetString(PyExc_TypeError
,"null reference");
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 Py_INCREF(Py_None
); resultobj
= Py_None
;
12571 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
;
12573 wxDC
*arg1
= (wxDC
*) 0 ;
12575 PyObject
* obj0
= 0 ;
12576 PyObject
* obj1
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self",(char *) "mode", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12584 arg2
= (int) SWIG_AsInt(obj1
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 (arg1
)->SetBackgroundMode(arg2
);
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 Py_INCREF(Py_None
); resultobj
= Py_None
;
12600 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxDC
*arg1
= (wxDC
*) 0 ;
12603 wxPalette
*arg2
= 0 ;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 char *kwnames
[] = {
12607 (char *) "self",(char *) "palette", NULL
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12616 if (arg2
== NULL
) {
12617 PyErr_SetString(PyExc_TypeError
,"null reference");
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 Py_INCREF(Py_None
); resultobj
= Py_None
;
12634 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxDC
*arg1
= (wxDC
*) 0 ;
12637 PyObject
* obj0
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 (arg1
)->DestroyClippingRegion();
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 Py_INCREF(Py_None
); resultobj
= Py_None
;
12659 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxDC
*arg1
= (wxDC
*) 0 ;
12662 int *arg2
= (int *) 0 ;
12663 int *arg3
= (int *) 0 ;
12664 int *arg4
= (int *) 0 ;
12665 int *arg5
= (int *) 0 ;
12670 PyObject
* obj0
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 Py_INCREF(Py_None
); resultobj
= Py_None
;
12691 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12692 resultobj
= t_output_helper(resultobj
,o
);
12695 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12696 resultobj
= t_output_helper(resultobj
,o
);
12699 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12700 resultobj
= t_output_helper(resultobj
,o
);
12703 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12704 resultobj
= t_output_helper(resultobj
,o
);
12712 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxDC
*arg1
= (wxDC
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 result
= wxDC_GetClippingRect(arg1
);
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12732 wxRect
* resultptr
;
12733 resultptr
= new wxRect((wxRect
&) result
);
12734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12742 static PyObject
*_wrap_DC_GetCharHeight(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_GetCharHeight",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
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= SWIG_FromInt((int)result
);
12768 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 wxDC
*arg1
= (wxDC
*) 0 ;
12772 PyObject
* obj0
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= SWIG_FromInt((int)result
);
12794 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
;
12796 wxDC
*arg1
= (wxDC
*) 0 ;
12797 wxString
*arg2
= 0 ;
12798 int *arg3
= (int *) 0 ;
12799 int *arg4
= (int *) 0 ;
12800 bool temp2
= False
;
12803 PyObject
* obj0
= 0 ;
12804 PyObject
* obj1
= 0 ;
12805 char *kwnames
[] = {
12806 (char *) "self",(char *) "string", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12815 arg2
= wxString_in_helper(obj1
);
12816 if (arg2
== NULL
) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 Py_INCREF(Py_None
); resultobj
= Py_None
;
12828 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12829 resultobj
= t_output_helper(resultobj
,o
);
12832 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12833 resultobj
= t_output_helper(resultobj
,o
);
12849 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxDC
*arg1
= (wxDC
*) 0 ;
12852 wxString
*arg2
= 0 ;
12853 int *arg3
= (int *) 0 ;
12854 int *arg4
= (int *) 0 ;
12855 int *arg5
= (int *) 0 ;
12856 int *arg6
= (int *) 0 ;
12857 wxFont
*arg7
= (wxFont
*) NULL
;
12858 bool temp2
= False
;
12863 PyObject
* obj0
= 0 ;
12864 PyObject
* obj1
= 0 ;
12865 PyObject
* obj2
= 0 ;
12866 char *kwnames
[] = {
12867 (char *) "self",(char *) "string",(char *) "font", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 arg2
= wxString_in_helper(obj1
);
12879 if (arg2
== NULL
) SWIG_fail
;
12883 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 Py_INCREF(Py_None
); resultobj
= Py_None
;
12895 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12896 resultobj
= t_output_helper(resultobj
,o
);
12899 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12900 resultobj
= t_output_helper(resultobj
,o
);
12903 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12904 resultobj
= t_output_helper(resultobj
,o
);
12907 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12908 resultobj
= t_output_helper(resultobj
,o
);
12924 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxDC
*arg1
= (wxDC
*) 0 ;
12927 wxString
*arg2
= 0 ;
12928 int *arg3
= (int *) 0 ;
12929 int *arg4
= (int *) 0 ;
12930 int *arg5
= (int *) 0 ;
12931 wxFont
*arg6
= (wxFont
*) NULL
;
12932 bool temp2
= False
;
12936 PyObject
* obj0
= 0 ;
12937 PyObject
* obj1
= 0 ;
12938 PyObject
* obj2
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self",(char *) "text",(char *) "font", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12950 arg2
= wxString_in_helper(obj1
);
12951 if (arg2
== NULL
) SWIG_fail
;
12955 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
12956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12965 Py_INCREF(Py_None
); resultobj
= Py_None
;
12967 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12968 resultobj
= t_output_helper(resultobj
,o
);
12971 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12972 resultobj
= t_output_helper(resultobj
,o
);
12975 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12976 resultobj
= t_output_helper(resultobj
,o
);
12992 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxDC
*arg1
= (wxDC
*) 0 ;
12995 wxString
*arg2
= 0 ;
12997 bool temp2
= False
;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self",(char *) "text", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13008 arg2
= wxString_in_helper(obj1
);
13009 if (arg2
== NULL
) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= PyList_New(0);
13022 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13023 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13024 PyList_Append(resultobj
, val
);
13042 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxDC
*arg1
= (wxDC
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 char *kwnames
[] = {
13048 (char *) "self", NULL
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 result
= (arg1
)->GetSize();
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13062 wxSize
* resultptr
;
13063 resultptr
= new wxSize((wxSize
&) result
);
13064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13072 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxDC
*arg1
= (wxDC
*) 0 ;
13075 int *arg2
= (int *) 0 ;
13076 int *arg3
= (int *) 0 ;
13079 PyObject
* obj0
= 0 ;
13080 char *kwnames
[] = {
13081 (char *) "self", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 (arg1
)->GetSize(arg2
,arg3
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 Py_INCREF(Py_None
); resultobj
= Py_None
;
13098 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13099 resultobj
= t_output_helper(resultobj
,o
);
13102 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13103 resultobj
= t_output_helper(resultobj
,o
);
13111 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxDC
*arg1
= (wxDC
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13131 wxSize
* resultptr
;
13132 resultptr
= new wxSize((wxSize
&) result
);
13133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13141 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxDC
*arg1
= (wxDC
*) 0 ;
13144 int *arg2
= (int *) 0 ;
13145 int *arg3
= (int *) 0 ;
13148 PyObject
* obj0
= 0 ;
13149 char *kwnames
[] = {
13150 (char *) "self", NULL
13155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 Py_INCREF(Py_None
); resultobj
= Py_None
;
13167 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13168 resultobj
= t_output_helper(resultobj
,o
);
13171 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13172 resultobj
= t_output_helper(resultobj
,o
);
13180 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
;
13182 wxDC
*arg1
= (wxDC
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "self",(char *) "x", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13194 arg2
= (int) SWIG_AsInt(obj1
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= SWIG_FromInt((int)result
);
13210 static PyObject
*_wrap_DC_DeviceToLogicalY(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 *) "y", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",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
)->DeviceToLogicalY(arg2
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_FromInt((int)result
);
13240 static PyObject
*_wrap_DC_DeviceToLogicalXRel(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 *) "x", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",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
)->DeviceToLogicalXRel(arg2
);
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_FromInt((int)result
);
13270 static PyObject
*_wrap_DC_DeviceToLogicalYRel(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 *) "y", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",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
)->DeviceToLogicalYRel(arg2
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= SWIG_FromInt((int)result
);
13300 static PyObject
*_wrap_DC_LogicalToDeviceX(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 *) "x", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",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
)->LogicalToDeviceX(arg2
);
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= SWIG_FromInt((int)result
);
13330 static PyObject
*_wrap_DC_LogicalToDeviceY(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 *) "y", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",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
)->LogicalToDeviceY(arg2
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_FromInt((int)result
);
13360 static PyObject
*_wrap_DC_LogicalToDeviceXRel(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 *) "x", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",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
)->LogicalToDeviceXRel(arg2
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_FromInt((int)result
);
13390 static PyObject
*_wrap_DC_LogicalToDeviceYRel(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 *) "y", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",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
)->LogicalToDeviceYRel(arg2
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= SWIG_FromInt((int)result
);
13420 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxDC
*arg1
= (wxDC
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13448 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxDC
*arg1
= (wxDC
*) 0 ;
13452 PyObject
* obj0
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13476 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxDC
*arg1
= (wxDC
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= SWIG_FromInt((int)result
);
13502 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxDC
*arg1
= (wxDC
*) 0 ;
13506 PyObject
* obj0
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "self", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= ((wxDC
const *)arg1
)->GetPPI();
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13522 wxSize
* resultptr
;
13523 resultptr
= new wxSize((wxSize
&) result
);
13524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13532 static PyObject
*_wrap_DC_Ok(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_Ok",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
= (bool)((wxDC
const *)arg1
)->Ok();
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13560 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxDC
*arg1
= (wxDC
*) 0 ;
13564 PyObject
* obj0
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= SWIG_FromInt((int)result
);
13586 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
;
13588 wxDC
*arg1
= (wxDC
*) 0 ;
13590 PyObject
* obj0
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "self", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13602 result
= (wxBrush
*) &_result_ref
;
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13609 wxBrush
* resultptr
= new wxBrush(*result
);
13610 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13618 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
;
13620 wxDC
*arg1
= (wxDC
*) 0 ;
13622 PyObject
* obj0
= 0 ;
13623 char *kwnames
[] = {
13624 (char *) "self", NULL
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13634 result
= (wxBrush
*) &_result_ref
;
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13641 wxBrush
* resultptr
= new wxBrush(*result
);
13642 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13650 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxDC
*arg1
= (wxDC
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 char *kwnames
[] = {
13656 (char *) "self", NULL
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13666 result
= (wxFont
*) &_result_ref
;
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13673 wxFont
* resultptr
= new wxFont(*result
);
13674 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13682 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxDC
*arg1
= (wxDC
*) 0 ;
13686 PyObject
* obj0
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13698 result
= (wxPen
*) &_result_ref
;
13701 wxPyEndAllowThreads(__tstate
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13705 wxPen
* resultptr
= new wxPen(*result
);
13706 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13714 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxDC
*arg1
= (wxDC
*) 0 ;
13718 PyObject
* obj0
= 0 ;
13719 char *kwnames
[] = {
13720 (char *) "self", NULL
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13730 result
= (wxColour
*) &_result_ref
;
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13743 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
;
13745 wxDC
*arg1
= (wxDC
*) 0 ;
13747 PyObject
* obj0
= 0 ;
13748 char *kwnames
[] = {
13749 (char *) "self", NULL
13752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13759 result
= (wxColour
*) &_result_ref
;
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13772 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
;
13774 wxDC
*arg1
= (wxDC
*) 0 ;
13775 wxColour
*arg2
= 0 ;
13777 PyObject
* obj0
= 0 ;
13778 PyObject
* obj1
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self",(char *) "colour", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13788 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 Py_INCREF(Py_None
); resultobj
= Py_None
;
13804 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxDC
*arg1
= (wxDC
*) 0 ;
13807 wxColour
*arg2
= 0 ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self",(char *) "colour", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 Py_INCREF(Py_None
); resultobj
= Py_None
;
13836 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxDC
*arg1
= (wxDC
*) 0 ;
13840 PyObject
* obj0
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13852 wxPyEndAllowThreads(__tstate
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= SWIG_FromInt((int)result
);
13862 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
;
13864 wxDC
*arg1
= (wxDC
*) 0 ;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 char *kwnames
[] = {
13869 (char *) "self",(char *) "mode", NULL
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13875 arg2
= (int) SWIG_AsInt(obj1
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 (arg1
)->SetMapMode(arg2
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 Py_INCREF(Py_None
); resultobj
= Py_None
;
13891 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxDC
*arg1
= (wxDC
*) 0 ;
13894 double *arg2
= (double *) 0 ;
13895 double *arg3
= (double *) 0 ;
13898 PyObject
* obj0
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 Py_INCREF(Py_None
); resultobj
= Py_None
;
13917 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13918 resultobj
= t_output_helper(resultobj
,o
);
13921 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13922 resultobj
= t_output_helper(resultobj
,o
);
13930 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxDC
*arg1
= (wxDC
*) 0 ;
13935 PyObject
* obj0
= 0 ;
13936 PyObject
* obj1
= 0 ;
13937 PyObject
* obj2
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self",(char *) "x",(char *) "y", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13945 arg2
= (double) SWIG_AsDouble(obj1
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13947 arg3
= (double) SWIG_AsDouble(obj2
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 (arg1
)->SetUserScale(arg2
,arg3
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 Py_INCREF(Py_None
); resultobj
= Py_None
;
13963 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
;
13965 wxDC
*arg1
= (wxDC
*) 0 ;
13966 double *arg2
= (double *) 0 ;
13967 double *arg3
= (double *) 0 ;
13970 PyObject
* obj0
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 (arg1
)->GetLogicalScale(arg2
,arg3
);
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 Py_INCREF(Py_None
); resultobj
= Py_None
;
13989 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13990 resultobj
= t_output_helper(resultobj
,o
);
13993 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13994 resultobj
= t_output_helper(resultobj
,o
);
14002 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxDC
*arg1
= (wxDC
*) 0 ;
14007 PyObject
* obj0
= 0 ;
14008 PyObject
* obj1
= 0 ;
14009 PyObject
* obj2
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self",(char *) "x",(char *) "y", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14017 arg2
= (double) SWIG_AsDouble(obj1
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14019 arg3
= (double) SWIG_AsDouble(obj2
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 (arg1
)->SetLogicalScale(arg2
,arg3
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxDC
*arg1
= (wxDC
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14055 wxPoint
* resultptr
;
14056 resultptr
= new wxPoint((wxPoint
&) result
);
14057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14065 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14066 PyObject
*resultobj
;
14067 wxDC
*arg1
= (wxDC
*) 0 ;
14068 int *arg2
= (int *) 0 ;
14069 int *arg3
= (int *) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 Py_INCREF(Py_None
); resultobj
= Py_None
;
14091 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14092 resultobj
= t_output_helper(resultobj
,o
);
14095 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14096 resultobj
= t_output_helper(resultobj
,o
);
14104 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxDC
*arg1
= (wxDC
*) 0 ;
14109 PyObject
* obj0
= 0 ;
14110 PyObject
* obj1
= 0 ;
14111 PyObject
* obj2
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self",(char *) "x",(char *) "y", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14119 arg2
= (int) SWIG_AsInt(obj1
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14121 arg3
= (int) SWIG_AsInt(obj2
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 Py_INCREF(Py_None
); resultobj
= Py_None
;
14137 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxDC
*arg1
= (wxDC
*) 0 ;
14140 wxPoint
*arg2
= 0 ;
14142 PyObject
* obj0
= 0 ;
14143 PyObject
* obj1
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "self",(char *) "point", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14153 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 Py_INCREF(Py_None
); resultobj
= Py_None
;
14169 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxDC
*arg1
= (wxDC
*) 0 ;
14173 PyObject
* obj0
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14189 wxPoint
* resultptr
;
14190 resultptr
= new wxPoint((wxPoint
&) result
);
14191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14199 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
;
14201 wxDC
*arg1
= (wxDC
*) 0 ;
14202 int *arg2
= (int *) 0 ;
14203 int *arg3
= (int *) 0 ;
14206 PyObject
* obj0
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self", NULL
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 Py_INCREF(Py_None
); resultobj
= Py_None
;
14225 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14226 resultobj
= t_output_helper(resultobj
,o
);
14229 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14230 resultobj
= t_output_helper(resultobj
,o
);
14238 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxDC
*arg1
= (wxDC
*) 0 ;
14243 PyObject
* obj0
= 0 ;
14244 PyObject
* obj1
= 0 ;
14245 PyObject
* obj2
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self",(char *) "x",(char *) "y", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14253 arg2
= (int) SWIG_AsInt(obj1
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14255 arg3
= (int) SWIG_AsInt(obj2
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14259 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14264 Py_INCREF(Py_None
); resultobj
= Py_None
;
14271 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxDC
*arg1
= (wxDC
*) 0 ;
14274 wxPoint
*arg2
= 0 ;
14276 PyObject
* obj0
= 0 ;
14277 PyObject
* obj1
= 0 ;
14278 char *kwnames
[] = {
14279 (char *) "self",(char *) "point", NULL
14282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 Py_INCREF(Py_None
); resultobj
= Py_None
;
14303 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxDC
*arg1
= (wxDC
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 PyObject
* obj1
= 0 ;
14310 PyObject
* obj2
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14318 arg2
= (bool) SWIG_AsBool(obj1
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14320 arg3
= (bool) SWIG_AsBool(obj2
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 Py_INCREF(Py_None
); resultobj
= Py_None
;
14336 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 wxDC
*arg1
= (wxDC
*) 0 ;
14340 PyObject
* obj0
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 resultobj
= SWIG_FromInt((int)result
);
14362 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxDC
*arg1
= (wxDC
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 PyObject
* obj1
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "self",(char *) "function", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14375 arg2
= (int) SWIG_AsInt(obj1
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 (arg1
)->SetLogicalFunction(arg2
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 Py_INCREF(Py_None
); resultobj
= Py_None
;
14391 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14392 PyObject
*resultobj
;
14393 wxDC
*arg1
= (wxDC
*) 0 ;
14395 PyObject
* obj0
= 0 ;
14396 PyObject
* obj1
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "self",(char *) "opt", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14404 arg2
= (bool) SWIG_AsBool(obj1
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 (arg1
)->SetOptimization(arg2
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 Py_INCREF(Py_None
); resultobj
= Py_None
;
14420 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxDC
*arg1
= (wxDC
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (bool)(arg1
)->GetOptimization();
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14448 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
;
14450 wxDC
*arg1
= (wxDC
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 PyObject
* obj2
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self",(char *) "x",(char *) "y", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 arg2
= (int) SWIG_AsInt(obj1
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14465 arg3
= (int) SWIG_AsInt(obj2
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 Py_INCREF(Py_None
); resultobj
= Py_None
;
14481 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxDC
*arg1
= (wxDC
*) 0 ;
14484 wxPoint
*arg2
= 0 ;
14486 PyObject
* obj0
= 0 ;
14487 PyObject
* obj1
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self",(char *) "point", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14497 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 Py_INCREF(Py_None
); resultobj
= Py_None
;
14513 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxDC
*arg1
= (wxDC
*) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 char *kwnames
[] = {
14518 (char *) "self", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 (arg1
)->ResetBoundingBox();
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 Py_INCREF(Py_None
); resultobj
= Py_None
;
14538 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
;
14540 wxDC
*arg1
= (wxDC
*) 0 ;
14542 PyObject
* obj0
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (int)((wxDC
const *)arg1
)->MinX();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_FromInt((int)result
);
14564 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxDC
*arg1
= (wxDC
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (int)((wxDC
const *)arg1
)->MaxX();
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= SWIG_FromInt((int)result
);
14590 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
;
14592 wxDC
*arg1
= (wxDC
*) 0 ;
14594 PyObject
* obj0
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "self", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 result
= (int)((wxDC
const *)arg1
)->MinY();
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 resultobj
= SWIG_FromInt((int)result
);
14616 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxDC
*arg1
= (wxDC
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 char *kwnames
[] = {
14622 (char *) "self", NULL
14625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 result
= (int)((wxDC
const *)arg1
)->MaxY();
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14635 resultobj
= SWIG_FromInt((int)result
);
14642 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 wxDC
*arg1
= (wxDC
*) 0 ;
14645 int *arg2
= (int *) 0 ;
14646 int *arg3
= (int *) 0 ;
14647 int *arg4
= (int *) 0 ;
14648 int *arg5
= (int *) 0 ;
14653 PyObject
* obj0
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 Py_INCREF(Py_None
); resultobj
= Py_None
;
14674 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14675 resultobj
= t_output_helper(resultobj
,o
);
14678 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14679 resultobj
= t_output_helper(resultobj
,o
);
14682 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14683 resultobj
= t_output_helper(resultobj
,o
);
14686 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14687 resultobj
= t_output_helper(resultobj
,o
);
14695 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxDC
*arg1
= (wxDC
*) 0 ;
14698 PyObject
*arg2
= (PyObject
*) 0 ;
14699 PyObject
*arg3
= (PyObject
*) 0 ;
14700 PyObject
*arg4
= (PyObject
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 PyObject
* obj1
= 0 ;
14704 PyObject
* obj2
= 0 ;
14705 PyObject
* obj3
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= result
;
14730 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxDC
*arg1
= (wxDC
*) 0 ;
14733 PyObject
*arg2
= (PyObject
*) 0 ;
14734 PyObject
*arg3
= (PyObject
*) 0 ;
14735 PyObject
*arg4
= (PyObject
*) 0 ;
14737 PyObject
* obj0
= 0 ;
14738 PyObject
* obj1
= 0 ;
14739 PyObject
* obj2
= 0 ;
14740 PyObject
* obj3
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= result
;
14765 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 wxDC
*arg1
= (wxDC
*) 0 ;
14768 PyObject
*arg2
= (PyObject
*) 0 ;
14769 PyObject
*arg3
= (PyObject
*) 0 ;
14770 PyObject
*arg4
= (PyObject
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 PyObject
* obj2
= 0 ;
14775 PyObject
* obj3
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= result
;
14800 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
;
14802 wxDC
*arg1
= (wxDC
*) 0 ;
14803 PyObject
*arg2
= (PyObject
*) 0 ;
14804 PyObject
*arg3
= (PyObject
*) 0 ;
14805 PyObject
*arg4
= (PyObject
*) 0 ;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 PyObject
* obj2
= 0 ;
14810 PyObject
* obj3
= 0 ;
14811 char *kwnames
[] = {
14812 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= result
;
14835 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxDC
*arg1
= (wxDC
*) 0 ;
14838 PyObject
*arg2
= (PyObject
*) 0 ;
14839 PyObject
*arg3
= (PyObject
*) 0 ;
14840 PyObject
*arg4
= (PyObject
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 PyObject
* obj2
= 0 ;
14845 PyObject
* obj3
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= result
;
14870 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxDC
*arg1
= (wxDC
*) 0 ;
14873 PyObject
*arg2
= (PyObject
*) 0 ;
14874 PyObject
*arg3
= (PyObject
*) 0 ;
14875 PyObject
*arg4
= (PyObject
*) 0 ;
14876 PyObject
*arg5
= (PyObject
*) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 PyObject
* obj1
= 0 ;
14880 PyObject
* obj2
= 0 ;
14881 PyObject
* obj3
= 0 ;
14882 PyObject
* obj4
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= result
;
14908 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14911 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14913 return Py_BuildValue((char *)"");
14915 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxMemoryDC
*result
;
14918 char *kwnames
[] = {
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= (wxMemoryDC
*)new wxMemoryDC();
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14937 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
;
14939 wxDC
*arg1
= (wxDC
*) 0 ;
14940 wxMemoryDC
*result
;
14941 PyObject
* obj0
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "oldDC", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14963 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
;
14965 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14966 wxBitmap
*arg2
= 0 ;
14967 PyObject
* obj0
= 0 ;
14968 PyObject
* obj1
= 0 ;
14969 char *kwnames
[] = {
14970 (char *) "self",(char *) "bitmap", NULL
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
14975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14979 if (arg2
== NULL
) {
14980 PyErr_SetString(PyExc_TypeError
,"null reference");
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 Py_INCREF(Py_None
); resultobj
= Py_None
;
14997 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
14999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15000 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15002 return Py_BuildValue((char *)"");
15004 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15005 PyObject
*resultobj
;
15006 wxDC
*arg1
= (wxDC
*) 0 ;
15007 wxBitmap
*arg2
= 0 ;
15008 wxBufferedDC
*result
;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15012 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15018 if (arg2
== NULL
) {
15019 PyErr_SetString(PyExc_TypeError
,"null reference");
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15036 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15037 PyObject
*resultobj
;
15038 wxDC
*arg1
= (wxDC
*) 0 ;
15040 wxBufferedDC
*result
;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15045 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15050 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15066 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15071 argc
= PyObject_Length(args
);
15072 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15073 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15079 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15089 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15097 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15105 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15114 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15117 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15122 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15127 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15128 PyObject
*resultobj
;
15129 wxDC
*arg1
= (wxDC
*) 0 ;
15131 wxBufferedDC
*result
;
15133 PyObject
* obj0
= 0 ;
15134 PyObject
* obj1
= 0 ;
15136 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15141 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15157 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
;
15159 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15160 PyObject
* obj0
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 Py_INCREF(Py_None
); resultobj
= Py_None
;
15182 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15185 PyObject
* obj0
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15200 Py_INCREF(Py_None
); resultobj
= Py_None
;
15207 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15210 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15212 return Py_BuildValue((char *)"");
15214 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxWindow
*arg1
= (wxWindow
*) 0 ;
15217 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15218 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15219 wxBufferedPaintDC
*result
;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "window",(char *) "buffer", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15233 if (arg2
== NULL
) {
15234 PyErr_SetString(PyExc_TypeError
,"null reference");
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15252 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15255 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15257 return Py_BuildValue((char *)"");
15259 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxScreenDC
*result
;
15262 char *kwnames
[] = {
15266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 result
= (wxScreenDC
*)new wxScreenDC();
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15281 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15284 wxWindow
*arg2
= (wxWindow
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self",(char *) "window", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15313 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15316 wxRect
*arg2
= (wxRect
*) NULL
;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self",(char *) "rect", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15347 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (bool)(arg1
)->EndDrawingOnTop();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15375 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15378 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15380 return Py_BuildValue((char *)"");
15382 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxWindow
*arg1
= (wxWindow
*) 0 ;
15385 wxClientDC
*result
;
15386 PyObject
* obj0
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "win", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 result
= (wxClientDC
*)new wxClientDC(arg1
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15408 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15411 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15413 return Py_BuildValue((char *)"");
15415 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxWindow
*arg1
= (wxWindow
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "win", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15441 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15444 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15446 return Py_BuildValue((char *)"");
15448 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxWindow
*arg1
= (wxWindow
*) 0 ;
15451 wxWindowDC
*result
;
15452 PyObject
* obj0
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "win", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15474 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15477 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15479 return Py_BuildValue((char *)"");
15481 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
;
15485 wxMirrorDC
*result
;
15486 PyObject
* obj0
= 0 ;
15487 PyObject
* obj1
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "dc",(char *) "mirror", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15496 if (arg1
== NULL
) {
15497 PyErr_SetString(PyExc_TypeError
,"null reference");
15500 arg2
= (bool) SWIG_AsBool(obj1
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15516 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15519 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15521 return Py_BuildValue((char *)"");
15523 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
;
15525 wxPrintData
*arg1
= 0 ;
15526 wxPostScriptDC
*result
;
15527 PyObject
* obj0
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "printData", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15536 if (arg1
== NULL
) {
15537 PyErr_SetString(PyExc_TypeError
,"null reference");
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15554 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15557 wxPrintData
*result
;
15558 PyObject
* obj0
= 0 ;
15559 char *kwnames
[] = {
15560 (char *) "self", NULL
15563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15570 result
= (wxPrintData
*) &_result_ref
;
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15583 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15585 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15586 wxPrintData
*arg2
= 0 ;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self",(char *) "data", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15599 if (arg2
== NULL
) {
15600 PyErr_SetString(PyExc_TypeError
,"null reference");
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15610 Py_INCREF(Py_None
); resultobj
= Py_None
;
15617 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15618 PyObject
*resultobj
;
15620 PyObject
* obj0
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "ppi", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15626 arg1
= (int) SWIG_AsInt(obj0
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 wxPostScriptDC::SetResolution(arg1
);
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15635 Py_INCREF(Py_None
); resultobj
= Py_None
;
15642 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
;
15645 char *kwnames
[] = {
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 result
= (int)wxPostScriptDC::GetResolution();
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_FromInt((int)result
);
15664 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15667 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15669 return Py_BuildValue((char *)"");
15671 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
;
15673 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15674 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15675 wxMetaFile
*result
;
15676 bool temp1
= False
;
15677 PyObject
* obj0
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "filename", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15685 arg1
= wxString_in_helper(obj0
);
15686 if (arg1
== NULL
) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15712 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 Py_INCREF(Py_None
); resultobj
= Py_None
;
15737 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15741 PyObject
* obj0
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (bool)(arg1
)->Ok();
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15765 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15766 PyObject
*resultobj
;
15767 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15768 int arg2
= (int) 0 ;
15769 int arg3
= (int) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 PyObject
* obj1
= 0 ;
15773 PyObject
* obj2
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self",(char *) "width",(char *) "height", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15782 arg2
= (int) SWIG_AsInt(obj1
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15786 arg3
= (int) SWIG_AsInt(obj2
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15805 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15809 PyObject
* obj0
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
15815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (arg1
)->GetSize();
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15825 wxSize
* resultptr
;
15826 resultptr
= new wxSize((wxSize
&) result
);
15827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15835 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15837 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15839 PyObject
* obj0
= 0 ;
15840 char *kwnames
[] = {
15841 (char *) "self", NULL
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
15845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (int)(arg1
)->GetWidth();
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= SWIG_FromInt((int)result
);
15861 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
;
15863 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15865 PyObject
* obj0
= 0 ;
15866 char *kwnames
[] = {
15867 (char *) "self", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
15871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 result
= (int)(arg1
)->GetHeight();
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15880 resultobj
= SWIG_FromInt((int)result
);
15887 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15890 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15892 return Py_BuildValue((char *)"");
15894 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15897 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15898 int arg2
= (int) 0 ;
15899 int arg3
= (int) 0 ;
15900 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15901 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15902 wxMetaFileDC
*result
;
15903 bool temp1
= False
;
15904 bool temp4
= False
;
15905 PyObject
* obj0
= 0 ;
15906 PyObject
* obj1
= 0 ;
15907 PyObject
* obj2
= 0 ;
15908 PyObject
* obj3
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15916 arg1
= wxString_in_helper(obj0
);
15917 if (arg1
== NULL
) SWIG_fail
;
15922 arg2
= (int) SWIG_AsInt(obj1
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15926 arg3
= (int) SWIG_AsInt(obj2
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15931 arg4
= wxString_in_helper(obj3
);
15932 if (arg4
== NULL
) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15966 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
15969 wxMetaFile
*result
;
15970 PyObject
* obj0
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "self", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
15976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
15977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 result
= (wxMetaFile
*)(arg1
)->Close();
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
15992 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15995 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15997 return Py_BuildValue((char *)"");
15999 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxPrintData
*arg1
= 0 ;
16002 wxPrinterDC
*result
;
16003 PyObject
* obj0
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "printData", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16012 if (arg1
== NULL
) {
16013 PyErr_SetString(PyExc_TypeError
,"null reference");
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16030 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16033 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16035 return Py_BuildValue((char *)"");
16037 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16041 int arg3
= (int) True
;
16042 int arg4
= (int) 1 ;
16043 wxImageList
*result
;
16044 PyObject
* obj0
= 0 ;
16045 PyObject
* obj1
= 0 ;
16046 PyObject
* obj2
= 0 ;
16047 PyObject
* obj3
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16053 arg1
= (int) SWIG_AsInt(obj0
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16055 arg2
= (int) SWIG_AsInt(obj1
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16058 arg3
= (int) SWIG_AsInt(obj2
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16062 arg4
= (int) SWIG_AsInt(obj3
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= wxPyMake_wxObject(result
);
16081 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
;
16083 wxImageList
*arg1
= (wxImageList
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 Py_INCREF(Py_None
); resultobj
= Py_None
;
16106 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxImageList
*arg1
= (wxImageList
*) 0 ;
16109 wxBitmap
*arg2
= 0 ;
16110 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16111 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16113 PyObject
* obj0
= 0 ;
16114 PyObject
* obj1
= 0 ;
16115 PyObject
* obj2
= 0 ;
16116 char *kwnames
[] = {
16117 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16126 if (arg2
== NULL
) {
16127 PyErr_SetString(PyExc_TypeError
,"null reference");
16131 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16134 if (arg3
== NULL
) {
16135 PyErr_SetString(PyExc_TypeError
,"null reference");
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= SWIG_FromInt((int)result
);
16153 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxImageList
*arg1
= (wxImageList
*) 0 ;
16156 wxBitmap
*arg2
= 0 ;
16157 wxColour
*arg3
= 0 ;
16160 PyObject
* obj0
= 0 ;
16161 PyObject
* obj1
= 0 ;
16162 PyObject
* obj2
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16173 if (arg2
== NULL
) {
16174 PyErr_SetString(PyExc_TypeError
,"null reference");
16179 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= SWIG_FromInt((int)result
);
16195 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxImageList
*arg1
= (wxImageList
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 char *kwnames
[] = {
16203 (char *) "self",(char *) "icon", NULL
16206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16212 if (arg2
== NULL
) {
16213 PyErr_SetString(PyExc_TypeError
,"null reference");
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= SWIG_FromInt((int)result
);
16230 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxImageList
*arg1
= (wxImageList
*) 0 ;
16234 wxBitmap
*arg3
= 0 ;
16236 PyObject
* obj0
= 0 ;
16237 PyObject
* obj1
= 0 ;
16238 PyObject
* obj2
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16246 arg2
= (int) SWIG_AsInt(obj1
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16248 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16251 if (arg3
== NULL
) {
16252 PyErr_SetString(PyExc_TypeError
,"null reference");
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16271 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxImageList
*arg1
= (wxImageList
*) 0 ;
16278 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16279 bool arg7
= (bool) (bool)False
;
16281 PyObject
* obj0
= 0 ;
16282 PyObject
* obj1
= 0 ;
16283 PyObject
* obj2
= 0 ;
16284 PyObject
* obj3
= 0 ;
16285 PyObject
* obj4
= 0 ;
16286 PyObject
* obj5
= 0 ;
16287 PyObject
* obj6
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16295 arg2
= (int) SWIG_AsInt(obj1
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16297 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16300 if (arg3
== NULL
) {
16301 PyErr_SetString(PyExc_TypeError
,"null reference");
16304 arg4
= (int) SWIG_AsInt(obj3
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16306 arg5
= (int) SWIG_AsInt(obj4
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 arg6
= (int) SWIG_AsInt(obj5
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16313 arg7
= (bool const) SWIG_AsBool(obj6
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16332 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
;
16334 wxImageList
*arg1
= (wxImageList
*) 0 ;
16336 PyObject
* obj0
= 0 ;
16337 char *kwnames
[] = {
16338 (char *) "self", NULL
16341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (int)(arg1
)->GetImageCount();
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= SWIG_FromInt((int)result
);
16358 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxImageList
*arg1
= (wxImageList
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 PyObject
* obj1
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self",(char *) "index", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16372 arg2
= (int) SWIG_AsInt(obj1
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 result
= (bool)(arg1
)->Remove(arg2
);
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16390 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxImageList
*arg1
= (wxImageList
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 result
= (bool)(arg1
)->RemoveAll();
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16418 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
;
16420 wxImageList
*arg1
= (wxImageList
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 PyObject
* obj1
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self",(char *) "index", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16437 arg2
= (int) SWIG_AsInt(obj1
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 Py_INCREF(Py_None
); resultobj
= Py_None
;
16448 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16449 resultobj
= t_output_helper(resultobj
,o
);
16452 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16453 resultobj
= t_output_helper(resultobj
,o
);
16461 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16464 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16466 return Py_BuildValue((char *)"");
16468 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16469 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16474 static PyObject
*_wrap_NORMAL_FONT_get() {
16477 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16482 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16483 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16488 static PyObject
*_wrap_SMALL_FONT_get() {
16491 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16496 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16497 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16502 static PyObject
*_wrap_ITALIC_FONT_get() {
16505 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16510 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16511 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16516 static PyObject
*_wrap_SWISS_FONT_get() {
16519 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16524 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16525 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16530 static PyObject
*_wrap_RED_PEN_get() {
16533 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16538 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16539 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16544 static PyObject
*_wrap_CYAN_PEN_get() {
16547 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16552 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16553 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16558 static PyObject
*_wrap_GREEN_PEN_get() {
16561 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16566 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16567 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16572 static PyObject
*_wrap_BLACK_PEN_get() {
16575 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16580 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16581 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16586 static PyObject
*_wrap_WHITE_PEN_get() {
16589 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16594 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16595 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16600 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16603 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16608 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16609 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16614 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16617 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16622 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16623 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16628 static PyObject
*_wrap_GREY_PEN_get() {
16631 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16636 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16637 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16642 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16645 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16650 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16651 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16656 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16659 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16664 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16665 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16670 static PyObject
*_wrap_BLUE_BRUSH_get() {
16673 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16678 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16679 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16684 static PyObject
*_wrap_GREEN_BRUSH_get() {
16687 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16692 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16693 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16698 static PyObject
*_wrap_WHITE_BRUSH_get() {
16701 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16706 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16707 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16712 static PyObject
*_wrap_BLACK_BRUSH_get() {
16715 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16720 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16721 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16726 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16729 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16734 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16735 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16740 static PyObject
*_wrap_CYAN_BRUSH_get() {
16743 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16748 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16749 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16754 static PyObject
*_wrap_RED_BRUSH_get() {
16757 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16762 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16763 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16768 static PyObject
*_wrap_GREY_BRUSH_get() {
16771 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16776 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16777 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16782 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16785 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16790 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16791 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16796 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16799 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16804 static int _wrap_BLACK_set(PyObject
*_val
) {
16805 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16810 static PyObject
*_wrap_BLACK_get() {
16813 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16818 static int _wrap_WHITE_set(PyObject
*_val
) {
16819 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16824 static PyObject
*_wrap_WHITE_get() {
16827 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16832 static int _wrap_RED_set(PyObject
*_val
) {
16833 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16838 static PyObject
*_wrap_RED_get() {
16841 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16846 static int _wrap_BLUE_set(PyObject
*_val
) {
16847 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16852 static PyObject
*_wrap_BLUE_get() {
16855 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16860 static int _wrap_GREEN_set(PyObject
*_val
) {
16861 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16866 static PyObject
*_wrap_GREEN_get() {
16869 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16874 static int _wrap_CYAN_set(PyObject
*_val
) {
16875 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16880 static PyObject
*_wrap_CYAN_get() {
16883 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16888 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16889 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16894 static PyObject
*_wrap_LIGHT_GREY_get() {
16897 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16902 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16903 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16908 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16911 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16916 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16917 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16922 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16925 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16930 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16931 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16936 static PyObject
*_wrap_CROSS_CURSOR_get() {
16939 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16944 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16945 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16950 static PyObject
*_wrap_NullBitmap_get() {
16953 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16958 static int _wrap_NullIcon_set(PyObject
*_val
) {
16959 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16964 static PyObject
*_wrap_NullIcon_get() {
16967 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16972 static int _wrap_NullCursor_set(PyObject
*_val
) {
16973 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16978 static PyObject
*_wrap_NullCursor_get() {
16981 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16986 static int _wrap_NullPen_set(PyObject
*_val
) {
16987 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16992 static PyObject
*_wrap_NullPen_get() {
16995 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17000 static int _wrap_NullBrush_set(PyObject
*_val
) {
17001 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17006 static PyObject
*_wrap_NullBrush_get() {
17009 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17014 static int _wrap_NullPalette_set(PyObject
*_val
) {
17015 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17020 static PyObject
*_wrap_NullPalette_get() {
17023 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17028 static int _wrap_NullFont_set(PyObject
*_val
) {
17029 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17034 static PyObject
*_wrap_NullFont_get() {
17037 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17042 static int _wrap_NullColour_set(PyObject
*_val
) {
17043 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17048 static PyObject
*_wrap_NullColour_get() {
17051 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17056 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
;
17058 wxPenList
*arg1
= (wxPenList
*) 0 ;
17059 wxPen
*arg2
= (wxPen
*) 0 ;
17060 PyObject
* obj0
= 0 ;
17061 PyObject
* obj1
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self",(char *) "pen", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 (arg1
)->AddPen(arg2
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17078 Py_INCREF(Py_None
); resultobj
= Py_None
;
17085 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxPenList
*arg1
= (wxPenList
*) 0 ;
17088 wxColour
*arg2
= 0 ;
17093 PyObject
* obj0
= 0 ;
17094 PyObject
* obj1
= 0 ;
17095 PyObject
* obj2
= 0 ;
17096 PyObject
* obj3
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17106 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17108 arg3
= (int) SWIG_AsInt(obj2
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17110 arg4
= (int) SWIG_AsInt(obj3
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17126 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxPenList
*arg1
= (wxPenList
*) 0 ;
17129 wxPen
*arg2
= (wxPen
*) 0 ;
17130 PyObject
* obj0
= 0 ;
17131 PyObject
* obj1
= 0 ;
17132 char *kwnames
[] = {
17133 (char *) "self",(char *) "pen", NULL
17136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 (arg1
)->RemovePen(arg2
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 Py_INCREF(Py_None
); resultobj
= Py_None
;
17155 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 wxPenList
*arg1
= (wxPenList
*) 0 ;
17159 PyObject
* obj0
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "self", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (int)(arg1
)->GetCount();
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= SWIG_FromInt((int)result
);
17181 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17184 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17186 return Py_BuildValue((char *)"");
17188 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17191 wxBrush
*arg2
= (wxBrush
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self",(char *) "brush", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 (arg1
)->AddBrush(arg2
);
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 Py_INCREF(Py_None
); resultobj
= Py_None
;
17217 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17220 wxColour
*arg2
= 0 ;
17224 PyObject
* obj0
= 0 ;
17225 PyObject
* obj1
= 0 ;
17226 PyObject
* obj2
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self",(char *) "colour",(char *) "style", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17236 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17238 arg3
= (int) SWIG_AsInt(obj2
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17254 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17257 wxBrush
*arg2
= (wxBrush
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 PyObject
* obj1
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self",(char *) "brush", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 (arg1
)->RemoveBrush(arg2
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 Py_INCREF(Py_None
); resultobj
= Py_None
;
17283 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 result
= (int)(arg1
)->GetCount();
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17302 resultobj
= SWIG_FromInt((int)result
);
17309 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17312 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17314 return Py_BuildValue((char *)"");
17316 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxColourDatabase
*result
;
17319 char *kwnames
[] = {
17323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= (wxColourDatabase
*)new wxColourDatabase();
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17338 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17340 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17341 PyObject
* obj0
= 0 ;
17342 char *kwnames
[] = {
17343 (char *) "self", NULL
17346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 Py_INCREF(Py_None
); resultobj
= Py_None
;
17363 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
;
17365 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17366 wxString
*arg2
= 0 ;
17368 bool temp2
= False
;
17369 PyObject
* obj0
= 0 ;
17370 PyObject
* obj1
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self",(char *) "name", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17379 arg2
= wxString_in_helper(obj1
);
17380 if (arg2
== NULL
) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17391 wxColour
* resultptr
;
17392 resultptr
= new wxColour((wxColour
&) result
);
17393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17409 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
;
17411 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17412 wxColour
*arg2
= 0 ;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self",(char *) "colour", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17426 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17448 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17451 wxString
*arg2
= 0 ;
17452 wxColour
*arg3
= 0 ;
17453 bool temp2
= False
;
17455 PyObject
* obj0
= 0 ;
17456 PyObject
* obj1
= 0 ;
17457 PyObject
* obj2
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self",(char *) "name",(char *) "colour", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17466 arg2
= wxString_in_helper(obj1
);
17467 if (arg2
== NULL
) SWIG_fail
;
17472 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17476 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 Py_INCREF(Py_None
); resultobj
= Py_None
;
17496 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17499 wxString
*arg2
= 0 ;
17503 bool temp2
= False
;
17504 PyObject
* obj0
= 0 ;
17505 PyObject
* obj1
= 0 ;
17506 PyObject
* obj2
= 0 ;
17507 PyObject
* obj3
= 0 ;
17508 PyObject
* obj4
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17517 arg2
= wxString_in_helper(obj1
);
17518 if (arg2
== NULL
) SWIG_fail
;
17521 arg3
= (int) SWIG_AsInt(obj2
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17523 arg4
= (int) SWIG_AsInt(obj3
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17525 arg5
= (int) SWIG_AsInt(obj4
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 Py_INCREF(Py_None
); resultobj
= Py_None
;
17549 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17552 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17554 return Py_BuildValue((char *)"");
17556 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxFontList
*arg1
= (wxFontList
*) 0 ;
17559 wxFont
*arg2
= (wxFont
*) 0 ;
17560 PyObject
* obj0
= 0 ;
17561 PyObject
* obj1
= 0 ;
17562 char *kwnames
[] = {
17563 (char *) "self",(char *) "font", NULL
17566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 (arg1
)->AddFont(arg2
);
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 Py_INCREF(Py_None
); resultobj
= Py_None
;
17585 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
;
17587 wxFontList
*arg1
= (wxFontList
*) 0 ;
17592 bool arg6
= (bool) False
;
17593 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17594 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17595 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17597 bool temp7
= False
;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 PyObject
* obj2
= 0 ;
17601 PyObject
* obj3
= 0 ;
17602 PyObject
* obj4
= 0 ;
17603 PyObject
* obj5
= 0 ;
17604 PyObject
* obj6
= 0 ;
17605 PyObject
* obj7
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17613 arg2
= (int) SWIG_AsInt(obj1
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17615 arg3
= (int) SWIG_AsInt(obj2
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17617 arg4
= (int) SWIG_AsInt(obj3
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17619 arg5
= (int) SWIG_AsInt(obj4
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 arg6
= (bool) SWIG_AsBool(obj5
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17627 arg7
= wxString_in_helper(obj6
);
17628 if (arg7
== NULL
) SWIG_fail
;
17633 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17658 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
;
17660 wxFontList
*arg1
= (wxFontList
*) 0 ;
17661 wxFont
*arg2
= (wxFont
*) 0 ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 char *kwnames
[] = {
17665 (char *) "self",(char *) "font", NULL
17668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 (arg1
)->RemoveFont(arg2
);
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17680 Py_INCREF(Py_None
); resultobj
= Py_None
;
17687 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxFontList
*arg1
= (wxFontList
*) 0 ;
17691 PyObject
* obj0
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (int)(arg1
)->GetCount();
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 resultobj
= SWIG_FromInt((int)result
);
17713 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17716 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17718 return Py_BuildValue((char *)"");
17720 static int _wrap_TheFontList_set(PyObject
*_val
) {
17721 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17726 static PyObject
*_wrap_TheFontList_get() {
17729 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17734 static int _wrap_ThePenList_set(PyObject
*_val
) {
17735 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17740 static PyObject
*_wrap_ThePenList_get() {
17743 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17748 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17749 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17754 static PyObject
*_wrap_TheBrushList_get() {
17757 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17762 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17763 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17768 static PyObject
*_wrap_TheColourDatabase_get() {
17771 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17776 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17779 char *kwnames
[] = {
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= (wxEffects
*)new wxEffects();
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17798 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxEffects
*arg1
= (wxEffects
*) 0 ;
17802 PyObject
* obj0
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17818 wxColour
* resultptr
;
17819 resultptr
= new wxColour((wxColour
&) result
);
17820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17828 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxEffects
*arg1
= (wxEffects
*) 0 ;
17832 PyObject
* obj0
= 0 ;
17833 char *kwnames
[] = {
17834 (char *) "self", NULL
17837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17848 wxColour
* resultptr
;
17849 resultptr
= new wxColour((wxColour
&) result
);
17850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17858 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxEffects
*arg1
= (wxEffects
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17878 wxColour
* resultptr
;
17879 resultptr
= new wxColour((wxColour
&) result
);
17880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17888 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxEffects
*arg1
= (wxEffects
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17908 wxColour
* resultptr
;
17909 resultptr
= new wxColour((wxColour
&) result
);
17910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17918 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxEffects
*arg1
= (wxEffects
*) 0 ;
17922 PyObject
* obj0
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17938 wxColour
* resultptr
;
17939 resultptr
= new wxColour((wxColour
&) result
);
17940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17948 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxEffects
*arg1
= (wxEffects
*) 0 ;
17951 wxColour
*arg2
= 0 ;
17953 PyObject
* obj0
= 0 ;
17954 PyObject
* obj1
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self",(char *) "c", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17964 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 Py_INCREF(Py_None
); resultobj
= Py_None
;
17980 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxEffects
*arg1
= (wxEffects
*) 0 ;
17983 wxColour
*arg2
= 0 ;
17985 PyObject
* obj0
= 0 ;
17986 PyObject
* obj1
= 0 ;
17987 char *kwnames
[] = {
17988 (char *) "self",(char *) "c", NULL
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 Py_INCREF(Py_None
); resultobj
= Py_None
;
18012 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18014 wxEffects
*arg1
= (wxEffects
*) 0 ;
18015 wxColour
*arg2
= 0 ;
18017 PyObject
* obj0
= 0 ;
18018 PyObject
* obj1
= 0 ;
18019 char *kwnames
[] = {
18020 (char *) "self",(char *) "c", NULL
18023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18028 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 Py_INCREF(Py_None
); resultobj
= Py_None
;
18044 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18046 wxEffects
*arg1
= (wxEffects
*) 0 ;
18047 wxColour
*arg2
= 0 ;
18049 PyObject
* obj0
= 0 ;
18050 PyObject
* obj1
= 0 ;
18051 char *kwnames
[] = {
18052 (char *) "self",(char *) "c", NULL
18055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 Py_INCREF(Py_None
); resultobj
= Py_None
;
18076 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxEffects
*arg1
= (wxEffects
*) 0 ;
18079 wxColour
*arg2
= 0 ;
18081 PyObject
* obj0
= 0 ;
18082 PyObject
* obj1
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self",(char *) "c", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18092 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 Py_INCREF(Py_None
); resultobj
= Py_None
;
18108 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxEffects
*arg1
= (wxEffects
*) 0 ;
18111 wxColour
*arg2
= 0 ;
18112 wxColour
*arg3
= 0 ;
18113 wxColour
*arg4
= 0 ;
18114 wxColour
*arg5
= 0 ;
18115 wxColour
*arg6
= 0 ;
18121 PyObject
* obj0
= 0 ;
18122 PyObject
* obj1
= 0 ;
18123 PyObject
* obj2
= 0 ;
18124 PyObject
* obj3
= 0 ;
18125 PyObject
* obj4
= 0 ;
18126 PyObject
* obj5
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18136 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18140 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18144 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18148 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18152 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 Py_INCREF(Py_None
); resultobj
= Py_None
;
18168 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18169 PyObject
*resultobj
;
18170 wxEffects
*arg1
= (wxEffects
*) 0 ;
18173 int arg4
= (int) 1 ;
18175 PyObject
* obj0
= 0 ;
18176 PyObject
* obj1
= 0 ;
18177 PyObject
* obj2
= 0 ;
18178 PyObject
* obj3
= 0 ;
18179 char *kwnames
[] = {
18180 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18189 if (arg2
== NULL
) {
18190 PyErr_SetString(PyExc_TypeError
,"null reference");
18195 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18198 arg4
= (int) SWIG_AsInt(obj3
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 Py_INCREF(Py_None
); resultobj
= Py_None
;
18215 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxEffects
*arg1
= (wxEffects
*) 0 ;
18220 wxBitmap
*arg4
= 0 ;
18223 PyObject
* obj0
= 0 ;
18224 PyObject
* obj1
= 0 ;
18225 PyObject
* obj2
= 0 ;
18226 PyObject
* obj3
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18236 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18238 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18241 if (arg3
== NULL
) {
18242 PyErr_SetString(PyExc_TypeError
,"null reference");
18245 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18246 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18248 if (arg4
== NULL
) {
18249 PyErr_SetString(PyExc_TypeError
,"null reference");
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18268 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18271 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18273 return Py_BuildValue((char *)"");
18275 static PyMethodDef SwigMethods
[] = {
18276 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18282 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18283 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18284 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18285 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18287 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18288 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18289 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18290 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18292 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18293 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18294 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18295 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18296 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18297 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18298 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18299 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18302 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18305 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18307 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18311 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18313 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18315 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18316 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18321 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18322 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18323 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18324 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18329 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18336 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18347 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18348 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18353 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18356 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18358 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18363 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18365 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18366 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18371 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18380 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18387 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18388 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18396 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18402 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18428 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18429 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18442 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18466 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18475 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18495 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18532 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18540 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18547 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18569 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18571 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18579 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18659 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18675 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18690 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18691 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18692 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18693 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18698 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18699 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18701 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18703 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18704 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18705 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18708 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18710 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18712 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18713 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18714 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18717 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18718 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18719 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18724 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18726 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18728 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18730 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18732 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18737 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18738 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18740 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18746 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18749 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18751 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18755 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18756 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18757 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18758 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18759 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18760 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18761 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18762 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18763 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18764 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18765 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18766 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18767 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18768 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18769 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18770 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18771 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18772 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18773 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18774 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18775 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18776 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18777 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18778 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18779 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18780 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18781 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18782 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18783 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18784 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18785 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18786 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18787 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18788 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18789 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18790 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18791 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18792 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18793 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18794 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18795 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18796 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18797 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18798 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18799 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18804 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18806 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18807 return (void *)((wxWindow
*) ((wxControl
*) x
));
18809 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18810 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18812 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18813 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18815 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18816 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18818 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18819 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18821 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18822 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18824 static void *_p_wxPenTo_p_wxObject(void *x
) {
18825 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18827 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18828 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18830 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18831 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18833 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18834 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18836 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18837 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18839 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18840 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18842 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18843 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18845 static void *_p_wxIconTo_p_wxObject(void *x
) {
18846 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18848 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18849 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18851 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18852 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18854 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18855 return (void *)((wxObject
*) ((wxSizer
*) x
));
18857 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18858 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18860 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18861 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18863 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18864 return (void *)((wxObject
*) ((wxPenList
*) x
));
18866 static void *_p_wxEventTo_p_wxObject(void *x
) {
18867 return (void *)((wxObject
*) ((wxEvent
*) x
));
18869 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18870 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18872 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18873 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18875 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18876 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18878 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18879 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18881 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18882 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18884 static void *_p_wxDCTo_p_wxObject(void *x
) {
18885 return (void *)((wxObject
*) ((wxDC
*) x
));
18887 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18888 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18890 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18891 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18893 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18894 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18896 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18897 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18899 static void *_p_wxControlTo_p_wxObject(void *x
) {
18900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18902 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18903 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18905 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18906 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18908 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18909 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18911 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18912 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18914 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18915 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18917 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18918 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18920 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18921 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18923 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18924 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18926 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18927 return (void *)((wxObject
*) ((wxEffects
*) x
));
18929 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18930 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18932 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18933 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18935 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18936 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18938 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18939 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18941 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18942 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18944 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18945 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18947 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18948 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18950 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18951 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18953 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18954 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18956 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18957 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18959 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18960 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18962 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18963 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18965 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18966 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18968 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18969 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18971 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18972 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18974 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18975 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18977 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18978 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18980 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18981 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18983 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18984 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18986 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18987 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18989 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18990 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18992 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18993 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18995 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18996 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18998 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18999 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19001 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19002 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19004 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19005 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19007 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19008 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19010 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19011 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19013 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19014 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19016 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19017 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19019 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19020 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19022 static void *_p_wxImageTo_p_wxObject(void *x
) {
19023 return (void *)((wxObject
*) ((wxImage
*) x
));
19025 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19026 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19028 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19029 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19031 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19032 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19034 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19035 return (void *)((wxObject
*) ((wxImageList
*) x
));
19037 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19038 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19040 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19041 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19043 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19044 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19046 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19047 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19049 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19050 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19052 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19053 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19055 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19056 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19058 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19059 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19061 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19064 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19065 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19067 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19068 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19070 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19071 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19073 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19074 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19076 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19077 return (void *)((wxObject
*) ((wxMask
*) x
));
19079 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19082 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19083 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19085 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19086 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19088 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19089 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19091 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19092 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19094 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19095 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19097 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19100 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19101 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19103 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19104 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19106 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19107 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19109 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19112 static void *_p_wxFontTo_p_wxObject(void *x
) {
19113 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19115 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19116 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19118 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19119 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19121 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19124 static void *_p_wxColourTo_p_wxObject(void *x
) {
19125 return (void *)((wxObject
*) ((wxColour
*) x
));
19127 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19128 return (void *)((wxObject
*) ((wxFontList
*) x
));
19130 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19133 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19134 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19136 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19137 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19139 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19140 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19142 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19143 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19145 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19146 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19148 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19149 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19151 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19152 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19154 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19155 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19157 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19158 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19160 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19161 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19163 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19164 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19166 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19167 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19169 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19170 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19172 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19173 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19175 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19176 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19178 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19179 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19181 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19182 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19184 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19185 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19187 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19188 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19190 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19191 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19193 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19194 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19196 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}};
19197 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}};
19198 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}};
19199 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}};
19200 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}};
19201 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}};
19202 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}};
19203 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}};
19204 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}};
19205 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}};
19206 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}};
19207 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}};
19208 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}};
19209 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}};
19210 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}};
19211 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}};
19212 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}};
19213 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}};
19214 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}};
19215 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}};
19216 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}};
19217 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}};
19218 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}};
19219 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}};
19220 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}};
19221 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}};
19222 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}};
19223 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}};
19224 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}};
19225 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}};
19226 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}};
19227 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}};
19228 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}};
19229 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}};
19230 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}};
19231 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}};
19232 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}};
19233 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}};
19234 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}};
19235 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}};
19236 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}};
19237 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}};
19238 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}};
19239 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}};
19240 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}};
19241 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}};
19242 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}};
19243 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}};
19244 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}};
19245 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}};
19246 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}};
19247 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}};
19248 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}};
19249 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}};
19250 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}};
19252 static swig_type_info
*swig_types_initial
[] = {
19253 _swigt__p_wxPostScriptDC
,
19255 _swigt__p_wxColour
,
19257 _swigt__p_wxMirrorDC
,
19259 _swigt__p_wxPyFontEnumerator
,
19261 _swigt__p_wxIconLocation
,
19263 _swigt__p_wxMetaFileDC
,
19267 _swigt__p_wxWindow
,
19269 _swigt__p_wxMemoryDC
,
19270 _swigt__p_wxFontMapper
,
19271 _swigt__p_wxEffects
,
19272 _swigt__p_wxNativeEncodingInfo
,
19273 _swigt__p_wxPalette
,
19274 _swigt__p_wxBitmap
,
19275 _swigt__p_wxObject
,
19276 _swigt__p_wxRegionIterator
,
19278 _swigt__p_wxString
,
19279 _swigt__p_wxPrinterDC
,
19280 _swigt__p_wxIconBundle
,
19283 _swigt__p_wxScreenDC
,
19284 _swigt__p_wxCursor
,
19285 _swigt__p_wxClientDC
,
19286 _swigt__p_wxBufferedDC
,
19287 _swigt__p_wxImageList
,
19288 _swigt__p_unsigned_char
,
19289 _swigt__p_wxGDIObject
,
19291 _swigt__p_wxLocale
,
19292 _swigt__p_wxRegion
,
19293 _swigt__p_wxLanguageInfo
,
19294 _swigt__p_wxConfigBase
,
19295 _swigt__p_wxWindowDC
,
19296 _swigt__p_wxPrintData
,
19297 _swigt__p_wxBrushList
,
19298 _swigt__p_wxFontList
,
19300 _swigt__p_wxBufferedPaintDC
,
19301 _swigt__p_wxPaintDC
,
19302 _swigt__p_wxPenList
,
19304 _swigt__p_wxMetaFile
,
19305 _swigt__p_wxNativeFontInfo
,
19306 _swigt__p_wxEncodingConverter
,
19307 _swigt__p_wxColourDatabase
,
19312 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19314 static swig_const_info swig_const_table
[] = {
19324 SWIGEXPORT(void) SWIG_init(void) {
19325 static PyObject
*SWIG_globals
= 0;
19326 static int typeinit
= 0;
19329 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19330 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19331 d
= PyModule_GetDict(m
);
19334 for (i
= 0; swig_types_initial
[i
]; i
++) {
19335 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19339 SWIG_InstallConstants(d
,swig_const_table
);
19341 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19342 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19343 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19344 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19345 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19346 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19347 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19348 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19349 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19350 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19351 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19352 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19353 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19354 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19355 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19356 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19357 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19358 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19359 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19360 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19361 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19362 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19363 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19364 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19365 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19366 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19367 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19368 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19369 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19370 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19371 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19372 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19373 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19374 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19375 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19376 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19377 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19378 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19379 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19380 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19381 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19382 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19383 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19384 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19385 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19386 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19387 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19388 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19389 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19390 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19391 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19392 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19393 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19394 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19395 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19396 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19397 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19398 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19399 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19400 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19401 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19402 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19403 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19404 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19405 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19406 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19407 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19408 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19409 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19410 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19411 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19412 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19413 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19414 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19415 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19416 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19417 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19418 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19419 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19420 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19421 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19422 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19423 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19424 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19425 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19426 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19427 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19428 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19429 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19430 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19431 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19432 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19433 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19434 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19435 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19436 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19437 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19438 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19439 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19440 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19441 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19442 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19443 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19444 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19445 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19446 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19447 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19448 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19449 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19450 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19451 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19452 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19453 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19454 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19455 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19456 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19457 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19458 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19459 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19460 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19461 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19462 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19463 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19464 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19465 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19466 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19467 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19469 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19471 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19472 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19473 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19474 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19475 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19476 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19477 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19478 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19479 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19480 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19481 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19482 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19483 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19484 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19485 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19486 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19487 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19488 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19489 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19490 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19491 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19492 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19493 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19494 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19495 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19496 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19497 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19498 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19499 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19500 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19501 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19502 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19503 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19504 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19505 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19506 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19507 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19508 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19509 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19510 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19511 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19512 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19513 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19514 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19515 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19516 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19517 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19518 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19519 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19520 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19521 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19522 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19523 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19524 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19525 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19526 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19527 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19528 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19529 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19530 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19531 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19532 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19533 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19534 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19535 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19536 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19537 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19538 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19539 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19540 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19541 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19542 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19543 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19544 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19545 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19546 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19547 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19548 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19549 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19550 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19551 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19552 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19553 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19554 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19555 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19556 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19557 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19558 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19559 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19560 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19561 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19562 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19563 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19564 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19565 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19566 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19567 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19568 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19569 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19570 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19571 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19572 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19573 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19574 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19575 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19576 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19577 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19578 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19579 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19580 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19581 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19582 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19583 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19584 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19585 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19586 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19587 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19588 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19589 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19590 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19591 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19592 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19593 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19594 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19595 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19596 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19597 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19598 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19599 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19600 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19601 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19602 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19603 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19604 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19605 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19606 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19607 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19608 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19609 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19610 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19611 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19612 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19613 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19614 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19615 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19616 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19617 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19618 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19619 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19620 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19621 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19622 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19623 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19624 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19625 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19626 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19627 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19628 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19629 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19630 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19631 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19632 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19633 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19634 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19635 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19636 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19637 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19638 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19639 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19640 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19641 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19642 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19643 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19644 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19645 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19646 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19647 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19648 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19649 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19650 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19651 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19652 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19653 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19654 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19655 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19656 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19657 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19658 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19659 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19660 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19661 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19662 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19663 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19664 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19665 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19666 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19667 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19668 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19669 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19670 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19671 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19672 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19673 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19674 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19675 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19676 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19677 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19678 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19679 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19680 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19681 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19682 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19683 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19684 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19685 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19686 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19687 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19688 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19689 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19690 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19691 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19692 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19693 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19694 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19695 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19696 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19697 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19698 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19699 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19700 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19701 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19702 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19703 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19704 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19705 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19706 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19707 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19708 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19709 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19710 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19711 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19712 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19713 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19714 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19715 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19716 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19717 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19718 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19719 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19720 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19721 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19722 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19723 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19724 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19725 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19726 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19727 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19728 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19729 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19730 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19731 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19732 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19733 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19734 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19735 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19736 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19737 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19738 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19739 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19740 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19741 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19742 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19743 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19744 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19745 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19746 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19747 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19748 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19749 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19750 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19751 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19752 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19753 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19754 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19755 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19756 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19757 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19758 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19759 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19760 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19761 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19762 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19763 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19764 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19765 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19766 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19767 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19768 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19769 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19770 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19772 // Work around a chicken/egg problem in drawlist.cpp
19773 wxPyDrawList_SetAPIPtr();