1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxSize swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxWindow swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250 #define SWIGTYPE_p_wxConfigBase swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_int swig_types[50]
260 #define SWIGTYPE_p_wxMetaFile swig_types[51]
261 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
262 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
263 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
264 static swig_type_info
*swig_types
[56];
266 /* -------- TYPES TABLE (END) -------- */
269 /*-----------------------------------------------
271 ------------------------------------------------*/
272 #define SWIG_init init_gdi_
274 #define SWIG_name "_gdi_"
276 /* Auxiliar swig macros */
279 #define SWIGSTATICINLINE(a) static inline a
280 #define SWIGSTATIC(a) static a
281 #define swig_new_array(type, size) (new type[(size)])
282 #define swig_delete_array(cptr) delete[] cptr
283 #define swig_const_cast(type,a) const_cast<type>(a)
284 #define swig_static_cast(type,a) static_cast<type>(a)
285 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
287 #ifdef HAVE_NUMERIC_CAST
288 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
290 #define swig_numeric_cast(type,a) static_cast<type>(a)
295 #define SWIGSTATICINLINE(a) static a
296 #define SWIGSTATIC(a) static a
297 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
298 #define swig_delete_array(cptr) free((char*)cptr)
299 #define swig_const_cast(type,a) (type)(a)
300 #define swig_static_cast(type,a) (type)(a)
301 #define swig_reinterpret_cast(type,a) (type)(a)
302 #define swig_numeric_cast(type,a) (type)(a)
304 #endif /* __cplusplus */
307 #define SWIG_FromSignedChar PyInt_FromLong
308 #define SWIG_FromUnsignedChar PyInt_FromLong
309 #define SWIG_FromShort PyInt_FromLong
310 #define SWIG_FromUnsignedShort PyInt_FromLong
311 #define SWIG_FromInt PyInt_FromLong
312 #define SWIG_FromLong PyInt_FromLong
313 #define SWIG_FromFloat PyFloat_FromDouble
314 #define SWIG_FromDouble PyFloat_FromDouble
315 #define SWIG_FromFloat PyFloat_FromDouble
316 #define SWIG_FromDouble PyFloat_FromDouble
319 #include "wx/wxPython/wxPython.h"
320 #include "wx/wxPython/pyclasses.h"
323 static const wxString
wxPyEmptyString(wxEmptyString
);
325 SWIGSTATICINLINE(bool)
326 SWIG_AsBool(PyObject
*obj
)
328 return PyObject_IsTrue(obj
) ? true : false;
332 SWIGSTATICINLINE(int)
333 SWIG_CheckBool(PyObject
* obj
)
336 if (PyErr_Occurred()) {
348 SWIGSTATICINLINE(unsigned long)
349 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
350 unsigned long max_value
)
352 if (!PyErr_Occurred()) {
353 if (value
> max_value
) {
355 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
356 value
, type
, max_value
);
357 PyErr_SetObject(PyExc_OverflowError
, err
);
365 SWIGSTATICINLINE(long)
366 SWIG_AsLong(PyObject
* obj
)
368 if (PyNumber_Check(obj
))
369 return PyInt_AsLong(obj
);
371 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
372 obj
->ob_type
->tp_name
);
373 PyErr_SetObject(PyExc_TypeError
, errmsg
);
380 SWIGSTATICINLINE(unsigned long)
381 SWIG_AsUnsignedLong(PyObject
* obj
)
383 if (PyLong_Check(obj
)) {
384 return PyLong_AsUnsignedLong(obj
);
386 long i
= SWIG_AsLong(obj
);
387 if ( !PyErr_Occurred() && (i
< 0)) {
388 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
395 SWIGSTATICINLINE(unsigned char)
396 SWIG_AsUnsignedChar(PyObject
*obj
)
398 return swig_numeric_cast(unsigned char,
399 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
400 "unsigned char", UCHAR_MAX
));
404 SWIGSTATICINLINE(int)
405 SWIG_CheckUnsignedChar(PyObject
* obj
)
407 SWIG_AsUnsignedChar(obj
);
408 if (PyErr_Occurred()) {
417 SWIGSTATICINLINE(int)
418 SWIG_CheckUnsignedLong(PyObject
* obj
)
420 SWIG_AsUnsignedLong(obj
);
421 if (PyErr_Occurred()) {
429 PyObject
*wxColour_Get(wxColour
*self
){
430 PyObject
* rv
= PyTuple_New(3);
436 green
= self
->Green();
439 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
440 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
441 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
444 unsigned long wxColour_GetRGB(wxColour
*self
){
445 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
448 SWIGSTATICINLINE(PyObject
* )
449 SWIG_FromUnsignedLong(unsigned long value
)
451 return (value
> LONG_MAX
) ?
452 PyLong_FromUnsignedLong(value
)
453 : PyInt_FromLong(swig_numeric_cast(long,value
));
457 SWIGSTATICINLINE(long)
458 SWIG_CheckLongInRange(long value
, const char* type
,
459 long min_value
, long max_value
)
461 if (!PyErr_Occurred()) {
462 if (value
< min_value
) {
464 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
465 value
, type
, min_value
);
467 PyErr_SetObject(PyExc_OverflowError
, err
);
469 } else if (value
> max_value
) {
471 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
472 value
, type
, max_value
);
473 PyErr_SetObject(PyExc_OverflowError
, err
);
481 #if INT_MAX != LONG_MAX
482 SWIGSTATICINLINE(int)
483 SWIG_AsInt(PyObject
*obj
)
485 return swig_numeric_cast(int,
486 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
487 "int", INT_MIN
, INT_MAX
));
490 #define SWIG_AsInt SWIG_AsLong
494 SWIGSTATICINLINE(int)
495 SWIG_CheckInt(PyObject
* obj
)
498 if (PyErr_Occurred()) {
507 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
513 } else if (target
== Py_None
) {
517 if (!PyTuple_Check(target
)) {
519 target
= PyTuple_New(1);
520 PyTuple_SetItem(target
, 0, o2
);
523 PyTuple_SetItem(o3
, 0, o
);
526 target
= PySequence_Concat(o2
, o3
);
533 PyObject
*wxPen_GetDashes(wxPen
*self
){
535 int count
= self
->GetDashes(&dashes
);
536 bool blocked
= wxPyBeginBlockThreads();
537 PyObject
* retval
= PyList_New(0);
538 for (int x
=0; x
<count
; x
++) {
539 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
540 PyList_Append(retval
, pyint
);
543 wxPyEndBlockThreads(blocked
);
546 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
547 bool blocked
= wxPyBeginBlockThreads();
548 int size
= PyList_Size(pyDashes
);
549 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
551 // black magic warning! The array of wxDashes needs to exist as
552 // long as the pen does because wxPen does not copy the array. So
553 // stick a copy in a Python string object and attach it to _self,
554 // and then call SetDashes with a pointer to that array. Then
555 // when the Python pen object is destroyed the array will be
557 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
558 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
560 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
562 Py_DECREF(strDashes
);
563 wxPyEndBlockThreads(blocked
);
565 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
566 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
568 #include <wx/image.h>
570 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
571 char** cArray
= NULL
;
574 if (!PyList_Check(listOfStrings
)) {
575 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
578 count
= PyList_Size(listOfStrings
);
579 cArray
= new char*[count
];
581 for(int x
=0; x
<count
; x
++) {
582 // TODO: Need some validation and error checking here
583 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
589 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
590 char** cArray
= NULL
;
593 cArray
= ConvertListOfStrings(listOfStrings
);
596 bmp
= new wxBitmap(cArray
);
600 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
603 PyString_AsStringAndSize(bits
, &buf
, &length
);
604 return new wxBitmap(buf
, width
, height
, depth
);
606 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
607 wxSize
size(self
->GetWidth(), self
->GetHeight());
610 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
611 wxMask
*mask
= new wxMask(*self
, colour
);
614 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
615 self
->SetWidth(size
.x
);
616 self
->SetHeight(size
.y
);
618 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
619 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
620 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
622 return new wxMask(bitmap
, *wxBLACK
);
624 return new wxMask(bitmap
, colour
);
627 #include <wx/iconbndl.h>
629 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
630 wxIcon
* icon
= new wxIcon();
631 icon
->CopyFromBitmap(bmp
);
634 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
635 char** cArray
= NULL
;
638 cArray
= ConvertListOfStrings(listOfStrings
);
641 icon
= new wxIcon(cArray
);
645 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
649 return new wxIconLocation(*filename
);
652 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
659 int wxIconLocation_GetIndex(wxIconLocation
*self
){
667 SWIGSTATICINLINE(int)
668 SWIG_CheckLong(PyObject
* obj
)
671 if (PyErr_Occurred()) {
679 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
681 wxCHECK_MSG(False
, NULL
,
682 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
684 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
689 void wxRegionIterator_Next(wxRegionIterator
*self
){
692 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
693 return self
->operator bool();
696 #include <wx/fontutil.h>
697 #include <wx/fontmap.h>
698 #include <wx/fontenum.h>
700 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
701 return self
->ToString();
704 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
705 static wxNativeEncodingInfo info
;
706 if ( wxGetNativeFontEncoding(encoding
, &info
) )
712 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
713 wxFontEncoding alt_enc
;
714 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
715 return PyInt_FromLong(alt_enc
);
721 wxFont
*new_wxFont(wxString
const &info
){
722 wxNativeFontInfo nfi
;
723 nfi
.FromString(info
);
724 return new wxFont(nfi
);
726 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
727 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
729 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
730 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
732 class wxPyFontEnumerator
: public wxFontEnumerator
{
734 wxPyFontEnumerator() {}
735 ~wxPyFontEnumerator() {}
737 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
738 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
743 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
744 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
747 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
748 wxArrayString
* arr
= self
->GetEncodings();
749 return wxArrayString2PyList_helper(*arr
);
751 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
752 wxArrayString
* arr
= self
->GetFacenames();
753 return wxArrayString2PyList_helper(*arr
);
757 wxLocale
*new_wxLocale(int language
,int flags
){
759 return new wxLocale();
761 return new wxLocale(language
, flags
);
764 #include "wx/wxPython/pydrawxxx.h"
766 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
768 self
->GetPixel(x
, y
, &col
);
771 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
773 self
->GetPixel(pt
, &col
);
777 SWIGSTATICINLINE(double)
778 SWIG_AsDouble(PyObject
*obj
)
780 if (PyNumber_Check(obj
))
781 return PyFloat_AsDouble(obj
);
783 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
784 obj
->ob_type
->tp_name
);
785 PyErr_SetObject(PyExc_TypeError
, errmsg
);
792 SWIGSTATICINLINE(int)
793 SWIG_CheckDouble(PyObject
* obj
)
796 if (PyErr_Occurred()) {
804 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
806 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
809 wxRect
wxDC_GetClippingRect(wxDC
*self
){
811 self
->GetClippingBox(rect
);
814 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
816 self
->GetPartialTextExtents(text
, widths
);
819 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
820 self
->SetLogicalOrigin(point
.x
, point
.y
);
822 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
823 self
->SetDeviceOrigin(point
.x
, point
.y
);
825 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
826 self
->CalcBoundingBox(point
.x
, point
.y
);
828 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
829 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
831 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
832 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
834 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
835 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
837 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
838 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
840 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
841 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
843 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
844 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
847 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
855 #include <wx/dcbuffer.h>
861 class wxMetaFile
: public wxObject
{
863 wxMetaFile(const wxString
&)
864 { wxPyRaiseNotImplemented(); }
867 class wxMetaFileDC
: public wxClientDC
{
869 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
870 { wxPyRaiseNotImplemented(); }
875 class wxPrinterDC
: public wxClientDC
{
877 wxPrinterDC(const wxPrintData
&)
878 { wxPyRaiseNotImplemented(); }
880 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
881 // { wxPyRaiseNotImplemented(); }
886 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
887 self
->AddColour(name
, wxColour(red
, green
, blue
));
890 #include <wx/effects.h>
895 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
905 result
= (wxGDIObject
*)new wxGDIObject();
907 wxPyEndAllowThreads(__tstate
);
908 if (PyErr_Occurred()) SWIG_fail
;
910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
917 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
919 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
920 PyObject
* obj0
= 0 ;
922 (char *) "self", NULL
925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
932 wxPyEndAllowThreads(__tstate
);
933 if (PyErr_Occurred()) SWIG_fail
;
935 Py_INCREF(Py_None
); resultobj
= Py_None
;
942 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
946 PyObject
* obj0
= 0 ;
948 (char *) "self", NULL
951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
956 result
= (bool)(arg1
)->GetVisible();
958 wxPyEndAllowThreads(__tstate
);
959 if (PyErr_Occurred()) SWIG_fail
;
962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
970 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
974 PyObject
* obj0
= 0 ;
975 PyObject
* obj1
= 0 ;
977 (char *) "self",(char *) "visible", NULL
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
983 arg2
= (bool) SWIG_AsBool(obj1
);
984 if (PyErr_Occurred()) SWIG_fail
;
986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
987 (arg1
)->SetVisible(arg2
);
989 wxPyEndAllowThreads(__tstate
);
990 if (PyErr_Occurred()) SWIG_fail
;
992 Py_INCREF(Py_None
); resultobj
= Py_None
;
999 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
*resultobj
;
1001 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1003 PyObject
* obj0
= 0 ;
1005 (char *) "self", NULL
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1013 result
= (bool)(arg1
)->IsNull();
1015 wxPyEndAllowThreads(__tstate
);
1016 if (PyErr_Occurred()) SWIG_fail
;
1019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1027 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1030 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1032 return Py_BuildValue((char *)"");
1034 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
*resultobj
;
1036 byte arg1
= (byte
) 0 ;
1037 byte arg2
= (byte
) 0 ;
1038 byte arg3
= (byte
) 0 ;
1040 PyObject
* obj0
= 0 ;
1041 PyObject
* obj1
= 0 ;
1042 PyObject
* obj2
= 0 ;
1044 (char *) "red",(char *) "green",(char *) "blue", NULL
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1049 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1050 if (PyErr_Occurred()) SWIG_fail
;
1053 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1054 if (PyErr_Occurred()) SWIG_fail
;
1057 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1058 if (PyErr_Occurred()) SWIG_fail
;
1061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1062 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1064 wxPyEndAllowThreads(__tstate
);
1065 if (PyErr_Occurred()) SWIG_fail
;
1067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1074 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1075 PyObject
*resultobj
;
1076 wxString
*arg1
= 0 ;
1078 bool temp1
= False
;
1079 PyObject
* obj0
= 0 ;
1081 (char *) "colorName", NULL
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1086 arg1
= wxString_in_helper(obj0
);
1087 if (arg1
== NULL
) SWIG_fail
;
1091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1092 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1094 wxPyEndAllowThreads(__tstate
);
1095 if (PyErr_Occurred()) SWIG_fail
;
1097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1112 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
*resultobj
;
1114 unsigned long arg1
;
1116 PyObject
* obj0
= 0 ;
1118 (char *) "colRGB", NULL
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1122 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1123 if (PyErr_Occurred()) SWIG_fail
;
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 result
= (wxColour
*)new wxColour(arg1
);
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1138 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
*resultobj
;
1140 wxColour
*arg1
= (wxColour
*) 0 ;
1141 PyObject
* obj0
= 0 ;
1143 (char *) "self", NULL
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1153 wxPyEndAllowThreads(__tstate
);
1154 if (PyErr_Occurred()) SWIG_fail
;
1156 Py_INCREF(Py_None
); resultobj
= Py_None
;
1163 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
*resultobj
;
1165 wxColour
*arg1
= (wxColour
*) 0 ;
1167 PyObject
* obj0
= 0 ;
1169 (char *) "self", NULL
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1177 result
= (byte
)(arg1
)->Red();
1179 wxPyEndAllowThreads(__tstate
);
1180 if (PyErr_Occurred()) SWIG_fail
;
1182 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1189 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
*resultobj
;
1191 wxColour
*arg1
= (wxColour
*) 0 ;
1193 PyObject
* obj0
= 0 ;
1195 (char *) "self", NULL
1198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1203 result
= (byte
)(arg1
)->Green();
1205 wxPyEndAllowThreads(__tstate
);
1206 if (PyErr_Occurred()) SWIG_fail
;
1208 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1215 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
*resultobj
;
1217 wxColour
*arg1
= (wxColour
*) 0 ;
1219 PyObject
* obj0
= 0 ;
1221 (char *) "self", NULL
1224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1229 result
= (byte
)(arg1
)->Blue();
1231 wxPyEndAllowThreads(__tstate
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1234 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1241 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
*resultobj
;
1243 wxColour
*arg1
= (wxColour
*) 0 ;
1245 PyObject
* obj0
= 0 ;
1247 (char *) "self", NULL
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1255 result
= (bool)(arg1
)->Ok();
1257 wxPyEndAllowThreads(__tstate
);
1258 if (PyErr_Occurred()) SWIG_fail
;
1261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1269 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
*resultobj
;
1271 wxColour
*arg1
= (wxColour
*) 0 ;
1275 PyObject
* obj0
= 0 ;
1276 PyObject
* obj1
= 0 ;
1277 PyObject
* obj2
= 0 ;
1278 PyObject
* obj3
= 0 ;
1280 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1286 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1287 if (PyErr_Occurred()) SWIG_fail
;
1288 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1289 if (PyErr_Occurred()) SWIG_fail
;
1290 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1291 if (PyErr_Occurred()) SWIG_fail
;
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 (arg1
)->Set(arg2
,arg3
,arg4
);
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1299 Py_INCREF(Py_None
); resultobj
= Py_None
;
1306 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1307 PyObject
*resultobj
;
1308 wxColour
*arg1
= (wxColour
*) 0 ;
1309 unsigned long arg2
;
1310 PyObject
* obj0
= 0 ;
1311 PyObject
* obj1
= 0 ;
1313 (char *) "self",(char *) "colRGB", NULL
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1319 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1320 if (PyErr_Occurred()) SWIG_fail
;
1322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 wxPyEndAllowThreads(__tstate
);
1326 if (PyErr_Occurred()) SWIG_fail
;
1328 Py_INCREF(Py_None
); resultobj
= Py_None
;
1335 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
*resultobj
;
1337 wxColour
*arg1
= (wxColour
*) 0 ;
1338 wxString
*arg2
= 0 ;
1339 bool temp2
= False
;
1340 PyObject
* obj0
= 0 ;
1341 PyObject
* obj1
= 0 ;
1343 (char *) "self",(char *) "colourName", NULL
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1350 arg2
= wxString_in_helper(obj1
);
1351 if (arg2
== NULL
) SWIG_fail
;
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 (arg1
)->InitFromName((wxString
const &)*arg2
);
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) SWIG_fail
;
1361 Py_INCREF(Py_None
); resultobj
= Py_None
;
1376 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
*resultobj
;
1378 wxColour
*arg1
= (wxColour
*) 0 ;
1380 PyObject
* obj0
= 0 ;
1382 (char *) "self", NULL
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1390 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1392 wxPyEndAllowThreads(__tstate
);
1393 if (PyErr_Occurred()) SWIG_fail
;
1395 resultobj
= SWIG_FromLong((long)result
);
1402 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
*resultobj
;
1404 wxColour
*arg1
= (wxColour
*) 0 ;
1405 wxColour
*arg2
= 0 ;
1408 PyObject
* obj0
= 0 ;
1409 PyObject
* obj1
= 0 ;
1411 (char *) "self",(char *) "colour", NULL
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1419 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) SWIG_fail
;
1429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1437 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
*resultobj
;
1439 wxColour
*arg1
= (wxColour
*) 0 ;
1440 wxColour
*arg2
= 0 ;
1443 PyObject
* obj0
= 0 ;
1444 PyObject
* obj1
= 0 ;
1446 (char *) "self",(char *) "colour", NULL
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1454 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) SWIG_fail
;
1464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1472 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
*resultobj
;
1474 wxColour
*arg1
= (wxColour
*) 0 ;
1476 PyObject
* obj0
= 0 ;
1478 (char *) "self", NULL
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1486 result
= (PyObject
*)wxColour_Get(arg1
);
1488 wxPyEndAllowThreads(__tstate
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1498 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
*resultobj
;
1500 wxColour
*arg1
= (wxColour
*) 0 ;
1501 unsigned long result
;
1502 PyObject
* obj0
= 0 ;
1504 (char *) "self", NULL
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1512 result
= (unsigned long)wxColour_GetRGB(arg1
);
1514 wxPyEndAllowThreads(__tstate
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1517 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1524 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1527 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1529 return Py_BuildValue((char *)"");
1531 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
*resultobj
;
1534 unsigned char *arg2
= (unsigned char *) 0 ;
1535 unsigned char *arg3
= (unsigned char *) 0 ;
1536 unsigned char *arg4
= (unsigned char *) 0 ;
1538 PyObject
* obj0
= 0 ;
1539 PyObject
* obj1
= 0 ;
1540 PyObject
* obj2
= 0 ;
1541 PyObject
* obj3
= 0 ;
1543 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1547 arg1
= (int) SWIG_AsInt(obj0
);
1548 if (PyErr_Occurred()) SWIG_fail
;
1549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1551 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1553 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1557 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1559 wxPyEndAllowThreads(__tstate
);
1560 if (PyErr_Occurred()) SWIG_fail
;
1562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1569 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
*resultobj
;
1571 wxPalette
*arg1
= (wxPalette
*) 0 ;
1572 PyObject
* obj0
= 0 ;
1574 (char *) "self", NULL
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1587 Py_INCREF(Py_None
); resultobj
= Py_None
;
1594 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
*resultobj
;
1596 wxPalette
*arg1
= (wxPalette
*) 0 ;
1601 PyObject
* obj0
= 0 ;
1602 PyObject
* obj1
= 0 ;
1603 PyObject
* obj2
= 0 ;
1604 PyObject
* obj3
= 0 ;
1606 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1612 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1614 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1615 if (PyErr_Occurred()) SWIG_fail
;
1616 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1617 if (PyErr_Occurred()) SWIG_fail
;
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1625 resultobj
= SWIG_FromInt((int)result
);
1632 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
*resultobj
;
1634 wxPalette
*arg1
= (wxPalette
*) 0 ;
1636 byte
*arg3
= (byte
*) 0 ;
1637 byte
*arg4
= (byte
*) 0 ;
1638 byte
*arg5
= (byte
*) 0 ;
1643 PyObject
* obj0
= 0 ;
1644 PyObject
* obj1
= 0 ;
1646 (char *) "self",(char *) "pixel", NULL
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1655 arg2
= (int) SWIG_AsInt(obj1
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) SWIG_fail
;
1665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1668 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1669 resultobj
= t_output_helper(resultobj
,o
);
1672 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1673 resultobj
= t_output_helper(resultobj
,o
);
1676 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1677 resultobj
= t_output_helper(resultobj
,o
);
1685 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
*resultobj
;
1687 wxPalette
*arg1
= (wxPalette
*) 0 ;
1689 PyObject
* obj0
= 0 ;
1691 (char *) "self", NULL
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 result
= (bool)(arg1
)->Ok();
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1713 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1716 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1718 return Py_BuildValue((char *)"");
1720 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
*resultobj
;
1722 wxColour
*arg1
= 0 ;
1723 int arg2
= (int) 1 ;
1724 int arg3
= (int) wxSOLID
;
1727 PyObject
* obj0
= 0 ;
1728 PyObject
* obj1
= 0 ;
1729 PyObject
* obj2
= 0 ;
1731 (char *) "colour",(char *) "width",(char *) "style", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1737 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1740 arg2
= (int) SWIG_AsInt(obj1
);
1741 if (PyErr_Occurred()) SWIG_fail
;
1744 arg3
= (int) SWIG_AsInt(obj2
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1761 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 wxPen
*arg1
= (wxPen
*) 0 ;
1764 PyObject
* obj0
= 0 ;
1766 (char *) "self", NULL
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1779 Py_INCREF(Py_None
); resultobj
= Py_None
;
1786 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
*resultobj
;
1788 wxPen
*arg1
= (wxPen
*) 0 ;
1790 PyObject
* obj0
= 0 ;
1792 (char *) "self", NULL
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 result
= (int)(arg1
)->GetCap();
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1805 resultobj
= SWIG_FromInt((int)result
);
1812 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
*resultobj
;
1814 wxPen
*arg1
= (wxPen
*) 0 ;
1816 PyObject
* obj0
= 0 ;
1818 (char *) "self", NULL
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1826 result
= (arg1
)->GetColour();
1828 wxPyEndAllowThreads(__tstate
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1832 wxColour
* resultptr
;
1833 resultptr
= new wxColour((wxColour
&) result
);
1834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1842 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
*resultobj
;
1844 wxPen
*arg1
= (wxPen
*) 0 ;
1846 PyObject
* obj0
= 0 ;
1848 (char *) "self", NULL
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 result
= (int)(arg1
)->GetJoin();
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) SWIG_fail
;
1861 resultobj
= SWIG_FromInt((int)result
);
1868 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxPen
*arg1
= (wxPen
*) 0 ;
1872 PyObject
* obj0
= 0 ;
1874 (char *) "self", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 result
= (int)(arg1
)->GetStyle();
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) SWIG_fail
;
1887 resultobj
= SWIG_FromInt((int)result
);
1894 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
*resultobj
;
1896 wxPen
*arg1
= (wxPen
*) 0 ;
1898 PyObject
* obj0
= 0 ;
1900 (char *) "self", NULL
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1908 result
= (int)(arg1
)->GetWidth();
1910 wxPyEndAllowThreads(__tstate
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1913 resultobj
= SWIG_FromInt((int)result
);
1920 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
*resultobj
;
1922 wxPen
*arg1
= (wxPen
*) 0 ;
1924 PyObject
* obj0
= 0 ;
1926 (char *) "self", NULL
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1934 result
= (bool)(arg1
)->Ok();
1936 wxPyEndAllowThreads(__tstate
);
1937 if (PyErr_Occurred()) SWIG_fail
;
1940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1948 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
*resultobj
;
1950 wxPen
*arg1
= (wxPen
*) 0 ;
1952 PyObject
* obj0
= 0 ;
1953 PyObject
* obj1
= 0 ;
1955 (char *) "self",(char *) "cap_style", NULL
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1961 arg2
= (int) SWIG_AsInt(obj1
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 (arg1
)->SetCap(arg2
);
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1970 Py_INCREF(Py_None
); resultobj
= Py_None
;
1977 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1979 wxPen
*arg1
= (wxPen
*) 0 ;
1980 wxColour
*arg2
= 0 ;
1982 PyObject
* obj0
= 0 ;
1983 PyObject
* obj1
= 0 ;
1985 (char *) "self",(char *) "colour", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1993 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 (arg1
)->SetColour(*arg2
);
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) SWIG_fail
;
2002 Py_INCREF(Py_None
); resultobj
= Py_None
;
2009 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
*resultobj
;
2011 wxPen
*arg1
= (wxPen
*) 0 ;
2013 PyObject
* obj0
= 0 ;
2014 PyObject
* obj1
= 0 ;
2016 (char *) "self",(char *) "join_style", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2022 arg2
= (int) SWIG_AsInt(obj1
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 (arg1
)->SetJoin(arg2
);
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2031 Py_INCREF(Py_None
); resultobj
= Py_None
;
2038 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 wxPen
*arg1
= (wxPen
*) 0 ;
2042 PyObject
* obj0
= 0 ;
2043 PyObject
* obj1
= 0 ;
2045 (char *) "self",(char *) "style", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2051 arg2
= (int) SWIG_AsInt(obj1
);
2052 if (PyErr_Occurred()) SWIG_fail
;
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 (arg1
)->SetStyle(arg2
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2060 Py_INCREF(Py_None
); resultobj
= Py_None
;
2067 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
*resultobj
;
2069 wxPen
*arg1
= (wxPen
*) 0 ;
2071 PyObject
* obj0
= 0 ;
2072 PyObject
* obj1
= 0 ;
2074 (char *) "self",(char *) "width", NULL
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2080 arg2
= (int) SWIG_AsInt(obj1
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 (arg1
)->SetWidth(arg2
);
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2089 Py_INCREF(Py_None
); resultobj
= Py_None
;
2096 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2098 wxPen
*arg1
= (wxPen
*) 0 ;
2100 wxDash
*arg3
= (wxDash
*) 0 ;
2101 PyObject
* obj0
= 0 ;
2102 PyObject
* obj1
= 0 ;
2104 (char *) "self",(char *) "dashes", NULL
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2111 arg2
= PyList_Size(obj1
);
2112 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2113 if (arg3
== NULL
) SWIG_fail
;
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 (arg1
)->SetDashes(arg2
,arg3
);
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) SWIG_fail
;
2122 Py_INCREF(Py_None
); resultobj
= Py_None
;
2124 if (arg3
) delete [] arg3
;
2129 if (arg3
) delete [] arg3
;
2135 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
*resultobj
;
2137 wxPen
*arg1
= (wxPen
*) 0 ;
2139 PyObject
* obj0
= 0 ;
2141 (char *) "self", NULL
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) SWIG_fail
;
2161 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
*resultobj
;
2163 wxPen
*arg1
= (wxPen
*) 0 ;
2164 PyObject
*arg2
= (PyObject
*) 0 ;
2165 PyObject
*arg3
= (PyObject
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2167 PyObject
* obj1
= 0 ;
2168 PyObject
* obj2
= 0 ;
2170 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 wxPen__SetDashes(arg1
,arg2
,arg3
);
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) SWIG_fail
;
2185 Py_INCREF(Py_None
); resultobj
= Py_None
;
2192 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
*resultobj
;
2194 wxPen
*arg1
= (wxPen
*) 0 ;
2196 PyObject
* obj0
= 0 ;
2198 (char *) "self", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2206 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2208 wxPyEndAllowThreads(__tstate
);
2209 if (PyErr_Occurred()) SWIG_fail
;
2211 resultobj
= SWIG_FromInt((int)result
);
2218 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
*resultobj
;
2220 wxPen
*arg1
= (wxPen
*) 0 ;
2221 wxPen
*arg2
= (wxPen
*) 0 ;
2223 PyObject
* obj0
= 0 ;
2224 PyObject
* obj1
= 0 ;
2226 (char *) "self",(char *) "other", NULL
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2250 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxPen
*arg1
= (wxPen
*) 0 ;
2253 wxPen
*arg2
= (wxPen
*) 0 ;
2255 PyObject
* obj0
= 0 ;
2256 PyObject
* obj1
= 0 ;
2258 (char *) "self",(char *) "other", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2270 wxPyEndAllowThreads(__tstate
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2282 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2285 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2287 return Py_BuildValue((char *)"");
2289 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
*resultobj
;
2291 wxColour
*arg1
= 0 ;
2292 int arg2
= (int) wxSOLID
;
2295 PyObject
* obj0
= 0 ;
2296 PyObject
* obj1
= 0 ;
2298 (char *) "colour",(char *) "style", NULL
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2304 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2307 arg2
= (int) SWIG_AsInt(obj1
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2324 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2326 wxBrush
*arg1
= (wxBrush
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2329 (char *) "self", NULL
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 Py_INCREF(Py_None
); resultobj
= Py_None
;
2349 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 wxBrush
*arg1
= (wxBrush
*) 0 ;
2352 wxColour
*arg2
= 0 ;
2354 PyObject
* obj0
= 0 ;
2355 PyObject
* obj1
= 0 ;
2357 (char *) "self",(char *) "col", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 (arg1
)->SetColour((wxColour
const &)*arg2
);
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2374 Py_INCREF(Py_None
); resultobj
= Py_None
;
2381 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2383 wxBrush
*arg1
= (wxBrush
*) 0 ;
2385 PyObject
* obj0
= 0 ;
2386 PyObject
* obj1
= 0 ;
2388 (char *) "self",(char *) "style", NULL
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2394 arg2
= (int) SWIG_AsInt(obj1
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 (arg1
)->SetStyle(arg2
);
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2403 Py_INCREF(Py_None
); resultobj
= Py_None
;
2410 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
*resultobj
;
2412 wxBrush
*arg1
= (wxBrush
*) 0 ;
2413 wxBitmap
*arg2
= 0 ;
2414 PyObject
* obj0
= 0 ;
2415 PyObject
* obj1
= 0 ;
2417 (char *) "self",(char *) "stipple", NULL
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2427 PyErr_SetString(PyExc_TypeError
,"null reference");
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2437 Py_INCREF(Py_None
); resultobj
= Py_None
;
2444 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxBrush
*arg1
= (wxBrush
*) 0 ;
2448 PyObject
* obj0
= 0 ;
2450 (char *) "self", NULL
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 result
= ((wxBrush
const *)arg1
)->GetColour();
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2464 wxColour
* resultptr
;
2465 resultptr
= new wxColour((wxColour
&) result
);
2466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2474 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
*resultobj
;
2476 wxBrush
*arg1
= (wxBrush
*) 0 ;
2478 PyObject
* obj0
= 0 ;
2480 (char *) "self", NULL
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) SWIG_fail
;
2493 resultobj
= SWIG_FromInt((int)result
);
2500 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
*resultobj
;
2502 wxBrush
*arg1
= (wxBrush
*) 0 ;
2504 PyObject
* obj0
= 0 ;
2506 (char *) "self", NULL
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2526 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxBrush
*arg1
= (wxBrush
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2532 (char *) "self", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 result
= (bool)(arg1
)->Ok();
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2554 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2557 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2559 return Py_BuildValue((char *)"");
2561 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2563 wxString
*arg1
= 0 ;
2564 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2566 bool temp1
= False
;
2567 PyObject
* obj0
= 0 ;
2568 PyObject
* obj1
= 0 ;
2570 (char *) "name",(char *) "type", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2575 arg1
= wxString_in_helper(obj0
);
2576 if (arg1
== NULL
) SWIG_fail
;
2580 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2605 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2607 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2608 PyObject
* obj0
= 0 ;
2610 (char *) "self", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2623 Py_INCREF(Py_None
); resultobj
= Py_None
;
2630 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2634 int arg3
= (int) -1 ;
2636 PyObject
* obj0
= 0 ;
2637 PyObject
* obj1
= 0 ;
2638 PyObject
* obj2
= 0 ;
2640 (char *) "width",(char *) "height",(char *) "depth", NULL
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2644 arg1
= (int) SWIG_AsInt(obj0
);
2645 if (PyErr_Occurred()) SWIG_fail
;
2646 arg2
= (int) SWIG_AsInt(obj1
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2649 arg3
= (int) SWIG_AsInt(obj2
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2666 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2670 PyObject
* obj0
= 0 ;
2672 (char *) "icon", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2680 PyErr_SetString(PyExc_TypeError
,"null reference");
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2697 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2700 int arg2
= (int) -1 ;
2702 PyObject
* obj0
= 0 ;
2703 PyObject
* obj1
= 0 ;
2705 (char *) "image",(char *) "depth", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2713 PyErr_SetString(PyExc_TypeError
,"null reference");
2717 arg2
= (int) SWIG_AsInt(obj1
);
2718 if (PyErr_Occurred()) SWIG_fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2734 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2736 PyObject
*arg1
= (PyObject
*) 0 ;
2738 PyObject
* obj0
= 0 ;
2740 (char *) "listOfStrings", NULL
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2759 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 PyObject
*arg1
= (PyObject
*) 0 ;
2764 int arg4
= (int) 1 ;
2766 PyObject
* obj0
= 0 ;
2767 PyObject
* obj1
= 0 ;
2768 PyObject
* obj2
= 0 ;
2769 PyObject
* obj3
= 0 ;
2771 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2776 arg2
= (int) SWIG_AsInt(obj1
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2778 arg3
= (int) SWIG_AsInt(obj2
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2781 arg4
= (int) SWIG_AsInt(obj3
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2786 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2788 wxPyEndAllowThreads(__tstate
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2798 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
;
2800 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2802 PyObject
* obj0
= 0 ;
2804 (char *) "self", NULL
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= (bool)(arg1
)->Ok();
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2826 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2830 PyObject
* obj0
= 0 ;
2832 (char *) "self", NULL
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 result
= (int)(arg1
)->GetWidth();
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 resultobj
= SWIG_FromInt((int)result
);
2852 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2856 PyObject
* obj0
= 0 ;
2858 (char *) "self", NULL
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (int)(arg1
)->GetHeight();
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 resultobj
= SWIG_FromInt((int)result
);
2878 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2882 PyObject
* obj0
= 0 ;
2884 (char *) "self", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 result
= (int)(arg1
)->GetDepth();
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2897 resultobj
= SWIG_FromInt((int)result
);
2904 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2908 PyObject
* obj0
= 0 ;
2910 (char *) "self", NULL
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
2914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 result
= wxBitmap_GetSize(arg1
);
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2925 resultptr
= new wxSize((wxSize
&) result
);
2926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2934 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2937 SwigValueWrapper
< wxImage
> result
;
2938 PyObject
* obj0
= 0 ;
2940 (char *) "self", NULL
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2954 wxImage
* resultptr
;
2955 resultptr
= new wxImage((wxImage
&) result
);
2956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
2964 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2968 PyObject
* obj0
= 0 ;
2970 (char *) "self", NULL
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
2990 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
*resultobj
;
2992 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2993 wxMask
*arg2
= (wxMask
*) 0 ;
2994 PyObject
* obj0
= 0 ;
2995 PyObject
* obj1
= 0 ;
2997 (char *) "self",(char *) "mask", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3007 (arg1
)->SetMask(arg2
);
3009 wxPyEndAllowThreads(__tstate
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3012 Py_INCREF(Py_None
); resultobj
= Py_None
;
3019 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
*resultobj
;
3021 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3022 wxColour
*arg2
= 0 ;
3024 PyObject
* obj0
= 0 ;
3025 PyObject
* obj1
= 0 ;
3027 (char *) "self",(char *) "colour", NULL
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3035 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 Py_INCREF(Py_None
); resultobj
= Py_None
;
3051 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3055 SwigValueWrapper
< wxBitmap
> result
;
3057 PyObject
* obj0
= 0 ;
3058 PyObject
* obj1
= 0 ;
3060 (char *) "self",(char *) "rect", NULL
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3068 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3078 wxBitmap
* resultptr
;
3079 resultptr
= new wxBitmap((wxBitmap
&) result
);
3080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3088 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
*resultobj
;
3090 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3091 wxString
*arg2
= 0 ;
3093 wxPalette
*arg4
= (wxPalette
*) NULL
;
3095 bool temp2
= False
;
3096 PyObject
* obj0
= 0 ;
3097 PyObject
* obj1
= 0 ;
3098 PyObject
* obj2
= 0 ;
3099 PyObject
* obj3
= 0 ;
3101 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3108 arg2
= wxString_in_helper(obj1
);
3109 if (arg2
== NULL
) SWIG_fail
;
3112 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3115 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3142 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
*resultobj
;
3144 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3145 wxString
*arg2
= 0 ;
3148 bool temp2
= False
;
3149 PyObject
* obj0
= 0 ;
3150 PyObject
* obj1
= 0 ;
3151 PyObject
* obj2
= 0 ;
3153 (char *) "self",(char *) "name",(char *) "type", NULL
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3160 arg2
= wxString_in_helper(obj1
);
3161 if (arg2
== NULL
) SWIG_fail
;
3164 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3190 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3195 PyObject
* obj0
= 0 ;
3196 PyObject
* obj1
= 0 ;
3198 (char *) "self",(char *) "icon", NULL
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3208 PyErr_SetString(PyExc_TypeError
,"null reference");
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3227 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3231 PyObject
* obj0
= 0 ;
3232 PyObject
* obj1
= 0 ;
3234 (char *) "self",(char *) "height", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3240 arg2
= (int) SWIG_AsInt(obj1
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 (arg1
)->SetHeight(arg2
);
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 Py_INCREF(Py_None
); resultobj
= Py_None
;
3256 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
*resultobj
;
3258 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3260 PyObject
* obj0
= 0 ;
3261 PyObject
* obj1
= 0 ;
3263 (char *) "self",(char *) "width", NULL
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3269 arg2
= (int) SWIG_AsInt(obj1
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 (arg1
)->SetWidth(arg2
);
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3278 Py_INCREF(Py_None
); resultobj
= Py_None
;
3285 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
*resultobj
;
3287 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3289 PyObject
* obj0
= 0 ;
3290 PyObject
* obj1
= 0 ;
3292 (char *) "self",(char *) "depth", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3298 arg2
= (int) SWIG_AsInt(obj1
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 (arg1
)->SetDepth(arg2
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 Py_INCREF(Py_None
); resultobj
= Py_None
;
3314 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
*resultobj
;
3316 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3320 PyObject
* obj1
= 0 ;
3322 (char *) "self",(char *) "size", NULL
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3330 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 Py_INCREF(Py_None
); resultobj
= Py_None
;
3346 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
*resultobj
;
3348 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3349 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3351 PyObject
* obj0
= 0 ;
3352 PyObject
* obj1
= 0 ;
3354 (char *) "self",(char *) "other", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3378 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
;
3380 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3381 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3383 PyObject
* obj0
= 0 ;
3384 PyObject
* obj1
= 0 ;
3386 (char *) "self",(char *) "other", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3410 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3413 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3415 return Py_BuildValue((char *)"");
3417 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxBitmap
*arg1
= 0 ;
3420 wxColour
const &arg2_defvalue
= wxNullColour
;
3421 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3424 PyObject
* obj0
= 0 ;
3425 PyObject
* obj1
= 0 ;
3427 (char *) "bitmap",(char *) "colour", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3435 PyErr_SetString(PyExc_TypeError
,"null reference");
3441 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3458 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3461 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3463 return Py_BuildValue((char *)"");
3465 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
*resultobj
;
3467 wxString
*arg1
= 0 ;
3469 int arg3
= (int) -1 ;
3470 int arg4
= (int) -1 ;
3472 bool temp1
= False
;
3473 PyObject
* obj0
= 0 ;
3474 PyObject
* obj1
= 0 ;
3475 PyObject
* obj2
= 0 ;
3476 PyObject
* obj3
= 0 ;
3478 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3483 arg1
= wxString_in_helper(obj0
);
3484 if (arg1
== NULL
) SWIG_fail
;
3487 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3490 arg3
= (int) SWIG_AsInt(obj2
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3494 arg4
= (int) SWIG_AsInt(obj3
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3519 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxIcon
*arg1
= (wxIcon
*) 0 ;
3522 PyObject
* obj0
= 0 ;
3524 (char *) "self", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3537 Py_INCREF(Py_None
); resultobj
= Py_None
;
3544 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 result
= (wxIcon
*)new wxIcon();
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3566 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3568 wxIconLocation
*arg1
= 0 ;
3570 PyObject
* obj0
= 0 ;
3572 (char *) "loc", NULL
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3580 PyErr_SetString(PyExc_TypeError
,"null reference");
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3597 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxBitmap
*arg1
= 0 ;
3601 PyObject
* obj0
= 0 ;
3603 (char *) "bmp", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3611 PyErr_SetString(PyExc_TypeError
,"null reference");
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3628 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 PyObject
*arg1
= (PyObject
*) 0 ;
3632 PyObject
* obj0
= 0 ;
3634 (char *) "listOfStrings", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= (wxIcon
*)new_wxIcon(arg1
);
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3653 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3655 wxIcon
*arg1
= (wxIcon
*) 0 ;
3656 wxString
*arg2
= 0 ;
3659 bool temp2
= False
;
3660 PyObject
* obj0
= 0 ;
3661 PyObject
* obj1
= 0 ;
3662 PyObject
* obj2
= 0 ;
3664 (char *) "self",(char *) "name",(char *) "type", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3671 arg2
= wxString_in_helper(obj1
);
3672 if (arg2
== NULL
) SWIG_fail
;
3675 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3701 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3703 wxIcon
*arg1
= (wxIcon
*) 0 ;
3705 PyObject
* obj0
= 0 ;
3707 (char *) "self", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 result
= (bool)(arg1
)->Ok();
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3729 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3731 wxIcon
*arg1
= (wxIcon
*) 0 ;
3733 PyObject
* obj0
= 0 ;
3735 (char *) "self", NULL
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 result
= (int)(arg1
)->GetWidth();
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3748 resultobj
= SWIG_FromInt((int)result
);
3755 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
;
3757 wxIcon
*arg1
= (wxIcon
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3761 (char *) "self", NULL
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= (int)(arg1
)->GetHeight();
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 resultobj
= SWIG_FromInt((int)result
);
3781 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
;
3783 wxIcon
*arg1
= (wxIcon
*) 0 ;
3785 PyObject
* obj0
= 0 ;
3787 (char *) "self", NULL
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 result
= (int)(arg1
)->GetDepth();
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 resultobj
= SWIG_FromInt((int)result
);
3807 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxIcon
*arg1
= (wxIcon
*) 0 ;
3811 PyObject
* obj0
= 0 ;
3812 PyObject
* obj1
= 0 ;
3814 (char *) "self",(char *) "w", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3820 arg2
= (int) SWIG_AsInt(obj1
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 (arg1
)->SetWidth(arg2
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 Py_INCREF(Py_None
); resultobj
= Py_None
;
3836 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 wxIcon
*arg1
= (wxIcon
*) 0 ;
3840 PyObject
* obj0
= 0 ;
3841 PyObject
* obj1
= 0 ;
3843 (char *) "self",(char *) "h", NULL
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3849 arg2
= (int) SWIG_AsInt(obj1
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 (arg1
)->SetHeight(arg2
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 Py_INCREF(Py_None
); resultobj
= Py_None
;
3865 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3867 wxIcon
*arg1
= (wxIcon
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3870 PyObject
* obj1
= 0 ;
3872 (char *) "self",(char *) "d", NULL
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3878 arg2
= (int) SWIG_AsInt(obj1
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 (arg1
)->SetDepth(arg2
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 Py_INCREF(Py_None
); resultobj
= Py_None
;
3894 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 wxIcon
*arg1
= (wxIcon
*) 0 ;
3897 wxBitmap
*arg2
= 0 ;
3898 PyObject
* obj0
= 0 ;
3899 PyObject
* obj1
= 0 ;
3901 (char *) "self",(char *) "bmp", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3911 PyErr_SetString(PyExc_TypeError
,"null reference");
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3921 Py_INCREF(Py_None
); resultobj
= Py_None
;
3928 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3931 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3933 return Py_BuildValue((char *)"");
3935 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
;
3937 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3938 int arg2
= (int) 0 ;
3939 wxIconLocation
*result
;
3940 bool temp1
= False
;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3944 (char *) "filename",(char *) "num", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3950 arg1
= wxString_in_helper(obj0
);
3951 if (arg1
== NULL
) SWIG_fail
;
3956 arg2
= (int) SWIG_AsInt(obj1
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3981 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
;
3983 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3984 PyObject
* obj0
= 0 ;
3986 (char *) "self", NULL
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 Py_INCREF(Py_None
); resultobj
= Py_None
;
4006 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
*resultobj
;
4008 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4010 PyObject
* obj0
= 0 ;
4012 (char *) "self", NULL
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4034 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4037 wxString
*arg2
= 0 ;
4038 bool temp2
= False
;
4039 PyObject
* obj0
= 0 ;
4040 PyObject
* obj1
= 0 ;
4042 (char *) "self",(char *) "filename", NULL
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4049 arg2
= wxString_in_helper(obj1
);
4050 if (arg2
== NULL
) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 (arg1
)->SetFileName((wxString
const &)*arg2
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 Py_INCREF(Py_None
); resultobj
= Py_None
;
4075 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4077 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4079 PyObject
* obj0
= 0 ;
4081 (char *) "self", NULL
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4091 result
= (wxString
*) &_result_ref
;
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4099 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4101 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4110 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4114 PyObject
* obj0
= 0 ;
4115 PyObject
* obj1
= 0 ;
4117 (char *) "self",(char *) "num", NULL
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4123 arg2
= (int) SWIG_AsInt(obj1
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 wxIconLocation_SetIndex(arg1
,arg2
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 Py_INCREF(Py_None
); resultobj
= Py_None
;
4139 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4141 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4143 PyObject
* obj0
= 0 ;
4145 (char *) "self", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (int)wxIconLocation_GetIndex(arg1
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= SWIG_FromInt((int)result
);
4165 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4168 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4170 return Py_BuildValue((char *)"");
4172 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxIconBundle
*result
;
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 result
= (wxIconBundle
*)new wxIconBundle();
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4194 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
;
4196 wxString
*arg1
= 0 ;
4198 wxIconBundle
*result
;
4199 bool temp1
= False
;
4200 PyObject
* obj0
= 0 ;
4201 PyObject
* obj1
= 0 ;
4203 (char *) "file",(char *) "type", NULL
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4208 arg1
= wxString_in_helper(obj0
);
4209 if (arg1
== NULL
) SWIG_fail
;
4212 arg2
= (long) SWIG_AsLong(obj1
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4236 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4239 wxIconBundle
*result
;
4240 PyObject
* obj0
= 0 ;
4242 (char *) "icon", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4250 PyErr_SetString(PyExc_TypeError
,"null reference");
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4267 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4269 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4270 PyObject
* obj0
= 0 ;
4272 (char *) "self", NULL
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4285 Py_INCREF(Py_None
); resultobj
= Py_None
;
4292 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
;
4294 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4296 PyObject
* obj0
= 0 ;
4297 PyObject
* obj1
= 0 ;
4299 (char *) "self",(char *) "icon", NULL
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4309 PyErr_SetString(PyExc_TypeError
,"null reference");
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 Py_INCREF(Py_None
); resultobj
= Py_None
;
4326 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4328 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4329 wxString
*arg2
= 0 ;
4331 bool temp2
= False
;
4332 PyObject
* obj0
= 0 ;
4333 PyObject
* obj1
= 0 ;
4334 PyObject
* obj2
= 0 ;
4336 (char *) "self",(char *) "file",(char *) "type", NULL
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4343 arg2
= wxString_in_helper(obj1
);
4344 if (arg2
== NULL
) SWIG_fail
;
4347 arg3
= (long) SWIG_AsLong(obj2
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 Py_INCREF(Py_None
); resultobj
= Py_None
;
4371 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
;
4373 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4380 (char *) "self",(char *) "size", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4394 result
= (wxIcon
*) &_result_ref
;
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4401 wxIcon
* resultptr
= new wxIcon(*result
);
4402 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4410 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4413 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4415 return Py_BuildValue((char *)"");
4417 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxString
*arg1
= (wxString
*) 0 ;
4421 int arg3
= (int) 0 ;
4422 int arg4
= (int) 0 ;
4424 bool temp1
= False
;
4425 PyObject
* obj0
= 0 ;
4426 PyObject
* obj1
= 0 ;
4427 PyObject
* obj2
= 0 ;
4428 PyObject
* obj3
= 0 ;
4430 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4435 arg1
= wxString_in_helper(obj0
);
4436 if (arg1
== NULL
) SWIG_fail
;
4439 arg2
= (long) SWIG_AsLong(obj1
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 arg3
= (int) SWIG_AsInt(obj2
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4446 arg4
= (int) SWIG_AsInt(obj3
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4471 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxCursor
*arg1
= (wxCursor
*) 0 ;
4474 PyObject
* obj0
= 0 ;
4476 (char *) "self", NULL
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4489 Py_INCREF(Py_None
); resultobj
= Py_None
;
4496 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
*resultobj
;
4500 PyObject
* obj0
= 0 ;
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4506 arg1
= (int) SWIG_AsInt(obj0
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 result
= (wxCursor
*)new wxCursor(arg1
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4522 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4526 PyObject
* obj0
= 0 ;
4528 (char *) "image", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4536 PyErr_SetString(PyExc_TypeError
,"null reference");
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4553 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxCursor
*arg1
= (wxCursor
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (bool)(arg1
)->Ok();
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4581 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4584 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4586 return Py_BuildValue((char *)"");
4588 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 int arg1
= (int) 0 ;
4591 int arg2
= (int) 0 ;
4592 int arg3
= (int) 0 ;
4593 int arg4
= (int) 0 ;
4595 PyObject
* obj0
= 0 ;
4596 PyObject
* obj1
= 0 ;
4597 PyObject
* obj2
= 0 ;
4598 PyObject
* obj3
= 0 ;
4600 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4605 arg1
= (int) SWIG_AsInt(obj0
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4609 arg2
= (int) SWIG_AsInt(obj1
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4613 arg3
= (int) SWIG_AsInt(obj2
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4617 arg4
= (int) SWIG_AsInt(obj3
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4634 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
;
4636 wxBitmap
*arg1
= 0 ;
4637 wxColour
const &arg2_defvalue
= wxNullColour
;
4638 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4639 int arg3
= (int) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4644 PyObject
* obj2
= 0 ;
4646 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4654 PyErr_SetString(PyExc_TypeError
,"null reference");
4660 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4664 arg3
= (int) SWIG_AsInt(obj2
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4681 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
;
4684 wxPoint
*arg2
= (wxPoint
*) 0 ;
4685 int arg3
= (int) wxWINDING_RULE
;
4687 PyObject
* obj0
= 0 ;
4688 PyObject
* obj1
= 0 ;
4690 (char *) "points",(char *) "fillStyle", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4695 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4696 if (arg2
== NULL
) SWIG_fail
;
4699 arg3
= (int) SWIG_AsInt(obj1
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4711 if (arg2
) delete [] arg2
;
4716 if (arg2
) delete [] arg2
;
4722 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
;
4724 wxRegion
*arg1
= (wxRegion
*) 0 ;
4725 PyObject
* obj0
= 0 ;
4727 (char *) "self", NULL
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 Py_INCREF(Py_None
); resultobj
= Py_None
;
4747 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxRegion
*arg1
= (wxRegion
*) 0 ;
4750 PyObject
* obj0
= 0 ;
4752 (char *) "self", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 Py_INCREF(Py_None
); resultobj
= Py_None
;
4772 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxRegion
*arg1
= (wxRegion
*) 0 ;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4780 PyObject
* obj2
= 0 ;
4782 (char *) "self",(char *) "x",(char *) "y", NULL
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4788 arg2
= (int) SWIG_AsInt(obj1
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4790 arg3
= (int) SWIG_AsInt(obj2
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4808 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxRegion
*arg1
= (wxRegion
*) 0 ;
4814 PyObject
* obj0
= 0 ;
4815 PyObject
* obj1
= 0 ;
4816 PyObject
* obj2
= 0 ;
4818 (char *) "self",(char *) "x",(char *) "y", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4824 arg2
= (int) SWIG_AsInt(obj1
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4826 arg3
= (int) SWIG_AsInt(obj2
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= SWIG_FromInt((int)result
);
4842 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxRegion
*arg1
= (wxRegion
*) 0 ;
4848 PyObject
* obj0
= 0 ;
4849 PyObject
* obj1
= 0 ;
4851 (char *) "self",(char *) "pt", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4859 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4868 resultobj
= SWIG_FromInt((int)result
);
4875 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxRegion
*arg1
= (wxRegion
*) 0 ;
4881 PyObject
* obj0
= 0 ;
4882 PyObject
* obj1
= 0 ;
4884 (char *) "self",(char *) "rect", NULL
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4892 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 resultobj
= SWIG_FromInt((int)result
);
4908 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
;
4910 wxRegion
*arg1
= (wxRegion
*) 0 ;
4916 PyObject
* obj0
= 0 ;
4917 PyObject
* obj1
= 0 ;
4918 PyObject
* obj2
= 0 ;
4919 PyObject
* obj3
= 0 ;
4920 PyObject
* obj4
= 0 ;
4922 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 arg2
= (int) SWIG_AsInt(obj1
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4930 arg3
= (int) SWIG_AsInt(obj2
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4932 arg4
= (int) SWIG_AsInt(obj3
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4934 arg5
= (int) SWIG_AsInt(obj4
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= SWIG_FromInt((int)result
);
4950 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
;
4952 wxRegion
*arg1
= (wxRegion
*) 0 ;
4954 PyObject
* obj0
= 0 ;
4956 (char *) "self", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 result
= (arg1
)->GetBox();
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4971 resultptr
= new wxRect((wxRect
&) result
);
4972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4980 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4982 wxRegion
*arg1
= (wxRegion
*) 0 ;
4988 PyObject
* obj0
= 0 ;
4989 PyObject
* obj1
= 0 ;
4990 PyObject
* obj2
= 0 ;
4991 PyObject
* obj3
= 0 ;
4992 PyObject
* obj4
= 0 ;
4994 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5000 arg2
= (int) SWIG_AsInt(obj1
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5002 arg3
= (int) SWIG_AsInt(obj2
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5004 arg4
= (int) SWIG_AsInt(obj3
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5006 arg5
= (int) SWIG_AsInt(obj4
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5024 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxRegion
*arg1
= (wxRegion
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5033 (char *) "self",(char *) "rect", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5041 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5059 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
;
5061 wxRegion
*arg1
= (wxRegion
*) 0 ;
5062 wxRegion
*arg2
= 0 ;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5067 (char *) "self",(char *) "region", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5077 PyErr_SetString(PyExc_TypeError
,"null reference");
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5096 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxRegion
*arg1
= (wxRegion
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5102 (char *) "self", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 result
= (bool)(arg1
)->IsEmpty();
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5124 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxRegion
*arg1
= (wxRegion
*) 0 ;
5132 PyObject
* obj0
= 0 ;
5133 PyObject
* obj1
= 0 ;
5134 PyObject
* obj2
= 0 ;
5135 PyObject
* obj3
= 0 ;
5136 PyObject
* obj4
= 0 ;
5138 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5144 arg2
= (int) SWIG_AsInt(obj1
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5146 arg3
= (int) SWIG_AsInt(obj2
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5148 arg4
= (int) SWIG_AsInt(obj3
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5150 arg5
= (int) SWIG_AsInt(obj4
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5168 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
;
5170 wxRegion
*arg1
= (wxRegion
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5175 PyObject
* obj1
= 0 ;
5177 (char *) "self",(char *) "rect", NULL
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5185 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5203 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxRegion
*arg1
= (wxRegion
*) 0 ;
5206 wxRegion
*arg2
= 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5211 (char *) "self",(char *) "region", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5221 PyErr_SetString(PyExc_TypeError
,"null reference");
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5240 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
;
5242 wxRegion
*arg1
= (wxRegion
*) 0 ;
5248 PyObject
* obj0
= 0 ;
5249 PyObject
* obj1
= 0 ;
5250 PyObject
* obj2
= 0 ;
5251 PyObject
* obj3
= 0 ;
5252 PyObject
* obj4
= 0 ;
5254 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5260 arg2
= (int) SWIG_AsInt(obj1
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5262 arg3
= (int) SWIG_AsInt(obj2
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5264 arg4
= (int) SWIG_AsInt(obj3
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5266 arg5
= (int) SWIG_AsInt(obj4
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5284 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
;
5286 wxRegion
*arg1
= (wxRegion
*) 0 ;
5290 PyObject
* obj0
= 0 ;
5291 PyObject
* obj1
= 0 ;
5293 (char *) "self",(char *) "rect", NULL
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5301 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5319 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxRegion
*arg1
= (wxRegion
*) 0 ;
5322 wxRegion
*arg2
= 0 ;
5324 PyObject
* obj0
= 0 ;
5325 PyObject
* obj1
= 0 ;
5327 (char *) "self",(char *) "region", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5337 PyErr_SetString(PyExc_TypeError
,"null reference");
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5356 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
;
5358 wxRegion
*arg1
= (wxRegion
*) 0 ;
5364 PyObject
* obj0
= 0 ;
5365 PyObject
* obj1
= 0 ;
5366 PyObject
* obj2
= 0 ;
5367 PyObject
* obj3
= 0 ;
5368 PyObject
* obj4
= 0 ;
5370 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5376 arg2
= (int) SWIG_AsInt(obj1
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5378 arg3
= (int) SWIG_AsInt(obj2
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5380 arg4
= (int) SWIG_AsInt(obj3
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5382 arg5
= (int) SWIG_AsInt(obj4
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5400 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxRegion
*arg1
= (wxRegion
*) 0 ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5409 (char *) "self",(char *) "rect", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5417 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5435 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxRegion
*arg1
= (wxRegion
*) 0 ;
5438 wxRegion
*arg2
= 0 ;
5440 PyObject
* obj0
= 0 ;
5441 PyObject
* obj1
= 0 ;
5443 (char *) "self",(char *) "region", NULL
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5453 PyErr_SetString(PyExc_TypeError
,"null reference");
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5472 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxRegion
*arg1
= (wxRegion
*) 0 ;
5475 SwigValueWrapper
< wxBitmap
> result
;
5476 PyObject
* obj0
= 0 ;
5478 (char *) "self", NULL
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (arg1
)->ConvertToBitmap();
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5492 wxBitmap
* resultptr
;
5493 resultptr
= new wxBitmap((wxBitmap
&) result
);
5494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5502 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxRegion
*arg1
= (wxRegion
*) 0 ;
5505 wxBitmap
*arg2
= 0 ;
5506 wxColour
const &arg3_defvalue
= wxNullColour
;
5507 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5508 int arg4
= (int) 0 ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5513 PyObject
* obj2
= 0 ;
5514 PyObject
* obj3
= 0 ;
5516 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5526 PyErr_SetString(PyExc_TypeError
,"null reference");
5532 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5536 arg4
= (int) SWIG_AsInt(obj3
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5555 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5558 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5560 return Py_BuildValue((char *)"");
5562 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxRegion
*arg1
= 0 ;
5565 wxRegionIterator
*result
;
5566 PyObject
* obj0
= 0 ;
5568 (char *) "region", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5576 PyErr_SetString(PyExc_TypeError
,"null reference");
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5593 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5596 PyObject
* obj0
= 0 ;
5598 (char *) "self", NULL
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 Py_INCREF(Py_None
); resultobj
= Py_None
;
5618 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
*resultobj
;
5620 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5622 PyObject
* obj0
= 0 ;
5624 (char *) "self", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (int)(arg1
)->GetX();
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= SWIG_FromInt((int)result
);
5644 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
*resultobj
;
5646 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5648 PyObject
* obj0
= 0 ;
5650 (char *) "self", NULL
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 result
= (int)(arg1
)->GetY();
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 resultobj
= SWIG_FromInt((int)result
);
5670 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5674 PyObject
* obj0
= 0 ;
5676 (char *) "self", NULL
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 result
= (int)(arg1
)->GetW();
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 resultobj
= SWIG_FromInt((int)result
);
5696 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5700 PyObject
* obj0
= 0 ;
5702 (char *) "self", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 result
= (int)(arg1
)->GetWidth();
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= SWIG_FromInt((int)result
);
5722 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5726 PyObject
* obj0
= 0 ;
5728 (char *) "self", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= (int)(arg1
)->GetH();
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 resultobj
= SWIG_FromInt((int)result
);
5748 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5754 (char *) "self", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 result
= (int)(arg1
)->GetHeight();
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= SWIG_FromInt((int)result
);
5774 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5780 (char *) "self", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (arg1
)->GetRect();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5795 resultptr
= new wxRect((wxRect
&) result
);
5796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5804 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5808 PyObject
* obj0
= 0 ;
5810 (char *) "self", NULL
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= (bool)(arg1
)->HaveRects();
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5832 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5835 PyObject
* obj0
= 0 ;
5837 (char *) "self", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 Py_INCREF(Py_None
); resultobj
= Py_None
;
5857 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5860 PyObject
* obj0
= 0 ;
5862 (char *) "self", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 wxRegionIterator_Next(arg1
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 Py_INCREF(Py_None
); resultobj
= Py_None
;
5882 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5888 (char *) "self", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5910 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5913 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5915 return Py_BuildValue((char *)"");
5917 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxNativeFontInfo
*result
;
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5939 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5942 PyObject
* obj0
= 0 ;
5944 (char *) "self", NULL
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 Py_INCREF(Py_None
); resultobj
= Py_None
;
5964 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5967 PyObject
* obj0
= 0 ;
5969 (char *) "self", NULL
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 Py_INCREF(Py_None
); resultobj
= Py_None
;
5989 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5993 PyObject
* obj0
= 0 ;
5994 PyObject
* obj1
= 0 ;
5996 (char *) "self",(char *) "font", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6006 PyErr_SetString(PyExc_TypeError
,"null reference");
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 Py_INCREF(Py_None
); resultobj
= Py_None
;
6023 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6027 PyObject
* obj0
= 0 ;
6029 (char *) "self", NULL
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= SWIG_FromInt((int)result
);
6049 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6055 (char *) "self", NULL
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_FromInt((int)result
);
6075 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6079 PyObject
* obj0
= 0 ;
6081 (char *) "self", NULL
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= SWIG_FromInt((int)result
);
6101 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6107 (char *) "self", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6129 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6133 PyObject
* obj0
= 0 ;
6135 (char *) "self", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6161 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6163 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6167 (char *) "self", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= SWIG_FromInt((int)result
);
6187 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6193 (char *) "self", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= SWIG_FromInt((int)result
);
6213 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6217 PyObject
* obj0
= 0 ;
6218 PyObject
* obj1
= 0 ;
6220 (char *) "self",(char *) "pointsize", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6226 arg2
= (int) SWIG_AsInt(obj1
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 (arg1
)->SetPointSize(arg2
);
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6235 Py_INCREF(Py_None
); resultobj
= Py_None
;
6242 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
*resultobj
;
6244 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6246 PyObject
* obj0
= 0 ;
6247 PyObject
* obj1
= 0 ;
6249 (char *) "self",(char *) "style", NULL
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6255 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 Py_INCREF(Py_None
); resultobj
= Py_None
;
6271 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6278 (char *) "self",(char *) "weight", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6284 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 Py_INCREF(Py_None
); resultobj
= Py_None
;
6300 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6305 PyObject
* obj1
= 0 ;
6307 (char *) "self",(char *) "underlined", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 arg2
= (bool) SWIG_AsBool(obj1
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 (arg1
)->SetUnderlined(arg2
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 Py_INCREF(Py_None
); resultobj
= Py_None
;
6329 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6336 (char *) "self",(char *) "facename", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 wxString
* sptr
= wxString_in_helper(obj1
);
6344 if (sptr
== NULL
) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 (arg1
)->SetFaceName(arg2
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 Py_INCREF(Py_None
); resultobj
= Py_None
;
6362 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6369 (char *) "self",(char *) "family", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 Py_INCREF(Py_None
); resultobj
= Py_None
;
6391 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6398 (char *) "self",(char *) "encoding", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6404 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 Py_INCREF(Py_None
); resultobj
= Py_None
;
6420 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
;
6422 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6423 wxString
*arg2
= 0 ;
6425 bool temp2
= False
;
6426 PyObject
* obj0
= 0 ;
6427 PyObject
* obj1
= 0 ;
6429 (char *) "self",(char *) "s", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6436 arg2
= wxString_in_helper(obj1
);
6437 if (arg2
== NULL
) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6464 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6470 (char *) "self", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6496 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6500 PyObject
* obj0
= 0 ;
6502 (char *) "self", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= wxNativeFontInfo___str__(arg1
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6528 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6531 wxString
*arg2
= 0 ;
6533 bool temp2
= False
;
6534 PyObject
* obj0
= 0 ;
6535 PyObject
* obj1
= 0 ;
6537 (char *) "self",(char *) "s", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6544 arg2
= wxString_in_helper(obj1
);
6545 if (arg2
== NULL
) SWIG_fail
;
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6572 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6576 PyObject
* obj0
= 0 ;
6578 (char *) "self", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6604 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6607 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6609 return Py_BuildValue((char *)"");
6611 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6614 wxString
*arg2
= (wxString
*) 0 ;
6615 bool temp2
= False
;
6616 PyObject
* obj0
= 0 ;
6617 PyObject
* obj1
= 0 ;
6619 (char *) "self",(char *) "facename", NULL
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6626 arg2
= wxString_in_helper(obj1
);
6627 if (arg2
== NULL
) SWIG_fail
;
6630 if (arg1
) (arg1
)->facename
= *arg2
;
6632 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "self", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6659 result
= (wxString
*)& ((arg1
)->facename
);
6663 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6665 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6674 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6678 PyObject
* obj0
= 0 ;
6679 PyObject
* obj1
= 0 ;
6681 (char *) "self",(char *) "encoding", NULL
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6687 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6689 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6691 Py_INCREF(Py_None
); resultobj
= Py_None
;
6698 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6702 PyObject
* obj0
= 0 ;
6704 (char *) "self", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 result
= (int) ((arg1
)->encoding
);
6712 resultobj
= SWIG_FromInt((int)result
);
6719 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
;
6721 wxNativeEncodingInfo
*result
;
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6741 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6743 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6744 PyObject
* obj0
= 0 ;
6746 (char *) "self", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 Py_INCREF(Py_None
); resultobj
= Py_None
;
6766 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
;
6768 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6769 wxString
*arg2
= 0 ;
6771 bool temp2
= False
;
6772 PyObject
* obj0
= 0 ;
6773 PyObject
* obj1
= 0 ;
6775 (char *) "self",(char *) "s", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6782 arg2
= wxString_in_helper(obj1
);
6783 if (arg2
== NULL
) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6810 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6814 PyObject
* obj0
= 0 ;
6816 (char *) "self", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6842 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6845 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6847 return Py_BuildValue((char *)"");
6849 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6852 wxNativeEncodingInfo
*result
;
6853 PyObject
* obj0
= 0 ;
6855 (char *) "encoding", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6859 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6875 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6877 wxNativeEncodingInfo
*arg1
= 0 ;
6879 PyObject
* obj0
= 0 ;
6881 (char *) "info", NULL
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6889 PyErr_SetString(PyExc_TypeError
,"null reference");
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6908 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxFontMapper
*result
;
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 result
= (wxFontMapper
*)new wxFontMapper();
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6930 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6933 PyObject
* obj0
= 0 ;
6935 (char *) "self", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 Py_INCREF(Py_None
); resultobj
= Py_None
;
6955 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxFontMapper
*result
;
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 result
= (wxFontMapper
*)wxFontMapper::Get();
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6977 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6980 wxFontMapper
*result
;
6981 PyObject
* obj0
= 0 ;
6983 (char *) "mapper", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7003 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7006 wxString
*arg2
= 0 ;
7007 bool arg3
= (bool) True
;
7009 bool temp2
= False
;
7010 PyObject
* obj0
= 0 ;
7011 PyObject
* obj1
= 0 ;
7012 PyObject
* obj2
= 0 ;
7014 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7021 arg2
= wxString_in_helper(obj1
);
7022 if (arg2
== NULL
) SWIG_fail
;
7026 arg3
= (bool) SWIG_AsBool(obj2
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= SWIG_FromInt((int)result
);
7051 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
;
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7073 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7077 PyObject
* obj0
= 0 ;
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7083 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 result
= (int)wxFontMapper::GetEncoding(arg1
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= SWIG_FromInt((int)result
);
7099 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
;
7103 PyObject
* obj0
= 0 ;
7105 (char *) "encoding", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7109 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7122 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7131 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7135 PyObject
* obj0
= 0 ;
7137 (char *) "encoding", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7141 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7152 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7154 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7163 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxString
*arg1
= 0 ;
7167 bool temp1
= False
;
7168 PyObject
* obj0
= 0 ;
7170 (char *) "name", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7175 arg1
= wxString_in_helper(obj0
);
7176 if (arg1
== NULL
) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= SWIG_FromInt((int)result
);
7201 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7204 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7205 PyObject
* obj0
= 0 ;
7206 PyObject
* obj1
= 0 ;
7208 (char *) "self",(char *) "config", NULL
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 (arg1
)->SetConfig(arg2
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 Py_INCREF(Py_None
); resultobj
= Py_None
;
7230 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
;
7232 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7233 wxString
*arg2
= 0 ;
7234 bool temp2
= False
;
7235 PyObject
* obj0
= 0 ;
7236 PyObject
* obj1
= 0 ;
7238 (char *) "self",(char *) "prefix", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7245 arg2
= wxString_in_helper(obj1
);
7246 if (arg2
== NULL
) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 Py_INCREF(Py_None
); resultobj
= Py_None
;
7271 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= wxFontMapper::GetDefaultConfigPath();
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7299 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
;
7301 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7303 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7304 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7305 bool arg4
= (bool) True
;
7307 bool temp3
= False
;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7310 PyObject
* obj2
= 0 ;
7311 PyObject
* obj3
= 0 ;
7313 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7319 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7323 arg3
= wxString_in_helper(obj2
);
7324 if (arg3
== NULL
) SWIG_fail
;
7329 arg4
= (bool) SWIG_AsBool(obj3
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7354 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7358 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7359 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7361 bool temp3
= False
;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj1
= 0 ;
7364 PyObject
* obj2
= 0 ;
7366 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7372 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7376 arg3
= wxString_in_helper(obj2
);
7377 if (arg3
== NULL
) SWIG_fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7405 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7408 wxWindow
*arg2
= (wxWindow
*) 0 ;
7409 PyObject
* obj0
= 0 ;
7410 PyObject
* obj1
= 0 ;
7412 (char *) "self",(char *) "parent", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 (arg1
)->SetDialogParent(arg2
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 Py_INCREF(Py_None
); resultobj
= Py_None
;
7434 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7437 wxString
*arg2
= 0 ;
7438 bool temp2
= False
;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7442 (char *) "self",(char *) "title", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7449 arg2
= wxString_in_helper(obj1
);
7450 if (arg2
== NULL
) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7478 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7480 return Py_BuildValue((char *)"");
7482 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7488 bool arg5
= (bool) False
;
7489 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7490 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7491 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7493 bool temp6
= False
;
7494 PyObject
* obj0
= 0 ;
7495 PyObject
* obj1
= 0 ;
7496 PyObject
* obj2
= 0 ;
7497 PyObject
* obj3
= 0 ;
7498 PyObject
* obj4
= 0 ;
7499 PyObject
* obj5
= 0 ;
7500 PyObject
* obj6
= 0 ;
7502 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7506 arg1
= (int) SWIG_AsInt(obj0
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7508 arg2
= (int) SWIG_AsInt(obj1
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7510 arg3
= (int) SWIG_AsInt(obj2
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7512 arg4
= (int) SWIG_AsInt(obj3
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 arg5
= (bool) SWIG_AsBool(obj4
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7520 arg6
= wxString_in_helper(obj5
);
7521 if (arg6
== NULL
) SWIG_fail
;
7526 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7551 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
;
7553 wxFont
*arg1
= (wxFont
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7556 (char *) "self", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 Py_INCREF(Py_None
); resultobj
= Py_None
;
7576 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxNativeFontInfo
*arg1
= 0 ;
7580 PyObject
* obj0
= 0 ;
7582 (char *) "info", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7590 PyErr_SetString(PyExc_TypeError
,"null reference");
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7607 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxString
*arg1
= 0 ;
7611 bool temp1
= False
;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "info", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7619 arg1
= wxString_in_helper(obj0
);
7620 if (arg1
== NULL
) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7645 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7649 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7650 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7651 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7652 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7654 bool temp4
= False
;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7657 PyObject
* obj2
= 0 ;
7658 PyObject
* obj3
= 0 ;
7659 PyObject
* obj4
= 0 ;
7661 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7665 arg1
= (int) SWIG_AsInt(obj0
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7667 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7670 arg3
= (int) SWIG_AsInt(obj2
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7675 arg4
= wxString_in_helper(obj3
);
7676 if (arg4
== NULL
) SWIG_fail
;
7681 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7706 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxFont
*arg1
= (wxFont
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 result
= (bool)((wxFont
const *)arg1
)->Ok();
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7734 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxFont
*arg1
= (wxFont
*) 0 ;
7737 wxFont
*arg2
= (wxFont
*) 0 ;
7739 PyObject
* obj0
= 0 ;
7740 PyObject
* obj1
= 0 ;
7742 (char *) "self",(char *) "other", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7766 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
;
7768 wxFont
*arg1
= (wxFont
*) 0 ;
7769 wxFont
*arg2
= (wxFont
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7772 PyObject
* obj1
= 0 ;
7774 (char *) "self",(char *) "other", NULL
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7798 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxFont
*arg1
= (wxFont
*) 0 ;
7802 PyObject
* obj0
= 0 ;
7804 (char *) "self", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_FromInt((int)result
);
7824 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxFont
*arg1
= (wxFont
*) 0 ;
7828 PyObject
* obj0
= 0 ;
7830 (char *) "self", NULL
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7843 resultobj
= SWIG_FromInt((int)result
);
7850 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxFont
*arg1
= (wxFont
*) 0 ;
7854 PyObject
* obj0
= 0 ;
7856 (char *) "self", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= SWIG_FromInt((int)result
);
7876 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxFont
*arg1
= (wxFont
*) 0 ;
7880 PyObject
* obj0
= 0 ;
7882 (char *) "self", NULL
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= SWIG_FromInt((int)result
);
7902 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxFont
*arg1
= (wxFont
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7908 (char *) "self", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7930 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 wxFont
*arg1
= (wxFont
*) 0 ;
7934 PyObject
* obj0
= 0 ;
7936 (char *) "self", NULL
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 result
= ((wxFont
const *)arg1
)->GetFaceName();
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7962 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxFont
*arg1
= (wxFont
*) 0 ;
7966 PyObject
* obj0
= 0 ;
7968 (char *) "self", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= SWIG_FromInt((int)result
);
7988 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7990 wxFont
*arg1
= (wxFont
*) 0 ;
7991 wxNativeFontInfo
*result
;
7992 PyObject
* obj0
= 0 ;
7994 (char *) "self", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8014 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxFont
*arg1
= (wxFont
*) 0 ;
8018 PyObject
* obj0
= 0 ;
8020 (char *) "self", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8042 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8044 wxFont
*arg1
= (wxFont
*) 0 ;
8046 PyObject
* obj0
= 0 ;
8048 (char *) "self", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8074 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxFont
*arg1
= (wxFont
*) 0 ;
8078 PyObject
* obj0
= 0 ;
8080 (char *) "self", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8106 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxFont
*arg1
= (wxFont
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8111 PyObject
* obj1
= 0 ;
8113 (char *) "self",(char *) "pointSize", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 arg2
= (int) SWIG_AsInt(obj1
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 (arg1
)->SetPointSize(arg2
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxFont
*arg1
= (wxFont
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8140 PyObject
* obj1
= 0 ;
8142 (char *) "self",(char *) "family", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8148 arg2
= (int) SWIG_AsInt(obj1
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 (arg1
)->SetFamily(arg2
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 Py_INCREF(Py_None
); resultobj
= Py_None
;
8164 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxFont
*arg1
= (wxFont
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8171 (char *) "self",(char *) "style", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8177 arg2
= (int) SWIG_AsInt(obj1
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 (arg1
)->SetStyle(arg2
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 Py_INCREF(Py_None
); resultobj
= Py_None
;
8193 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
;
8195 wxFont
*arg1
= (wxFont
*) 0 ;
8197 PyObject
* obj0
= 0 ;
8198 PyObject
* obj1
= 0 ;
8200 (char *) "self",(char *) "weight", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8206 arg2
= (int) SWIG_AsInt(obj1
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 (arg1
)->SetWeight(arg2
);
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 Py_INCREF(Py_None
); resultobj
= Py_None
;
8222 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
;
8224 wxFont
*arg1
= (wxFont
*) 0 ;
8225 wxString
*arg2
= 0 ;
8226 bool temp2
= False
;
8227 PyObject
* obj0
= 0 ;
8228 PyObject
* obj1
= 0 ;
8230 (char *) "self",(char *) "faceName", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8237 arg2
= wxString_in_helper(obj1
);
8238 if (arg2
== NULL
) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 Py_INCREF(Py_None
); resultobj
= Py_None
;
8263 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxFont
*arg1
= (wxFont
*) 0 ;
8267 PyObject
* obj0
= 0 ;
8268 PyObject
* obj1
= 0 ;
8270 (char *) "self",(char *) "underlined", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8276 arg2
= (bool) SWIG_AsBool(obj1
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 (arg1
)->SetUnderlined(arg2
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 Py_INCREF(Py_None
); resultobj
= Py_None
;
8292 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxFont
*arg1
= (wxFont
*) 0 ;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8299 (char *) "self",(char *) "encoding", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8305 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8311 wxPyEndAllowThreads(__tstate
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 Py_INCREF(Py_None
); resultobj
= Py_None
;
8321 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxFont
*arg1
= (wxFont
*) 0 ;
8324 wxNativeFontInfo
*arg2
= 0 ;
8325 PyObject
* obj0
= 0 ;
8326 PyObject
* obj1
= 0 ;
8328 (char *) "self",(char *) "info", NULL
8331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8338 PyErr_SetString(PyExc_TypeError
,"null reference");
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 Py_INCREF(Py_None
); resultobj
= Py_None
;
8355 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
;
8357 wxFont
*arg1
= (wxFont
*) 0 ;
8358 wxString
*arg2
= 0 ;
8359 bool temp2
= False
;
8360 PyObject
* obj0
= 0 ;
8361 PyObject
* obj1
= 0 ;
8363 (char *) "self",(char *) "info", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8370 arg2
= wxString_in_helper(obj1
);
8371 if (arg2
== NULL
) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 Py_INCREF(Py_None
); resultobj
= Py_None
;
8396 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8397 PyObject
*resultobj
;
8398 wxFont
*arg1
= (wxFont
*) 0 ;
8399 wxString
*arg2
= 0 ;
8400 bool temp2
= False
;
8401 PyObject
* obj0
= 0 ;
8402 PyObject
* obj1
= 0 ;
8404 (char *) "self",(char *) "info", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8411 arg2
= wxString_in_helper(obj1
);
8412 if (arg2
== NULL
) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 Py_INCREF(Py_None
); resultobj
= Py_None
;
8437 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxFont
*arg1
= (wxFont
*) 0 ;
8441 PyObject
* obj0
= 0 ;
8443 (char *) "self", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8469 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
;
8471 wxFont
*arg1
= (wxFont
*) 0 ;
8473 PyObject
* obj0
= 0 ;
8475 (char *) "self", NULL
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= ((wxFont
const *)arg1
)->GetStyleString();
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8501 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxFont
*arg1
= (wxFont
*) 0 ;
8505 PyObject
* obj0
= 0 ;
8507 (char *) "self", NULL
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 result
= ((wxFont
const *)arg1
)->GetWeightString();
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8533 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxFont
*arg1
= (wxFont
*) 0 ;
8536 bool arg2
= (bool) True
;
8537 PyObject
* obj0
= 0 ;
8538 PyObject
* obj1
= 0 ;
8540 (char *) "self",(char *) "no", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8547 arg2
= (bool) SWIG_AsBool(obj1
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 (arg1
)->SetNoAntiAliasing(arg2
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 Py_INCREF(Py_None
); resultobj
= Py_None
;
8564 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8565 PyObject
*resultobj
;
8566 wxFont
*arg1
= (wxFont
*) 0 ;
8568 PyObject
* obj0
= 0 ;
8570 (char *) "self", NULL
8573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 result
= (bool)(arg1
)->GetNoAntiAliasing();
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8592 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (int)wxFont::GetDefaultEncoding();
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 resultobj
= SWIG_FromInt((int)result
);
8614 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8617 PyObject
* obj0
= 0 ;
8619 (char *) "encoding", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8623 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 Py_INCREF(Py_None
); resultobj
= Py_None
;
8639 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8642 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8644 return Py_BuildValue((char *)"");
8646 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxPyFontEnumerator
*result
;
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8668 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8671 PyObject
* obj0
= 0 ;
8673 (char *) "self", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 Py_INCREF(Py_None
); resultobj
= Py_None
;
8693 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8696 PyObject
*arg2
= (PyObject
*) 0 ;
8697 PyObject
*arg3
= (PyObject
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8700 PyObject
* obj1
= 0 ;
8701 PyObject
* obj2
= 0 ;
8702 PyObject
* obj3
= 0 ;
8704 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8712 arg4
= (bool) SWIG_AsBool(obj3
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 Py_INCREF(Py_None
); resultobj
= Py_None
;
8728 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8731 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8732 bool arg3
= (bool) False
;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8736 PyObject
* obj2
= 0 ;
8738 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8745 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8749 arg3
= (bool) SWIG_AsBool(obj2
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8768 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8771 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8772 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8774 bool temp2
= False
;
8775 PyObject
* obj0
= 0 ;
8776 PyObject
* obj1
= 0 ;
8778 (char *) "self",(char *) "facename", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8786 arg2
= wxString_in_helper(obj1
);
8787 if (arg2
== NULL
) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8815 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8819 PyObject
* obj0
= 0 ;
8821 (char *) "self", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8841 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8845 PyObject
* obj0
= 0 ;
8847 (char *) "self", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8867 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8870 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8872 return Py_BuildValue((char *)"");
8874 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8878 PyObject
* obj0
= 0 ;
8879 PyObject
* obj1
= 0 ;
8881 (char *) "self",(char *) "Language", NULL
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8887 arg2
= (int) SWIG_AsInt(obj1
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8889 if (arg1
) (arg1
)->Language
= arg2
;
8891 Py_INCREF(Py_None
); resultobj
= Py_None
;
8898 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8902 PyObject
* obj0
= 0 ;
8904 (char *) "self", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8910 result
= (int) ((arg1
)->Language
);
8912 resultobj
= SWIG_FromInt((int)result
);
8919 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
;
8921 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8922 wxString
*arg2
= (wxString
*) 0 ;
8923 bool temp2
= False
;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8927 (char *) "self",(char *) "CanonicalName", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8934 arg2
= wxString_in_helper(obj1
);
8935 if (arg2
== NULL
) SWIG_fail
;
8938 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8955 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8961 (char *) "self", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8971 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8973 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8982 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8985 wxString
*arg2
= (wxString
*) 0 ;
8986 bool temp2
= False
;
8987 PyObject
* obj0
= 0 ;
8988 PyObject
* obj1
= 0 ;
8990 (char *) "self",(char *) "Description", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8997 arg2
= wxString_in_helper(obj1
);
8998 if (arg2
== NULL
) SWIG_fail
;
9001 if (arg1
) (arg1
)->Description
= *arg2
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9018 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9022 PyObject
* obj0
= 0 ;
9024 (char *) "self", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9030 result
= (wxString
*)& ((arg1
)->Description
);
9034 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9036 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9045 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9048 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9050 return Py_BuildValue((char *)"");
9052 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 int arg1
= (int) -1 ;
9055 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9060 (char *) "language",(char *) "flags", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9065 arg1
= (int) SWIG_AsInt(obj0
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9069 arg2
= (int) SWIG_AsInt(obj1
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9086 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxLocale
*arg1
= (wxLocale
*) 0 ;
9089 PyObject
* obj0
= 0 ;
9091 (char *) "self", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 Py_INCREF(Py_None
); resultobj
= Py_None
;
9111 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxLocale
*arg1
= (wxLocale
*) 0 ;
9114 wxString
*arg2
= 0 ;
9115 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9116 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9117 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9118 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9119 bool arg5
= (bool) True
;
9120 bool arg6
= (bool) False
;
9122 bool temp2
= False
;
9123 bool temp3
= False
;
9124 bool temp4
= False
;
9125 PyObject
* obj0
= 0 ;
9126 PyObject
* obj1
= 0 ;
9127 PyObject
* obj2
= 0 ;
9128 PyObject
* obj3
= 0 ;
9129 PyObject
* obj4
= 0 ;
9130 PyObject
* obj5
= 0 ;
9132 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9139 arg2
= wxString_in_helper(obj1
);
9140 if (arg2
== NULL
) SWIG_fail
;
9145 arg3
= wxString_in_helper(obj2
);
9146 if (arg3
== NULL
) SWIG_fail
;
9152 arg4
= wxString_in_helper(obj3
);
9153 if (arg4
== NULL
) SWIG_fail
;
9158 arg5
= (bool) SWIG_AsBool(obj4
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9162 arg6
= (bool) SWIG_AsBool(obj5
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9205 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9207 wxLocale
*arg1
= (wxLocale
*) 0 ;
9208 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9209 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9213 PyObject
* obj2
= 0 ;
9215 (char *) "self",(char *) "language",(char *) "flags", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9222 arg2
= (int) SWIG_AsInt(obj1
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9226 arg3
= (int) SWIG_AsInt(obj2
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9245 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= (int)wxLocale::GetSystemLanguage();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 resultobj
= SWIG_FromInt((int)result
);
9267 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (int)wxLocale::GetSystemEncoding();
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_FromInt((int)result
);
9289 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= wxLocale::GetSystemEncodingName();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9317 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxLocale
*arg1
= (wxLocale
*) 0 ;
9321 PyObject
* obj0
= 0 ;
9323 (char *) "self", NULL
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9345 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxLocale
*arg1
= (wxLocale
*) 0 ;
9349 PyObject
* obj0
= 0 ;
9351 (char *) "self", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= ((wxLocale
const *)arg1
)->GetLocale();
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9377 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxLocale
*arg1
= (wxLocale
*) 0 ;
9381 PyObject
* obj0
= 0 ;
9383 (char *) "self", NULL
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= SWIG_FromInt((int)result
);
9403 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
;
9405 wxLocale
*arg1
= (wxLocale
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9409 (char *) "self", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= ((wxLocale
const *)arg1
)->GetSysName();
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9435 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
;
9437 wxLocale
*arg1
= (wxLocale
*) 0 ;
9439 PyObject
* obj0
= 0 ;
9441 (char *) "self", NULL
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9467 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxString
*arg1
= 0 ;
9470 bool temp1
= False
;
9471 PyObject
* obj0
= 0 ;
9473 (char *) "prefix", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9478 arg1
= wxString_in_helper(obj0
);
9479 if (arg1
== NULL
) SWIG_fail
;
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 Py_INCREF(Py_None
); resultobj
= Py_None
;
9504 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
;
9506 wxLocale
*arg1
= (wxLocale
*) 0 ;
9507 wxString
*arg2
= 0 ;
9509 bool temp2
= False
;
9510 PyObject
* obj0
= 0 ;
9511 PyObject
* obj1
= 0 ;
9513 (char *) "self",(char *) "szDomain", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 arg2
= wxString_in_helper(obj1
);
9521 if (arg2
== NULL
) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9548 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
;
9550 wxLocale
*arg1
= (wxLocale
*) 0 ;
9551 wxString
*arg2
= 0 ;
9553 bool temp2
= False
;
9554 PyObject
* obj0
= 0 ;
9555 PyObject
* obj1
= 0 ;
9557 (char *) "self",(char *) "szDomain", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9564 arg2
= wxString_in_helper(obj1
);
9565 if (arg2
== NULL
) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9592 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9595 wxLanguageInfo
*result
;
9596 PyObject
* obj0
= 0 ;
9598 (char *) "lang", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9602 arg1
= (int) SWIG_AsInt(obj0
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9618 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "lang", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9628 arg1
= (int) SWIG_AsInt(obj0
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= wxLocale::GetLanguageName(arg1
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9650 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxString
*arg1
= 0 ;
9653 wxLanguageInfo
*result
;
9654 bool temp1
= False
;
9655 PyObject
* obj0
= 0 ;
9657 (char *) "locale", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9662 arg1
= wxString_in_helper(obj0
);
9663 if (arg1
== NULL
) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9688 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxLanguageInfo
*arg1
= 0 ;
9691 PyObject
* obj0
= 0 ;
9693 (char *) "info", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9701 PyErr_SetString(PyExc_TypeError
,"null reference");
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 Py_INCREF(Py_None
); resultobj
= Py_None
;
9718 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxLocale
*arg1
= (wxLocale
*) 0 ;
9721 wxString
*arg2
= 0 ;
9722 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9723 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9725 bool temp2
= False
;
9726 bool temp3
= False
;
9727 PyObject
* obj0
= 0 ;
9728 PyObject
* obj1
= 0 ;
9729 PyObject
* obj2
= 0 ;
9731 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 arg2
= wxString_in_helper(obj1
);
9739 if (arg2
== NULL
) SWIG_fail
;
9744 arg3
= wxString_in_helper(obj2
);
9745 if (arg3
== NULL
) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9785 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxLocale
*arg1
= (wxLocale
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9791 (char *) "self", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9801 result
= (wxString
*) &_result_ref
;
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9811 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9820 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9823 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9825 return Py_BuildValue((char *)"");
9827 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (wxLocale
*)wxGetLocale();
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9849 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9850 PyObject
*resultobj
;
9851 wxString
*arg1
= 0 ;
9853 bool temp1
= False
;
9854 PyObject
* obj0
= 0 ;
9856 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9858 arg1
= wxString_in_helper(obj0
);
9859 if (arg1
== NULL
) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 result
= wxGetTranslation((wxString
const &)*arg1
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9890 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9891 PyObject
*resultobj
;
9892 wxString
*arg1
= 0 ;
9893 wxString
*arg2
= 0 ;
9896 bool temp1
= False
;
9897 bool temp2
= False
;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9900 PyObject
* obj2
= 0 ;
9902 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9904 arg1
= wxString_in_helper(obj0
);
9905 if (arg1
== NULL
) SWIG_fail
;
9909 arg2
= wxString_in_helper(obj1
);
9910 if (arg2
== NULL
) SWIG_fail
;
9913 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9951 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9956 argc
= PyObject_Length(args
);
9957 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9958 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9963 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9966 return _wrap_GetTranslation__SWIG_0(self
,args
);
9972 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9976 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9979 _v
= SWIG_CheckUnsignedLong(argv
[2]);
9981 return _wrap_GetTranslation__SWIG_1(self
,args
);
9987 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9992 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxEncodingConverter
*result
;
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10014 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10017 PyObject
* obj0
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 Py_INCREF(Py_None
); resultobj
= Py_None
;
10039 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10044 int arg4
= (int) wxCONVERT_STRICT
;
10046 PyObject
* obj0
= 0 ;
10047 PyObject
* obj1
= 0 ;
10048 PyObject
* obj2
= 0 ;
10049 PyObject
* obj3
= 0 ;
10050 char *kwnames
[] = {
10051 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10057 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10059 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 arg4
= (int) SWIG_AsInt(obj3
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10081 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
*resultobj
;
10083 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10084 wxString
*arg2
= 0 ;
10086 bool temp2
= False
;
10087 PyObject
* obj0
= 0 ;
10088 PyObject
* obj1
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "self",(char *) "input", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10097 arg2
= wxString_in_helper(obj1
);
10098 if (arg2
== NULL
) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10129 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
;
10132 int arg2
= (int) wxPLATFORM_CURRENT
;
10133 wxFontEncodingArray result
;
10134 PyObject
* obj0
= 0 ;
10135 PyObject
* obj1
= 0 ;
10136 char *kwnames
[] = {
10137 (char *) "enc",(char *) "platform", NULL
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10141 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 arg2
= (int) SWIG_AsInt(obj1
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10155 resultobj
= PyList_New(0);
10156 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10157 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10158 PyList_Append(resultobj
, number
);
10168 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10171 wxFontEncodingArray result
;
10172 PyObject
* obj0
= 0 ;
10173 char *kwnames
[] = {
10174 (char *) "enc", NULL
10177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10178 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= PyList_New(0);
10189 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10190 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10191 PyList_Append(resultobj
, number
);
10201 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
*resultobj
;
10206 PyObject
* obj0
= 0 ;
10207 PyObject
* obj1
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "encIn",(char *) "encOut", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10213 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10215 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10233 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10236 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10238 return Py_BuildValue((char *)"");
10240 static PyObject
*_wrap_delete_DC(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:delete_DC",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();
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 Py_INCREF(Py_None
); resultobj
= Py_None
;
10265 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxDC
*arg1
= (wxDC
*) 0 ;
10268 PyObject
* obj0
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 (arg1
)->BeginDrawing();
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 Py_INCREF(Py_None
); resultobj
= Py_None
;
10290 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxDC
*arg1
= (wxDC
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 (arg1
)->EndDrawing();
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10308 Py_INCREF(Py_None
); resultobj
= Py_None
;
10315 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxDC
*arg1
= (wxDC
*) 0 ;
10320 wxColour
*arg4
= 0 ;
10321 int arg5
= (int) wxFLOOD_SURFACE
;
10324 PyObject
* obj0
= 0 ;
10325 PyObject
* obj1
= 0 ;
10326 PyObject
* obj2
= 0 ;
10327 PyObject
* obj3
= 0 ;
10328 PyObject
* obj4
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10336 arg2
= (int) SWIG_AsInt(obj1
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10338 arg3
= (int) SWIG_AsInt(obj2
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10342 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10345 arg5
= (int) SWIG_AsInt(obj4
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10364 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
;
10366 wxDC
*arg1
= (wxDC
*) 0 ;
10367 wxPoint
*arg2
= 0 ;
10368 wxColour
*arg3
= 0 ;
10369 int arg4
= (int) wxFLOOD_SURFACE
;
10373 PyObject
* obj0
= 0 ;
10374 PyObject
* obj1
= 0 ;
10375 PyObject
* obj2
= 0 ;
10376 PyObject
* obj3
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10390 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10393 arg4
= (int) SWIG_AsInt(obj3
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10412 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxDC
*arg1
= (wxDC
*) 0 ;
10418 PyObject
* obj0
= 0 ;
10419 PyObject
* obj1
= 0 ;
10420 PyObject
* obj2
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self",(char *) "x",(char *) "y", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10428 arg2
= (int) SWIG_AsInt(obj1
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10430 arg3
= (int) SWIG_AsInt(obj2
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10440 wxColour
* resultptr
;
10441 resultptr
= new wxColour((wxColour
&) result
);
10442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10450 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxDC
*arg1
= (wxDC
*) 0 ;
10453 wxPoint
*arg2
= 0 ;
10456 PyObject
* obj0
= 0 ;
10457 PyObject
* obj1
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self",(char *) "pt", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10467 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10477 wxColour
* resultptr
;
10478 resultptr
= new wxColour((wxColour
&) result
);
10479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10487 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
;
10489 wxDC
*arg1
= (wxDC
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 PyObject
* obj2
= 0 ;
10497 PyObject
* obj3
= 0 ;
10498 PyObject
* obj4
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10506 arg2
= (int) SWIG_AsInt(obj1
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10508 arg3
= (int) SWIG_AsInt(obj2
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10510 arg4
= (int) SWIG_AsInt(obj3
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10512 arg5
= (int) SWIG_AsInt(obj4
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 Py_INCREF(Py_None
); resultobj
= Py_None
;
10528 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxDC
*arg1
= (wxDC
*) 0 ;
10531 wxPoint
*arg2
= 0 ;
10532 wxPoint
*arg3
= 0 ;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 PyObject
* obj2
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10547 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10551 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 Py_INCREF(Py_None
); resultobj
= Py_None
;
10567 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 wxDC
*arg1
= (wxDC
*) 0 ;
10572 PyObject
* obj0
= 0 ;
10573 PyObject
* obj1
= 0 ;
10574 PyObject
* obj2
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self",(char *) "x",(char *) "y", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10582 arg2
= (int) SWIG_AsInt(obj1
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10584 arg3
= (int) SWIG_AsInt(obj2
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 (arg1
)->CrossHair(arg2
,arg3
);
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 Py_INCREF(Py_None
); resultobj
= Py_None
;
10600 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 wxDC
*arg1
= (wxDC
*) 0 ;
10603 wxPoint
*arg2
= 0 ;
10605 PyObject
* obj0
= 0 ;
10606 PyObject
* obj1
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self",(char *) "pt", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10625 Py_INCREF(Py_None
); resultobj
= Py_None
;
10632 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
;
10634 wxDC
*arg1
= (wxDC
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 PyObject
* obj2
= 0 ;
10644 PyObject
* obj3
= 0 ;
10645 PyObject
* obj4
= 0 ;
10646 PyObject
* obj5
= 0 ;
10647 PyObject
* obj6
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 arg2
= (int) SWIG_AsInt(obj1
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10657 arg3
= (int) SWIG_AsInt(obj2
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10659 arg4
= (int) SWIG_AsInt(obj3
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10661 arg5
= (int) SWIG_AsInt(obj4
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10663 arg6
= (int) SWIG_AsInt(obj5
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10665 arg7
= (int) SWIG_AsInt(obj6
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 Py_INCREF(Py_None
); resultobj
= Py_None
;
10681 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxDC
*arg1
= (wxDC
*) 0 ;
10684 wxPoint
*arg2
= 0 ;
10685 wxPoint
*arg3
= 0 ;
10686 wxPoint
*arg4
= 0 ;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 PyObject
* obj2
= 0 ;
10693 PyObject
* obj3
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10703 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10707 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10711 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 Py_INCREF(Py_None
); resultobj
= Py_None
;
10727 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxDC
*arg1
= (wxDC
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 PyObject
* obj3
= 0 ;
10738 PyObject
* obj4
= 0 ;
10739 char *kwnames
[] = {
10740 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10746 arg2
= (int) SWIG_AsInt(obj1
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10748 arg3
= (int) SWIG_AsInt(obj2
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10750 arg4
= (int) SWIG_AsInt(obj3
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10752 arg5
= (int) SWIG_AsInt(obj4
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 Py_INCREF(Py_None
); resultobj
= Py_None
;
10768 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
;
10770 wxDC
*arg1
= (wxDC
*) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self",(char *) "rect", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10784 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 Py_INCREF(Py_None
); resultobj
= Py_None
;
10800 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxDC
*arg1
= (wxDC
*) 0 ;
10809 PyObject
* obj0
= 0 ;
10810 PyObject
* obj1
= 0 ;
10811 PyObject
* obj2
= 0 ;
10812 PyObject
* obj3
= 0 ;
10813 PyObject
* obj4
= 0 ;
10814 PyObject
* obj5
= 0 ;
10815 PyObject
* obj6
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10823 arg2
= (int) SWIG_AsInt(obj1
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10825 arg3
= (int) SWIG_AsInt(obj2
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10827 arg4
= (int) SWIG_AsInt(obj3
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10829 arg5
= (int) SWIG_AsInt(obj4
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10831 arg6
= (double) SWIG_AsDouble(obj5
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10833 arg7
= (double) SWIG_AsDouble(obj6
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 Py_INCREF(Py_None
); resultobj
= Py_None
;
10849 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxDC
*arg1
= (wxDC
*) 0 ;
10852 wxPoint
*arg2
= 0 ;
10858 PyObject
* obj0
= 0 ;
10859 PyObject
* obj1
= 0 ;
10860 PyObject
* obj2
= 0 ;
10861 PyObject
* obj3
= 0 ;
10862 PyObject
* obj4
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10872 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10876 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10878 arg4
= (double) SWIG_AsDouble(obj3
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10880 arg5
= (double) SWIG_AsDouble(obj4
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 Py_INCREF(Py_None
); resultobj
= Py_None
;
10896 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxDC
*arg1
= (wxDC
*) 0 ;
10901 PyObject
* obj0
= 0 ;
10902 PyObject
* obj1
= 0 ;
10903 PyObject
* obj2
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self",(char *) "x",(char *) "y", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10911 arg2
= (int) SWIG_AsInt(obj1
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10913 arg3
= (int) SWIG_AsInt(obj2
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 (arg1
)->DrawPoint(arg2
,arg3
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 Py_INCREF(Py_None
); resultobj
= Py_None
;
10929 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxDC
*arg1
= (wxDC
*) 0 ;
10932 wxPoint
*arg2
= 0 ;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self",(char *) "pt", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10945 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 Py_INCREF(Py_None
); resultobj
= Py_None
;
10961 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxDC
*arg1
= (wxDC
*) 0 ;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 PyObject
* obj2
= 0 ;
10971 PyObject
* obj3
= 0 ;
10972 PyObject
* obj4
= 0 ;
10973 char *kwnames
[] = {
10974 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10980 arg2
= (int) SWIG_AsInt(obj1
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10982 arg3
= (int) SWIG_AsInt(obj2
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10984 arg4
= (int) SWIG_AsInt(obj3
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10986 arg5
= (int) SWIG_AsInt(obj4
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10995 Py_INCREF(Py_None
); resultobj
= Py_None
;
11002 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxDC
*arg1
= (wxDC
*) 0 ;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self",(char *) "rect", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11018 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11027 Py_INCREF(Py_None
); resultobj
= Py_None
;
11034 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
*resultobj
;
11036 wxDC
*arg1
= (wxDC
*) 0 ;
11037 wxPoint
*arg2
= 0 ;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 PyObject
* obj2
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self",(char *) "pt",(char *) "sz", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11057 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 Py_INCREF(Py_None
); resultobj
= Py_None
;
11073 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 wxDC
*arg1
= (wxDC
*) 0 ;
11081 PyObject
* obj0
= 0 ;
11082 PyObject
* obj1
= 0 ;
11083 PyObject
* obj2
= 0 ;
11084 PyObject
* obj3
= 0 ;
11085 PyObject
* obj4
= 0 ;
11086 PyObject
* obj5
= 0 ;
11087 char *kwnames
[] = {
11088 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11094 arg2
= (int) SWIG_AsInt(obj1
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11096 arg3
= (int) SWIG_AsInt(obj2
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11098 arg4
= (int) SWIG_AsInt(obj3
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11100 arg5
= (int) SWIG_AsInt(obj4
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11102 arg6
= (double) SWIG_AsDouble(obj5
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 Py_INCREF(Py_None
); resultobj
= Py_None
;
11118 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
;
11120 wxDC
*arg1
= (wxDC
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 PyObject
* obj2
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self",(char *) "r",(char *) "radius", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11136 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11138 arg3
= (double) SWIG_AsDouble(obj2
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 Py_INCREF(Py_None
); resultobj
= Py_None
;
11154 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 wxDC
*arg1
= (wxDC
*) 0 ;
11157 wxPoint
*arg2
= 0 ;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 PyObject
* obj2
= 0 ;
11165 PyObject
* obj3
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11179 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11181 arg4
= (double) SWIG_AsDouble(obj3
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11197 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxDC
*arg1
= (wxDC
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 PyObject
* obj2
= 0 ;
11206 PyObject
* obj3
= 0 ;
11207 char *kwnames
[] = {
11208 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11214 arg2
= (int) SWIG_AsInt(obj1
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11216 arg3
= (int) SWIG_AsInt(obj2
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11218 arg4
= (int) SWIG_AsInt(obj3
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 Py_INCREF(Py_None
); resultobj
= Py_None
;
11234 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxDC
*arg1
= (wxDC
*) 0 ;
11237 wxPoint
*arg2
= 0 ;
11240 PyObject
* obj0
= 0 ;
11241 PyObject
* obj1
= 0 ;
11242 PyObject
* obj2
= 0 ;
11243 char *kwnames
[] = {
11244 (char *) "self",(char *) "pt",(char *) "radius", NULL
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11252 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11254 arg3
= (int) SWIG_AsInt(obj2
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 Py_INCREF(Py_None
); resultobj
= Py_None
;
11270 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxDC
*arg1
= (wxDC
*) 0 ;
11277 PyObject
* obj0
= 0 ;
11278 PyObject
* obj1
= 0 ;
11279 PyObject
* obj2
= 0 ;
11280 PyObject
* obj3
= 0 ;
11281 PyObject
* obj4
= 0 ;
11282 char *kwnames
[] = {
11283 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11289 arg2
= (int) SWIG_AsInt(obj1
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11291 arg3
= (int) SWIG_AsInt(obj2
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11293 arg4
= (int) SWIG_AsInt(obj3
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11295 arg5
= (int) SWIG_AsInt(obj4
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 Py_INCREF(Py_None
); resultobj
= Py_None
;
11311 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxDC
*arg1
= (wxDC
*) 0 ;
11316 PyObject
* obj0
= 0 ;
11317 PyObject
* obj1
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "rect", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11327 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 Py_INCREF(Py_None
); resultobj
= Py_None
;
11343 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxDC
*arg1
= (wxDC
*) 0 ;
11346 wxPoint
*arg2
= 0 ;
11350 PyObject
* obj0
= 0 ;
11351 PyObject
* obj1
= 0 ;
11352 PyObject
* obj2
= 0 ;
11353 char *kwnames
[] = {
11354 (char *) "self",(char *) "pt",(char *) "sz", NULL
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11362 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11366 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11375 Py_INCREF(Py_None
); resultobj
= Py_None
;
11382 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11383 PyObject
*resultobj
;
11384 wxDC
*arg1
= (wxDC
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 PyObject
* obj2
= 0 ;
11391 PyObject
* obj3
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11402 if (arg2
== NULL
) {
11403 PyErr_SetString(PyExc_TypeError
,"null reference");
11406 arg3
= (int) SWIG_AsInt(obj2
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11408 arg4
= (int) SWIG_AsInt(obj3
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 Py_INCREF(Py_None
); resultobj
= Py_None
;
11424 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
;
11426 wxDC
*arg1
= (wxDC
*) 0 ;
11428 wxPoint
*arg3
= 0 ;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11432 PyObject
* obj2
= 0 ;
11433 char *kwnames
[] = {
11434 (char *) "self",(char *) "icon",(char *) "pt", NULL
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11443 if (arg2
== NULL
) {
11444 PyErr_SetString(PyExc_TypeError
,"null reference");
11449 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 Py_INCREF(Py_None
); resultobj
= Py_None
;
11465 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxDC
*arg1
= (wxDC
*) 0 ;
11468 wxBitmap
*arg2
= 0 ;
11471 bool arg5
= (bool) False
;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 PyObject
* obj2
= 0 ;
11475 PyObject
* obj3
= 0 ;
11476 PyObject
* obj4
= 0 ;
11477 char *kwnames
[] = {
11478 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11487 if (arg2
== NULL
) {
11488 PyErr_SetString(PyExc_TypeError
,"null reference");
11491 arg3
= (int) SWIG_AsInt(obj2
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11493 arg4
= (int) SWIG_AsInt(obj3
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11496 arg5
= (bool) SWIG_AsBool(obj4
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 Py_INCREF(Py_None
); resultobj
= Py_None
;
11513 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
;
11515 wxDC
*arg1
= (wxDC
*) 0 ;
11516 wxBitmap
*arg2
= 0 ;
11517 wxPoint
*arg3
= 0 ;
11518 bool arg4
= (bool) False
;
11520 PyObject
* obj0
= 0 ;
11521 PyObject
* obj1
= 0 ;
11522 PyObject
* obj2
= 0 ;
11523 PyObject
* obj3
= 0 ;
11524 char *kwnames
[] = {
11525 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11534 if (arg2
== NULL
) {
11535 PyErr_SetString(PyExc_TypeError
,"null reference");
11540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11543 arg4
= (bool) SWIG_AsBool(obj3
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 Py_INCREF(Py_None
); resultobj
= Py_None
;
11560 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxDC
*arg1
= (wxDC
*) 0 ;
11563 wxString
*arg2
= 0 ;
11566 bool temp2
= False
;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 PyObject
* obj2
= 0 ;
11570 PyObject
* obj3
= 0 ;
11571 char *kwnames
[] = {
11572 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11579 arg2
= wxString_in_helper(obj1
);
11580 if (arg2
== NULL
) SWIG_fail
;
11583 arg3
= (int) SWIG_AsInt(obj2
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11585 arg4
= (int) SWIG_AsInt(obj3
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 Py_INCREF(Py_None
); resultobj
= Py_None
;
11609 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxDC
*arg1
= (wxDC
*) 0 ;
11612 wxString
*arg2
= 0 ;
11613 wxPoint
*arg3
= 0 ;
11614 bool temp2
= False
;
11616 PyObject
* obj0
= 0 ;
11617 PyObject
* obj1
= 0 ;
11618 PyObject
* obj2
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self",(char *) "text",(char *) "pt", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11627 arg2
= wxString_in_helper(obj1
);
11628 if (arg2
== NULL
) SWIG_fail
;
11633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 Py_INCREF(Py_None
); resultobj
= Py_None
;
11657 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
;
11659 wxDC
*arg1
= (wxDC
*) 0 ;
11660 wxString
*arg2
= 0 ;
11664 bool temp2
= False
;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 PyObject
* obj2
= 0 ;
11668 PyObject
* obj3
= 0 ;
11669 PyObject
* obj4
= 0 ;
11670 char *kwnames
[] = {
11671 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11678 arg2
= wxString_in_helper(obj1
);
11679 if (arg2
== NULL
) SWIG_fail
;
11682 arg3
= (int) SWIG_AsInt(obj2
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11684 arg4
= (int) SWIG_AsInt(obj3
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11686 arg5
= (double) SWIG_AsDouble(obj4
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 Py_INCREF(Py_None
); resultobj
= Py_None
;
11710 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 wxDC
*arg1
= (wxDC
*) 0 ;
11713 wxString
*arg2
= 0 ;
11714 wxPoint
*arg3
= 0 ;
11716 bool temp2
= False
;
11718 PyObject
* obj0
= 0 ;
11719 PyObject
* obj1
= 0 ;
11720 PyObject
* obj2
= 0 ;
11721 PyObject
* obj3
= 0 ;
11722 char *kwnames
[] = {
11723 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11730 arg2
= wxString_in_helper(obj1
);
11731 if (arg2
== NULL
) SWIG_fail
;
11736 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11738 arg4
= (double) SWIG_AsDouble(obj3
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 Py_INCREF(Py_None
); resultobj
= Py_None
;
11762 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxDC
*arg1
= (wxDC
*) 0 ;
11769 wxDC
*arg6
= (wxDC
*) 0 ;
11772 int arg9
= (int) wxCOPY
;
11773 bool arg10
= (bool) False
;
11774 int arg11
= (int) -1 ;
11775 int arg12
= (int) -1 ;
11777 PyObject
* obj0
= 0 ;
11778 PyObject
* obj1
= 0 ;
11779 PyObject
* obj2
= 0 ;
11780 PyObject
* obj3
= 0 ;
11781 PyObject
* obj4
= 0 ;
11782 PyObject
* obj5
= 0 ;
11783 PyObject
* obj6
= 0 ;
11784 PyObject
* obj7
= 0 ;
11785 PyObject
* obj8
= 0 ;
11786 PyObject
* obj9
= 0 ;
11787 PyObject
* obj10
= 0 ;
11788 PyObject
* obj11
= 0 ;
11789 char *kwnames
[] = {
11790 (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
11793 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
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11796 arg2
= (int) SWIG_AsInt(obj1
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11798 arg3
= (int) SWIG_AsInt(obj2
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11800 arg4
= (int) SWIG_AsInt(obj3
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11802 arg5
= (int) SWIG_AsInt(obj4
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11804 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11806 arg7
= (int) SWIG_AsInt(obj6
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11808 arg8
= (int) SWIG_AsInt(obj7
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 arg9
= (int) SWIG_AsInt(obj8
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11815 arg10
= (bool) SWIG_AsBool(obj9
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11819 arg11
= (int) SWIG_AsInt(obj10
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11823 arg12
= (int) SWIG_AsInt(obj11
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11842 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxDC
*arg1
= (wxDC
*) 0 ;
11845 wxPoint
*arg2
= 0 ;
11847 wxDC
*arg4
= (wxDC
*) 0 ;
11848 wxPoint
*arg5
= 0 ;
11849 int arg6
= (int) wxCOPY
;
11850 bool arg7
= (bool) False
;
11851 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11852 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11858 PyObject
* obj0
= 0 ;
11859 PyObject
* obj1
= 0 ;
11860 PyObject
* obj2
= 0 ;
11861 PyObject
* obj3
= 0 ;
11862 PyObject
* obj4
= 0 ;
11863 PyObject
* obj5
= 0 ;
11864 PyObject
* obj6
= 0 ;
11865 PyObject
* obj7
= 0 ;
11866 char *kwnames
[] = {
11867 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11875 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11879 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11881 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11885 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11888 arg6
= (int) SWIG_AsInt(obj5
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11892 arg7
= (bool) SWIG_AsBool(obj6
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11898 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11917 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
;
11919 wxDC
*arg1
= (wxDC
*) 0 ;
11924 PyObject
* obj0
= 0 ;
11925 PyObject
* obj1
= 0 ;
11926 PyObject
* obj2
= 0 ;
11927 PyObject
* obj3
= 0 ;
11928 PyObject
* obj4
= 0 ;
11929 char *kwnames
[] = {
11930 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11936 arg2
= (int) SWIG_AsInt(obj1
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11938 arg3
= (int) SWIG_AsInt(obj2
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11940 arg4
= (int) SWIG_AsInt(obj3
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11942 arg5
= (int) SWIG_AsInt(obj4
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 Py_INCREF(Py_None
); resultobj
= Py_None
;
11958 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxDC
*arg1
= (wxDC
*) 0 ;
11961 wxPoint
*arg2
= 0 ;
11965 PyObject
* obj0
= 0 ;
11966 PyObject
* obj1
= 0 ;
11967 PyObject
* obj2
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self",(char *) "pt",(char *) "sz", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11981 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 Py_INCREF(Py_None
); resultobj
= Py_None
;
11997 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
;
11999 wxDC
*arg1
= (wxDC
*) 0 ;
12000 wxRegion
*arg2
= 0 ;
12001 PyObject
* obj0
= 0 ;
12002 PyObject
* obj1
= 0 ;
12003 char *kwnames
[] = {
12004 (char *) "self",(char *) "region", NULL
12007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12013 if (arg2
== NULL
) {
12014 PyErr_SetString(PyExc_TypeError
,"null reference");
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 Py_INCREF(Py_None
); resultobj
= Py_None
;
12031 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxDC
*arg1
= (wxDC
*) 0 ;
12036 PyObject
* obj0
= 0 ;
12037 PyObject
* obj1
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self",(char *) "rect", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12047 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 Py_INCREF(Py_None
); resultobj
= Py_None
;
12063 static PyObject
*_wrap_DC_DrawLines(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 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 PyObject
* obj2
= 0 ;
12073 PyObject
* obj3
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12082 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12083 if (arg3
== NULL
) SWIG_fail
;
12086 arg4
= (int) SWIG_AsInt(obj2
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12090 arg5
= (int) SWIG_AsInt(obj3
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12100 Py_INCREF(Py_None
); resultobj
= Py_None
;
12102 if (arg3
) delete [] arg3
;
12107 if (arg3
) delete [] arg3
;
12113 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxDC
*arg1
= (wxDC
*) 0 ;
12117 wxPoint
*arg3
= (wxPoint
*) 0 ;
12118 int arg4
= (int) 0 ;
12119 int arg5
= (int) 0 ;
12120 int arg6
= (int) wxODDEVEN_RULE
;
12121 PyObject
* obj0
= 0 ;
12122 PyObject
* obj1
= 0 ;
12123 PyObject
* obj2
= 0 ;
12124 PyObject
* obj3
= 0 ;
12125 PyObject
* obj4
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12134 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12135 if (arg3
== NULL
) SWIG_fail
;
12138 arg4
= (int) SWIG_AsInt(obj2
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 arg5
= (int) SWIG_AsInt(obj3
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12146 arg6
= (int) SWIG_AsInt(obj4
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 Py_INCREF(Py_None
); resultobj
= Py_None
;
12158 if (arg3
) delete [] arg3
;
12163 if (arg3
) delete [] arg3
;
12169 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxDC
*arg1
= (wxDC
*) 0 ;
12172 wxString
*arg2
= 0 ;
12174 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12175 int arg5
= (int) -1 ;
12176 bool temp2
= False
;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 PyObject
* obj2
= 0 ;
12181 PyObject
* obj3
= 0 ;
12182 PyObject
* obj4
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12191 arg2
= wxString_in_helper(obj1
);
12192 if (arg2
== NULL
) SWIG_fail
;
12197 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12200 arg4
= (int) SWIG_AsInt(obj3
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12204 arg5
= (int) SWIG_AsInt(obj4
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 Py_INCREF(Py_None
); resultobj
= Py_None
;
12229 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxDC
*arg1
= (wxDC
*) 0 ;
12232 wxString
*arg2
= 0 ;
12233 wxBitmap
*arg3
= 0 ;
12235 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12236 int arg6
= (int) -1 ;
12238 bool temp2
= False
;
12240 PyObject
* obj0
= 0 ;
12241 PyObject
* obj1
= 0 ;
12242 PyObject
* obj2
= 0 ;
12243 PyObject
* obj3
= 0 ;
12244 PyObject
* obj4
= 0 ;
12245 PyObject
* obj5
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12254 arg2
= wxString_in_helper(obj1
);
12255 if (arg2
== NULL
) SWIG_fail
;
12258 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12261 if (arg3
== NULL
) {
12262 PyErr_SetString(PyExc_TypeError
,"null reference");
12267 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12270 arg5
= (int) SWIG_AsInt(obj4
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 arg6
= (int) SWIG_AsInt(obj5
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12285 wxRect
* resultptr
;
12286 resultptr
= new wxRect((wxRect
&) result
);
12287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12303 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxDC
*arg1
= (wxDC
*) 0 ;
12307 wxPoint
*arg3
= (wxPoint
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 PyObject
* obj1
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self",(char *) "points", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12318 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12319 if (arg3
== NULL
) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 (arg1
)->DrawSpline(arg2
,arg3
);
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 Py_INCREF(Py_None
); resultobj
= Py_None
;
12330 if (arg3
) delete [] arg3
;
12335 if (arg3
) delete [] arg3
;
12341 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxDC
*arg1
= (wxDC
*) 0 ;
12344 PyObject
* obj0
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "self", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 Py_INCREF(Py_None
); resultobj
= Py_None
;
12366 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxDC
*arg1
= (wxDC
*) 0 ;
12369 wxString
*arg2
= 0 ;
12371 bool temp2
= False
;
12372 PyObject
* obj0
= 0 ;
12373 PyObject
* obj1
= 0 ;
12374 char *kwnames
[] = {
12375 (char *) "self",(char *) "message", NULL
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12382 arg2
= wxString_in_helper(obj1
);
12383 if (arg2
== NULL
) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12410 static PyObject
*_wrap_DC_EndDoc(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_EndDoc",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_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxDC
*arg1
= (wxDC
*) 0 ;
12438 PyObject
* obj0
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->StartPage();
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxDC
*arg1
= (wxDC
*) 0 ;
12463 PyObject
* obj0
= 0 ;
12464 char *kwnames
[] = {
12465 (char *) "self", NULL
12468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 Py_INCREF(Py_None
); resultobj
= Py_None
;
12485 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxDC
*arg1
= (wxDC
*) 0 ;
12489 PyObject
* obj0
= 0 ;
12490 PyObject
* obj1
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "self",(char *) "font", NULL
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12501 if (arg2
== NULL
) {
12502 PyErr_SetString(PyExc_TypeError
,"null reference");
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 (arg1
)->SetFont((wxFont
const &)*arg2
);
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 Py_INCREF(Py_None
); resultobj
= Py_None
;
12519 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxDC
*arg1
= (wxDC
*) 0 ;
12523 PyObject
* obj0
= 0 ;
12524 PyObject
* obj1
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self",(char *) "pen", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12535 if (arg2
== NULL
) {
12536 PyErr_SetString(PyExc_TypeError
,"null reference");
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 (arg1
)->SetPen((wxPen
const &)*arg2
);
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 Py_INCREF(Py_None
); resultobj
= Py_None
;
12553 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxDC
*arg1
= (wxDC
*) 0 ;
12556 wxBrush
*arg2
= 0 ;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self",(char *) "brush", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12569 if (arg2
== NULL
) {
12570 PyErr_SetString(PyExc_TypeError
,"null reference");
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 Py_INCREF(Py_None
); resultobj
= Py_None
;
12587 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxDC
*arg1
= (wxDC
*) 0 ;
12590 wxBrush
*arg2
= 0 ;
12591 PyObject
* obj0
= 0 ;
12592 PyObject
* obj1
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self",(char *) "brush", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12603 if (arg2
== NULL
) {
12604 PyErr_SetString(PyExc_TypeError
,"null reference");
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 Py_INCREF(Py_None
); resultobj
= Py_None
;
12621 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxDC
*arg1
= (wxDC
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 PyObject
* obj1
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self",(char *) "mode", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 arg2
= (int) SWIG_AsInt(obj1
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 (arg1
)->SetBackgroundMode(arg2
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 Py_INCREF(Py_None
); resultobj
= Py_None
;
12650 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxDC
*arg1
= (wxDC
*) 0 ;
12653 wxPalette
*arg2
= 0 ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self",(char *) "palette", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12666 if (arg2
== NULL
) {
12667 PyErr_SetString(PyExc_TypeError
,"null reference");
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 Py_INCREF(Py_None
); resultobj
= Py_None
;
12684 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxDC
*arg1
= (wxDC
*) 0 ;
12687 PyObject
* obj0
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 (arg1
)->DestroyClippingRegion();
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 Py_INCREF(Py_None
); resultobj
= Py_None
;
12709 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
*resultobj
;
12711 wxDC
*arg1
= (wxDC
*) 0 ;
12712 int *arg2
= (int *) 0 ;
12713 int *arg3
= (int *) 0 ;
12714 int *arg4
= (int *) 0 ;
12715 int *arg5
= (int *) 0 ;
12720 PyObject
* obj0
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "self", NULL
12729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 Py_INCREF(Py_None
); resultobj
= Py_None
;
12741 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12742 resultobj
= t_output_helper(resultobj
,o
);
12745 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12746 resultobj
= t_output_helper(resultobj
,o
);
12749 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12750 resultobj
= t_output_helper(resultobj
,o
);
12753 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12754 resultobj
= t_output_helper(resultobj
,o
);
12762 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
;
12764 wxDC
*arg1
= (wxDC
*) 0 ;
12766 PyObject
* obj0
= 0 ;
12767 char *kwnames
[] = {
12768 (char *) "self", NULL
12771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= wxDC_GetClippingRect(arg1
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12782 wxRect
* resultptr
;
12783 resultptr
= new wxRect((wxRect
&) result
);
12784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12792 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
;
12794 wxDC
*arg1
= (wxDC
*) 0 ;
12796 PyObject
* obj0
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 resultobj
= SWIG_FromInt((int)result
);
12818 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxDC
*arg1
= (wxDC
*) 0 ;
12822 PyObject
* obj0
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= SWIG_FromInt((int)result
);
12844 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12845 PyObject
*resultobj
;
12846 wxDC
*arg1
= (wxDC
*) 0 ;
12847 wxString
*arg2
= 0 ;
12848 int *arg3
= (int *) 0 ;
12849 int *arg4
= (int *) 0 ;
12850 bool temp2
= False
;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 char *kwnames
[] = {
12856 (char *) "self",(char *) "string", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12865 arg2
= wxString_in_helper(obj1
);
12866 if (arg2
== NULL
) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 Py_INCREF(Py_None
); resultobj
= Py_None
;
12878 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12879 resultobj
= t_output_helper(resultobj
,o
);
12882 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12883 resultobj
= t_output_helper(resultobj
,o
);
12899 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxDC
*arg1
= (wxDC
*) 0 ;
12902 wxString
*arg2
= 0 ;
12903 int *arg3
= (int *) 0 ;
12904 int *arg4
= (int *) 0 ;
12905 int *arg5
= (int *) 0 ;
12906 int *arg6
= (int *) 0 ;
12907 wxFont
*arg7
= (wxFont
*) NULL
;
12908 bool temp2
= False
;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 PyObject
* obj2
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self",(char *) "string",(char *) "font", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12928 arg2
= wxString_in_helper(obj1
);
12929 if (arg2
== NULL
) SWIG_fail
;
12933 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 Py_INCREF(Py_None
); resultobj
= Py_None
;
12945 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12946 resultobj
= t_output_helper(resultobj
,o
);
12949 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12950 resultobj
= t_output_helper(resultobj
,o
);
12953 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12954 resultobj
= t_output_helper(resultobj
,o
);
12957 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12958 resultobj
= t_output_helper(resultobj
,o
);
12974 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
;
12976 wxDC
*arg1
= (wxDC
*) 0 ;
12977 wxString
*arg2
= 0 ;
12978 int *arg3
= (int *) 0 ;
12979 int *arg4
= (int *) 0 ;
12980 int *arg5
= (int *) 0 ;
12981 wxFont
*arg6
= (wxFont
*) NULL
;
12982 bool temp2
= False
;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 PyObject
* obj2
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self",(char *) "text",(char *) "font", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13000 arg2
= wxString_in_helper(obj1
);
13001 if (arg2
== NULL
) SWIG_fail
;
13005 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 Py_INCREF(Py_None
); resultobj
= Py_None
;
13017 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13018 resultobj
= t_output_helper(resultobj
,o
);
13021 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13022 resultobj
= t_output_helper(resultobj
,o
);
13025 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13026 resultobj
= t_output_helper(resultobj
,o
);
13042 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxDC
*arg1
= (wxDC
*) 0 ;
13045 wxString
*arg2
= 0 ;
13047 bool temp2
= False
;
13048 PyObject
* obj0
= 0 ;
13049 PyObject
* obj1
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "self",(char *) "text", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13058 arg2
= wxString_in_helper(obj1
);
13059 if (arg2
== NULL
) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= PyList_New(0);
13072 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13073 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13074 PyList_Append(resultobj
, val
);
13092 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13093 PyObject
*resultobj
;
13094 wxDC
*arg1
= (wxDC
*) 0 ;
13096 PyObject
* obj0
= 0 ;
13097 char *kwnames
[] = {
13098 (char *) "self", NULL
13101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (arg1
)->GetSize();
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13112 wxSize
* resultptr
;
13113 resultptr
= new wxSize((wxSize
&) result
);
13114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13122 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxDC
*arg1
= (wxDC
*) 0 ;
13125 int *arg2
= (int *) 0 ;
13126 int *arg3
= (int *) 0 ;
13129 PyObject
* obj0
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 (arg1
)->GetSize(arg2
,arg3
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 Py_INCREF(Py_None
); resultobj
= Py_None
;
13148 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13149 resultobj
= t_output_helper(resultobj
,o
);
13152 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13153 resultobj
= t_output_helper(resultobj
,o
);
13161 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxDC
*arg1
= (wxDC
*) 0 ;
13165 PyObject
* obj0
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13181 wxSize
* resultptr
;
13182 resultptr
= new wxSize((wxSize
&) result
);
13183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13191 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxDC
*arg1
= (wxDC
*) 0 ;
13194 int *arg2
= (int *) 0 ;
13195 int *arg3
= (int *) 0 ;
13198 PyObject
* obj0
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 Py_INCREF(Py_None
); resultobj
= Py_None
;
13217 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13218 resultobj
= t_output_helper(resultobj
,o
);
13221 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13222 resultobj
= t_output_helper(resultobj
,o
);
13230 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
;
13232 wxDC
*arg1
= (wxDC
*) 0 ;
13235 PyObject
* obj0
= 0 ;
13236 PyObject
* obj1
= 0 ;
13237 char *kwnames
[] = {
13238 (char *) "self",(char *) "x", NULL
13241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13244 arg2
= (int) SWIG_AsInt(obj1
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 resultobj
= SWIG_FromInt((int)result
);
13260 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxDC
*arg1
= (wxDC
*) 0 ;
13265 PyObject
* obj0
= 0 ;
13266 PyObject
* obj1
= 0 ;
13267 char *kwnames
[] = {
13268 (char *) "self",(char *) "y", NULL
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13274 arg2
= (int) SWIG_AsInt(obj1
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= SWIG_FromInt((int)result
);
13290 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
;
13292 wxDC
*arg1
= (wxDC
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 PyObject
* obj1
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "self",(char *) "x", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13304 arg2
= (int) SWIG_AsInt(obj1
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_FromInt((int)result
);
13320 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxDC
*arg1
= (wxDC
*) 0 ;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self",(char *) "y", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13334 arg2
= (int) SWIG_AsInt(obj1
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= SWIG_FromInt((int)result
);
13350 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxDC
*arg1
= (wxDC
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self",(char *) "x", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13364 arg2
= (int) SWIG_AsInt(obj1
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= SWIG_FromInt((int)result
);
13380 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxDC
*arg1
= (wxDC
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 PyObject
* obj1
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self",(char *) "y", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13394 arg2
= (int) SWIG_AsInt(obj1
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_FromInt((int)result
);
13410 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxDC
*arg1
= (wxDC
*) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 PyObject
* obj1
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self",(char *) "x", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13424 arg2
= (int) SWIG_AsInt(obj1
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_FromInt((int)result
);
13440 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxDC
*arg1
= (wxDC
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 PyObject
* obj1
= 0 ;
13447 char *kwnames
[] = {
13448 (char *) "self",(char *) "y", NULL
13451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13454 arg2
= (int) SWIG_AsInt(obj1
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_FromInt((int)result
);
13470 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxDC
*arg1
= (wxDC
*) 0 ;
13474 PyObject
* obj0
= 0 ;
13475 char *kwnames
[] = {
13476 (char *) "self", NULL
13479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13498 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxDC
*arg1
= (wxDC
*) 0 ;
13502 PyObject
* obj0
= 0 ;
13503 char *kwnames
[] = {
13504 (char *) "self", NULL
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13526 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxDC
*arg1
= (wxDC
*) 0 ;
13530 PyObject
* obj0
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= SWIG_FromInt((int)result
);
13552 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxDC
*arg1
= (wxDC
*) 0 ;
13556 PyObject
* obj0
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= ((wxDC
const *)arg1
)->GetPPI();
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13572 wxSize
* resultptr
;
13573 resultptr
= new wxSize((wxSize
&) result
);
13574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13582 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
;
13584 wxDC
*arg1
= (wxDC
*) 0 ;
13586 PyObject
* obj0
= 0 ;
13587 char *kwnames
[] = {
13588 (char *) "self", NULL
13591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (bool)((wxDC
const *)arg1
)->Ok();
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13610 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxDC
*arg1
= (wxDC
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "self", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= SWIG_FromInt((int)result
);
13636 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
;
13638 wxDC
*arg1
= (wxDC
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 char *kwnames
[] = {
13642 (char *) "self", NULL
13645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13652 result
= (wxBrush
*) &_result_ref
;
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13659 wxBrush
* resultptr
= new wxBrush(*result
);
13660 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13668 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
;
13670 wxDC
*arg1
= (wxDC
*) 0 ;
13672 PyObject
* obj0
= 0 ;
13673 char *kwnames
[] = {
13674 (char *) "self", NULL
13677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13684 result
= (wxBrush
*) &_result_ref
;
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13691 wxBrush
* resultptr
= new wxBrush(*result
);
13692 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13700 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
;
13702 wxDC
*arg1
= (wxDC
*) 0 ;
13704 PyObject
* obj0
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13716 result
= (wxFont
*) &_result_ref
;
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13723 wxFont
* resultptr
= new wxFont(*result
);
13724 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13732 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxDC
*arg1
= (wxDC
*) 0 ;
13736 PyObject
* obj0
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "self", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13748 result
= (wxPen
*) &_result_ref
;
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13755 wxPen
* resultptr
= new wxPen(*result
);
13756 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13764 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13765 PyObject
*resultobj
;
13766 wxDC
*arg1
= (wxDC
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13780 result
= (wxColour
*) &_result_ref
;
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13793 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxDC
*arg1
= (wxDC
*) 0 ;
13797 PyObject
* obj0
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13809 result
= (wxColour
*) &_result_ref
;
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13822 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
;
13824 wxDC
*arg1
= (wxDC
*) 0 ;
13825 wxColour
*arg2
= 0 ;
13827 PyObject
* obj0
= 0 ;
13828 PyObject
* obj1
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "self",(char *) "colour", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13838 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 Py_INCREF(Py_None
); resultobj
= Py_None
;
13854 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
;
13856 wxDC
*arg1
= (wxDC
*) 0 ;
13857 wxColour
*arg2
= 0 ;
13859 PyObject
* obj0
= 0 ;
13860 PyObject
* obj1
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self",(char *) "colour", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13870 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 Py_INCREF(Py_None
); resultobj
= Py_None
;
13886 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxDC
*arg1
= (wxDC
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= SWIG_FromInt((int)result
);
13912 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxDC
*arg1
= (wxDC
*) 0 ;
13916 PyObject
* obj0
= 0 ;
13917 PyObject
* obj1
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self",(char *) "mode", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13925 arg2
= (int) SWIG_AsInt(obj1
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 (arg1
)->SetMapMode(arg2
);
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13934 Py_INCREF(Py_None
); resultobj
= Py_None
;
13941 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
;
13943 wxDC
*arg1
= (wxDC
*) 0 ;
13944 double *arg2
= (double *) 0 ;
13945 double *arg3
= (double *) 0 ;
13948 PyObject
* obj0
= 0 ;
13949 char *kwnames
[] = {
13950 (char *) "self", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 Py_INCREF(Py_None
); resultobj
= Py_None
;
13967 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13968 resultobj
= t_output_helper(resultobj
,o
);
13971 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13972 resultobj
= t_output_helper(resultobj
,o
);
13980 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13981 PyObject
*resultobj
;
13982 wxDC
*arg1
= (wxDC
*) 0 ;
13985 PyObject
* obj0
= 0 ;
13986 PyObject
* obj1
= 0 ;
13987 PyObject
* obj2
= 0 ;
13988 char *kwnames
[] = {
13989 (char *) "self",(char *) "x",(char *) "y", NULL
13992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13995 arg2
= (double) SWIG_AsDouble(obj1
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13997 arg3
= (double) SWIG_AsDouble(obj2
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 (arg1
)->SetUserScale(arg2
,arg3
);
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 Py_INCREF(Py_None
); resultobj
= Py_None
;
14013 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
;
14015 wxDC
*arg1
= (wxDC
*) 0 ;
14016 double *arg2
= (double *) 0 ;
14017 double *arg3
= (double *) 0 ;
14020 PyObject
* obj0
= 0 ;
14021 char *kwnames
[] = {
14022 (char *) "self", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14032 (arg1
)->GetLogicalScale(arg2
,arg3
);
14034 wxPyEndAllowThreads(__tstate
);
14035 if (PyErr_Occurred()) SWIG_fail
;
14037 Py_INCREF(Py_None
); resultobj
= Py_None
;
14039 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14040 resultobj
= t_output_helper(resultobj
,o
);
14043 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14044 resultobj
= t_output_helper(resultobj
,o
);
14052 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
;
14054 wxDC
*arg1
= (wxDC
*) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 PyObject
* obj1
= 0 ;
14059 PyObject
* obj2
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "x",(char *) "y", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14067 arg2
= (double) SWIG_AsDouble(obj1
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14069 arg3
= (double) SWIG_AsDouble(obj2
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14073 (arg1
)->SetLogicalScale(arg2
,arg3
);
14075 wxPyEndAllowThreads(__tstate
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14078 Py_INCREF(Py_None
); resultobj
= Py_None
;
14085 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14086 PyObject
*resultobj
;
14087 wxDC
*arg1
= (wxDC
*) 0 ;
14089 PyObject
* obj0
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14105 wxPoint
* resultptr
;
14106 resultptr
= new wxPoint((wxPoint
&) result
);
14107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14115 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
;
14117 wxDC
*arg1
= (wxDC
*) 0 ;
14118 int *arg2
= (int *) 0 ;
14119 int *arg3
= (int *) 0 ;
14122 PyObject
* obj0
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 Py_INCREF(Py_None
); resultobj
= Py_None
;
14141 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14142 resultobj
= t_output_helper(resultobj
,o
);
14145 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14146 resultobj
= t_output_helper(resultobj
,o
);
14154 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
;
14156 wxDC
*arg1
= (wxDC
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 PyObject
* obj1
= 0 ;
14161 PyObject
* obj2
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self",(char *) "x",(char *) "y", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14169 arg2
= (int) SWIG_AsInt(obj1
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14171 arg3
= (int) SWIG_AsInt(obj2
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 Py_INCREF(Py_None
); resultobj
= Py_None
;
14187 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14188 PyObject
*resultobj
;
14189 wxDC
*arg1
= (wxDC
*) 0 ;
14190 wxPoint
*arg2
= 0 ;
14192 PyObject
* obj0
= 0 ;
14193 PyObject
* obj1
= 0 ;
14194 char *kwnames
[] = {
14195 (char *) "self",(char *) "point", NULL
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 Py_INCREF(Py_None
); resultobj
= Py_None
;
14219 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxDC
*arg1
= (wxDC
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14239 wxPoint
* resultptr
;
14240 resultptr
= new wxPoint((wxPoint
&) result
);
14241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14249 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxDC
*arg1
= (wxDC
*) 0 ;
14252 int *arg2
= (int *) 0 ;
14253 int *arg3
= (int *) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 Py_INCREF(Py_None
); resultobj
= Py_None
;
14275 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14276 resultobj
= t_output_helper(resultobj
,o
);
14279 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14280 resultobj
= t_output_helper(resultobj
,o
);
14288 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxDC
*arg1
= (wxDC
*) 0 ;
14293 PyObject
* obj0
= 0 ;
14294 PyObject
* obj1
= 0 ;
14295 PyObject
* obj2
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self",(char *) "x",(char *) "y", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14303 arg2
= (int) SWIG_AsInt(obj1
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14305 arg3
= (int) SWIG_AsInt(obj2
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 Py_INCREF(Py_None
); resultobj
= Py_None
;
14321 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxDC
*arg1
= (wxDC
*) 0 ;
14324 wxPoint
*arg2
= 0 ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self",(char *) "point", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 Py_INCREF(Py_None
); resultobj
= Py_None
;
14353 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxDC
*arg1
= (wxDC
*) 0 ;
14358 PyObject
* obj0
= 0 ;
14359 PyObject
* obj1
= 0 ;
14360 PyObject
* obj2
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14368 arg2
= (bool) SWIG_AsBool(obj1
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14370 arg3
= (bool) SWIG_AsBool(obj2
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 Py_INCREF(Py_None
); resultobj
= Py_None
;
14386 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxDC
*arg1
= (wxDC
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= SWIG_FromInt((int)result
);
14412 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxDC
*arg1
= (wxDC
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 PyObject
* obj1
= 0 ;
14418 char *kwnames
[] = {
14419 (char *) "self",(char *) "function", NULL
14422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14425 arg2
= (int) SWIG_AsInt(obj1
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 (arg1
)->SetLogicalFunction(arg2
);
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 Py_INCREF(Py_None
); resultobj
= Py_None
;
14441 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxDC
*arg1
= (wxDC
*) 0 ;
14445 PyObject
* obj0
= 0 ;
14446 PyObject
* obj1
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self",(char *) "opt", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14454 arg2
= (bool) SWIG_AsBool(obj1
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 (arg1
)->SetOptimization(arg2
);
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14463 Py_INCREF(Py_None
); resultobj
= Py_None
;
14470 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
;
14472 wxDC
*arg1
= (wxDC
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (bool)(arg1
)->GetOptimization();
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14498 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxDC
*arg1
= (wxDC
*) 0 ;
14503 PyObject
* obj0
= 0 ;
14504 PyObject
* obj1
= 0 ;
14505 PyObject
* obj2
= 0 ;
14506 char *kwnames
[] = {
14507 (char *) "self",(char *) "x",(char *) "y", NULL
14510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14513 arg2
= (int) SWIG_AsInt(obj1
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14515 arg3
= (int) SWIG_AsInt(obj2
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 Py_INCREF(Py_None
); resultobj
= Py_None
;
14531 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxDC
*arg1
= (wxDC
*) 0 ;
14534 wxPoint
*arg2
= 0 ;
14536 PyObject
* obj0
= 0 ;
14537 PyObject
* obj1
= 0 ;
14538 char *kwnames
[] = {
14539 (char *) "self",(char *) "point", NULL
14542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14547 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 Py_INCREF(Py_None
); resultobj
= Py_None
;
14563 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxDC
*arg1
= (wxDC
*) 0 ;
14566 PyObject
* obj0
= 0 ;
14567 char *kwnames
[] = {
14568 (char *) "self", NULL
14571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 (arg1
)->ResetBoundingBox();
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 Py_INCREF(Py_None
); resultobj
= Py_None
;
14588 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxDC
*arg1
= (wxDC
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 result
= (int)((wxDC
const *)arg1
)->MinX();
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 resultobj
= SWIG_FromInt((int)result
);
14614 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxDC
*arg1
= (wxDC
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 char *kwnames
[] = {
14620 (char *) "self", NULL
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (int)((wxDC
const *)arg1
)->MaxX();
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= SWIG_FromInt((int)result
);
14640 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxDC
*arg1
= (wxDC
*) 0 ;
14644 PyObject
* obj0
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (int)((wxDC
const *)arg1
)->MinY();
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= SWIG_FromInt((int)result
);
14666 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxDC
*arg1
= (wxDC
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (int)((wxDC
const *)arg1
)->MaxY();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= SWIG_FromInt((int)result
);
14692 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxDC
*arg1
= (wxDC
*) 0 ;
14695 int *arg2
= (int *) 0 ;
14696 int *arg3
= (int *) 0 ;
14697 int *arg4
= (int *) 0 ;
14698 int *arg5
= (int *) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 Py_INCREF(Py_None
); resultobj
= Py_None
;
14724 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14725 resultobj
= t_output_helper(resultobj
,o
);
14728 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14729 resultobj
= t_output_helper(resultobj
,o
);
14732 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14733 resultobj
= t_output_helper(resultobj
,o
);
14736 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14737 resultobj
= t_output_helper(resultobj
,o
);
14745 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxDC
*arg1
= (wxDC
*) 0 ;
14748 PyObject
*arg2
= (PyObject
*) 0 ;
14749 PyObject
*arg3
= (PyObject
*) 0 ;
14750 PyObject
*arg4
= (PyObject
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 PyObject
* obj1
= 0 ;
14754 PyObject
* obj2
= 0 ;
14755 PyObject
* obj3
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= result
;
14780 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxDC
*arg1
= (wxDC
*) 0 ;
14783 PyObject
*arg2
= (PyObject
*) 0 ;
14784 PyObject
*arg3
= (PyObject
*) 0 ;
14785 PyObject
*arg4
= (PyObject
*) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 PyObject
* obj1
= 0 ;
14789 PyObject
* obj2
= 0 ;
14790 PyObject
* obj3
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14808 resultobj
= result
;
14815 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxDC
*arg1
= (wxDC
*) 0 ;
14818 PyObject
*arg2
= (PyObject
*) 0 ;
14819 PyObject
*arg3
= (PyObject
*) 0 ;
14820 PyObject
*arg4
= (PyObject
*) 0 ;
14822 PyObject
* obj0
= 0 ;
14823 PyObject
* obj1
= 0 ;
14824 PyObject
* obj2
= 0 ;
14825 PyObject
* obj3
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= result
;
14850 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxDC
*arg1
= (wxDC
*) 0 ;
14853 PyObject
*arg2
= (PyObject
*) 0 ;
14854 PyObject
*arg3
= (PyObject
*) 0 ;
14855 PyObject
*arg4
= (PyObject
*) 0 ;
14857 PyObject
* obj0
= 0 ;
14858 PyObject
* obj1
= 0 ;
14859 PyObject
* obj2
= 0 ;
14860 PyObject
* obj3
= 0 ;
14861 char *kwnames
[] = {
14862 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= result
;
14885 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 wxDC
*arg1
= (wxDC
*) 0 ;
14888 PyObject
*arg2
= (PyObject
*) 0 ;
14889 PyObject
*arg3
= (PyObject
*) 0 ;
14890 PyObject
*arg4
= (PyObject
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 PyObject
* obj2
= 0 ;
14895 PyObject
* obj3
= 0 ;
14896 char *kwnames
[] = {
14897 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= result
;
14920 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
;
14922 wxDC
*arg1
= (wxDC
*) 0 ;
14923 PyObject
*arg2
= (PyObject
*) 0 ;
14924 PyObject
*arg3
= (PyObject
*) 0 ;
14925 PyObject
*arg4
= (PyObject
*) 0 ;
14926 PyObject
*arg5
= (PyObject
*) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 PyObject
* obj1
= 0 ;
14930 PyObject
* obj2
= 0 ;
14931 PyObject
* obj3
= 0 ;
14932 PyObject
* obj4
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= result
;
14958 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14961 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14963 return Py_BuildValue((char *)"");
14965 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxMemoryDC
*result
;
14968 char *kwnames
[] = {
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (wxMemoryDC
*)new wxMemoryDC();
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14987 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxDC
*arg1
= (wxDC
*) 0 ;
14990 wxMemoryDC
*result
;
14991 PyObject
* obj0
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "oldDC", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15013 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15016 wxBitmap
*arg2
= 0 ;
15017 PyObject
* obj0
= 0 ;
15018 PyObject
* obj1
= 0 ;
15019 char *kwnames
[] = {
15020 (char *) "self",(char *) "bitmap", NULL
15023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15029 if (arg2
== NULL
) {
15030 PyErr_SetString(PyExc_TypeError
,"null reference");
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 Py_INCREF(Py_None
); resultobj
= Py_None
;
15047 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15050 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15052 return Py_BuildValue((char *)"");
15054 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15055 PyObject
*resultobj
;
15056 wxDC
*arg1
= (wxDC
*) 0 ;
15057 wxBitmap
*arg2
= 0 ;
15058 wxBufferedDC
*result
;
15059 PyObject
* obj0
= 0 ;
15060 PyObject
* obj1
= 0 ;
15062 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15068 if (arg2
== NULL
) {
15069 PyErr_SetString(PyExc_TypeError
,"null reference");
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15086 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15087 PyObject
*resultobj
;
15088 wxDC
*arg1
= (wxDC
*) 0 ;
15090 wxBufferedDC
*result
;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15095 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15100 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15116 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15121 argc
= PyObject_Length(args
);
15122 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15123 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15129 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15139 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15147 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15155 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15164 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15167 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15172 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15177 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15178 PyObject
*resultobj
;
15179 wxDC
*arg1
= (wxDC
*) 0 ;
15181 wxBufferedDC
*result
;
15183 PyObject
* obj0
= 0 ;
15184 PyObject
* obj1
= 0 ;
15186 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15191 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15207 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
;
15209 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15225 Py_INCREF(Py_None
); resultobj
= Py_None
;
15232 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
;
15234 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 char *kwnames
[] = {
15237 (char *) "self", NULL
15240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15250 Py_INCREF(Py_None
); resultobj
= Py_None
;
15257 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15260 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15262 return Py_BuildValue((char *)"");
15264 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
;
15266 wxWindow
*arg1
= (wxWindow
*) 0 ;
15267 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15268 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15269 wxBufferedPaintDC
*result
;
15270 PyObject
* obj0
= 0 ;
15271 PyObject
* obj1
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "window",(char *) "buffer", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15281 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15283 if (arg2
== NULL
) {
15284 PyErr_SetString(PyExc_TypeError
,"null reference");
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15302 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15305 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15307 return Py_BuildValue((char *)"");
15309 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxScreenDC
*result
;
15312 char *kwnames
[] = {
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (wxScreenDC
*)new wxScreenDC();
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15331 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15334 wxWindow
*arg2
= (wxWindow
*) 0 ;
15336 PyObject
* obj0
= 0 ;
15337 PyObject
* obj1
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self",(char *) "window", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15363 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15366 wxRect
*arg2
= (wxRect
*) NULL
;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self",(char *) "rect", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15397 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
;
15399 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 char *kwnames
[] = {
15403 (char *) "self", NULL
15406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= (bool)(arg1
)->EndDrawingOnTop();
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15425 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15428 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15430 return Py_BuildValue((char *)"");
15432 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxWindow
*arg1
= (wxWindow
*) 0 ;
15435 wxClientDC
*result
;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "win", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 result
= (wxClientDC
*)new wxClientDC(arg1
);
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15458 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15461 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15463 return Py_BuildValue((char *)"");
15465 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxWindow
*arg1
= (wxWindow
*) 0 ;
15469 PyObject
* obj0
= 0 ;
15470 char *kwnames
[] = {
15471 (char *) "win", NULL
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15491 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15494 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15496 return Py_BuildValue((char *)"");
15498 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxWindow
*arg1
= (wxWindow
*) 0 ;
15501 wxWindowDC
*result
;
15502 PyObject
* obj0
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "win", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15524 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15527 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15529 return Py_BuildValue((char *)"");
15531 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15535 wxMirrorDC
*result
;
15536 PyObject
* obj0
= 0 ;
15537 PyObject
* obj1
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "dc",(char *) "mirror", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15546 if (arg1
== NULL
) {
15547 PyErr_SetString(PyExc_TypeError
,"null reference");
15550 arg2
= (bool) SWIG_AsBool(obj1
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15566 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15569 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15571 return Py_BuildValue((char *)"");
15573 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxPrintData
*arg1
= 0 ;
15576 wxPostScriptDC
*result
;
15577 PyObject
* obj0
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "printData", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15586 if (arg1
== NULL
) {
15587 PyErr_SetString(PyExc_TypeError
,"null reference");
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15604 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15607 wxPrintData
*result
;
15608 PyObject
* obj0
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "self", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15620 result
= (wxPrintData
*) &_result_ref
;
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15633 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15636 wxPrintData
*arg2
= 0 ;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 char *kwnames
[] = {
15640 (char *) "self",(char *) "data", NULL
15643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15649 if (arg2
== NULL
) {
15650 PyErr_SetString(PyExc_TypeError
,"null reference");
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 Py_INCREF(Py_None
); resultobj
= Py_None
;
15667 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
;
15670 PyObject
* obj0
= 0 ;
15671 char *kwnames
[] = {
15672 (char *) "ppi", NULL
15675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15676 arg1
= (int) SWIG_AsInt(obj0
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 wxPostScriptDC::SetResolution(arg1
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 Py_INCREF(Py_None
); resultobj
= Py_None
;
15692 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15695 char *kwnames
[] = {
15699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (int)wxPostScriptDC::GetResolution();
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= SWIG_FromInt((int)result
);
15714 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15717 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15719 return Py_BuildValue((char *)"");
15721 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
;
15723 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15724 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15725 wxMetaFile
*result
;
15726 bool temp1
= False
;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "filename", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15735 arg1
= wxString_in_helper(obj0
);
15736 if (arg1
== NULL
) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15762 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15765 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15767 return Py_BuildValue((char *)"");
15769 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15772 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15773 int arg2
= (int) 0 ;
15774 int arg3
= (int) 0 ;
15775 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15776 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15777 wxMetaFileDC
*result
;
15778 bool temp1
= False
;
15779 bool temp4
= False
;
15780 PyObject
* obj0
= 0 ;
15781 PyObject
* obj1
= 0 ;
15782 PyObject
* obj2
= 0 ;
15783 PyObject
* obj3
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15791 arg1
= wxString_in_helper(obj0
);
15792 if (arg1
== NULL
) SWIG_fail
;
15797 arg2
= (int) SWIG_AsInt(obj1
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15801 arg3
= (int) SWIG_AsInt(obj2
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15806 arg4
= wxString_in_helper(obj3
);
15807 if (arg4
== NULL
) SWIG_fail
;
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15841 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15844 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15846 return Py_BuildValue((char *)"");
15848 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxPrintData
*arg1
= 0 ;
15851 wxPrinterDC
*result
;
15852 PyObject
* obj0
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "printData", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15861 if (arg1
== NULL
) {
15862 PyErr_SetString(PyExc_TypeError
,"null reference");
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15879 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15882 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15884 return Py_BuildValue((char *)"");
15886 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15890 int arg3
= (int) True
;
15891 int arg4
= (int) 1 ;
15892 wxImageList
*result
;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 PyObject
* obj2
= 0 ;
15896 PyObject
* obj3
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15902 arg1
= (int) SWIG_AsInt(obj0
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15904 arg2
= (int) SWIG_AsInt(obj1
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15907 arg3
= (int) SWIG_AsInt(obj2
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15911 arg4
= (int) SWIG_AsInt(obj3
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= wxPyMake_wxObject(result
);
15930 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxImageList
*arg1
= (wxImageList
*) 0 ;
15933 PyObject
* obj0
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15948 Py_INCREF(Py_None
); resultobj
= Py_None
;
15955 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxImageList
*arg1
= (wxImageList
*) 0 ;
15958 wxBitmap
*arg2
= 0 ;
15959 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
15960 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
15962 PyObject
* obj0
= 0 ;
15963 PyObject
* obj1
= 0 ;
15964 PyObject
* obj2
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15975 if (arg2
== NULL
) {
15976 PyErr_SetString(PyExc_TypeError
,"null reference");
15980 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
15981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15983 if (arg3
== NULL
) {
15984 PyErr_SetString(PyExc_TypeError
,"null reference");
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= SWIG_FromInt((int)result
);
16002 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxImageList
*arg1
= (wxImageList
*) 0 ;
16005 wxBitmap
*arg2
= 0 ;
16006 wxColour
*arg3
= 0 ;
16009 PyObject
* obj0
= 0 ;
16010 PyObject
* obj1
= 0 ;
16011 PyObject
* obj2
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16022 if (arg2
== NULL
) {
16023 PyErr_SetString(PyExc_TypeError
,"null reference");
16028 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= SWIG_FromInt((int)result
);
16044 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxImageList
*arg1
= (wxImageList
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "self",(char *) "icon", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16061 if (arg2
== NULL
) {
16062 PyErr_SetString(PyExc_TypeError
,"null reference");
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= SWIG_FromInt((int)result
);
16079 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxImageList
*arg1
= (wxImageList
*) 0 ;
16083 wxBitmap
*arg3
= 0 ;
16085 PyObject
* obj0
= 0 ;
16086 PyObject
* obj1
= 0 ;
16087 PyObject
* obj2
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16095 arg2
= (int) SWIG_AsInt(obj1
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16097 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16100 if (arg3
== NULL
) {
16101 PyErr_SetString(PyExc_TypeError
,"null reference");
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16120 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxImageList
*arg1
= (wxImageList
*) 0 ;
16127 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16128 bool arg7
= (bool) (bool)False
;
16130 PyObject
* obj0
= 0 ;
16131 PyObject
* obj1
= 0 ;
16132 PyObject
* obj2
= 0 ;
16133 PyObject
* obj3
= 0 ;
16134 PyObject
* obj4
= 0 ;
16135 PyObject
* obj5
= 0 ;
16136 PyObject
* obj6
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16144 arg2
= (int) SWIG_AsInt(obj1
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16146 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16149 if (arg3
== NULL
) {
16150 PyErr_SetString(PyExc_TypeError
,"null reference");
16153 arg4
= (int) SWIG_AsInt(obj3
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16155 arg5
= (int) SWIG_AsInt(obj4
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 arg6
= (int) SWIG_AsInt(obj5
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 arg7
= (bool const) SWIG_AsBool(obj6
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16181 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxImageList
*arg1
= (wxImageList
*) 0 ;
16185 PyObject
* obj0
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 result
= (int)(arg1
)->GetImageCount();
16197 wxPyEndAllowThreads(__tstate
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16200 resultobj
= SWIG_FromInt((int)result
);
16207 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxImageList
*arg1
= (wxImageList
*) 0 ;
16212 PyObject
* obj0
= 0 ;
16213 PyObject
* obj1
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self",(char *) "index", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16221 arg2
= (int) SWIG_AsInt(obj1
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= (bool)(arg1
)->Remove(arg2
);
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16239 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxImageList
*arg1
= (wxImageList
*) 0 ;
16243 PyObject
* obj0
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (bool)(arg1
)->RemoveAll();
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16267 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxImageList
*arg1
= (wxImageList
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 PyObject
* obj1
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self",(char *) "index", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 arg2
= (int) SWIG_AsInt(obj1
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 Py_INCREF(Py_None
); resultobj
= Py_None
;
16297 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16298 resultobj
= t_output_helper(resultobj
,o
);
16301 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16302 resultobj
= t_output_helper(resultobj
,o
);
16310 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16313 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16315 return Py_BuildValue((char *)"");
16317 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16318 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16323 static PyObject
*_wrap_NORMAL_FONT_get() {
16326 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16331 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16332 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16337 static PyObject
*_wrap_SMALL_FONT_get() {
16340 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16345 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16346 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16351 static PyObject
*_wrap_ITALIC_FONT_get() {
16354 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16359 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16360 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16365 static PyObject
*_wrap_SWISS_FONT_get() {
16368 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16373 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16374 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16379 static PyObject
*_wrap_RED_PEN_get() {
16382 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16387 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16388 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16393 static PyObject
*_wrap_CYAN_PEN_get() {
16396 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16401 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16402 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16407 static PyObject
*_wrap_GREEN_PEN_get() {
16410 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16415 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16416 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16421 static PyObject
*_wrap_BLACK_PEN_get() {
16424 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16429 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16430 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16435 static PyObject
*_wrap_WHITE_PEN_get() {
16438 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16443 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16444 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16449 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16452 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16457 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16458 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16463 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16466 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16471 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16472 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16477 static PyObject
*_wrap_GREY_PEN_get() {
16480 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16485 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16486 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16491 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16494 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16499 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16500 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16505 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16508 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16513 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16514 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16519 static PyObject
*_wrap_BLUE_BRUSH_get() {
16522 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16527 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16528 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16533 static PyObject
*_wrap_GREEN_BRUSH_get() {
16536 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16541 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16542 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16547 static PyObject
*_wrap_WHITE_BRUSH_get() {
16550 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16555 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16556 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16561 static PyObject
*_wrap_BLACK_BRUSH_get() {
16564 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16569 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16570 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16575 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16578 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16583 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16584 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16589 static PyObject
*_wrap_CYAN_BRUSH_get() {
16592 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16597 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16598 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16603 static PyObject
*_wrap_RED_BRUSH_get() {
16606 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16611 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16612 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16617 static PyObject
*_wrap_GREY_BRUSH_get() {
16620 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16625 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16626 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16631 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16634 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16639 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16640 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16645 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16648 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16653 static int _wrap_BLACK_set(PyObject
*_val
) {
16654 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16659 static PyObject
*_wrap_BLACK_get() {
16662 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16667 static int _wrap_WHITE_set(PyObject
*_val
) {
16668 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16673 static PyObject
*_wrap_WHITE_get() {
16676 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16681 static int _wrap_RED_set(PyObject
*_val
) {
16682 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16687 static PyObject
*_wrap_RED_get() {
16690 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16695 static int _wrap_BLUE_set(PyObject
*_val
) {
16696 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16701 static PyObject
*_wrap_BLUE_get() {
16704 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16709 static int _wrap_GREEN_set(PyObject
*_val
) {
16710 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16715 static PyObject
*_wrap_GREEN_get() {
16718 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16723 static int _wrap_CYAN_set(PyObject
*_val
) {
16724 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16729 static PyObject
*_wrap_CYAN_get() {
16732 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16737 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16738 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16743 static PyObject
*_wrap_LIGHT_GREY_get() {
16746 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16751 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16752 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16757 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16760 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16765 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16766 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16771 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16774 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16779 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16780 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16785 static PyObject
*_wrap_CROSS_CURSOR_get() {
16788 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16793 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16794 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16799 static PyObject
*_wrap_NullBitmap_get() {
16802 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16807 static int _wrap_NullIcon_set(PyObject
*_val
) {
16808 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16813 static PyObject
*_wrap_NullIcon_get() {
16816 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16821 static int _wrap_NullCursor_set(PyObject
*_val
) {
16822 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16827 static PyObject
*_wrap_NullCursor_get() {
16830 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16835 static int _wrap_NullPen_set(PyObject
*_val
) {
16836 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16841 static PyObject
*_wrap_NullPen_get() {
16844 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16849 static int _wrap_NullBrush_set(PyObject
*_val
) {
16850 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16855 static PyObject
*_wrap_NullBrush_get() {
16858 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16863 static int _wrap_NullPalette_set(PyObject
*_val
) {
16864 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16869 static PyObject
*_wrap_NullPalette_get() {
16872 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16877 static int _wrap_NullFont_set(PyObject
*_val
) {
16878 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16883 static PyObject
*_wrap_NullFont_get() {
16886 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
16891 static int _wrap_NullColour_set(PyObject
*_val
) {
16892 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16897 static PyObject
*_wrap_NullColour_get() {
16900 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
16905 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
;
16907 wxPenList
*arg1
= (wxPenList
*) 0 ;
16908 wxPen
*arg2
= (wxPen
*) 0 ;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self",(char *) "pen", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 (arg1
)->AddPen(arg2
);
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 Py_INCREF(Py_None
); resultobj
= Py_None
;
16934 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxPenList
*arg1
= (wxPenList
*) 0 ;
16937 wxColour
*arg2
= 0 ;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 PyObject
* obj2
= 0 ;
16945 PyObject
* obj3
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16955 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16957 arg3
= (int) SWIG_AsInt(obj2
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16959 arg4
= (int) SWIG_AsInt(obj3
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
16975 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
;
16977 wxPenList
*arg1
= (wxPenList
*) 0 ;
16978 wxPen
*arg2
= (wxPen
*) 0 ;
16979 PyObject
* obj0
= 0 ;
16980 PyObject
* obj1
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self",(char *) "pen", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 (arg1
)->RemovePen(arg2
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16997 Py_INCREF(Py_None
); resultobj
= Py_None
;
17004 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxPenList
*arg1
= (wxPenList
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "self", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= (int)(arg1
)->GetCount();
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 resultobj
= SWIG_FromInt((int)result
);
17030 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17033 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17035 return Py_BuildValue((char *)"");
17037 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17040 wxBrush
*arg2
= (wxBrush
*) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self",(char *) "brush", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 (arg1
)->AddBrush(arg2
);
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 Py_INCREF(Py_None
); resultobj
= Py_None
;
17066 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17069 wxColour
*arg2
= 0 ;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 PyObject
* obj2
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self",(char *) "colour",(char *) "style", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17085 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17087 arg3
= (int) SWIG_AsInt(obj2
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17103 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17106 wxBrush
*arg2
= (wxBrush
*) 0 ;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self",(char *) "brush", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 (arg1
)->RemoveBrush(arg2
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 Py_INCREF(Py_None
); resultobj
= Py_None
;
17132 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17136 PyObject
* obj0
= 0 ;
17137 char *kwnames
[] = {
17138 (char *) "self", NULL
17141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 result
= (int)(arg1
)->GetCount();
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= SWIG_FromInt((int)result
);
17158 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17161 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17163 return Py_BuildValue((char *)"");
17165 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxColourDatabase
*result
;
17168 char *kwnames
[] = {
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (wxColourDatabase
*)new wxColourDatabase();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17187 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17190 PyObject
* obj0
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 Py_INCREF(Py_None
); resultobj
= Py_None
;
17212 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17214 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17215 wxString
*arg2
= 0 ;
17217 bool temp2
= False
;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self",(char *) "name", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17228 arg2
= wxString_in_helper(obj1
);
17229 if (arg2
== NULL
) SWIG_fail
;
17233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17234 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17240 wxColour
* resultptr
;
17241 resultptr
= new wxColour((wxColour
&) result
);
17242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17258 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17261 wxColour
*arg2
= 0 ;
17264 PyObject
* obj0
= 0 ;
17265 PyObject
* obj1
= 0 ;
17266 char *kwnames
[] = {
17267 (char *) "self",(char *) "colour", NULL
17270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17275 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17281 wxPyEndAllowThreads(__tstate
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17297 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17300 wxString
*arg2
= 0 ;
17301 wxColour
*arg3
= 0 ;
17302 bool temp2
= False
;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj1
= 0 ;
17306 PyObject
* obj2
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "self",(char *) "name",(char *) "colour", NULL
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17315 arg2
= wxString_in_helper(obj1
);
17316 if (arg2
== NULL
) SWIG_fail
;
17321 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 Py_INCREF(Py_None
); resultobj
= Py_None
;
17345 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17348 wxString
*arg2
= 0 ;
17352 bool temp2
= False
;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 PyObject
* obj2
= 0 ;
17356 PyObject
* obj3
= 0 ;
17357 PyObject
* obj4
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17366 arg2
= wxString_in_helper(obj1
);
17367 if (arg2
== NULL
) SWIG_fail
;
17370 arg3
= (int) SWIG_AsInt(obj2
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17372 arg4
= (int) SWIG_AsInt(obj3
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17374 arg5
= (int) SWIG_AsInt(obj4
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17383 Py_INCREF(Py_None
); resultobj
= Py_None
;
17398 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17401 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17403 return Py_BuildValue((char *)"");
17405 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxFontList
*arg1
= (wxFontList
*) 0 ;
17408 wxFont
*arg2
= (wxFont
*) 0 ;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj1
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self",(char *) "font", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 (arg1
)->AddFont(arg2
);
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 Py_INCREF(Py_None
); resultobj
= Py_None
;
17434 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxFontList
*arg1
= (wxFontList
*) 0 ;
17441 bool arg6
= (bool) False
;
17442 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17443 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17444 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17446 bool temp7
= False
;
17447 PyObject
* obj0
= 0 ;
17448 PyObject
* obj1
= 0 ;
17449 PyObject
* obj2
= 0 ;
17450 PyObject
* obj3
= 0 ;
17451 PyObject
* obj4
= 0 ;
17452 PyObject
* obj5
= 0 ;
17453 PyObject
* obj6
= 0 ;
17454 PyObject
* obj7
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17462 arg2
= (int) SWIG_AsInt(obj1
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17464 arg3
= (int) SWIG_AsInt(obj2
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17466 arg4
= (int) SWIG_AsInt(obj3
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17468 arg5
= (int) SWIG_AsInt(obj4
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 arg6
= (bool) SWIG_AsBool(obj5
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17476 arg7
= wxString_in_helper(obj6
);
17477 if (arg7
== NULL
) SWIG_fail
;
17482 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17507 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxFontList
*arg1
= (wxFontList
*) 0 ;
17510 wxFont
*arg2
= (wxFont
*) 0 ;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "font", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 (arg1
)->RemoveFont(arg2
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 Py_INCREF(Py_None
); resultobj
= Py_None
;
17536 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
;
17538 wxFontList
*arg1
= (wxFontList
*) 0 ;
17540 PyObject
* obj0
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 result
= (int)(arg1
)->GetCount();
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= SWIG_FromInt((int)result
);
17562 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17565 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17567 return Py_BuildValue((char *)"");
17569 static int _wrap_TheFontList_set(PyObject
*_val
) {
17570 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17575 static PyObject
*_wrap_TheFontList_get() {
17578 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17583 static int _wrap_ThePenList_set(PyObject
*_val
) {
17584 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17589 static PyObject
*_wrap_ThePenList_get() {
17592 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17597 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17598 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17603 static PyObject
*_wrap_TheBrushList_get() {
17606 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17611 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17612 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17617 static PyObject
*_wrap_TheColourDatabase_get() {
17620 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17625 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17628 char *kwnames
[] = {
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (wxEffects
*)new wxEffects();
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17647 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17649 wxEffects
*arg1
= (wxEffects
*) 0 ;
17651 PyObject
* obj0
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17667 wxColour
* resultptr
;
17668 resultptr
= new wxColour((wxColour
&) result
);
17669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17677 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxEffects
*arg1
= (wxEffects
*) 0 ;
17681 PyObject
* obj0
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17697 wxColour
* resultptr
;
17698 resultptr
= new wxColour((wxColour
&) result
);
17699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17707 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxEffects
*arg1
= (wxEffects
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17727 wxColour
* resultptr
;
17728 resultptr
= new wxColour((wxColour
&) result
);
17729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17737 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxEffects
*arg1
= (wxEffects
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17757 wxColour
* resultptr
;
17758 resultptr
= new wxColour((wxColour
&) result
);
17759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17767 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17769 wxEffects
*arg1
= (wxEffects
*) 0 ;
17771 PyObject
* obj0
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "self", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17787 wxColour
* resultptr
;
17788 resultptr
= new wxColour((wxColour
&) result
);
17789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17797 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxEffects
*arg1
= (wxEffects
*) 0 ;
17800 wxColour
*arg2
= 0 ;
17802 PyObject
* obj0
= 0 ;
17803 PyObject
* obj1
= 0 ;
17804 char *kwnames
[] = {
17805 (char *) "self",(char *) "c", NULL
17808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17813 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 Py_INCREF(Py_None
); resultobj
= Py_None
;
17829 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17831 wxEffects
*arg1
= (wxEffects
*) 0 ;
17832 wxColour
*arg2
= 0 ;
17834 PyObject
* obj0
= 0 ;
17835 PyObject
* obj1
= 0 ;
17836 char *kwnames
[] = {
17837 (char *) "self",(char *) "c", NULL
17840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17845 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 Py_INCREF(Py_None
); resultobj
= Py_None
;
17861 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17862 PyObject
*resultobj
;
17863 wxEffects
*arg1
= (wxEffects
*) 0 ;
17864 wxColour
*arg2
= 0 ;
17866 PyObject
* obj0
= 0 ;
17867 PyObject
* obj1
= 0 ;
17868 char *kwnames
[] = {
17869 (char *) "self",(char *) "c", NULL
17872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17877 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 Py_INCREF(Py_None
); resultobj
= Py_None
;
17893 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxEffects
*arg1
= (wxEffects
*) 0 ;
17896 wxColour
*arg2
= 0 ;
17898 PyObject
* obj0
= 0 ;
17899 PyObject
* obj1
= 0 ;
17900 char *kwnames
[] = {
17901 (char *) "self",(char *) "c", NULL
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 Py_INCREF(Py_None
); resultobj
= Py_None
;
17925 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxEffects
*arg1
= (wxEffects
*) 0 ;
17928 wxColour
*arg2
= 0 ;
17930 PyObject
* obj0
= 0 ;
17931 PyObject
* obj1
= 0 ;
17932 char *kwnames
[] = {
17933 (char *) "self",(char *) "c", NULL
17936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17941 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17950 Py_INCREF(Py_None
); resultobj
= Py_None
;
17957 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
;
17959 wxEffects
*arg1
= (wxEffects
*) 0 ;
17960 wxColour
*arg2
= 0 ;
17961 wxColour
*arg3
= 0 ;
17962 wxColour
*arg4
= 0 ;
17963 wxColour
*arg5
= 0 ;
17964 wxColour
*arg6
= 0 ;
17970 PyObject
* obj0
= 0 ;
17971 PyObject
* obj1
= 0 ;
17972 PyObject
* obj2
= 0 ;
17973 PyObject
* obj3
= 0 ;
17974 PyObject
* obj4
= 0 ;
17975 PyObject
* obj5
= 0 ;
17976 char *kwnames
[] = {
17977 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17985 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17989 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17993 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17997 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18001 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 Py_INCREF(Py_None
); resultobj
= Py_None
;
18017 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxEffects
*arg1
= (wxEffects
*) 0 ;
18022 int arg4
= (int) 1 ;
18024 PyObject
* obj0
= 0 ;
18025 PyObject
* obj1
= 0 ;
18026 PyObject
* obj2
= 0 ;
18027 PyObject
* obj3
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18038 if (arg2
== NULL
) {
18039 PyErr_SetString(PyExc_TypeError
,"null reference");
18044 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18047 arg4
= (int) SWIG_AsInt(obj3
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 Py_INCREF(Py_None
); resultobj
= Py_None
;
18064 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxEffects
*arg1
= (wxEffects
*) 0 ;
18069 wxBitmap
*arg4
= 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 PyObject
* obj2
= 0 ;
18075 PyObject
* obj3
= 0 ;
18076 char *kwnames
[] = {
18077 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18085 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18087 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18090 if (arg3
== NULL
) {
18091 PyErr_SetString(PyExc_TypeError
,"null reference");
18094 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18097 if (arg4
== NULL
) {
18098 PyErr_SetString(PyExc_TypeError
,"null reference");
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18117 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18120 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18122 return Py_BuildValue((char *)"");
18124 static PyMethodDef SwigMethods
[] = {
18125 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18126 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18127 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18128 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18129 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18130 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18131 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18132 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18133 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18134 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18135 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18136 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18137 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18138 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18139 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18140 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18141 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18142 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18143 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18144 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18145 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18146 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18147 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18148 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18149 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18150 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18151 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18152 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18153 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18154 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18155 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18156 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18157 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18158 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18159 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18160 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18161 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18162 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18163 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18164 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18165 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18166 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18167 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18168 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18169 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18170 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18171 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18172 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18173 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18174 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18175 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18176 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18177 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18178 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18179 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18180 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18181 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18182 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18183 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18184 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18185 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18186 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18187 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18188 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18189 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18190 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18191 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18192 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18193 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18194 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18195 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18196 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18197 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18198 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18199 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18200 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18201 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18202 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18203 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18204 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18205 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18206 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18207 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18208 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18209 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18210 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18211 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18212 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18213 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18214 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18215 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18216 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18217 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18218 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18219 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18220 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18221 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18222 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18223 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18224 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18225 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18226 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18227 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18228 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18229 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18230 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18231 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18232 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18233 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18234 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18235 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18236 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18237 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18238 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18239 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18240 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18241 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18242 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18243 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18244 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18245 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18246 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18247 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18248 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18249 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18250 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18251 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18252 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18253 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18254 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18255 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18256 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18257 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18258 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18259 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18260 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18261 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18262 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18263 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18264 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18265 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18266 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18267 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18268 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18269 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18270 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18272 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18273 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18274 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18275 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18276 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18278 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18282 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18283 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18284 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18285 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18287 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18288 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18289 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18290 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18292 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18293 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18294 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18295 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18296 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18297 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18298 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18299 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18302 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18305 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18307 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18311 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18313 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18315 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18316 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18321 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18322 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18323 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18324 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18325 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18329 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18345 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18347 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18348 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18353 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18356 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18358 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18366 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18371 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18382 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18387 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18390 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18397 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18419 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18421 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18429 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18558 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18562 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18563 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18564 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18567 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18569 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18574 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18576 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18578 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18580 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18582 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18588 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18590 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18592 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18594 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18606 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18611 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18616 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18623 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18628 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18647 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18649 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18650 return (void *)((wxWindow
*) ((wxControl
*) x
));
18652 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18653 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18655 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18656 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18658 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18659 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18661 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18662 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18664 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18665 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18667 static void *_p_wxPenTo_p_wxObject(void *x
) {
18668 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18670 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18671 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18673 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18674 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18676 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18677 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18679 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18680 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18682 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18683 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18685 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18686 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18688 static void *_p_wxIconTo_p_wxObject(void *x
) {
18689 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18691 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18692 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18694 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18695 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18697 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18698 return (void *)((wxObject
*) ((wxSizer
*) x
));
18700 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18701 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18703 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18704 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18706 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18707 return (void *)((wxObject
*) ((wxPenList
*) x
));
18709 static void *_p_wxEventTo_p_wxObject(void *x
) {
18710 return (void *)((wxObject
*) ((wxEvent
*) x
));
18712 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18713 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18715 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18716 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18718 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18719 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18721 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18722 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18724 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18725 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18727 static void *_p_wxDCTo_p_wxObject(void *x
) {
18728 return (void *)((wxObject
*) ((wxDC
*) x
));
18730 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18731 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18733 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18734 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18736 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18737 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18739 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18740 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18742 static void *_p_wxControlTo_p_wxObject(void *x
) {
18743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18745 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18746 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18748 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18749 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18751 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18752 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18754 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18755 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18757 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18758 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18760 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18761 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18763 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18764 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18766 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18767 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18769 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18770 return (void *)((wxObject
*) ((wxEffects
*) x
));
18772 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18773 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18775 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18776 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18778 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18779 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18781 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18782 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18784 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18785 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18787 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18788 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18790 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18793 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18794 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18796 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18797 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18799 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18800 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18802 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18803 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18805 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18806 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18808 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18809 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18811 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18812 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18814 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18815 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18817 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18818 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18820 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18821 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18823 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18824 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18826 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18827 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18829 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18830 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18832 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18833 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18835 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18836 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18838 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18839 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18841 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18842 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18844 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18845 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18847 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18848 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18850 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18851 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18853 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18854 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18856 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18857 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18859 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18860 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18862 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18863 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18865 static void *_p_wxImageTo_p_wxObject(void *x
) {
18866 return (void *)((wxObject
*) ((wxImage
*) x
));
18868 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18869 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18871 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18872 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18874 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18875 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18877 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18878 return (void *)((wxObject
*) ((wxImageList
*) x
));
18880 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18881 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18883 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18884 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18886 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18887 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18889 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18892 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18893 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18895 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18896 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18898 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18899 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18901 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18902 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18904 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18907 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18908 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18910 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18911 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18913 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18914 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18916 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18917 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18919 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18920 return (void *)((wxObject
*) ((wxMask
*) x
));
18922 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18925 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18926 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18928 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18929 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18931 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18932 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18934 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18935 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18937 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18938 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18940 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18941 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18943 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18944 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18946 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18947 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18949 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18950 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18952 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18953 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18955 static void *_p_wxFontTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18958 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18961 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18964 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18967 static void *_p_wxColourTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) ((wxColour
*) x
));
18970 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) ((wxFontList
*) x
));
18973 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18976 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18979 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
18980 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18982 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
18983 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
18985 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
18986 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
18988 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
18989 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
18991 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
18992 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
18994 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
18995 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
18997 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
18998 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19000 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19001 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19003 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19004 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19006 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19007 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19009 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19010 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19012 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19013 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19015 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19016 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19018 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19019 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19021 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19022 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19024 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19025 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19027 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19028 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19030 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19031 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19033 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19034 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19036 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19037 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19039 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}};
19040 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}};
19041 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}};
19042 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}};
19043 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}};
19044 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}};
19045 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}};
19046 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}};
19047 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}};
19048 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}};
19049 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}};
19050 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}};
19051 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}};
19052 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}};
19053 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}};
19054 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}};
19055 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}};
19056 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}};
19057 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}};
19058 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}};
19059 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}};
19060 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}};
19061 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}};
19062 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}};
19063 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}};
19064 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}};
19065 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}};
19066 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}};
19067 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}};
19068 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}};
19069 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}};
19070 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}};
19071 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}};
19072 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}};
19073 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}};
19074 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}};
19075 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}};
19076 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}};
19077 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}};
19078 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}};
19079 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}};
19080 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}};
19081 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}};
19082 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}};
19083 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}};
19084 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}};
19085 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}};
19086 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}};
19087 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}};
19088 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}};
19089 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}};
19090 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}};
19091 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}};
19092 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}};
19093 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}};
19095 static swig_type_info
*swig_types_initial
[] = {
19096 _swigt__p_wxPostScriptDC
,
19098 _swigt__p_wxColour
,
19100 _swigt__p_wxMirrorDC
,
19102 _swigt__p_wxPyFontEnumerator
,
19104 _swigt__p_wxIconLocation
,
19106 _swigt__p_wxMetaFileDC
,
19110 _swigt__p_wxWindow
,
19112 _swigt__p_wxMemoryDC
,
19113 _swigt__p_wxFontMapper
,
19114 _swigt__p_wxEffects
,
19115 _swigt__p_wxNativeEncodingInfo
,
19116 _swigt__p_wxPalette
,
19117 _swigt__p_wxBitmap
,
19118 _swigt__p_wxObject
,
19119 _swigt__p_wxRegionIterator
,
19121 _swigt__p_wxString
,
19122 _swigt__p_wxPrinterDC
,
19123 _swigt__p_wxIconBundle
,
19126 _swigt__p_wxScreenDC
,
19127 _swigt__p_wxCursor
,
19128 _swigt__p_wxClientDC
,
19129 _swigt__p_wxBufferedDC
,
19130 _swigt__p_wxImageList
,
19131 _swigt__p_unsigned_char
,
19132 _swigt__p_wxGDIObject
,
19134 _swigt__p_wxLocale
,
19135 _swigt__p_wxRegion
,
19136 _swigt__p_wxLanguageInfo
,
19137 _swigt__p_wxConfigBase
,
19138 _swigt__p_wxWindowDC
,
19139 _swigt__p_wxPrintData
,
19140 _swigt__p_wxBrushList
,
19141 _swigt__p_wxFontList
,
19143 _swigt__p_wxBufferedPaintDC
,
19144 _swigt__p_wxPaintDC
,
19145 _swigt__p_wxPenList
,
19147 _swigt__p_wxMetaFile
,
19148 _swigt__p_wxNativeFontInfo
,
19149 _swigt__p_wxEncodingConverter
,
19150 _swigt__p_wxColourDatabase
,
19155 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19157 static swig_const_info swig_const_table
[] = {
19167 SWIGEXPORT(void) SWIG_init(void) {
19168 static PyObject
*SWIG_globals
= 0;
19169 static int typeinit
= 0;
19172 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19173 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19174 d
= PyModule_GetDict(m
);
19177 for (i
= 0; swig_types_initial
[i
]; i
++) {
19178 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19182 SWIG_InstallConstants(d
,swig_const_table
);
19184 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19185 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19186 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19187 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19188 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19189 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19190 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19191 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19192 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19193 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19194 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19195 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19196 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19197 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19198 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19199 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19200 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19201 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19202 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19203 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19204 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19205 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19206 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19207 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19208 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19209 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19210 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19211 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19212 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19213 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19214 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19215 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19216 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19217 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19218 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19219 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19220 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19221 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19222 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19223 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19224 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19225 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19226 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19227 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19228 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19229 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19230 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19231 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19232 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19233 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19234 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19235 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19236 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19237 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19238 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19239 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19240 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19241 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19242 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19243 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19244 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19245 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19246 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19247 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19248 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19249 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19250 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19251 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19252 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19253 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19254 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19255 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19256 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19257 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19258 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19259 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19260 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19261 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19262 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19263 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19264 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19265 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19266 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19267 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19268 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19269 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19270 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19271 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19272 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19273 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19274 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19275 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19276 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19277 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19278 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19279 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19280 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19281 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19282 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19283 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19284 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19285 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19286 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19287 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19288 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19289 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19290 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19291 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19292 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19293 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19294 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19295 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19296 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19297 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19298 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19299 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19300 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19301 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19302 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19303 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19304 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19305 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19306 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19307 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19308 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19309 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19310 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19312 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19314 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19315 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19316 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19317 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19318 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19319 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19320 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19321 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19322 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19323 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19324 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19325 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19326 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19327 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19328 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19329 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19330 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19331 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19332 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19333 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19334 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19335 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19336 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19337 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19338 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19339 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19340 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19341 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19342 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19343 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19344 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19345 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19346 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19347 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19348 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19349 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19350 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19351 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19352 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19353 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19354 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19355 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19356 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19357 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19358 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19359 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19360 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19361 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19362 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19363 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19364 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19365 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19366 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19367 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19368 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19369 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19370 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19371 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19372 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19373 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19374 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19375 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19376 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19377 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19378 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19379 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19380 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19381 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19382 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19383 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19384 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19385 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19386 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19387 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19388 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19389 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19390 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19391 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19392 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19393 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19394 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19395 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19396 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19397 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19398 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19399 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19400 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19401 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19402 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19403 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19404 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19405 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19406 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19407 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19408 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19409 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19410 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19411 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19412 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19413 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19414 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19415 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19416 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19417 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19418 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19419 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19420 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19421 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19422 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19423 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19424 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19425 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19426 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19427 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19428 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19429 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19430 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19431 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19432 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19433 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19434 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19435 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19436 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19437 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19438 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19439 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19440 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19441 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19442 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19443 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19444 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19445 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19446 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19447 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19448 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19449 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19450 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19451 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19452 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19453 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19454 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19455 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19456 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19457 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19458 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19459 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19460 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19461 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19462 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19463 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19464 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19465 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19466 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19467 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19468 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19469 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19470 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19471 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19472 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19473 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19474 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19475 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19476 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19477 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19478 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19479 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19480 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19481 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19482 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19483 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19484 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19485 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19486 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19487 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19488 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19489 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19490 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19491 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19492 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19493 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19494 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19495 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19496 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19497 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19498 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19499 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19500 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19501 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19502 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19503 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19504 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19505 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19506 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19507 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19508 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19509 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19510 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19511 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19512 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19513 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19514 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19515 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19516 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19517 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19518 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19519 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19520 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19521 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19522 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19523 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19524 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19525 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19526 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19527 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19528 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19529 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19530 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19531 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19532 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19533 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19534 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19535 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19536 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19537 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19538 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19539 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19540 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19541 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19542 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19543 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19544 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19545 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19546 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19547 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19548 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19549 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19550 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19551 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19552 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19553 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19554 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19555 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19556 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19557 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19558 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19559 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19560 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19561 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19562 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19563 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19564 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19565 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19566 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19567 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19568 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19569 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19570 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19571 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19572 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19573 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19574 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19575 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19576 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19577 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19578 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19579 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19580 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19581 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19582 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19583 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19584 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19585 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19586 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19587 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19588 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19589 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19590 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19591 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19592 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19593 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19594 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19595 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19596 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19597 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19598 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19599 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19600 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19601 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19602 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19603 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19604 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19605 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19606 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19607 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19608 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19609 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19610 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19611 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19612 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19613 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19615 // Work around a chicken/egg problem in drawlist.cpp
19616 wxPyDrawList_SetAPIPtr();