1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxSize swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxWindow swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250 #define SWIGTYPE_p_wxConfigBase swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_int swig_types[50]
260 #define SWIGTYPE_p_wxMetaFile swig_types[51]
261 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
262 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
263 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
264 static swig_type_info
*swig_types
[56];
266 /* -------- TYPES TABLE (END) -------- */
269 /*-----------------------------------------------
271 ------------------------------------------------*/
272 #define SWIG_init init_gdi_
274 #define SWIG_name "_gdi_"
276 /* Auxiliar swig macros */
279 #define SWIGSTATICINLINE(a) static inline a
280 #define SWIGSTATIC(a) static a
281 #define swig_new_array(type, size) (new type[(size)])
282 #define swig_delete_array(cptr) delete[] cptr
283 #define swig_const_cast(type,a) const_cast<type>(a)
284 #define swig_static_cast(type,a) static_cast<type>(a)
285 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
287 #ifdef HAVE_NUMERIC_CAST
288 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
290 #define swig_numeric_cast(type,a) static_cast<type>(a)
295 #define SWIGSTATICINLINE(a) static a
296 #define SWIGSTATIC(a) static a
297 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
298 #define swig_delete_array(cptr) free((char*)cptr)
299 #define swig_const_cast(type,a) (type)(a)
300 #define swig_static_cast(type,a) (type)(a)
301 #define swig_reinterpret_cast(type,a) (type)(a)
302 #define swig_numeric_cast(type,a) (type)(a)
304 #endif /* __cplusplus */
307 #define SWIG_FromSignedChar PyInt_FromLong
308 #define SWIG_FromUnsignedChar PyInt_FromLong
309 #define SWIG_FromShort PyInt_FromLong
310 #define SWIG_FromUnsignedShort PyInt_FromLong
311 #define SWIG_FromInt PyInt_FromLong
312 #define SWIG_FromLong PyInt_FromLong
313 #define SWIG_FromFloat PyFloat_FromDouble
314 #define SWIG_FromDouble PyFloat_FromDouble
315 #define SWIG_FromFloat PyFloat_FromDouble
316 #define SWIG_FromDouble PyFloat_FromDouble
319 #include "wx/wxPython/wxPython.h"
320 #include "wx/wxPython/pyclasses.h"
323 static const wxString
wxPyEmptyString(wxEmptyString
);
325 SWIGSTATICINLINE(bool)
326 SWIG_AsBool(PyObject
*obj
)
328 return PyObject_IsTrue(obj
) ? true : false;
332 SWIGSTATICINLINE(int)
333 SWIG_CheckBool(PyObject
* obj
)
336 if (PyErr_Occurred()) {
348 SWIGSTATICINLINE(unsigned long)
349 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
350 unsigned long max_value
)
352 if (!PyErr_Occurred()) {
353 if (value
> max_value
) {
355 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
356 value
, type
, max_value
);
357 PyErr_SetObject(PyExc_OverflowError
, err
);
365 SWIGSTATICINLINE(long)
366 SWIG_AsLong(PyObject
* obj
)
368 if (PyNumber_Check(obj
))
369 return PyInt_AsLong(obj
);
371 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
372 obj
->ob_type
->tp_name
);
373 PyErr_SetObject(PyExc_TypeError
, errmsg
);
380 SWIGSTATICINLINE(unsigned long)
381 SWIG_AsUnsignedLong(PyObject
* obj
)
383 if (PyLong_Check(obj
)) {
384 return PyLong_AsUnsignedLong(obj
);
386 long i
= SWIG_AsLong(obj
);
387 if ( !PyErr_Occurred() && (i
< 0)) {
388 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
395 SWIGSTATICINLINE(unsigned char)
396 SWIG_AsUnsignedChar(PyObject
*obj
)
398 return swig_numeric_cast(unsigned char,
399 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
400 "unsigned char", UCHAR_MAX
));
404 SWIGSTATICINLINE(int)
405 SWIG_CheckUnsignedChar(PyObject
* obj
)
407 SWIG_AsUnsignedChar(obj
);
408 if (PyErr_Occurred()) {
417 SWIGSTATICINLINE(int)
418 SWIG_CheckUnsignedLong(PyObject
* obj
)
420 SWIG_AsUnsignedLong(obj
);
421 if (PyErr_Occurred()) {
429 PyObject
*wxColour_Get(wxColour
*self
){
430 PyObject
* rv
= PyTuple_New(3);
436 green
= self
->Green();
439 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
440 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
441 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
444 unsigned long wxColour_GetRGB(wxColour
*self
){
445 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
448 SWIGSTATICINLINE(PyObject
* )
449 SWIG_FromUnsignedLong(unsigned long value
)
451 return (value
> LONG_MAX
) ?
452 PyLong_FromUnsignedLong(value
)
453 : PyInt_FromLong(swig_numeric_cast(long,value
));
457 SWIGSTATICINLINE(long)
458 SWIG_CheckLongInRange(long value
, const char* type
,
459 long min_value
, long max_value
)
461 if (!PyErr_Occurred()) {
462 if (value
< min_value
) {
464 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
465 value
, type
, min_value
);
467 PyErr_SetObject(PyExc_OverflowError
, err
);
469 } else if (value
> max_value
) {
471 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
472 value
, type
, max_value
);
473 PyErr_SetObject(PyExc_OverflowError
, err
);
481 #if INT_MAX != LONG_MAX
482 SWIGSTATICINLINE(int)
483 SWIG_AsInt(PyObject
*obj
)
485 return swig_numeric_cast(int,
486 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
487 "int", INT_MIN
, INT_MAX
));
490 #define SWIG_AsInt SWIG_AsLong
494 SWIGSTATICINLINE(int)
495 SWIG_CheckInt(PyObject
* obj
)
498 if (PyErr_Occurred()) {
507 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
513 } else if (target
== Py_None
) {
517 if (!PyTuple_Check(target
)) {
519 target
= PyTuple_New(1);
520 PyTuple_SetItem(target
, 0, o2
);
523 PyTuple_SetItem(o3
, 0, o
);
526 target
= PySequence_Concat(o2
, o3
);
533 PyObject
*wxPen_GetDashes(wxPen
*self
){
535 int count
= self
->GetDashes(&dashes
);
536 bool blocked
= wxPyBeginBlockThreads();
537 PyObject
* retval
= PyList_New(0);
538 for (int x
=0; x
<count
; x
++) {
539 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
540 PyList_Append(retval
, pyint
);
543 wxPyEndBlockThreads(blocked
);
546 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
547 bool blocked
= wxPyBeginBlockThreads();
548 int size
= PyList_Size(pyDashes
);
549 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
551 // black magic warning! The array of wxDashes needs to exist as
552 // long as the pen does because wxPen does not copy the array. So
553 // stick a copy in a Python string object and attach it to _self,
554 // and then call SetDashes with a pointer to that array. Then
555 // when the Python pen object is destroyed the array will be
557 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
558 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
560 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
562 Py_DECREF(strDashes
);
563 wxPyEndBlockThreads(blocked
);
565 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
566 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
568 #include <wx/image.h>
570 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
571 char** cArray
= NULL
;
574 if (!PyList_Check(listOfStrings
)) {
575 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
578 count
= PyList_Size(listOfStrings
);
579 cArray
= new char*[count
];
581 for(int x
=0; x
<count
; x
++) {
582 // TODO: Need some validation and error checking here
583 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
589 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
590 char** cArray
= NULL
;
593 cArray
= ConvertListOfStrings(listOfStrings
);
596 bmp
= new wxBitmap(cArray
);
600 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
603 PyString_AsStringAndSize(bits
, &buf
, &length
);
604 return new wxBitmap(buf
, width
, height
, depth
);
607 SWIGSTATICINLINE(int)
608 SWIG_CheckLong(PyObject
* obj
)
611 if (PyErr_Occurred()) {
619 void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
620 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
621 wxSize
size(self
->GetWidth(), self
->GetHeight());
624 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
625 wxMask
*mask
= new wxMask(*self
, colour
);
628 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
629 self
->SetWidth(size
.x
);
630 self
->SetHeight(size
.y
);
632 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
633 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
634 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
636 return new wxMask(bitmap
, *wxBLACK
);
638 return new wxMask(bitmap
, colour
);
641 #include <wx/iconbndl.h>
643 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
644 wxIcon
* icon
= new wxIcon();
645 icon
->CopyFromBitmap(bmp
);
648 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
649 char** cArray
= NULL
;
652 cArray
= ConvertListOfStrings(listOfStrings
);
655 icon
= new wxIcon(cArray
);
659 void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
660 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
662 return new wxIconLocation(*filename
, num
);
667 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
674 int wxIconLocation_GetIndex(wxIconLocation
*self
){
676 return self
->GetIndex();
681 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
683 wxCHECK_MSG(False
, NULL
,
684 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
686 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
689 void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
692 void wxRegionIterator_Next(wxRegionIterator
*self
){
695 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
696 return self
->operator bool();
699 #include <wx/fontutil.h>
700 #include <wx/fontmap.h>
701 #include <wx/fontenum.h>
703 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
704 return self
->ToString();
707 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
708 { wxPyRaiseNotImplemented(); return NULL
; }
710 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
711 { wxPyRaiseNotImplemented(); return False
; }
713 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
714 wxFontEncoding alt_enc
;
715 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
716 return PyInt_FromLong(alt_enc
);
722 wxFont
*new_wxFont(wxString
const &info
){
723 wxNativeFontInfo nfi
;
724 nfi
.FromString(info
);
725 return new wxFont(nfi
);
727 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
728 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
730 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
731 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
733 class wxPyFontEnumerator
: public wxFontEnumerator
{
735 wxPyFontEnumerator() {}
736 ~wxPyFontEnumerator() {}
738 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
739 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
744 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
745 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
748 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
749 wxArrayString
* arr
= self
->GetEncodings();
750 return wxArrayString2PyList_helper(*arr
);
752 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
753 wxArrayString
* arr
= self
->GetFacenames();
754 return wxArrayString2PyList_helper(*arr
);
758 wxLocale
*new_wxLocale(int language
,int flags
){
760 return new wxLocale();
762 return new wxLocale(language
, flags
);
765 #include "wx/wxPython/pydrawxxx.h"
767 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
769 self
->GetPixel(x
, y
, &col
);
772 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
774 self
->GetPixel(pt
, &col
);
778 SWIGSTATICINLINE(double)
779 SWIG_AsDouble(PyObject
*obj
)
781 if (PyNumber_Check(obj
))
782 return PyFloat_AsDouble(obj
);
784 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
785 obj
->ob_type
->tp_name
);
786 PyErr_SetObject(PyExc_TypeError
, errmsg
);
793 SWIGSTATICINLINE(int)
794 SWIG_CheckDouble(PyObject
* obj
)
797 if (PyErr_Occurred()) {
805 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
807 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
810 wxRect
wxDC_GetClippingRect(wxDC
*self
){
812 self
->GetClippingBox(rect
);
815 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
817 self
->GetPartialTextExtents(text
, widths
);
820 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
821 self
->SetLogicalOrigin(point
.x
, point
.y
);
823 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
824 self
->SetDeviceOrigin(point
.x
, point
.y
);
826 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
827 self
->CalcBoundingBox(point
.x
, point
.y
);
829 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
830 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
832 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
833 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
835 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
836 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
838 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
839 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
841 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
842 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
844 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
845 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
848 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
856 #include <wx/dcbuffer.h>
862 #include <wx/metafile.h>
866 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
867 self
->AddColour(name
, wxColour(red
, green
, blue
));
870 #include <wx/effects.h>
875 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
884 if (!wxPyCheckForApp()) SWIG_fail
;
885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
886 result
= (wxGDIObject
*)new wxGDIObject();
888 wxPyEndAllowThreads(__tstate
);
889 if (PyErr_Occurred()) SWIG_fail
;
891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
898 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
900 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
901 PyObject
* obj0
= 0 ;
903 (char *) "self", NULL
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) SWIG_fail
;
916 Py_INCREF(Py_None
); resultobj
= Py_None
;
923 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
927 PyObject
* obj0
= 0 ;
929 (char *) "self", NULL
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
937 result
= (bool)(arg1
)->GetVisible();
939 wxPyEndAllowThreads(__tstate
);
940 if (PyErr_Occurred()) SWIG_fail
;
943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
951 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
955 PyObject
* obj0
= 0 ;
956 PyObject
* obj1
= 0 ;
958 (char *) "self",(char *) "visible", NULL
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
964 arg2
= (bool) SWIG_AsBool(obj1
);
965 if (PyErr_Occurred()) SWIG_fail
;
967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 (arg1
)->SetVisible(arg2
);
970 wxPyEndAllowThreads(__tstate
);
971 if (PyErr_Occurred()) SWIG_fail
;
973 Py_INCREF(Py_None
); resultobj
= Py_None
;
980 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
984 PyObject
* obj0
= 0 ;
986 (char *) "self", NULL
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
994 result
= (bool)(arg1
)->IsNull();
996 wxPyEndAllowThreads(__tstate
);
997 if (PyErr_Occurred()) SWIG_fail
;
1000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1008 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1011 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1013 return Py_BuildValue((char *)"");
1015 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1016 PyObject
*resultobj
;
1017 byte arg1
= (byte
) 0 ;
1018 byte arg2
= (byte
) 0 ;
1019 byte arg3
= (byte
) 0 ;
1021 PyObject
* obj0
= 0 ;
1022 PyObject
* obj1
= 0 ;
1023 PyObject
* obj2
= 0 ;
1025 (char *) "red",(char *) "green",(char *) "blue", NULL
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1030 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1031 if (PyErr_Occurred()) SWIG_fail
;
1034 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1035 if (PyErr_Occurred()) SWIG_fail
;
1038 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1039 if (PyErr_Occurred()) SWIG_fail
;
1042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1043 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1045 wxPyEndAllowThreads(__tstate
);
1046 if (PyErr_Occurred()) SWIG_fail
;
1048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1055 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
*resultobj
;
1057 wxString
*arg1
= 0 ;
1059 bool temp1
= False
;
1060 PyObject
* obj0
= 0 ;
1062 (char *) "colorName", NULL
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1067 arg1
= wxString_in_helper(obj0
);
1068 if (arg1
== NULL
) SWIG_fail
;
1072 if (!wxPyCheckForApp()) SWIG_fail
;
1073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1074 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1076 wxPyEndAllowThreads(__tstate
);
1077 if (PyErr_Occurred()) SWIG_fail
;
1079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1094 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1095 PyObject
*resultobj
;
1096 unsigned long arg1
;
1098 PyObject
* obj0
= 0 ;
1100 (char *) "colRGB", NULL
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1104 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1105 if (PyErr_Occurred()) SWIG_fail
;
1107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1108 result
= (wxColour
*)new wxColour(arg1
);
1110 wxPyEndAllowThreads(__tstate
);
1111 if (PyErr_Occurred()) SWIG_fail
;
1113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1120 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
*resultobj
;
1122 wxColour
*arg1
= (wxColour
*) 0 ;
1123 PyObject
* obj0
= 0 ;
1125 (char *) "self", NULL
1128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) SWIG_fail
;
1138 Py_INCREF(Py_None
); resultobj
= Py_None
;
1145 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
*resultobj
;
1147 wxColour
*arg1
= (wxColour
*) 0 ;
1149 PyObject
* obj0
= 0 ;
1151 (char *) "self", NULL
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 result
= (byte
)(arg1
)->Red();
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) SWIG_fail
;
1164 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1171 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
*resultobj
;
1173 wxColour
*arg1
= (wxColour
*) 0 ;
1175 PyObject
* obj0
= 0 ;
1177 (char *) "self", NULL
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1185 result
= (byte
)(arg1
)->Green();
1187 wxPyEndAllowThreads(__tstate
);
1188 if (PyErr_Occurred()) SWIG_fail
;
1190 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1197 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
*resultobj
;
1199 wxColour
*arg1
= (wxColour
*) 0 ;
1201 PyObject
* obj0
= 0 ;
1203 (char *) "self", NULL
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1211 result
= (byte
)(arg1
)->Blue();
1213 wxPyEndAllowThreads(__tstate
);
1214 if (PyErr_Occurred()) SWIG_fail
;
1216 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1223 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
*resultobj
;
1225 wxColour
*arg1
= (wxColour
*) 0 ;
1227 PyObject
* obj0
= 0 ;
1229 (char *) "self", NULL
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1237 result
= (bool)(arg1
)->Ok();
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) SWIG_fail
;
1243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1251 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
*resultobj
;
1253 wxColour
*arg1
= (wxColour
*) 0 ;
1257 PyObject
* obj0
= 0 ;
1258 PyObject
* obj1
= 0 ;
1259 PyObject
* obj2
= 0 ;
1260 PyObject
* obj3
= 0 ;
1262 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1268 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1269 if (PyErr_Occurred()) SWIG_fail
;
1270 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1271 if (PyErr_Occurred()) SWIG_fail
;
1272 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1273 if (PyErr_Occurred()) SWIG_fail
;
1275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1276 (arg1
)->Set(arg2
,arg3
,arg4
);
1278 wxPyEndAllowThreads(__tstate
);
1279 if (PyErr_Occurred()) SWIG_fail
;
1281 Py_INCREF(Py_None
); resultobj
= Py_None
;
1288 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
*resultobj
;
1290 wxColour
*arg1
= (wxColour
*) 0 ;
1291 unsigned long arg2
;
1292 PyObject
* obj0
= 0 ;
1293 PyObject
* obj1
= 0 ;
1295 (char *) "self",(char *) "colRGB", NULL
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1301 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 wxPyEndAllowThreads(__tstate
);
1308 if (PyErr_Occurred()) SWIG_fail
;
1310 Py_INCREF(Py_None
); resultobj
= Py_None
;
1317 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
*resultobj
;
1319 wxColour
*arg1
= (wxColour
*) 0 ;
1320 wxString
*arg2
= 0 ;
1321 bool temp2
= False
;
1322 PyObject
* obj0
= 0 ;
1323 PyObject
* obj1
= 0 ;
1325 (char *) "self",(char *) "colourName", NULL
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1332 arg2
= wxString_in_helper(obj1
);
1333 if (arg2
== NULL
) SWIG_fail
;
1337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1338 (arg1
)->InitFromName((wxString
const &)*arg2
);
1340 wxPyEndAllowThreads(__tstate
);
1341 if (PyErr_Occurred()) SWIG_fail
;
1343 Py_INCREF(Py_None
); resultobj
= Py_None
;
1358 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
*resultobj
;
1360 wxColour
*arg1
= (wxColour
*) 0 ;
1362 PyObject
* obj0
= 0 ;
1364 (char *) "self", NULL
1367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1372 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1374 wxPyEndAllowThreads(__tstate
);
1375 if (PyErr_Occurred()) SWIG_fail
;
1377 resultobj
= SWIG_FromLong((long)result
);
1384 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
*resultobj
;
1386 wxColour
*arg1
= (wxColour
*) 0 ;
1387 wxColour
*arg2
= 0 ;
1390 PyObject
* obj0
= 0 ;
1391 PyObject
* obj1
= 0 ;
1393 (char *) "self",(char *) "colour", NULL
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1401 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) SWIG_fail
;
1411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1419 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
*resultobj
;
1421 wxColour
*arg1
= (wxColour
*) 0 ;
1422 wxColour
*arg2
= 0 ;
1425 PyObject
* obj0
= 0 ;
1426 PyObject
* obj1
= 0 ;
1428 (char *) "self",(char *) "colour", NULL
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1436 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) SWIG_fail
;
1446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1454 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
*resultobj
;
1456 wxColour
*arg1
= (wxColour
*) 0 ;
1458 PyObject
* obj0
= 0 ;
1460 (char *) "self", NULL
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1468 result
= (PyObject
*)wxColour_Get(arg1
);
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) SWIG_fail
;
1480 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
*resultobj
;
1482 wxColour
*arg1
= (wxColour
*) 0 ;
1483 unsigned long result
;
1484 PyObject
* obj0
= 0 ;
1486 (char *) "self", NULL
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1494 result
= (unsigned long)wxColour_GetRGB(arg1
);
1496 wxPyEndAllowThreads(__tstate
);
1497 if (PyErr_Occurred()) SWIG_fail
;
1499 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1506 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1509 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1511 return Py_BuildValue((char *)"");
1513 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
*resultobj
;
1516 unsigned char *arg2
= (unsigned char *) 0 ;
1517 unsigned char *arg3
= (unsigned char *) 0 ;
1518 unsigned char *arg4
= (unsigned char *) 0 ;
1520 PyObject
* obj0
= 0 ;
1521 PyObject
* obj1
= 0 ;
1522 PyObject
* obj2
= 0 ;
1523 PyObject
* obj3
= 0 ;
1525 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1529 arg1
= (int) SWIG_AsInt(obj0
);
1530 if (PyErr_Occurred()) SWIG_fail
;
1531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1533 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1535 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1538 if (!wxPyCheckForApp()) SWIG_fail
;
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) SWIG_fail
;
1545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1552 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
*resultobj
;
1554 wxPalette
*arg1
= (wxPalette
*) 0 ;
1555 PyObject
* obj0
= 0 ;
1557 (char *) "self", NULL
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1570 Py_INCREF(Py_None
); resultobj
= Py_None
;
1577 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
*resultobj
;
1579 wxPalette
*arg1
= (wxPalette
*) 0 ;
1584 PyObject
* obj0
= 0 ;
1585 PyObject
* obj1
= 0 ;
1586 PyObject
* obj2
= 0 ;
1587 PyObject
* obj3
= 0 ;
1589 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1595 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1596 if (PyErr_Occurred()) SWIG_fail
;
1597 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1598 if (PyErr_Occurred()) SWIG_fail
;
1599 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1608 resultobj
= SWIG_FromInt((int)result
);
1615 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
*resultobj
;
1617 wxPalette
*arg1
= (wxPalette
*) 0 ;
1619 byte
*arg3
= (byte
*) 0 ;
1620 byte
*arg4
= (byte
*) 0 ;
1621 byte
*arg5
= (byte
*) 0 ;
1626 PyObject
* obj0
= 0 ;
1627 PyObject
* obj1
= 0 ;
1629 (char *) "self",(char *) "pixel", NULL
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1638 arg2
= (int) SWIG_AsInt(obj1
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) SWIG_fail
;
1648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1651 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1652 resultobj
= t_output_helper(resultobj
,o
);
1655 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1656 resultobj
= t_output_helper(resultobj
,o
);
1659 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1660 resultobj
= t_output_helper(resultobj
,o
);
1668 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
*resultobj
;
1670 wxPalette
*arg1
= (wxPalette
*) 0 ;
1672 PyObject
* obj0
= 0 ;
1674 (char *) "self", NULL
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1682 result
= (bool)(arg1
)->Ok();
1684 wxPyEndAllowThreads(__tstate
);
1685 if (PyErr_Occurred()) SWIG_fail
;
1688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1696 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1699 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1701 return Py_BuildValue((char *)"");
1703 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
*resultobj
;
1705 wxColour
*arg1
= 0 ;
1706 int arg2
= (int) 1 ;
1707 int arg3
= (int) wxSOLID
;
1710 PyObject
* obj0
= 0 ;
1711 PyObject
* obj1
= 0 ;
1712 PyObject
* obj2
= 0 ;
1714 (char *) "colour",(char *) "width",(char *) "style", NULL
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1720 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1723 arg2
= (int) SWIG_AsInt(obj1
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1727 arg3
= (int) SWIG_AsInt(obj2
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1731 if (!wxPyCheckForApp()) SWIG_fail
;
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1745 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
*resultobj
;
1747 wxPen
*arg1
= (wxPen
*) 0 ;
1748 PyObject
* obj0
= 0 ;
1750 (char *) "self", NULL
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1763 Py_INCREF(Py_None
); resultobj
= Py_None
;
1770 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
*resultobj
;
1772 wxPen
*arg1
= (wxPen
*) 0 ;
1774 PyObject
* obj0
= 0 ;
1776 (char *) "self", NULL
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 result
= (int)(arg1
)->GetCap();
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1789 resultobj
= SWIG_FromInt((int)result
);
1796 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
*resultobj
;
1798 wxPen
*arg1
= (wxPen
*) 0 ;
1800 PyObject
* obj0
= 0 ;
1802 (char *) "self", NULL
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 result
= (arg1
)->GetColour();
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1816 wxColour
* resultptr
;
1817 resultptr
= new wxColour((wxColour
&) result
);
1818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1826 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
*resultobj
;
1828 wxPen
*arg1
= (wxPen
*) 0 ;
1830 PyObject
* obj0
= 0 ;
1832 (char *) "self", NULL
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 result
= (int)(arg1
)->GetJoin();
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 resultobj
= SWIG_FromInt((int)result
);
1852 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
*resultobj
;
1854 wxPen
*arg1
= (wxPen
*) 0 ;
1856 PyObject
* obj0
= 0 ;
1858 (char *) "self", NULL
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 result
= (int)(arg1
)->GetStyle();
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1871 resultobj
= SWIG_FromInt((int)result
);
1878 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
*resultobj
;
1880 wxPen
*arg1
= (wxPen
*) 0 ;
1882 PyObject
* obj0
= 0 ;
1884 (char *) "self", NULL
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 result
= (int)(arg1
)->GetWidth();
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 resultobj
= SWIG_FromInt((int)result
);
1904 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1906 wxPen
*arg1
= (wxPen
*) 0 ;
1908 PyObject
* obj0
= 0 ;
1910 (char *) "self", NULL
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 result
= (bool)(arg1
)->Ok();
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1932 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxPen
*arg1
= (wxPen
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1937 PyObject
* obj1
= 0 ;
1939 (char *) "self",(char *) "cap_style", NULL
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 arg2
= (int) SWIG_AsInt(obj1
);
1946 if (PyErr_Occurred()) SWIG_fail
;
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 (arg1
)->SetCap(arg2
);
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1954 Py_INCREF(Py_None
); resultobj
= Py_None
;
1961 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
*resultobj
;
1963 wxPen
*arg1
= (wxPen
*) 0 ;
1964 wxColour
*arg2
= 0 ;
1966 PyObject
* obj0
= 0 ;
1967 PyObject
* obj1
= 0 ;
1969 (char *) "self",(char *) "colour", NULL
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1977 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1981 (arg1
)->SetColour(*arg2
);
1983 wxPyEndAllowThreads(__tstate
);
1984 if (PyErr_Occurred()) SWIG_fail
;
1986 Py_INCREF(Py_None
); resultobj
= Py_None
;
1993 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
*resultobj
;
1995 wxPen
*arg1
= (wxPen
*) 0 ;
1997 PyObject
* obj0
= 0 ;
1998 PyObject
* obj1
= 0 ;
2000 (char *) "self",(char *) "join_style", NULL
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2006 arg2
= (int) SWIG_AsInt(obj1
);
2007 if (PyErr_Occurred()) SWIG_fail
;
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2010 (arg1
)->SetJoin(arg2
);
2012 wxPyEndAllowThreads(__tstate
);
2013 if (PyErr_Occurred()) SWIG_fail
;
2015 Py_INCREF(Py_None
); resultobj
= Py_None
;
2022 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
*resultobj
;
2024 wxPen
*arg1
= (wxPen
*) 0 ;
2026 PyObject
* obj0
= 0 ;
2027 PyObject
* obj1
= 0 ;
2029 (char *) "self",(char *) "style", NULL
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2035 arg2
= (int) SWIG_AsInt(obj1
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 (arg1
)->SetStyle(arg2
);
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) SWIG_fail
;
2044 Py_INCREF(Py_None
); resultobj
= Py_None
;
2051 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
*resultobj
;
2053 wxPen
*arg1
= (wxPen
*) 0 ;
2055 PyObject
* obj0
= 0 ;
2056 PyObject
* obj1
= 0 ;
2058 (char *) "self",(char *) "width", NULL
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2064 arg2
= (int) SWIG_AsInt(obj1
);
2065 if (PyErr_Occurred()) SWIG_fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 (arg1
)->SetWidth(arg2
);
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2073 Py_INCREF(Py_None
); resultobj
= Py_None
;
2080 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
*resultobj
;
2082 wxPen
*arg1
= (wxPen
*) 0 ;
2084 wxDash
*arg3
= (wxDash
*) 0 ;
2085 PyObject
* obj0
= 0 ;
2086 PyObject
* obj1
= 0 ;
2088 (char *) "self",(char *) "dashes", NULL
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2095 arg2
= PyList_Size(obj1
);
2096 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2097 if (arg3
== NULL
) SWIG_fail
;
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 (arg1
)->SetDashes(arg2
,arg3
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2106 Py_INCREF(Py_None
); resultobj
= Py_None
;
2108 if (arg3
) delete [] arg3
;
2113 if (arg3
) delete [] arg3
;
2119 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxPen
*arg1
= (wxPen
*) 0 ;
2123 PyObject
* obj0
= 0 ;
2125 (char *) "self", NULL
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) SWIG_fail
;
2145 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
*resultobj
;
2147 wxPen
*arg1
= (wxPen
*) 0 ;
2148 PyObject
*arg2
= (PyObject
*) 0 ;
2149 PyObject
*arg3
= (PyObject
*) 0 ;
2150 PyObject
* obj0
= 0 ;
2151 PyObject
* obj1
= 0 ;
2152 PyObject
* obj2
= 0 ;
2154 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 wxPen__SetDashes(arg1
,arg2
,arg3
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 Py_INCREF(Py_None
); resultobj
= Py_None
;
2176 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxPen
*arg1
= (wxPen
*) 0 ;
2180 PyObject
* obj0
= 0 ;
2182 (char *) "self", NULL
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2195 resultobj
= SWIG_FromInt((int)result
);
2202 static PyObject
*_wrap_Pen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxPen
*arg1
= (wxPen
*) 0 ;
2206 PyObject
* obj0
= 0 ;
2208 (char *) "self", NULL
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
2212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 result
= (wxBitmap
*)(arg1
)->GetStipple();
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) SWIG_fail
;
2221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2228 static PyObject
*_wrap_Pen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
*resultobj
;
2230 wxPen
*arg1
= (wxPen
*) 0 ;
2231 wxBitmap
*arg2
= 0 ;
2232 PyObject
* obj0
= 0 ;
2233 PyObject
* obj1
= 0 ;
2235 (char *) "self",(char *) "stipple", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2245 PyErr_SetString(PyExc_TypeError
,"null reference");
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 (arg1
)->SetStipple(*arg2
);
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2255 Py_INCREF(Py_None
); resultobj
= Py_None
;
2262 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2264 wxPen
*arg1
= (wxPen
*) 0 ;
2265 wxPen
*arg2
= (wxPen
*) 0 ;
2267 PyObject
* obj0
= 0 ;
2268 PyObject
* obj1
= 0 ;
2270 (char *) "self",(char *) "other", NULL
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2280 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2282 wxPyEndAllowThreads(__tstate
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2294 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
*resultobj
;
2296 wxPen
*arg1
= (wxPen
*) 0 ;
2297 wxPen
*arg2
= (wxPen
*) 0 ;
2299 PyObject
* obj0
= 0 ;
2300 PyObject
* obj1
= 0 ;
2302 (char *) "self",(char *) "other", NULL
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2326 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2329 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2331 return Py_BuildValue((char *)"");
2333 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
*resultobj
;
2335 wxColour
*arg1
= 0 ;
2336 int arg2
= (int) wxSOLID
;
2339 PyObject
* obj0
= 0 ;
2340 PyObject
* obj1
= 0 ;
2342 (char *) "colour",(char *) "style", NULL
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2348 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2351 arg2
= (int) SWIG_AsInt(obj1
);
2352 if (PyErr_Occurred()) SWIG_fail
;
2355 if (!wxPyCheckForApp()) SWIG_fail
;
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2369 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2371 wxBrush
*arg1
= (wxBrush
*) 0 ;
2372 PyObject
* obj0
= 0 ;
2374 (char *) "self", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2387 Py_INCREF(Py_None
); resultobj
= Py_None
;
2394 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
*resultobj
;
2396 wxBrush
*arg1
= (wxBrush
*) 0 ;
2397 wxColour
*arg2
= 0 ;
2399 PyObject
* obj0
= 0 ;
2400 PyObject
* obj1
= 0 ;
2402 (char *) "self",(char *) "col", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2410 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 (arg1
)->SetColour((wxColour
const &)*arg2
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2419 Py_INCREF(Py_None
); resultobj
= Py_None
;
2426 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
*resultobj
;
2428 wxBrush
*arg1
= (wxBrush
*) 0 ;
2430 PyObject
* obj0
= 0 ;
2431 PyObject
* obj1
= 0 ;
2433 (char *) "self",(char *) "style", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2439 arg2
= (int) SWIG_AsInt(obj1
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 (arg1
)->SetStyle(arg2
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2448 Py_INCREF(Py_None
); resultobj
= Py_None
;
2455 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2457 wxBrush
*arg1
= (wxBrush
*) 0 ;
2458 wxBitmap
*arg2
= 0 ;
2459 PyObject
* obj0
= 0 ;
2460 PyObject
* obj1
= 0 ;
2462 (char *) "self",(char *) "stipple", NULL
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2472 PyErr_SetString(PyExc_TypeError
,"null reference");
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2482 Py_INCREF(Py_None
); resultobj
= Py_None
;
2489 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
*resultobj
;
2491 wxBrush
*arg1
= (wxBrush
*) 0 ;
2493 PyObject
* obj0
= 0 ;
2495 (char *) "self", NULL
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 result
= ((wxBrush
const *)arg1
)->GetColour();
2505 wxPyEndAllowThreads(__tstate
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2509 wxColour
* resultptr
;
2510 resultptr
= new wxColour((wxColour
&) result
);
2511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2519 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2521 wxBrush
*arg1
= (wxBrush
*) 0 ;
2523 PyObject
* obj0
= 0 ;
2525 (char *) "self", NULL
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 resultobj
= SWIG_FromInt((int)result
);
2545 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxBrush
*arg1
= (wxBrush
*) 0 ;
2549 PyObject
* obj0
= 0 ;
2551 (char *) "self", NULL
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2571 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2573 wxBrush
*arg1
= (wxBrush
*) 0 ;
2575 PyObject
* obj0
= 0 ;
2577 (char *) "self", NULL
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 result
= (bool)(arg1
)->Ok();
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2599 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2602 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2604 return Py_BuildValue((char *)"");
2606 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
*resultobj
;
2608 wxString
*arg1
= 0 ;
2609 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2611 bool temp1
= False
;
2612 PyObject
* obj0
= 0 ;
2613 PyObject
* obj1
= 0 ;
2615 (char *) "name",(char *) "type", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2620 arg1
= wxString_in_helper(obj0
);
2621 if (arg1
== NULL
) SWIG_fail
;
2625 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2629 if (!wxPyCheckForApp()) SWIG_fail
;
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2651 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
*resultobj
;
2653 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2654 PyObject
* obj0
= 0 ;
2656 (char *) "self", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2669 Py_INCREF(Py_None
); resultobj
= Py_None
;
2676 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
*resultobj
;
2680 int arg3
= (int) -1 ;
2682 PyObject
* obj0
= 0 ;
2683 PyObject
* obj1
= 0 ;
2684 PyObject
* obj2
= 0 ;
2686 (char *) "width",(char *) "height",(char *) "depth", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2690 arg1
= (int) SWIG_AsInt(obj0
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2692 arg2
= (int) SWIG_AsInt(obj1
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 arg3
= (int) SWIG_AsInt(obj2
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 if (!wxPyCheckForApp()) SWIG_fail
;
2700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2703 wxPyEndAllowThreads(__tstate
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2713 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
*resultobj
;
2717 PyObject
* obj0
= 0 ;
2719 (char *) "icon", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2727 PyErr_SetString(PyExc_TypeError
,"null reference");
2731 if (!wxPyCheckForApp()) SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2745 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2748 int arg2
= (int) -1 ;
2750 PyObject
* obj0
= 0 ;
2751 PyObject
* obj1
= 0 ;
2753 (char *) "image",(char *) "depth", NULL
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2761 PyErr_SetString(PyExc_TypeError
,"null reference");
2765 arg2
= (int) SWIG_AsInt(obj1
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2769 if (!wxPyCheckForApp()) SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2783 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
*resultobj
;
2785 PyObject
*arg1
= (PyObject
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2789 (char *) "listOfStrings", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2795 if (!wxPyCheckForApp()) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2809 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2811 PyObject
*arg1
= (PyObject
*) 0 ;
2814 int arg4
= (int) 1 ;
2816 PyObject
* obj0
= 0 ;
2817 PyObject
* obj1
= 0 ;
2818 PyObject
* obj2
= 0 ;
2819 PyObject
* obj3
= 0 ;
2821 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2826 arg2
= (int) SWIG_AsInt(obj1
);
2827 if (PyErr_Occurred()) SWIG_fail
;
2828 arg3
= (int) SWIG_AsInt(obj2
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2831 arg4
= (int) SWIG_AsInt(obj3
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2835 if (!wxPyCheckForApp()) SWIG_fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2849 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2852 wxPalette
*arg2
= 0 ;
2853 PyObject
* obj0
= 0 ;
2854 PyObject
* obj1
= 0 ;
2856 (char *) "self",(char *) "palette", NULL
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
2863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2866 PyErr_SetString(PyExc_TypeError
,"null reference");
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 (arg1
)->SetPalette(*arg2
);
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2876 Py_INCREF(Py_None
); resultobj
= Py_None
;
2883 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
*resultobj
;
2885 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2887 PyObject
* obj0
= 0 ;
2889 (char *) "self", NULL
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
2893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 result
= (long)(arg1
)->GetHandle();
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2902 resultobj
= SWIG_FromLong((long)result
);
2909 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2913 PyObject
* obj0
= 0 ;
2914 PyObject
* obj1
= 0 ;
2916 (char *) "self",(char *) "handle", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
2920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2922 arg2
= (long) SWIG_AsLong(obj1
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 wxBitmap_SetHandle(arg1
,arg2
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2931 Py_INCREF(Py_None
); resultobj
= Py_None
;
2938 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2940 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2942 PyObject
* obj0
= 0 ;
2944 (char *) "self", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= (bool)(arg1
)->Ok();
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2966 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
;
2968 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2970 PyObject
* obj0
= 0 ;
2972 (char *) "self", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2980 result
= (int)(arg1
)->GetWidth();
2982 wxPyEndAllowThreads(__tstate
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2985 resultobj
= SWIG_FromInt((int)result
);
2992 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
*resultobj
;
2994 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2996 PyObject
* obj0
= 0 ;
2998 (char *) "self", NULL
3001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 result
= (int)(arg1
)->GetHeight();
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3011 resultobj
= SWIG_FromInt((int)result
);
3018 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
*resultobj
;
3020 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3022 PyObject
* obj0
= 0 ;
3024 (char *) "self", NULL
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= (int)(arg1
)->GetDepth();
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 resultobj
= SWIG_FromInt((int)result
);
3044 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3046 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3048 PyObject
* obj0
= 0 ;
3050 (char *) "self", NULL
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3058 result
= wxBitmap_GetSize(arg1
);
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3065 resultptr
= new wxSize((wxSize
&) result
);
3066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3074 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
*resultobj
;
3076 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3077 SwigValueWrapper
< wxImage
> result
;
3078 PyObject
* obj0
= 0 ;
3080 (char *) "self", NULL
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3094 wxImage
* resultptr
;
3095 resultptr
= new wxImage((wxImage
&) result
);
3096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3104 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3108 PyObject
* obj0
= 0 ;
3110 (char *) "self", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3130 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3133 wxMask
*arg2
= (wxMask
*) 0 ;
3134 PyObject
* obj0
= 0 ;
3135 PyObject
* obj1
= 0 ;
3137 (char *) "self",(char *) "mask", NULL
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 (arg1
)->SetMask(arg2
);
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3152 Py_INCREF(Py_None
); resultobj
= Py_None
;
3159 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3162 wxColour
*arg2
= 0 ;
3164 PyObject
* obj0
= 0 ;
3165 PyObject
* obj1
= 0 ;
3167 (char *) "self",(char *) "colour", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3175 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 Py_INCREF(Py_None
); resultobj
= Py_None
;
3191 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3195 SwigValueWrapper
< wxBitmap
> result
;
3197 PyObject
* obj0
= 0 ;
3198 PyObject
* obj1
= 0 ;
3200 (char *) "self",(char *) "rect", NULL
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3208 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3218 wxBitmap
* resultptr
;
3219 resultptr
= new wxBitmap((wxBitmap
&) result
);
3220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3228 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
*resultobj
;
3230 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3231 wxString
*arg2
= 0 ;
3233 wxPalette
*arg4
= (wxPalette
*) NULL
;
3235 bool temp2
= False
;
3236 PyObject
* obj0
= 0 ;
3237 PyObject
* obj1
= 0 ;
3238 PyObject
* obj2
= 0 ;
3239 PyObject
* obj3
= 0 ;
3241 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3248 arg2
= wxString_in_helper(obj1
);
3249 if (arg2
== NULL
) SWIG_fail
;
3252 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3282 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3285 wxString
*arg2
= 0 ;
3288 bool temp2
= False
;
3289 PyObject
* obj0
= 0 ;
3290 PyObject
* obj1
= 0 ;
3291 PyObject
* obj2
= 0 ;
3293 (char *) "self",(char *) "name",(char *) "type", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3300 arg2
= wxString_in_helper(obj1
);
3301 if (arg2
== NULL
) SWIG_fail
;
3304 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) SWIG_fail
;
3314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3330 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3332 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3335 PyObject
* obj0
= 0 ;
3336 PyObject
* obj1
= 0 ;
3338 (char *) "self",(char *) "icon", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3348 PyErr_SetString(PyExc_TypeError
,"null reference");
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3367 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
;
3369 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3371 PyObject
* obj0
= 0 ;
3372 PyObject
* obj1
= 0 ;
3374 (char *) "self",(char *) "height", NULL
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3380 arg2
= (int) SWIG_AsInt(obj1
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 (arg1
)->SetHeight(arg2
);
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3389 Py_INCREF(Py_None
); resultobj
= Py_None
;
3396 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
*resultobj
;
3398 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3403 (char *) "self",(char *) "width", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3409 arg2
= (int) SWIG_AsInt(obj1
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 (arg1
)->SetWidth(arg2
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 Py_INCREF(Py_None
); resultobj
= Py_None
;
3425 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
*resultobj
;
3427 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3429 PyObject
* obj0
= 0 ;
3430 PyObject
* obj1
= 0 ;
3432 (char *) "self",(char *) "depth", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 arg2
= (int) SWIG_AsInt(obj1
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 (arg1
)->SetDepth(arg2
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 Py_INCREF(Py_None
); resultobj
= Py_None
;
3454 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3459 PyObject
* obj0
= 0 ;
3460 PyObject
* obj1
= 0 ;
3462 (char *) "self",(char *) "size", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 Py_INCREF(Py_None
); resultobj
= Py_None
;
3486 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3489 wxCursor
*arg2
= 0 ;
3491 PyObject
* obj0
= 0 ;
3492 PyObject
* obj1
= 0 ;
3494 (char *) "self",(char *) "cursor", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
3501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3504 PyErr_SetString(PyExc_TypeError
,"null reference");
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3523 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
*resultobj
;
3525 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3527 PyObject
* obj0
= 0 ;
3529 (char *) "self", NULL
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 result
= (int)(arg1
)->GetQuality();
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 resultobj
= SWIG_FromInt((int)result
);
3549 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
*resultobj
;
3551 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3553 PyObject
* obj0
= 0 ;
3554 PyObject
* obj1
= 0 ;
3556 (char *) "self",(char *) "q", NULL
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3562 arg2
= (int) SWIG_AsInt(obj1
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 (arg1
)->SetQuality(arg2
);
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3571 Py_INCREF(Py_None
); resultobj
= Py_None
;
3578 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3580 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3581 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3583 PyObject
* obj0
= 0 ;
3584 PyObject
* obj1
= 0 ;
3586 (char *) "self",(char *) "other", NULL
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3610 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3612 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3613 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3618 (char *) "self",(char *) "other", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3642 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3645 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3647 return Py_BuildValue((char *)"");
3649 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
*resultobj
;
3651 wxBitmap
*arg1
= 0 ;
3652 wxColour
const &arg2_defvalue
= wxNullColour
;
3653 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3656 PyObject
* obj0
= 0 ;
3657 PyObject
* obj1
= 0 ;
3659 (char *) "bitmap",(char *) "colour", NULL
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3667 PyErr_SetString(PyExc_TypeError
,"null reference");
3673 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3677 if (!wxPyCheckForApp()) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3691 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3694 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3696 return Py_BuildValue((char *)"");
3698 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
;
3700 wxString
*arg1
= 0 ;
3702 int arg3
= (int) -1 ;
3703 int arg4
= (int) -1 ;
3705 bool temp1
= False
;
3706 PyObject
* obj0
= 0 ;
3707 PyObject
* obj1
= 0 ;
3708 PyObject
* obj2
= 0 ;
3709 PyObject
* obj3
= 0 ;
3711 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3716 arg1
= wxString_in_helper(obj0
);
3717 if (arg1
== NULL
) SWIG_fail
;
3720 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 arg3
= (int) SWIG_AsInt(obj2
);
3724 if (PyErr_Occurred()) SWIG_fail
;
3727 arg4
= (int) SWIG_AsInt(obj3
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3731 if (!wxPyCheckForApp()) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3753 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxIcon
*arg1
= (wxIcon
*) 0 ;
3756 PyObject
* obj0
= 0 ;
3758 (char *) "self", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3787 if (!wxPyCheckForApp()) SWIG_fail
;
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 result
= (wxIcon
*)new wxIcon();
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3801 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
*resultobj
;
3803 wxIconLocation
*arg1
= 0 ;
3805 PyObject
* obj0
= 0 ;
3807 (char *) "loc", NULL
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3815 PyErr_SetString(PyExc_TypeError
,"null reference");
3819 if (!wxPyCheckForApp()) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3833 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxBitmap
*arg1
= 0 ;
3837 PyObject
* obj0
= 0 ;
3839 (char *) "bmp", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3847 PyErr_SetString(PyExc_TypeError
,"null reference");
3851 if (!wxPyCheckForApp()) SWIG_fail
;
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3865 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3867 PyObject
*arg1
= (PyObject
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3871 (char *) "listOfStrings", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3877 if (!wxPyCheckForApp()) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 result
= (wxIcon
*)new_wxIcon(arg1
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3891 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3893 wxIcon
*arg1
= (wxIcon
*) 0 ;
3894 wxString
*arg2
= 0 ;
3897 bool temp2
= False
;
3898 PyObject
* obj0
= 0 ;
3899 PyObject
* obj1
= 0 ;
3900 PyObject
* obj2
= 0 ;
3902 (char *) "self",(char *) "name",(char *) "type", NULL
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3909 arg2
= wxString_in_helper(obj1
);
3910 if (arg2
== NULL
) SWIG_fail
;
3913 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3939 static PyObject
*_wrap_Icon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxIcon
*arg1
= (wxIcon
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "self", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= (long)(arg1
)->GetHandle();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= SWIG_FromLong((long)result
);
3965 static PyObject
*_wrap_Icon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxIcon
*arg1
= (wxIcon
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3970 PyObject
* obj1
= 0 ;
3972 (char *) "self",(char *) "handle", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 arg2
= (long) SWIG_AsLong(obj1
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 wxIcon_SetHandle(arg1
,arg2
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxIcon
*arg1
= (wxIcon
*) 0 ;
3998 PyObject
* obj0
= 0 ;
4000 (char *) "self", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 result
= (bool)(arg1
)->Ok();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4022 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4024 wxIcon
*arg1
= (wxIcon
*) 0 ;
4026 PyObject
* obj0
= 0 ;
4028 (char *) "self", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (int)(arg1
)->GetWidth();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= SWIG_FromInt((int)result
);
4048 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxIcon
*arg1
= (wxIcon
*) 0 ;
4052 PyObject
* obj0
= 0 ;
4054 (char *) "self", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (int)(arg1
)->GetHeight();
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 resultobj
= SWIG_FromInt((int)result
);
4074 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
*resultobj
;
4076 wxIcon
*arg1
= (wxIcon
*) 0 ;
4078 PyObject
* obj0
= 0 ;
4080 (char *) "self", NULL
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (int)(arg1
)->GetDepth();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_FromInt((int)result
);
4100 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxIcon
*arg1
= (wxIcon
*) 0 ;
4104 PyObject
* obj0
= 0 ;
4105 PyObject
* obj1
= 0 ;
4107 (char *) "self",(char *) "w", NULL
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4113 arg2
= (int) SWIG_AsInt(obj1
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 (arg1
)->SetWidth(arg2
);
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 Py_INCREF(Py_None
); resultobj
= Py_None
;
4129 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
;
4131 wxIcon
*arg1
= (wxIcon
*) 0 ;
4133 PyObject
* obj0
= 0 ;
4134 PyObject
* obj1
= 0 ;
4136 (char *) "self",(char *) "h", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4142 arg2
= (int) SWIG_AsInt(obj1
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 (arg1
)->SetHeight(arg2
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 Py_INCREF(Py_None
); resultobj
= Py_None
;
4158 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxIcon
*arg1
= (wxIcon
*) 0 ;
4162 PyObject
* obj0
= 0 ;
4163 PyObject
* obj1
= 0 ;
4165 (char *) "self",(char *) "d", NULL
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4171 arg2
= (int) SWIG_AsInt(obj1
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 (arg1
)->SetDepth(arg2
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4180 Py_INCREF(Py_None
); resultobj
= Py_None
;
4187 static PyObject
*_wrap_Icon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxIcon
*arg1
= (wxIcon
*) 0 ;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4195 (char *) "self",(char *) "size", NULL
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4203 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 (arg1
)->SetSize((wxSize
const &)*arg2
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 Py_INCREF(Py_None
); resultobj
= Py_None
;
4219 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxIcon
*arg1
= (wxIcon
*) 0 ;
4222 wxBitmap
*arg2
= 0 ;
4223 PyObject
* obj0
= 0 ;
4224 PyObject
* obj1
= 0 ;
4226 (char *) "self",(char *) "bmp", NULL
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4236 PyErr_SetString(PyExc_TypeError
,"null reference");
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 Py_INCREF(Py_None
); resultobj
= Py_None
;
4253 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4256 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4258 return Py_BuildValue((char *)"");
4260 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4263 int arg2
= (int) 0 ;
4264 wxIconLocation
*result
;
4265 bool temp1
= False
;
4266 PyObject
* obj0
= 0 ;
4267 PyObject
* obj1
= 0 ;
4269 (char *) "filename",(char *) "num", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4275 arg1
= wxString_in_helper(obj0
);
4276 if (arg1
== NULL
) SWIG_fail
;
4281 arg2
= (int) SWIG_AsInt(obj1
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4306 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
;
4308 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4309 PyObject
* obj0
= 0 ;
4311 (char *) "self", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4324 Py_INCREF(Py_None
); resultobj
= Py_None
;
4331 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
;
4333 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4335 PyObject
* obj0
= 0 ;
4337 (char *) "self", NULL
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4359 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4362 wxString
*arg2
= 0 ;
4363 bool temp2
= False
;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4367 (char *) "self",(char *) "filename", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4374 arg2
= wxString_in_helper(obj1
);
4375 if (arg2
== NULL
) SWIG_fail
;
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 (arg1
)->SetFileName((wxString
const &)*arg2
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 Py_INCREF(Py_None
); resultobj
= Py_None
;
4400 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4402 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4404 PyObject
* obj0
= 0 ;
4406 (char *) "self", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4416 result
= (wxString
*) &_result_ref
;
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4426 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4435 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4442 (char *) "self",(char *) "num", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4448 arg2
= (int) SWIG_AsInt(obj1
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 wxIconLocation_SetIndex(arg1
,arg2
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 Py_INCREF(Py_None
); resultobj
= Py_None
;
4464 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4468 PyObject
* obj0
= 0 ;
4470 (char *) "self", NULL
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)wxIconLocation_GetIndex(arg1
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= SWIG_FromInt((int)result
);
4490 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4493 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4495 return Py_BuildValue((char *)"");
4497 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
;
4499 wxIconBundle
*result
;
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 result
= (wxIconBundle
*)new wxIconBundle();
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4519 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxString
*arg1
= 0 ;
4523 wxIconBundle
*result
;
4524 bool temp1
= False
;
4525 PyObject
* obj0
= 0 ;
4526 PyObject
* obj1
= 0 ;
4528 (char *) "file",(char *) "type", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4533 arg1
= wxString_in_helper(obj0
);
4534 if (arg1
== NULL
) SWIG_fail
;
4537 arg2
= (long) SWIG_AsLong(obj1
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4561 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4564 wxIconBundle
*result
;
4565 PyObject
* obj0
= 0 ;
4567 (char *) "icon", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4575 PyErr_SetString(PyExc_TypeError
,"null reference");
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4580 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4592 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
;
4594 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4595 PyObject
* obj0
= 0 ;
4597 (char *) "self", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 Py_INCREF(Py_None
); resultobj
= Py_None
;
4617 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4624 (char *) "self",(char *) "icon", NULL
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4634 PyErr_SetString(PyExc_TypeError
,"null reference");
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 Py_INCREF(Py_None
); resultobj
= Py_None
;
4651 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4654 wxString
*arg2
= 0 ;
4656 bool temp2
= False
;
4657 PyObject
* obj0
= 0 ;
4658 PyObject
* obj1
= 0 ;
4659 PyObject
* obj2
= 0 ;
4661 (char *) "self",(char *) "file",(char *) "type", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4668 arg2
= wxString_in_helper(obj1
);
4669 if (arg2
== NULL
) SWIG_fail
;
4672 arg3
= (long) SWIG_AsLong(obj2
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 Py_INCREF(Py_None
); resultobj
= Py_None
;
4696 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
*resultobj
;
4698 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4702 PyObject
* obj0
= 0 ;
4703 PyObject
* obj1
= 0 ;
4705 (char *) "self",(char *) "size", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4713 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4719 result
= (wxIcon
*) &_result_ref
;
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4726 wxIcon
* resultptr
= new wxIcon(*result
);
4727 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4735 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4738 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4740 return Py_BuildValue((char *)"");
4742 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxString
*arg1
= (wxString
*) 0 ;
4746 int arg3
= (int) 0 ;
4747 int arg4
= (int) 0 ;
4749 bool temp1
= False
;
4750 PyObject
* obj0
= 0 ;
4751 PyObject
* obj1
= 0 ;
4752 PyObject
* obj2
= 0 ;
4753 PyObject
* obj3
= 0 ;
4755 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4760 arg1
= wxString_in_helper(obj0
);
4761 if (arg1
== NULL
) SWIG_fail
;
4764 arg2
= (long) SWIG_AsLong(obj1
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 arg3
= (int) SWIG_AsInt(obj2
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4771 arg4
= (int) SWIG_AsInt(obj3
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4775 if (!wxPyCheckForApp()) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4797 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxCursor
*arg1
= (wxCursor
*) 0 ;
4800 PyObject
* obj0
= 0 ;
4802 (char *) "self", NULL
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4815 Py_INCREF(Py_None
); resultobj
= Py_None
;
4822 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4826 PyObject
* obj0
= 0 ;
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4832 arg1
= (int) SWIG_AsInt(obj0
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 if (!wxPyCheckForApp()) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= (wxCursor
*)new wxCursor(arg1
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4849 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4853 PyObject
* obj0
= 0 ;
4855 (char *) "image", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4863 PyErr_SetString(PyExc_TypeError
,"null reference");
4867 if (!wxPyCheckForApp()) SWIG_fail
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4881 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxCursor
*arg1
= (wxCursor
*) 0 ;
4885 PyObject
* obj0
= 0 ;
4887 (char *) "self", NULL
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
4891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 result
= (long)(arg1
)->GetHandle();
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 resultobj
= SWIG_FromLong((long)result
);
4907 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
;
4909 wxCursor
*arg1
= (wxCursor
*) 0 ;
4911 PyObject
* obj0
= 0 ;
4912 PyObject
* obj1
= 0 ;
4914 (char *) "self",(char *) "handle", NULL
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4920 arg2
= (long) SWIG_AsLong(obj1
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 wxCursor_SetHandle(arg1
,arg2
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 Py_INCREF(Py_None
); resultobj
= Py_None
;
4936 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
;
4938 wxCursor
*arg1
= (wxCursor
*) 0 ;
4940 PyObject
* obj0
= 0 ;
4942 (char *) "self", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (bool)(arg1
)->Ok();
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4964 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxCursor
*arg1
= (wxCursor
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (int)(arg1
)->GetWidth();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= SWIG_FromInt((int)result
);
4990 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxCursor
*arg1
= (wxCursor
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4996 (char *) "self", NULL
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
5000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 result
= (int)(arg1
)->GetHeight();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= SWIG_FromInt((int)result
);
5016 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
;
5018 wxCursor
*arg1
= (wxCursor
*) 0 ;
5020 PyObject
* obj0
= 0 ;
5022 (char *) "self", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 result
= (int)(arg1
)->GetDepth();
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= SWIG_FromInt((int)result
);
5042 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
;
5044 wxCursor
*arg1
= (wxCursor
*) 0 ;
5046 PyObject
* obj0
= 0 ;
5047 PyObject
* obj1
= 0 ;
5049 (char *) "self",(char *) "w", NULL
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5055 arg2
= (int) SWIG_AsInt(obj1
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 (arg1
)->SetWidth(arg2
);
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 Py_INCREF(Py_None
); resultobj
= Py_None
;
5071 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxCursor
*arg1
= (wxCursor
*) 0 ;
5075 PyObject
* obj0
= 0 ;
5076 PyObject
* obj1
= 0 ;
5078 (char *) "self",(char *) "h", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5084 arg2
= (int) SWIG_AsInt(obj1
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 (arg1
)->SetHeight(arg2
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 Py_INCREF(Py_None
); resultobj
= Py_None
;
5100 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxCursor
*arg1
= (wxCursor
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5105 PyObject
* obj1
= 0 ;
5107 (char *) "self",(char *) "d", NULL
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5113 arg2
= (int) SWIG_AsInt(obj1
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 (arg1
)->SetDepth(arg2
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 Py_INCREF(Py_None
); resultobj
= Py_None
;
5129 static PyObject
*_wrap_Cursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
;
5131 wxCursor
*arg1
= (wxCursor
*) 0 ;
5134 PyObject
* obj0
= 0 ;
5135 PyObject
* obj1
= 0 ;
5137 (char *) "self",(char *) "size", NULL
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5145 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 (arg1
)->SetSize((wxSize
const &)*arg2
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 Py_INCREF(Py_None
); resultobj
= Py_None
;
5161 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
5163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5164 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5166 return Py_BuildValue((char *)"");
5168 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
;
5170 int arg1
= (int) 0 ;
5171 int arg2
= (int) 0 ;
5172 int arg3
= (int) 0 ;
5173 int arg4
= (int) 0 ;
5175 PyObject
* obj0
= 0 ;
5176 PyObject
* obj1
= 0 ;
5177 PyObject
* obj2
= 0 ;
5178 PyObject
* obj3
= 0 ;
5180 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5185 arg1
= (int) SWIG_AsInt(obj0
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5189 arg2
= (int) SWIG_AsInt(obj1
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5193 arg3
= (int) SWIG_AsInt(obj2
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5197 arg4
= (int) SWIG_AsInt(obj3
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5201 if (!wxPyCheckForApp()) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5215 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxBitmap
*arg1
= 0 ;
5219 PyObject
* obj0
= 0 ;
5221 (char *) "bmp", NULL
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
5225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5229 PyErr_SetString(PyExc_TypeError
,"null reference");
5233 if (!wxPyCheckForApp()) SWIG_fail
;
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5247 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
;
5249 wxBitmap
*arg1
= 0 ;
5250 wxColour
*arg2
= 0 ;
5251 int arg3
= (int) 0 ;
5254 PyObject
* obj0
= 0 ;
5255 PyObject
* obj1
= 0 ;
5256 PyObject
* obj2
= 0 ;
5258 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5266 PyErr_SetString(PyExc_TypeError
,"null reference");
5271 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5274 arg3
= (int) SWIG_AsInt(obj2
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5278 if (!wxPyCheckForApp()) SWIG_fail
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5292 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5295 wxPoint
*arg2
= (wxPoint
*) 0 ;
5296 int arg3
= (int) wxWINDING_RULE
;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5301 (char *) "points",(char *) "fillStyle", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5306 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5307 if (arg2
== NULL
) SWIG_fail
;
5310 arg3
= (int) SWIG_AsInt(obj1
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5314 if (!wxPyCheckForApp()) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5323 if (arg2
) delete [] arg2
;
5328 if (arg2
) delete [] arg2
;
5334 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxRegion
*arg1
= (wxRegion
*) 0 ;
5337 PyObject
* obj0
= 0 ;
5339 (char *) "self", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 Py_INCREF(Py_None
); resultobj
= Py_None
;
5359 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
;
5361 wxRegion
*arg1
= (wxRegion
*) 0 ;
5362 PyObject
* obj0
= 0 ;
5364 (char *) "self", NULL
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 Py_INCREF(Py_None
); resultobj
= Py_None
;
5384 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxRegion
*arg1
= (wxRegion
*) 0 ;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5392 PyObject
* obj2
= 0 ;
5394 (char *) "self",(char *) "x",(char *) "y", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5400 arg2
= (int) SWIG_AsInt(obj1
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5402 arg3
= (int) SWIG_AsInt(obj2
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5420 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxRegion
*arg1
= (wxRegion
*) 0 ;
5426 PyObject
* obj0
= 0 ;
5427 PyObject
* obj1
= 0 ;
5428 PyObject
* obj2
= 0 ;
5430 (char *) "self",(char *) "x",(char *) "y", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 arg2
= (int) SWIG_AsInt(obj1
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5438 arg3
= (int) SWIG_AsInt(obj2
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= SWIG_FromInt((int)result
);
5454 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
;
5456 wxRegion
*arg1
= (wxRegion
*) 0 ;
5460 PyObject
* obj0
= 0 ;
5461 PyObject
* obj1
= 0 ;
5463 (char *) "self",(char *) "pt", NULL
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= SWIG_FromInt((int)result
);
5487 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxRegion
*arg1
= (wxRegion
*) 0 ;
5493 PyObject
* obj0
= 0 ;
5494 PyObject
* obj1
= 0 ;
5496 (char *) "self",(char *) "rect", NULL
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5504 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= SWIG_FromInt((int)result
);
5520 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxRegion
*arg1
= (wxRegion
*) 0 ;
5528 PyObject
* obj0
= 0 ;
5529 PyObject
* obj1
= 0 ;
5530 PyObject
* obj2
= 0 ;
5531 PyObject
* obj3
= 0 ;
5532 PyObject
* obj4
= 0 ;
5534 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5540 arg2
= (int) SWIG_AsInt(obj1
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5542 arg3
= (int) SWIG_AsInt(obj2
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5544 arg4
= (int) SWIG_AsInt(obj3
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5546 arg5
= (int) SWIG_AsInt(obj4
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 resultobj
= SWIG_FromInt((int)result
);
5562 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxRegion
*arg1
= (wxRegion
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5568 (char *) "self", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (arg1
)->GetBox();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5583 resultptr
= new wxRect((wxRect
&) result
);
5584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5592 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
;
5594 wxRegion
*arg1
= (wxRegion
*) 0 ;
5600 PyObject
* obj0
= 0 ;
5601 PyObject
* obj1
= 0 ;
5602 PyObject
* obj2
= 0 ;
5603 PyObject
* obj3
= 0 ;
5604 PyObject
* obj4
= 0 ;
5606 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 arg2
= (int) SWIG_AsInt(obj1
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5614 arg3
= (int) SWIG_AsInt(obj2
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5616 arg4
= (int) SWIG_AsInt(obj3
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5618 arg5
= (int) SWIG_AsInt(obj4
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5636 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxRegion
*arg1
= (wxRegion
*) 0 ;
5642 PyObject
* obj0
= 0 ;
5643 PyObject
* obj1
= 0 ;
5645 (char *) "self",(char *) "rect", NULL
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5653 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5671 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxRegion
*arg1
= (wxRegion
*) 0 ;
5674 wxRegion
*arg2
= 0 ;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5679 (char *) "self",(char *) "region", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5689 PyErr_SetString(PyExc_TypeError
,"null reference");
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5708 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxRegion
*arg1
= (wxRegion
*) 0 ;
5712 PyObject
* obj0
= 0 ;
5714 (char *) "self", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 result
= (bool)(arg1
)->IsEmpty();
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5736 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxRegion
*arg1
= (wxRegion
*) 0 ;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5746 PyObject
* obj2
= 0 ;
5747 PyObject
* obj3
= 0 ;
5748 PyObject
* obj4
= 0 ;
5750 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5756 arg2
= (int) SWIG_AsInt(obj1
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5758 arg3
= (int) SWIG_AsInt(obj2
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5760 arg4
= (int) SWIG_AsInt(obj3
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5762 arg5
= (int) SWIG_AsInt(obj4
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5780 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxRegion
*arg1
= (wxRegion
*) 0 ;
5786 PyObject
* obj0
= 0 ;
5787 PyObject
* obj1
= 0 ;
5789 (char *) "self",(char *) "rect", NULL
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5797 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5815 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxRegion
*arg1
= (wxRegion
*) 0 ;
5818 wxRegion
*arg2
= 0 ;
5820 PyObject
* obj0
= 0 ;
5821 PyObject
* obj1
= 0 ;
5823 (char *) "self",(char *) "region", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5833 PyErr_SetString(PyExc_TypeError
,"null reference");
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5852 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
*resultobj
;
5854 wxRegion
*arg1
= (wxRegion
*) 0 ;
5860 PyObject
* obj0
= 0 ;
5861 PyObject
* obj1
= 0 ;
5862 PyObject
* obj2
= 0 ;
5863 PyObject
* obj3
= 0 ;
5864 PyObject
* obj4
= 0 ;
5866 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 arg2
= (int) SWIG_AsInt(obj1
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5874 arg3
= (int) SWIG_AsInt(obj2
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5876 arg4
= (int) SWIG_AsInt(obj3
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5878 arg5
= (int) SWIG_AsInt(obj4
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5896 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxRegion
*arg1
= (wxRegion
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5905 (char *) "self",(char *) "rect", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5913 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5931 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
;
5933 wxRegion
*arg1
= (wxRegion
*) 0 ;
5934 wxRegion
*arg2
= 0 ;
5936 PyObject
* obj0
= 0 ;
5937 PyObject
* obj1
= 0 ;
5939 (char *) "self",(char *) "region", NULL
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5949 PyErr_SetString(PyExc_TypeError
,"null reference");
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5968 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
;
5970 wxRegion
*arg1
= (wxRegion
*) 0 ;
5976 PyObject
* obj0
= 0 ;
5977 PyObject
* obj1
= 0 ;
5978 PyObject
* obj2
= 0 ;
5979 PyObject
* obj3
= 0 ;
5980 PyObject
* obj4
= 0 ;
5982 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 arg2
= (int) SWIG_AsInt(obj1
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5990 arg3
= (int) SWIG_AsInt(obj2
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5992 arg4
= (int) SWIG_AsInt(obj3
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5994 arg5
= (int) SWIG_AsInt(obj4
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6012 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxRegion
*arg1
= (wxRegion
*) 0 ;
6018 PyObject
* obj0
= 0 ;
6019 PyObject
* obj1
= 0 ;
6021 (char *) "self",(char *) "rect", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6029 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6047 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
;
6049 wxRegion
*arg1
= (wxRegion
*) 0 ;
6050 wxRegion
*arg2
= 0 ;
6052 PyObject
* obj0
= 0 ;
6053 PyObject
* obj1
= 0 ;
6055 (char *) "self",(char *) "region", NULL
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
6062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6065 PyErr_SetString(PyExc_TypeError
,"null reference");
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6084 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxRegion
*arg1
= (wxRegion
*) 0 ;
6087 SwigValueWrapper
< wxBitmap
> result
;
6088 PyObject
* obj0
= 0 ;
6090 (char *) "self", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
6094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= (arg1
)->ConvertToBitmap();
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6104 wxBitmap
* resultptr
;
6105 resultptr
= new wxBitmap((wxBitmap
&) result
);
6106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6114 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxRegion
*arg1
= (wxRegion
*) 0 ;
6117 wxBitmap
*arg2
= 0 ;
6119 PyObject
* obj0
= 0 ;
6120 PyObject
* obj1
= 0 ;
6122 (char *) "self",(char *) "bmp", NULL
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6132 PyErr_SetString(PyExc_TypeError
,"null reference");
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6151 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
;
6153 wxRegion
*arg1
= (wxRegion
*) 0 ;
6154 wxBitmap
*arg2
= 0 ;
6155 wxColour
*arg3
= 0 ;
6156 int arg4
= (int) 0 ;
6159 PyObject
* obj0
= 0 ;
6160 PyObject
* obj1
= 0 ;
6161 PyObject
* obj2
= 0 ;
6162 PyObject
* obj3
= 0 ;
6164 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
6171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6174 PyErr_SetString(PyExc_TypeError
,"null reference");
6179 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6182 arg4
= (int) SWIG_AsInt(obj3
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6201 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
6203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6204 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
6206 return Py_BuildValue((char *)"");
6208 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
;
6210 wxRegion
*arg1
= 0 ;
6211 wxRegionIterator
*result
;
6212 PyObject
* obj0
= 0 ;
6214 (char *) "region", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
6218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
6219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6222 PyErr_SetString(PyExc_TypeError
,"null reference");
6226 if (!wxPyCheckForApp()) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
6240 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6243 PyObject
* obj0
= 0 ;
6245 (char *) "self", NULL
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 Py_INCREF(Py_None
); resultobj
= Py_None
;
6265 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6269 PyObject
* obj0
= 0 ;
6271 (char *) "self", NULL
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 result
= (int)(arg1
)->GetX();
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6284 resultobj
= SWIG_FromInt((int)result
);
6291 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
;
6293 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6295 PyObject
* obj0
= 0 ;
6297 (char *) "self", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
6301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6305 result
= (int)(arg1
)->GetY();
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 resultobj
= SWIG_FromInt((int)result
);
6317 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6321 PyObject
* obj0
= 0 ;
6323 (char *) "self", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 result
= (int)(arg1
)->GetW();
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6336 resultobj
= SWIG_FromInt((int)result
);
6343 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6347 PyObject
* obj0
= 0 ;
6349 (char *) "self", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (int)(arg1
)->GetWidth();
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 resultobj
= SWIG_FromInt((int)result
);
6369 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6373 PyObject
* obj0
= 0 ;
6375 (char *) "self", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (int)(arg1
)->GetH();
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= SWIG_FromInt((int)result
);
6395 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6399 PyObject
* obj0
= 0 ;
6401 (char *) "self", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (int)(arg1
)->GetHeight();
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= SWIG_FromInt((int)result
);
6421 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
;
6423 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6425 PyObject
* obj0
= 0 ;
6427 (char *) "self", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 result
= (arg1
)->GetRect();
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6442 resultptr
= new wxRect((wxRect
&) result
);
6443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6451 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
;
6453 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6455 PyObject
* obj0
= 0 ;
6457 (char *) "self", NULL
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (bool)(arg1
)->HaveRects();
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6479 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
*resultobj
;
6481 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6482 PyObject
* obj0
= 0 ;
6484 (char *) "self", NULL
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 Py_INCREF(Py_None
); resultobj
= Py_None
;
6504 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
;
6506 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6507 PyObject
* obj0
= 0 ;
6509 (char *) "self", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 wxRegionIterator_Next(arg1
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 Py_INCREF(Py_None
); resultobj
= Py_None
;
6529 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
;
6531 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6533 PyObject
* obj0
= 0 ;
6535 (char *) "self", NULL
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6557 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6560 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6562 return Py_BuildValue((char *)"");
6564 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxNativeFontInfo
*result
;
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6586 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6589 PyObject
* obj0
= 0 ;
6591 (char *) "self", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 Py_INCREF(Py_None
); resultobj
= Py_None
;
6611 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6614 PyObject
* obj0
= 0 ;
6616 (char *) "self", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 Py_INCREF(Py_None
); resultobj
= Py_None
;
6636 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6638 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6643 (char *) "self",(char *) "font", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6653 PyErr_SetString(PyExc_TypeError
,"null reference");
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 Py_INCREF(Py_None
); resultobj
= Py_None
;
6670 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6674 PyObject
* obj0
= 0 ;
6676 (char *) "self", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= SWIG_FromInt((int)result
);
6696 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
*resultobj
;
6698 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6700 PyObject
* obj0
= 0 ;
6702 (char *) "self", NULL
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_FromInt((int)result
);
6722 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
;
6724 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6726 PyObject
* obj0
= 0 ;
6728 (char *) "self", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= SWIG_FromInt((int)result
);
6748 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6752 PyObject
* obj0
= 0 ;
6754 (char *) "self", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6776 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6780 PyObject
* obj0
= 0 ;
6782 (char *) "self", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6808 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6812 PyObject
* obj0
= 0 ;
6814 (char *) "self", NULL
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 resultobj
= SWIG_FromInt((int)result
);
6834 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6838 PyObject
* obj0
= 0 ;
6840 (char *) "self", NULL
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_FromInt((int)result
);
6860 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6867 (char *) "self",(char *) "pointsize", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6873 arg2
= (int) SWIG_AsInt(obj1
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 (arg1
)->SetPointSize(arg2
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 Py_INCREF(Py_None
); resultobj
= Py_None
;
6889 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6896 (char *) "self",(char *) "style", NULL
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 Py_INCREF(Py_None
); resultobj
= Py_None
;
6918 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6925 (char *) "self",(char *) "weight", NULL
6928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6931 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 Py_INCREF(Py_None
); resultobj
= Py_None
;
6947 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6954 (char *) "self",(char *) "underlined", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6960 arg2
= (bool) SWIG_AsBool(obj1
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 (arg1
)->SetUnderlined(arg2
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 Py_INCREF(Py_None
); resultobj
= Py_None
;
6976 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6983 (char *) "self",(char *) "facename", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6990 wxString
* sptr
= wxString_in_helper(obj1
);
6991 if (sptr
== NULL
) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 (arg1
)->SetFaceName(arg2
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 Py_INCREF(Py_None
); resultobj
= Py_None
;
7009 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7013 PyObject
* obj0
= 0 ;
7014 PyObject
* obj1
= 0 ;
7016 (char *) "self",(char *) "family", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7022 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 (arg1
)->SetFamily((wxFontFamily
)arg2
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 Py_INCREF(Py_None
); resultobj
= Py_None
;
7038 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7042 PyObject
* obj0
= 0 ;
7043 PyObject
* obj1
= 0 ;
7045 (char *) "self",(char *) "encoding", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7051 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 Py_INCREF(Py_None
); resultobj
= Py_None
;
7067 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7070 wxString
*arg2
= 0 ;
7072 bool temp2
= False
;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7076 (char *) "self",(char *) "s", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7083 arg2
= wxString_in_helper(obj1
);
7084 if (arg2
== NULL
) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7111 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7115 PyObject
* obj0
= 0 ;
7117 (char *) "self", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
7121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7143 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7147 PyObject
* obj0
= 0 ;
7149 (char *) "self", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 result
= wxNativeFontInfo___str__(arg1
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7175 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7178 wxString
*arg2
= 0 ;
7180 bool temp2
= False
;
7181 PyObject
* obj0
= 0 ;
7182 PyObject
* obj1
= 0 ;
7184 (char *) "self",(char *) "s", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
7188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7191 arg2
= wxString_in_helper(obj1
);
7192 if (arg2
== NULL
) SWIG_fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7219 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7223 PyObject
* obj0
= 0 ;
7225 (char *) "self", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7251 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7254 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
7256 return Py_BuildValue((char *)"");
7258 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7260 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7261 wxString
*arg2
= (wxString
*) 0 ;
7262 bool temp2
= False
;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7266 (char *) "self",(char *) "facename", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7273 arg2
= wxString_in_helper(obj1
);
7274 if (arg2
== NULL
) SWIG_fail
;
7277 if (arg1
) (arg1
)->facename
= *arg2
;
7279 Py_INCREF(Py_None
); resultobj
= Py_None
;
7294 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7296 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7298 PyObject
* obj0
= 0 ;
7300 (char *) "self", NULL
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7306 result
= (wxString
*)& ((arg1
)->facename
);
7310 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7312 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7321 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
;
7323 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7325 PyObject
* obj0
= 0 ;
7326 PyObject
* obj1
= 0 ;
7328 (char *) "self",(char *) "encoding", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7334 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7336 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7338 Py_INCREF(Py_None
); resultobj
= Py_None
;
7345 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7351 (char *) "self", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7357 result
= (int) ((arg1
)->encoding
);
7359 resultobj
= SWIG_FromInt((int)result
);
7366 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
;
7368 wxNativeEncodingInfo
*result
;
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7388 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7391 PyObject
* obj0
= 0 ;
7393 (char *) "self", NULL
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7406 Py_INCREF(Py_None
); resultobj
= Py_None
;
7413 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7416 wxString
*arg2
= 0 ;
7418 bool temp2
= False
;
7419 PyObject
* obj0
= 0 ;
7420 PyObject
* obj1
= 0 ;
7422 (char *) "self",(char *) "s", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7429 arg2
= wxString_in_helper(obj1
);
7430 if (arg2
== NULL
) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7457 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7461 PyObject
* obj0
= 0 ;
7463 (char *) "self", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7489 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7492 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7494 return Py_BuildValue((char *)"");
7496 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7499 wxNativeEncodingInfo
*result
;
7500 PyObject
* obj0
= 0 ;
7502 (char *) "encoding", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7506 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7522 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
;
7524 wxNativeEncodingInfo
*arg1
= 0 ;
7526 PyObject
* obj0
= 0 ;
7528 (char *) "info", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7536 PyErr_SetString(PyExc_TypeError
,"null reference");
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7555 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxFontMapper
*result
;
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (wxFontMapper
*)new wxFontMapper();
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7577 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7580 PyObject
* obj0
= 0 ;
7582 (char *) "self", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 Py_INCREF(Py_None
); resultobj
= Py_None
;
7602 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
;
7604 wxFontMapper
*result
;
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (wxFontMapper
*)wxFontMapper::Get();
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7624 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7627 wxFontMapper
*result
;
7628 PyObject
* obj0
= 0 ;
7630 (char *) "mapper", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7650 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7653 wxString
*arg2
= 0 ;
7654 bool arg3
= (bool) True
;
7656 bool temp2
= False
;
7657 PyObject
* obj0
= 0 ;
7658 PyObject
* obj1
= 0 ;
7659 PyObject
* obj2
= 0 ;
7661 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7668 arg2
= wxString_in_helper(obj1
);
7669 if (arg2
== NULL
) SWIG_fail
;
7673 arg3
= (bool) SWIG_AsBool(obj2
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_FromInt((int)result
);
7698 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7720 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7724 PyObject
* obj0
= 0 ;
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7730 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= (int)wxFontMapper::GetEncoding(arg1
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_FromInt((int)result
);
7746 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7750 PyObject
* obj0
= 0 ;
7752 (char *) "encoding", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7756 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7769 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7778 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "encoding", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7788 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7810 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxString
*arg1
= 0 ;
7814 bool temp1
= False
;
7815 PyObject
* obj0
= 0 ;
7817 (char *) "name", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7822 arg1
= wxString_in_helper(obj0
);
7823 if (arg1
== NULL
) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= SWIG_FromInt((int)result
);
7848 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
;
7850 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7851 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7852 PyObject
* obj0
= 0 ;
7853 PyObject
* obj1
= 0 ;
7855 (char *) "self",(char *) "config", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 (arg1
)->SetConfig(arg2
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 Py_INCREF(Py_None
); resultobj
= Py_None
;
7877 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7880 wxString
*arg2
= 0 ;
7881 bool temp2
= False
;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj1
= 0 ;
7885 (char *) "self",(char *) "prefix", NULL
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7892 arg2
= wxString_in_helper(obj1
);
7893 if (arg2
== NULL
) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 Py_INCREF(Py_None
); resultobj
= Py_None
;
7918 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 result
= wxFontMapper::GetDefaultConfigPath();
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7946 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7950 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7951 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7952 bool arg4
= (bool) True
;
7954 bool temp3
= False
;
7955 PyObject
* obj0
= 0 ;
7956 PyObject
* obj1
= 0 ;
7957 PyObject
* obj2
= 0 ;
7958 PyObject
* obj3
= 0 ;
7960 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7966 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7970 arg3
= wxString_in_helper(obj2
);
7971 if (arg3
== NULL
) SWIG_fail
;
7976 arg4
= (bool) SWIG_AsBool(obj3
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
8001 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8005 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8006 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8008 bool temp3
= False
;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8011 PyObject
* obj2
= 0 ;
8013 (char *) "self",(char *) "encoding",(char *) "facename", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8019 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8023 arg3
= wxString_in_helper(obj2
);
8024 if (arg3
== NULL
) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8052 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8055 wxWindow
*arg2
= (wxWindow
*) 0 ;
8056 PyObject
* obj0
= 0 ;
8057 PyObject
* obj1
= 0 ;
8059 (char *) "self",(char *) "parent", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
8063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 (arg1
)->SetDialogParent(arg2
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 Py_INCREF(Py_None
); resultobj
= Py_None
;
8081 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8084 wxString
*arg2
= 0 ;
8085 bool temp2
= False
;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8089 (char *) "self",(char *) "title", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
8094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8096 arg2
= wxString_in_helper(obj1
);
8097 if (arg2
== NULL
) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 Py_INCREF(Py_None
); resultobj
= Py_None
;
8122 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
8124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8125 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
8127 return Py_BuildValue((char *)"");
8129 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8135 bool arg5
= (bool) False
;
8136 wxString
const &arg6_defvalue
= wxPyEmptyString
;
8137 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8138 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8140 bool temp6
= False
;
8141 PyObject
* obj0
= 0 ;
8142 PyObject
* obj1
= 0 ;
8143 PyObject
* obj2
= 0 ;
8144 PyObject
* obj3
= 0 ;
8145 PyObject
* obj4
= 0 ;
8146 PyObject
* obj5
= 0 ;
8147 PyObject
* obj6
= 0 ;
8149 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8153 arg1
= (int) SWIG_AsInt(obj0
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8155 arg2
= (int) SWIG_AsInt(obj1
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8157 arg3
= (int) SWIG_AsInt(obj2
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8159 arg4
= (int) SWIG_AsInt(obj3
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 arg5
= (bool) SWIG_AsBool(obj4
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8167 arg6
= wxString_in_helper(obj5
);
8168 if (arg6
== NULL
) SWIG_fail
;
8173 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8177 if (!wxPyCheckForApp()) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8199 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
;
8201 wxFont
*arg1
= (wxFont
*) 0 ;
8202 PyObject
* obj0
= 0 ;
8204 (char *) "self", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
8208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 Py_INCREF(Py_None
); resultobj
= Py_None
;
8224 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxNativeFontInfo
*arg1
= 0 ;
8228 PyObject
* obj0
= 0 ;
8230 (char *) "info", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
8234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
8235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8238 PyErr_SetString(PyExc_TypeError
,"null reference");
8242 if (!wxPyCheckForApp()) SWIG_fail
;
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8256 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
;
8258 wxString
*arg1
= 0 ;
8260 bool temp1
= False
;
8261 PyObject
* obj0
= 0 ;
8263 (char *) "info", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
8268 arg1
= wxString_in_helper(obj0
);
8269 if (arg1
== NULL
) SWIG_fail
;
8273 if (!wxPyCheckForApp()) SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8295 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
;
8299 int arg3
= (int) wxFONTFLAG_DEFAULT
;
8300 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8301 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8302 int arg5
= (int) wxFONTENCODING_DEFAULT
;
8304 bool temp4
= False
;
8305 PyObject
* obj0
= 0 ;
8306 PyObject
* obj1
= 0 ;
8307 PyObject
* obj2
= 0 ;
8308 PyObject
* obj3
= 0 ;
8309 PyObject
* obj4
= 0 ;
8311 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8315 arg1
= (int) SWIG_AsInt(obj0
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8317 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 arg3
= (int) SWIG_AsInt(obj2
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8325 arg4
= wxString_in_helper(obj3
);
8326 if (arg4
== NULL
) SWIG_fail
;
8331 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8335 if (!wxPyCheckForApp()) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8357 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
;
8359 wxFont
*arg1
= (wxFont
*) 0 ;
8361 PyObject
* obj0
= 0 ;
8363 (char *) "self", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 result
= (bool)((wxFont
const *)arg1
)->Ok();
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8385 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxFont
*arg1
= (wxFont
*) 0 ;
8388 wxFont
*arg2
= (wxFont
*) 0 ;
8390 PyObject
* obj0
= 0 ;
8391 PyObject
* obj1
= 0 ;
8393 (char *) "self",(char *) "other", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8417 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxFont
*arg1
= (wxFont
*) 0 ;
8420 wxFont
*arg2
= (wxFont
*) 0 ;
8422 PyObject
* obj0
= 0 ;
8423 PyObject
* obj1
= 0 ;
8425 (char *) "self",(char *) "other", NULL
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8449 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxFont
*arg1
= (wxFont
*) 0 ;
8453 PyObject
* obj0
= 0 ;
8455 (char *) "self", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 resultobj
= SWIG_FromInt((int)result
);
8475 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxFont
*arg1
= (wxFont
*) 0 ;
8479 PyObject
* obj0
= 0 ;
8481 (char *) "self", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_FromInt((int)result
);
8501 static PyObject
*_wrap_Font_GetStyle(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_GetStyle",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
= (int)((wxFont
const *)arg1
)->GetStyle();
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8520 resultobj
= SWIG_FromInt((int)result
);
8527 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxFont
*arg1
= (wxFont
*) 0 ;
8531 PyObject
* obj0
= 0 ;
8533 (char *) "self", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8546 resultobj
= SWIG_FromInt((int)result
);
8553 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8554 PyObject
*resultobj
;
8555 wxFont
*arg1
= (wxFont
*) 0 ;
8557 PyObject
* obj0
= 0 ;
8559 (char *) "self", NULL
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8581 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxFont
*arg1
= (wxFont
*) 0 ;
8585 PyObject
* obj0
= 0 ;
8587 (char *) "self", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 result
= ((wxFont
const *)arg1
)->GetFaceName();
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8613 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
*resultobj
;
8615 wxFont
*arg1
= (wxFont
*) 0 ;
8617 PyObject
* obj0
= 0 ;
8619 (char *) "self", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_FromInt((int)result
);
8639 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxFont
*arg1
= (wxFont
*) 0 ;
8642 wxNativeFontInfo
*result
;
8643 PyObject
* obj0
= 0 ;
8645 (char *) "self", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8665 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxFont
*arg1
= (wxFont
*) 0 ;
8669 PyObject
* obj0
= 0 ;
8671 (char *) "self", NULL
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8693 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxFont
*arg1
= (wxFont
*) 0 ;
8697 PyObject
* obj0
= 0 ;
8699 (char *) "self", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8725 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxFont
*arg1
= (wxFont
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "self", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8757 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxFont
*arg1
= (wxFont
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8764 (char *) "self",(char *) "pointSize", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8770 arg2
= (int) SWIG_AsInt(obj1
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 (arg1
)->SetPointSize(arg2
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxFont
*arg1
= (wxFont
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8791 PyObject
* obj1
= 0 ;
8793 (char *) "self",(char *) "family", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8799 arg2
= (int) SWIG_AsInt(obj1
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 (arg1
)->SetFamily(arg2
);
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 Py_INCREF(Py_None
); resultobj
= Py_None
;
8815 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxFont
*arg1
= (wxFont
*) 0 ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8822 (char *) "self",(char *) "style", NULL
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8828 arg2
= (int) SWIG_AsInt(obj1
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 (arg1
)->SetStyle(arg2
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 Py_INCREF(Py_None
); resultobj
= Py_None
;
8844 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxFont
*arg1
= (wxFont
*) 0 ;
8848 PyObject
* obj0
= 0 ;
8849 PyObject
* obj1
= 0 ;
8851 (char *) "self",(char *) "weight", NULL
8854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8857 arg2
= (int) SWIG_AsInt(obj1
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 (arg1
)->SetWeight(arg2
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 Py_INCREF(Py_None
); resultobj
= Py_None
;
8873 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxFont
*arg1
= (wxFont
*) 0 ;
8876 wxString
*arg2
= 0 ;
8877 bool temp2
= False
;
8878 PyObject
* obj0
= 0 ;
8879 PyObject
* obj1
= 0 ;
8881 (char *) "self",(char *) "faceName", NULL
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8888 arg2
= wxString_in_helper(obj1
);
8889 if (arg2
== NULL
) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 Py_INCREF(Py_None
); resultobj
= Py_None
;
8914 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxFont
*arg1
= (wxFont
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8921 (char *) "self",(char *) "underlined", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8927 arg2
= (bool) SWIG_AsBool(obj1
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 (arg1
)->SetUnderlined(arg2
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 Py_INCREF(Py_None
); resultobj
= Py_None
;
8943 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxFont
*arg1
= (wxFont
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8950 (char *) "self",(char *) "encoding", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8956 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxFont
*arg1
= (wxFont
*) 0 ;
8975 wxNativeFontInfo
*arg2
= 0 ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8979 (char *) "self",(char *) "info", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8989 PyErr_SetString(PyExc_TypeError
,"null reference");
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 Py_INCREF(Py_None
); resultobj
= Py_None
;
9006 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9008 wxFont
*arg1
= (wxFont
*) 0 ;
9009 wxString
*arg2
= 0 ;
9010 bool temp2
= False
;
9011 PyObject
* obj0
= 0 ;
9012 PyObject
* obj1
= 0 ;
9014 (char *) "self",(char *) "info", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
9018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9021 arg2
= wxString_in_helper(obj1
);
9022 if (arg2
== NULL
) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 Py_INCREF(Py_None
); resultobj
= Py_None
;
9047 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
;
9049 wxFont
*arg1
= (wxFont
*) 0 ;
9050 wxString
*arg2
= 0 ;
9051 bool temp2
= False
;
9052 PyObject
* obj0
= 0 ;
9053 PyObject
* obj1
= 0 ;
9055 (char *) "self",(char *) "info", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
9059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9062 arg2
= wxString_in_helper(obj1
);
9063 if (arg2
== NULL
) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 Py_INCREF(Py_None
); resultobj
= Py_None
;
9088 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxFont
*arg1
= (wxFont
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9094 (char *) "self", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
9098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= ((wxFont
const *)arg1
)->GetFamilyString();
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9120 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxFont
*arg1
= (wxFont
*) 0 ;
9124 PyObject
* obj0
= 0 ;
9126 (char *) "self", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 result
= ((wxFont
const *)arg1
)->GetStyleString();
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9152 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxFont
*arg1
= (wxFont
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9158 (char *) "self", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= ((wxFont
const *)arg1
)->GetWeightString();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9184 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
;
9186 wxFont
*arg1
= (wxFont
*) 0 ;
9187 bool arg2
= (bool) True
;
9188 PyObject
* obj0
= 0 ;
9189 PyObject
* obj1
= 0 ;
9191 (char *) "self",(char *) "no", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9198 arg2
= (bool) SWIG_AsBool(obj1
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 (arg1
)->SetNoAntiAliasing(arg2
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 Py_INCREF(Py_None
); resultobj
= Py_None
;
9215 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9217 wxFont
*arg1
= (wxFont
*) 0 ;
9219 PyObject
* obj0
= 0 ;
9221 (char *) "self", NULL
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (bool)(arg1
)->GetNoAntiAliasing();
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9243 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9252 if (!wxPyCheckForApp()) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= (int)wxFont::GetDefaultEncoding();
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= SWIG_FromInt((int)result
);
9266 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9269 PyObject
* obj0
= 0 ;
9271 (char *) "encoding", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9275 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 if (!wxPyCheckForApp()) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 Py_INCREF(Py_None
); resultobj
= Py_None
;
9292 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
9294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9295 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9297 return Py_BuildValue((char *)"");
9299 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxPyFontEnumerator
*result
;
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9308 if (!wxPyCheckForApp()) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9322 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9327 (char *) "self", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 Py_INCREF(Py_None
); resultobj
= Py_None
;
9347 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9350 PyObject
*arg2
= (PyObject
*) 0 ;
9351 PyObject
*arg3
= (PyObject
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9354 PyObject
* obj1
= 0 ;
9355 PyObject
* obj2
= 0 ;
9356 PyObject
* obj3
= 0 ;
9358 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 arg4
= (bool) SWIG_AsBool(obj3
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 Py_INCREF(Py_None
); resultobj
= Py_None
;
9382 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9385 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9386 bool arg3
= (bool) False
;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9390 PyObject
* obj2
= 0 ;
9392 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9399 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 arg3
= (bool) SWIG_AsBool(obj2
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9422 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9425 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9426 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9428 bool temp2
= False
;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9432 (char *) "self",(char *) "facename", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9440 arg2
= wxString_in_helper(obj1
);
9441 if (arg2
== NULL
) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9469 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
*resultobj
;
9471 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9475 (char *) "self", NULL
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9495 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9499 PyObject
* obj0
= 0 ;
9501 (char *) "self", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9521 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
9523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9524 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9526 return Py_BuildValue((char *)"");
9528 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9535 (char *) "self",(char *) "Language", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9541 arg2
= (int) SWIG_AsInt(obj1
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9543 if (arg1
) (arg1
)->Language
= arg2
;
9545 Py_INCREF(Py_None
); resultobj
= Py_None
;
9552 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9556 PyObject
* obj0
= 0 ;
9558 (char *) "self", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9564 result
= (int) ((arg1
)->Language
);
9566 resultobj
= SWIG_FromInt((int)result
);
9573 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
;
9575 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9576 wxString
*arg2
= (wxString
*) 0 ;
9577 bool temp2
= False
;
9578 PyObject
* obj0
= 0 ;
9579 PyObject
* obj1
= 0 ;
9581 (char *) "self",(char *) "CanonicalName", NULL
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9588 arg2
= wxString_in_helper(obj1
);
9589 if (arg2
== NULL
) SWIG_fail
;
9592 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9594 Py_INCREF(Py_None
); resultobj
= Py_None
;
9609 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
;
9611 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9613 PyObject
* obj0
= 0 ;
9615 (char *) "self", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9625 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9627 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9636 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9639 wxString
*arg2
= (wxString
*) 0 ;
9640 bool temp2
= False
;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9644 (char *) "self",(char *) "Description", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9651 arg2
= wxString_in_helper(obj1
);
9652 if (arg2
== NULL
) SWIG_fail
;
9655 if (arg1
) (arg1
)->Description
= *arg2
;
9657 Py_INCREF(Py_None
); resultobj
= Py_None
;
9672 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
;
9674 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9676 PyObject
* obj0
= 0 ;
9678 (char *) "self", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9684 result
= (wxString
*)& ((arg1
)->Description
);
9688 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9690 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9699 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9702 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9704 return Py_BuildValue((char *)"");
9706 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 int arg1
= (int) -1 ;
9709 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9711 PyObject
* obj0
= 0 ;
9712 PyObject
* obj1
= 0 ;
9714 (char *) "language",(char *) "flags", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9719 arg1
= (int) SWIG_AsInt(obj0
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9723 arg2
= (int) SWIG_AsInt(obj1
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9740 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
;
9742 wxLocale
*arg1
= (wxLocale
*) 0 ;
9743 PyObject
* obj0
= 0 ;
9745 (char *) "self", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 Py_INCREF(Py_None
); resultobj
= Py_None
;
9765 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxLocale
*arg1
= (wxLocale
*) 0 ;
9768 wxString
*arg2
= 0 ;
9769 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9770 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9771 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9772 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9773 bool arg5
= (bool) True
;
9774 bool arg6
= (bool) False
;
9776 bool temp2
= False
;
9777 bool temp3
= False
;
9778 bool temp4
= False
;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9781 PyObject
* obj2
= 0 ;
9782 PyObject
* obj3
= 0 ;
9783 PyObject
* obj4
= 0 ;
9784 PyObject
* obj5
= 0 ;
9786 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9793 arg2
= wxString_in_helper(obj1
);
9794 if (arg2
== NULL
) SWIG_fail
;
9799 arg3
= wxString_in_helper(obj2
);
9800 if (arg3
== NULL
) SWIG_fail
;
9806 arg4
= wxString_in_helper(obj3
);
9807 if (arg4
== NULL
) SWIG_fail
;
9812 arg5
= (bool) SWIG_AsBool(obj4
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9816 arg6
= (bool) SWIG_AsBool(obj5
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9859 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxLocale
*arg1
= (wxLocale
*) 0 ;
9862 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9863 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9867 PyObject
* obj2
= 0 ;
9869 (char *) "self",(char *) "language",(char *) "flags", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9876 arg2
= (int) SWIG_AsInt(obj1
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9880 arg3
= (int) SWIG_AsInt(obj2
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9899 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (int)wxLocale::GetSystemLanguage();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_FromInt((int)result
);
9921 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (int)wxLocale::GetSystemEncoding();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_FromInt((int)result
);
9943 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 result
= wxLocale::GetSystemEncodingName();
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9971 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
*resultobj
;
9973 wxLocale
*arg1
= (wxLocale
*) 0 ;
9975 PyObject
* obj0
= 0 ;
9977 (char *) "self", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9999 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxLocale
*arg1
= (wxLocale
*) 0 ;
10003 PyObject
* obj0
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
10009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= ((wxLocale
const *)arg1
)->GetLocale();
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10031 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxLocale
*arg1
= (wxLocale
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_FromInt((int)result
);
10057 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxLocale
*arg1
= (wxLocale
*) 0 ;
10061 PyObject
* obj0
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
10067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= ((wxLocale
const *)arg1
)->GetSysName();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10089 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxLocale
*arg1
= (wxLocale
*) 0 ;
10093 PyObject
* obj0
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
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());
10121 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxString
*arg1
= 0 ;
10124 bool temp1
= False
;
10125 PyObject
* obj0
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "prefix", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
10132 arg1
= wxString_in_helper(obj0
);
10133 if (arg1
== NULL
) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 Py_INCREF(Py_None
); resultobj
= Py_None
;
10158 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxLocale
*arg1
= (wxLocale
*) 0 ;
10161 wxString
*arg2
= 0 ;
10163 bool temp2
= False
;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "self",(char *) "szDomain", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10174 arg2
= wxString_in_helper(obj1
);
10175 if (arg2
== NULL
) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10202 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxLocale
*arg1
= (wxLocale
*) 0 ;
10205 wxString
*arg2
= 0 ;
10207 bool temp2
= False
;
10208 PyObject
* obj0
= 0 ;
10209 PyObject
* obj1
= 0 ;
10210 char *kwnames
[] = {
10211 (char *) "self",(char *) "szDomain", NULL
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10218 arg2
= wxString_in_helper(obj1
);
10219 if (arg2
== NULL
) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10246 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10249 wxLanguageInfo
*result
;
10250 PyObject
* obj0
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "lang", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10256 arg1
= (int) SWIG_AsInt(obj0
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10272 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
;
10276 PyObject
* obj0
= 0 ;
10277 char *kwnames
[] = {
10278 (char *) "lang", NULL
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10282 arg1
= (int) SWIG_AsInt(obj0
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 result
= wxLocale::GetLanguageName(arg1
);
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10304 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxString
*arg1
= 0 ;
10307 wxLanguageInfo
*result
;
10308 bool temp1
= False
;
10309 PyObject
* obj0
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "locale", NULL
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10316 arg1
= wxString_in_helper(obj0
);
10317 if (arg1
== NULL
) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10342 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxLanguageInfo
*arg1
= 0 ;
10345 PyObject
* obj0
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "info", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10354 if (arg1
== NULL
) {
10355 PyErr_SetString(PyExc_TypeError
,"null reference");
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 Py_INCREF(Py_None
); resultobj
= Py_None
;
10372 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxLocale
*arg1
= (wxLocale
*) 0 ;
10375 wxString
*arg2
= 0 ;
10376 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10377 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10379 bool temp2
= False
;
10380 bool temp3
= False
;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 PyObject
* obj2
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10392 arg2
= wxString_in_helper(obj1
);
10393 if (arg2
== NULL
) SWIG_fail
;
10398 arg3
= wxString_in_helper(obj2
);
10399 if (arg3
== NULL
) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10439 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
;
10441 wxLocale
*arg1
= (wxLocale
*) 0 ;
10443 PyObject
* obj0
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10455 result
= (wxString
*) &_result_ref
;
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10465 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10474 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
10476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10477 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10479 return Py_BuildValue((char *)"");
10481 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10484 char *kwnames
[] = {
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (wxLocale
*)wxGetLocale();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10503 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
10504 PyObject
*resultobj
;
10505 wxString
*arg1
= 0 ;
10507 bool temp1
= False
;
10508 PyObject
* obj0
= 0 ;
10510 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10512 arg1
= wxString_in_helper(obj0
);
10513 if (arg1
== NULL
) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= wxGetTranslation((wxString
const &)*arg1
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10544 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
10545 PyObject
*resultobj
;
10546 wxString
*arg1
= 0 ;
10547 wxString
*arg2
= 0 ;
10550 bool temp1
= False
;
10551 bool temp2
= False
;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 PyObject
* obj2
= 0 ;
10556 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10558 arg1
= wxString_in_helper(obj0
);
10559 if (arg1
== NULL
) SWIG_fail
;
10563 arg2
= wxString_in_helper(obj1
);
10564 if (arg2
== NULL
) SWIG_fail
;
10567 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10605 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10610 argc
= PyObject_Length(args
);
10611 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10612 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10617 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10620 return _wrap_GetTranslation__SWIG_0(self
,args
);
10626 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10630 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10633 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10635 return _wrap_GetTranslation__SWIG_1(self
,args
);
10641 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10646 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxEncodingConverter
*result
;
10649 char *kwnames
[] = {
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10668 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
;
10670 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10671 PyObject
* obj0
= 0 ;
10672 char *kwnames
[] = {
10673 (char *) "self", NULL
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 Py_INCREF(Py_None
); resultobj
= Py_None
;
10693 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10698 int arg4
= (int) wxCONVERT_STRICT
;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj1
= 0 ;
10702 PyObject
* obj2
= 0 ;
10703 PyObject
* obj3
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10711 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10713 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 arg4
= (int) SWIG_AsInt(obj3
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10735 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10738 wxString
*arg2
= 0 ;
10740 bool temp2
= False
;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 char *kwnames
[] = {
10744 (char *) "self",(char *) "input", NULL
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10751 arg2
= wxString_in_helper(obj1
);
10752 if (arg2
== NULL
) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10783 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
;
10786 int arg2
= (int) wxPLATFORM_CURRENT
;
10787 wxFontEncodingArray result
;
10788 PyObject
* obj0
= 0 ;
10789 PyObject
* obj1
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "enc",(char *) "platform", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10795 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 arg2
= (int) SWIG_AsInt(obj1
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= PyList_New(0);
10810 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10811 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10812 PyList_Append(resultobj
, number
);
10822 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
;
10825 wxFontEncodingArray result
;
10826 PyObject
* obj0
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "enc", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10832 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= PyList_New(0);
10843 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10844 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10845 PyList_Append(resultobj
, number
);
10855 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10860 PyObject
* obj0
= 0 ;
10861 PyObject
* obj1
= 0 ;
10862 char *kwnames
[] = {
10863 (char *) "encIn",(char *) "encOut", NULL
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10867 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10869 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10887 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10890 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10892 return Py_BuildValue((char *)"");
10894 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
;
10896 wxDC
*arg1
= (wxDC
*) 0 ;
10897 PyObject
* obj0
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10912 Py_INCREF(Py_None
); resultobj
= Py_None
;
10919 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10921 wxDC
*arg1
= (wxDC
*) 0 ;
10922 PyObject
* obj0
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 (arg1
)->BeginDrawing();
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 Py_INCREF(Py_None
); resultobj
= Py_None
;
10944 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxDC
*arg1
= (wxDC
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 char *kwnames
[] = {
10949 (char *) "self", NULL
10952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 (arg1
)->EndDrawing();
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10962 Py_INCREF(Py_None
); resultobj
= Py_None
;
10969 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
*resultobj
;
10971 wxDC
*arg1
= (wxDC
*) 0 ;
10974 wxColour
*arg4
= 0 ;
10975 int arg5
= (int) wxFLOOD_SURFACE
;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 PyObject
* obj2
= 0 ;
10981 PyObject
* obj3
= 0 ;
10982 PyObject
* obj4
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10990 arg2
= (int) SWIG_AsInt(obj1
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10992 arg3
= (int) SWIG_AsInt(obj2
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10999 arg5
= (int) SWIG_AsInt(obj4
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11018 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxDC
*arg1
= (wxDC
*) 0 ;
11021 wxPoint
*arg2
= 0 ;
11022 wxColour
*arg3
= 0 ;
11023 int arg4
= (int) wxFLOOD_SURFACE
;
11027 PyObject
* obj0
= 0 ;
11028 PyObject
* obj1
= 0 ;
11029 PyObject
* obj2
= 0 ;
11030 PyObject
* obj3
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11044 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11047 arg4
= (int) SWIG_AsInt(obj3
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11066 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxDC
*arg1
= (wxDC
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 PyObject
* obj2
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self",(char *) "x",(char *) "y", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11082 arg2
= (int) SWIG_AsInt(obj1
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11084 arg3
= (int) SWIG_AsInt(obj2
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11094 wxColour
* resultptr
;
11095 resultptr
= new wxColour((wxColour
&) result
);
11096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11104 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
;
11106 wxDC
*arg1
= (wxDC
*) 0 ;
11107 wxPoint
*arg2
= 0 ;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self",(char *) "pt", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11131 wxColour
* resultptr
;
11132 resultptr
= new wxColour((wxColour
&) result
);
11133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11141 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxDC
*arg1
= (wxDC
*) 0 ;
11148 PyObject
* obj0
= 0 ;
11149 PyObject
* obj1
= 0 ;
11150 PyObject
* obj2
= 0 ;
11151 PyObject
* obj3
= 0 ;
11152 PyObject
* obj4
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11160 arg2
= (int) SWIG_AsInt(obj1
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11162 arg3
= (int) SWIG_AsInt(obj2
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11164 arg4
= (int) SWIG_AsInt(obj3
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11166 arg5
= (int) SWIG_AsInt(obj4
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 Py_INCREF(Py_None
); resultobj
= Py_None
;
11182 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxDC
*arg1
= (wxDC
*) 0 ;
11185 wxPoint
*arg2
= 0 ;
11186 wxPoint
*arg3
= 0 ;
11189 PyObject
* obj0
= 0 ;
11190 PyObject
* obj1
= 0 ;
11191 PyObject
* obj2
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11205 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 Py_INCREF(Py_None
); resultobj
= Py_None
;
11221 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
;
11223 wxDC
*arg1
= (wxDC
*) 0 ;
11226 PyObject
* obj0
= 0 ;
11227 PyObject
* obj1
= 0 ;
11228 PyObject
* obj2
= 0 ;
11229 char *kwnames
[] = {
11230 (char *) "self",(char *) "x",(char *) "y", NULL
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11236 arg2
= (int) SWIG_AsInt(obj1
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11238 arg3
= (int) SWIG_AsInt(obj2
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 (arg1
)->CrossHair(arg2
,arg3
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 Py_INCREF(Py_None
); resultobj
= Py_None
;
11254 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxDC
*arg1
= (wxDC
*) 0 ;
11257 wxPoint
*arg2
= 0 ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self",(char *) "pt", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11270 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 Py_INCREF(Py_None
); resultobj
= Py_None
;
11286 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxDC
*arg1
= (wxDC
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 PyObject
* obj2
= 0 ;
11298 PyObject
* obj3
= 0 ;
11299 PyObject
* obj4
= 0 ;
11300 PyObject
* obj5
= 0 ;
11301 PyObject
* obj6
= 0 ;
11302 char *kwnames
[] = {
11303 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11309 arg2
= (int) SWIG_AsInt(obj1
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11311 arg3
= (int) SWIG_AsInt(obj2
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11313 arg4
= (int) SWIG_AsInt(obj3
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11315 arg5
= (int) SWIG_AsInt(obj4
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11317 arg6
= (int) SWIG_AsInt(obj5
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11319 arg7
= (int) SWIG_AsInt(obj6
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 Py_INCREF(Py_None
); resultobj
= Py_None
;
11335 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
;
11337 wxDC
*arg1
= (wxDC
*) 0 ;
11338 wxPoint
*arg2
= 0 ;
11339 wxPoint
*arg3
= 0 ;
11340 wxPoint
*arg4
= 0 ;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 PyObject
* obj2
= 0 ;
11347 PyObject
* obj3
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11357 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11361 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11365 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 Py_INCREF(Py_None
); resultobj
= Py_None
;
11381 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxDC
*arg1
= (wxDC
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 PyObject
* obj2
= 0 ;
11391 PyObject
* obj3
= 0 ;
11392 PyObject
* obj4
= 0 ;
11393 char *kwnames
[] = {
11394 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11400 arg2
= (int) SWIG_AsInt(obj1
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11402 arg3
= (int) SWIG_AsInt(obj2
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11404 arg4
= (int) SWIG_AsInt(obj3
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11406 arg5
= (int) SWIG_AsInt(obj4
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 Py_INCREF(Py_None
); resultobj
= Py_None
;
11422 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
;
11424 wxDC
*arg1
= (wxDC
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self",(char *) "rect", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11438 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 Py_INCREF(Py_None
); resultobj
= Py_None
;
11454 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxDC
*arg1
= (wxDC
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 PyObject
* obj2
= 0 ;
11466 PyObject
* obj3
= 0 ;
11467 PyObject
* obj4
= 0 ;
11468 PyObject
* obj5
= 0 ;
11469 PyObject
* obj6
= 0 ;
11470 char *kwnames
[] = {
11471 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11477 arg2
= (int) SWIG_AsInt(obj1
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11479 arg3
= (int) SWIG_AsInt(obj2
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11481 arg4
= (int) SWIG_AsInt(obj3
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11483 arg5
= (int) SWIG_AsInt(obj4
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11485 arg6
= (double) SWIG_AsDouble(obj5
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11487 arg7
= (double) SWIG_AsDouble(obj6
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11496 Py_INCREF(Py_None
); resultobj
= Py_None
;
11503 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxDC
*arg1
= (wxDC
*) 0 ;
11506 wxPoint
*arg2
= 0 ;
11512 PyObject
* obj0
= 0 ;
11513 PyObject
* obj1
= 0 ;
11514 PyObject
* obj2
= 0 ;
11515 PyObject
* obj3
= 0 ;
11516 PyObject
* obj4
= 0 ;
11517 char *kwnames
[] = {
11518 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11526 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11530 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11532 arg4
= (double) SWIG_AsDouble(obj3
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11534 arg5
= (double) SWIG_AsDouble(obj4
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 Py_INCREF(Py_None
); resultobj
= Py_None
;
11550 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 wxDC
*arg1
= (wxDC
*) 0 ;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 PyObject
* obj2
= 0 ;
11558 char *kwnames
[] = {
11559 (char *) "self",(char *) "x",(char *) "y", NULL
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11565 arg2
= (int) SWIG_AsInt(obj1
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11567 arg3
= (int) SWIG_AsInt(obj2
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 (arg1
)->DrawPoint(arg2
,arg3
);
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11576 Py_INCREF(Py_None
); resultobj
= Py_None
;
11583 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxDC
*arg1
= (wxDC
*) 0 ;
11586 wxPoint
*arg2
= 0 ;
11588 PyObject
* obj0
= 0 ;
11589 PyObject
* obj1
= 0 ;
11590 char *kwnames
[] = {
11591 (char *) "self",(char *) "pt", NULL
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11599 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 Py_INCREF(Py_None
); resultobj
= Py_None
;
11615 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
;
11617 wxDC
*arg1
= (wxDC
*) 0 ;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 PyObject
* obj2
= 0 ;
11625 PyObject
* obj3
= 0 ;
11626 PyObject
* obj4
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11634 arg2
= (int) SWIG_AsInt(obj1
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11636 arg3
= (int) SWIG_AsInt(obj2
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11638 arg4
= (int) SWIG_AsInt(obj3
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11640 arg5
= (int) SWIG_AsInt(obj4
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11649 Py_INCREF(Py_None
); resultobj
= Py_None
;
11656 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11658 wxDC
*arg1
= (wxDC
*) 0 ;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self",(char *) "rect", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11672 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 Py_INCREF(Py_None
); resultobj
= Py_None
;
11688 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 wxDC
*arg1
= (wxDC
*) 0 ;
11691 wxPoint
*arg2
= 0 ;
11695 PyObject
* obj0
= 0 ;
11696 PyObject
* obj1
= 0 ;
11697 PyObject
* obj2
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "self",(char *) "pt",(char *) "sz", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11707 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11711 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 Py_INCREF(Py_None
); resultobj
= Py_None
;
11727 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 wxDC
*arg1
= (wxDC
*) 0 ;
11735 PyObject
* obj0
= 0 ;
11736 PyObject
* obj1
= 0 ;
11737 PyObject
* obj2
= 0 ;
11738 PyObject
* obj3
= 0 ;
11739 PyObject
* obj4
= 0 ;
11740 PyObject
* obj5
= 0 ;
11741 char *kwnames
[] = {
11742 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11748 arg2
= (int) SWIG_AsInt(obj1
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11750 arg3
= (int) SWIG_AsInt(obj2
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11752 arg4
= (int) SWIG_AsInt(obj3
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11754 arg5
= (int) SWIG_AsInt(obj4
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11756 arg6
= (double) SWIG_AsDouble(obj5
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11765 Py_INCREF(Py_None
); resultobj
= Py_None
;
11772 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
;
11774 wxDC
*arg1
= (wxDC
*) 0 ;
11778 PyObject
* obj0
= 0 ;
11779 PyObject
* obj1
= 0 ;
11780 PyObject
* obj2
= 0 ;
11781 char *kwnames
[] = {
11782 (char *) "self",(char *) "r",(char *) "radius", NULL
11785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11790 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11792 arg3
= (double) SWIG_AsDouble(obj2
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 Py_INCREF(Py_None
); resultobj
= Py_None
;
11808 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxDC
*arg1
= (wxDC
*) 0 ;
11811 wxPoint
*arg2
= 0 ;
11816 PyObject
* obj0
= 0 ;
11817 PyObject
* obj1
= 0 ;
11818 PyObject
* obj2
= 0 ;
11819 PyObject
* obj3
= 0 ;
11820 char *kwnames
[] = {
11821 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11833 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11835 arg4
= (double) SWIG_AsDouble(obj3
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 Py_INCREF(Py_None
); resultobj
= Py_None
;
11851 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxDC
*arg1
= (wxDC
*) 0 ;
11857 PyObject
* obj0
= 0 ;
11858 PyObject
* obj1
= 0 ;
11859 PyObject
* obj2
= 0 ;
11860 PyObject
* obj3
= 0 ;
11861 char *kwnames
[] = {
11862 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11868 arg2
= (int) SWIG_AsInt(obj1
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11870 arg3
= (int) SWIG_AsInt(obj2
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11872 arg4
= (int) SWIG_AsInt(obj3
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 Py_INCREF(Py_None
); resultobj
= Py_None
;
11888 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11889 PyObject
*resultobj
;
11890 wxDC
*arg1
= (wxDC
*) 0 ;
11891 wxPoint
*arg2
= 0 ;
11894 PyObject
* obj0
= 0 ;
11895 PyObject
* obj1
= 0 ;
11896 PyObject
* obj2
= 0 ;
11897 char *kwnames
[] = {
11898 (char *) "self",(char *) "pt",(char *) "radius", NULL
11901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11906 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11908 arg3
= (int) SWIG_AsInt(obj2
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 Py_INCREF(Py_None
); resultobj
= Py_None
;
11924 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
;
11926 wxDC
*arg1
= (wxDC
*) 0 ;
11931 PyObject
* obj0
= 0 ;
11932 PyObject
* obj1
= 0 ;
11933 PyObject
* obj2
= 0 ;
11934 PyObject
* obj3
= 0 ;
11935 PyObject
* obj4
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11943 arg2
= (int) SWIG_AsInt(obj1
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11945 arg3
= (int) SWIG_AsInt(obj2
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11947 arg4
= (int) SWIG_AsInt(obj3
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11949 arg5
= (int) SWIG_AsInt(obj4
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 Py_INCREF(Py_None
); resultobj
= Py_None
;
11965 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxDC
*arg1
= (wxDC
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self",(char *) "rect", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11981 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 Py_INCREF(Py_None
); resultobj
= Py_None
;
11997 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
;
11999 wxDC
*arg1
= (wxDC
*) 0 ;
12000 wxPoint
*arg2
= 0 ;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 PyObject
* obj2
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self",(char *) "pt",(char *) "sz", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12016 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12020 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12029 Py_INCREF(Py_None
); resultobj
= Py_None
;
12036 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxDC
*arg1
= (wxDC
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 PyObject
* obj2
= 0 ;
12045 PyObject
* obj3
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12056 if (arg2
== NULL
) {
12057 PyErr_SetString(PyExc_TypeError
,"null reference");
12060 arg3
= (int) SWIG_AsInt(obj2
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12062 arg4
= (int) SWIG_AsInt(obj3
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 Py_INCREF(Py_None
); resultobj
= Py_None
;
12078 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxDC
*arg1
= (wxDC
*) 0 ;
12082 wxPoint
*arg3
= 0 ;
12084 PyObject
* obj0
= 0 ;
12085 PyObject
* obj1
= 0 ;
12086 PyObject
* obj2
= 0 ;
12087 char *kwnames
[] = {
12088 (char *) "self",(char *) "icon",(char *) "pt", NULL
12091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
12095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12097 if (arg2
== NULL
) {
12098 PyErr_SetString(PyExc_TypeError
,"null reference");
12103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12112 Py_INCREF(Py_None
); resultobj
= Py_None
;
12119 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxDC
*arg1
= (wxDC
*) 0 ;
12122 wxBitmap
*arg2
= 0 ;
12125 bool arg5
= (bool) False
;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 PyObject
* obj2
= 0 ;
12129 PyObject
* obj3
= 0 ;
12130 PyObject
* obj4
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12141 if (arg2
== NULL
) {
12142 PyErr_SetString(PyExc_TypeError
,"null reference");
12145 arg3
= (int) SWIG_AsInt(obj2
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12147 arg4
= (int) SWIG_AsInt(obj3
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 arg5
= (bool) SWIG_AsBool(obj4
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 Py_INCREF(Py_None
); resultobj
= Py_None
;
12167 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxDC
*arg1
= (wxDC
*) 0 ;
12170 wxBitmap
*arg2
= 0 ;
12171 wxPoint
*arg3
= 0 ;
12172 bool arg4
= (bool) False
;
12174 PyObject
* obj0
= 0 ;
12175 PyObject
* obj1
= 0 ;
12176 PyObject
* obj2
= 0 ;
12177 PyObject
* obj3
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12188 if (arg2
== NULL
) {
12189 PyErr_SetString(PyExc_TypeError
,"null reference");
12194 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12197 arg4
= (bool) SWIG_AsBool(obj3
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 Py_INCREF(Py_None
); resultobj
= Py_None
;
12214 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxDC
*arg1
= (wxDC
*) 0 ;
12217 wxString
*arg2
= 0 ;
12220 bool temp2
= False
;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 PyObject
* obj2
= 0 ;
12224 PyObject
* obj3
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12233 arg2
= wxString_in_helper(obj1
);
12234 if (arg2
== NULL
) SWIG_fail
;
12237 arg3
= (int) SWIG_AsInt(obj2
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12239 arg4
= (int) SWIG_AsInt(obj3
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12263 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxDC
*arg1
= (wxDC
*) 0 ;
12266 wxString
*arg2
= 0 ;
12267 wxPoint
*arg3
= 0 ;
12268 bool temp2
= False
;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 PyObject
* obj2
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self",(char *) "text",(char *) "pt", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 arg2
= wxString_in_helper(obj1
);
12282 if (arg2
== NULL
) SWIG_fail
;
12287 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 Py_INCREF(Py_None
); resultobj
= Py_None
;
12311 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
;
12313 wxDC
*arg1
= (wxDC
*) 0 ;
12314 wxString
*arg2
= 0 ;
12318 bool temp2
= False
;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 PyObject
* obj2
= 0 ;
12322 PyObject
* obj3
= 0 ;
12323 PyObject
* obj4
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12332 arg2
= wxString_in_helper(obj1
);
12333 if (arg2
== NULL
) SWIG_fail
;
12336 arg3
= (int) SWIG_AsInt(obj2
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12338 arg4
= (int) SWIG_AsInt(obj3
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12340 arg5
= (double) SWIG_AsDouble(obj4
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 Py_INCREF(Py_None
); resultobj
= Py_None
;
12364 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxDC
*arg1
= (wxDC
*) 0 ;
12367 wxString
*arg2
= 0 ;
12368 wxPoint
*arg3
= 0 ;
12370 bool temp2
= False
;
12372 PyObject
* obj0
= 0 ;
12373 PyObject
* obj1
= 0 ;
12374 PyObject
* obj2
= 0 ;
12375 PyObject
* obj3
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12384 arg2
= wxString_in_helper(obj1
);
12385 if (arg2
== NULL
) SWIG_fail
;
12390 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12392 arg4
= (double) SWIG_AsDouble(obj3
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 Py_INCREF(Py_None
); resultobj
= Py_None
;
12416 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
;
12418 wxDC
*arg1
= (wxDC
*) 0 ;
12423 wxDC
*arg6
= (wxDC
*) 0 ;
12426 int arg9
= (int) wxCOPY
;
12427 bool arg10
= (bool) False
;
12428 int arg11
= (int) -1 ;
12429 int arg12
= (int) -1 ;
12431 PyObject
* obj0
= 0 ;
12432 PyObject
* obj1
= 0 ;
12433 PyObject
* obj2
= 0 ;
12434 PyObject
* obj3
= 0 ;
12435 PyObject
* obj4
= 0 ;
12436 PyObject
* obj5
= 0 ;
12437 PyObject
* obj6
= 0 ;
12438 PyObject
* obj7
= 0 ;
12439 PyObject
* obj8
= 0 ;
12440 PyObject
* obj9
= 0 ;
12441 PyObject
* obj10
= 0 ;
12442 PyObject
* obj11
= 0 ;
12443 char *kwnames
[] = {
12444 (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
12447 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
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12450 arg2
= (int) SWIG_AsInt(obj1
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12452 arg3
= (int) SWIG_AsInt(obj2
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12454 arg4
= (int) SWIG_AsInt(obj3
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12456 arg5
= (int) SWIG_AsInt(obj4
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12458 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12460 arg7
= (int) SWIG_AsInt(obj6
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12462 arg8
= (int) SWIG_AsInt(obj7
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 arg9
= (int) SWIG_AsInt(obj8
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12469 arg10
= (bool) SWIG_AsBool(obj9
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12473 arg11
= (int) SWIG_AsInt(obj10
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12477 arg12
= (int) SWIG_AsInt(obj11
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12496 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxDC
*arg1
= (wxDC
*) 0 ;
12499 wxPoint
*arg2
= 0 ;
12501 wxDC
*arg4
= (wxDC
*) 0 ;
12502 wxPoint
*arg5
= 0 ;
12503 int arg6
= (int) wxCOPY
;
12504 bool arg7
= (bool) False
;
12505 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12506 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 PyObject
* obj2
= 0 ;
12515 PyObject
* obj3
= 0 ;
12516 PyObject
* obj4
= 0 ;
12517 PyObject
* obj5
= 0 ;
12518 PyObject
* obj6
= 0 ;
12519 PyObject
* obj7
= 0 ;
12520 char *kwnames
[] = {
12521 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12529 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12533 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12535 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12542 arg6
= (int) SWIG_AsInt(obj5
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12546 arg7
= (bool) SWIG_AsBool(obj6
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12552 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12571 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
;
12573 wxDC
*arg1
= (wxDC
*) 0 ;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 PyObject
* obj2
= 0 ;
12581 PyObject
* obj3
= 0 ;
12582 PyObject
* obj4
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12590 arg2
= (int) SWIG_AsInt(obj1
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12592 arg3
= (int) SWIG_AsInt(obj2
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12594 arg4
= (int) SWIG_AsInt(obj3
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12596 arg5
= (int) SWIG_AsInt(obj4
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 Py_INCREF(Py_None
); resultobj
= Py_None
;
12612 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxDC
*arg1
= (wxDC
*) 0 ;
12615 wxPoint
*arg2
= 0 ;
12619 PyObject
* obj0
= 0 ;
12620 PyObject
* obj1
= 0 ;
12621 PyObject
* obj2
= 0 ;
12622 char *kwnames
[] = {
12623 (char *) "self",(char *) "pt",(char *) "sz", NULL
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12631 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12635 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 Py_INCREF(Py_None
); resultobj
= Py_None
;
12651 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxDC
*arg1
= (wxDC
*) 0 ;
12654 wxRegion
*arg2
= 0 ;
12655 PyObject
* obj0
= 0 ;
12656 PyObject
* obj1
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self",(char *) "region", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12667 if (arg2
== NULL
) {
12668 PyErr_SetString(PyExc_TypeError
,"null reference");
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 Py_INCREF(Py_None
); resultobj
= Py_None
;
12685 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxDC
*arg1
= (wxDC
*) 0 ;
12690 PyObject
* obj0
= 0 ;
12691 PyObject
* obj1
= 0 ;
12692 char *kwnames
[] = {
12693 (char *) "self",(char *) "rect", NULL
12696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12701 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 Py_INCREF(Py_None
); resultobj
= Py_None
;
12717 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxDC
*arg1
= (wxDC
*) 0 ;
12721 wxPoint
*arg3
= (wxPoint
*) 0 ;
12722 int arg4
= (int) 0 ;
12723 int arg5
= (int) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 PyObject
* obj1
= 0 ;
12726 PyObject
* obj2
= 0 ;
12727 PyObject
* obj3
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12736 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12737 if (arg3
== NULL
) SWIG_fail
;
12740 arg4
= (int) SWIG_AsInt(obj2
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12744 arg5
= (int) SWIG_AsInt(obj3
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 Py_INCREF(Py_None
); resultobj
= Py_None
;
12756 if (arg3
) delete [] arg3
;
12761 if (arg3
) delete [] arg3
;
12767 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
;
12769 wxDC
*arg1
= (wxDC
*) 0 ;
12771 wxPoint
*arg3
= (wxPoint
*) 0 ;
12772 int arg4
= (int) 0 ;
12773 int arg5
= (int) 0 ;
12774 int arg6
= (int) wxODDEVEN_RULE
;
12775 PyObject
* obj0
= 0 ;
12776 PyObject
* obj1
= 0 ;
12777 PyObject
* obj2
= 0 ;
12778 PyObject
* obj3
= 0 ;
12779 PyObject
* obj4
= 0 ;
12780 char *kwnames
[] = {
12781 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12788 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12789 if (arg3
== NULL
) SWIG_fail
;
12792 arg4
= (int) SWIG_AsInt(obj2
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 arg5
= (int) SWIG_AsInt(obj3
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12800 arg6
= (int) SWIG_AsInt(obj4
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 Py_INCREF(Py_None
); resultobj
= Py_None
;
12812 if (arg3
) delete [] arg3
;
12817 if (arg3
) delete [] arg3
;
12823 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
;
12825 wxDC
*arg1
= (wxDC
*) 0 ;
12826 wxString
*arg2
= 0 ;
12828 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12829 int arg5
= (int) -1 ;
12830 bool temp2
= False
;
12832 PyObject
* obj0
= 0 ;
12833 PyObject
* obj1
= 0 ;
12834 PyObject
* obj2
= 0 ;
12835 PyObject
* obj3
= 0 ;
12836 PyObject
* obj4
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 arg2
= wxString_in_helper(obj1
);
12846 if (arg2
== NULL
) SWIG_fail
;
12851 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12854 arg4
= (int) SWIG_AsInt(obj3
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12858 arg5
= (int) SWIG_AsInt(obj4
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12868 Py_INCREF(Py_None
); resultobj
= Py_None
;
12883 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
;
12885 wxDC
*arg1
= (wxDC
*) 0 ;
12886 wxString
*arg2
= 0 ;
12887 wxBitmap
*arg3
= 0 ;
12889 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12890 int arg6
= (int) -1 ;
12892 bool temp2
= False
;
12894 PyObject
* obj0
= 0 ;
12895 PyObject
* obj1
= 0 ;
12896 PyObject
* obj2
= 0 ;
12897 PyObject
* obj3
= 0 ;
12898 PyObject
* obj4
= 0 ;
12899 PyObject
* obj5
= 0 ;
12900 char *kwnames
[] = {
12901 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12908 arg2
= wxString_in_helper(obj1
);
12909 if (arg2
== NULL
) SWIG_fail
;
12912 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12915 if (arg3
== NULL
) {
12916 PyErr_SetString(PyExc_TypeError
,"null reference");
12921 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12924 arg5
= (int) SWIG_AsInt(obj4
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12928 arg6
= (int) SWIG_AsInt(obj5
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12939 wxRect
* resultptr
;
12940 resultptr
= new wxRect((wxRect
&) result
);
12941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12957 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxDC
*arg1
= (wxDC
*) 0 ;
12961 wxPoint
*arg3
= (wxPoint
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self",(char *) "points", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12972 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12973 if (arg3
== NULL
) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 (arg1
)->DrawSpline(arg2
,arg3
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 Py_INCREF(Py_None
); resultobj
= Py_None
;
12984 if (arg3
) delete [] arg3
;
12989 if (arg3
) delete [] arg3
;
12995 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxDC
*arg1
= (wxDC
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
13004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 Py_INCREF(Py_None
); resultobj
= Py_None
;
13020 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxDC
*arg1
= (wxDC
*) 0 ;
13023 wxString
*arg2
= 0 ;
13025 bool temp2
= False
;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self",(char *) "message", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13036 arg2
= wxString_in_helper(obj1
);
13037 if (arg2
== NULL
) SWIG_fail
;
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13064 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
;
13066 wxDC
*arg1
= (wxDC
*) 0 ;
13067 PyObject
* obj0
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "self", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
13073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 Py_INCREF(Py_None
); resultobj
= Py_None
;
13089 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13091 wxDC
*arg1
= (wxDC
*) 0 ;
13092 PyObject
* obj0
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
13098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 (arg1
)->StartPage();
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 Py_INCREF(Py_None
); resultobj
= Py_None
;
13114 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxDC
*arg1
= (wxDC
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
13123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 Py_INCREF(Py_None
); resultobj
= Py_None
;
13139 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxDC
*arg1
= (wxDC
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self",(char *) "font", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13155 if (arg2
== NULL
) {
13156 PyErr_SetString(PyExc_TypeError
,"null reference");
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 (arg1
)->SetFont((wxFont
const &)*arg2
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 Py_INCREF(Py_None
); resultobj
= Py_None
;
13173 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxDC
*arg1
= (wxDC
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 PyObject
* obj1
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self",(char *) "pen", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
13184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
13187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13189 if (arg2
== NULL
) {
13190 PyErr_SetString(PyExc_TypeError
,"null reference");
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 (arg1
)->SetPen((wxPen
const &)*arg2
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 Py_INCREF(Py_None
); resultobj
= Py_None
;
13207 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxDC
*arg1
= (wxDC
*) 0 ;
13210 wxBrush
*arg2
= 0 ;
13211 PyObject
* obj0
= 0 ;
13212 PyObject
* obj1
= 0 ;
13213 char *kwnames
[] = {
13214 (char *) "self",(char *) "brush", NULL
13217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13223 if (arg2
== NULL
) {
13224 PyErr_SetString(PyExc_TypeError
,"null reference");
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 Py_INCREF(Py_None
); resultobj
= Py_None
;
13241 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxDC
*arg1
= (wxDC
*) 0 ;
13244 wxBrush
*arg2
= 0 ;
13245 PyObject
* obj0
= 0 ;
13246 PyObject
* obj1
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self",(char *) "brush", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13257 if (arg2
== NULL
) {
13258 PyErr_SetString(PyExc_TypeError
,"null reference");
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 Py_INCREF(Py_None
); resultobj
= Py_None
;
13275 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxDC
*arg1
= (wxDC
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self",(char *) "mode", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 arg2
= (int) SWIG_AsInt(obj1
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 (arg1
)->SetBackgroundMode(arg2
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 Py_INCREF(Py_None
); resultobj
= Py_None
;
13304 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
;
13306 wxDC
*arg1
= (wxDC
*) 0 ;
13307 wxPalette
*arg2
= 0 ;
13308 PyObject
* obj0
= 0 ;
13309 PyObject
* obj1
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self",(char *) "palette", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13320 if (arg2
== NULL
) {
13321 PyErr_SetString(PyExc_TypeError
,"null reference");
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 Py_INCREF(Py_None
); resultobj
= Py_None
;
13338 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxDC
*arg1
= (wxDC
*) 0 ;
13341 PyObject
* obj0
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 (arg1
)->DestroyClippingRegion();
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13356 Py_INCREF(Py_None
); resultobj
= Py_None
;
13363 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
;
13365 wxDC
*arg1
= (wxDC
*) 0 ;
13366 int *arg2
= (int *) 0 ;
13367 int *arg3
= (int *) 0 ;
13368 int *arg4
= (int *) 0 ;
13369 int *arg5
= (int *) 0 ;
13374 PyObject
* obj0
= 0 ;
13375 char *kwnames
[] = {
13376 (char *) "self", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 Py_INCREF(Py_None
); resultobj
= Py_None
;
13395 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13396 resultobj
= t_output_helper(resultobj
,o
);
13399 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13400 resultobj
= t_output_helper(resultobj
,o
);
13403 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13404 resultobj
= t_output_helper(resultobj
,o
);
13407 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13408 resultobj
= t_output_helper(resultobj
,o
);
13416 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
;
13418 wxDC
*arg1
= (wxDC
*) 0 ;
13420 PyObject
* obj0
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= wxDC_GetClippingRect(arg1
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13436 wxRect
* resultptr
;
13437 resultptr
= new wxRect((wxRect
&) result
);
13438 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13446 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxDC
*arg1
= (wxDC
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= SWIG_FromInt((int)result
);
13472 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxDC
*arg1
= (wxDC
*) 0 ;
13476 PyObject
* obj0
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= SWIG_FromInt((int)result
);
13498 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxDC
*arg1
= (wxDC
*) 0 ;
13501 wxString
*arg2
= 0 ;
13502 int *arg3
= (int *) 0 ;
13503 int *arg4
= (int *) 0 ;
13504 bool temp2
= False
;
13507 PyObject
* obj0
= 0 ;
13508 PyObject
* obj1
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self",(char *) "string", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13519 arg2
= wxString_in_helper(obj1
);
13520 if (arg2
== NULL
) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 Py_INCREF(Py_None
); resultobj
= Py_None
;
13532 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13533 resultobj
= t_output_helper(resultobj
,o
);
13536 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13537 resultobj
= t_output_helper(resultobj
,o
);
13553 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxDC
*arg1
= (wxDC
*) 0 ;
13556 wxString
*arg2
= 0 ;
13557 int *arg3
= (int *) 0 ;
13558 int *arg4
= (int *) 0 ;
13559 int *arg5
= (int *) 0 ;
13560 int *arg6
= (int *) 0 ;
13561 wxFont
*arg7
= (wxFont
*) NULL
;
13562 bool temp2
= False
;
13567 PyObject
* obj0
= 0 ;
13568 PyObject
* obj1
= 0 ;
13569 PyObject
* obj2
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self",(char *) "string",(char *) "font", NULL
13578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13582 arg2
= wxString_in_helper(obj1
);
13583 if (arg2
== NULL
) SWIG_fail
;
13587 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 Py_INCREF(Py_None
); resultobj
= Py_None
;
13599 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13600 resultobj
= t_output_helper(resultobj
,o
);
13603 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13604 resultobj
= t_output_helper(resultobj
,o
);
13607 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13608 resultobj
= t_output_helper(resultobj
,o
);
13611 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13612 resultobj
= t_output_helper(resultobj
,o
);
13628 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
;
13630 wxDC
*arg1
= (wxDC
*) 0 ;
13631 wxString
*arg2
= 0 ;
13632 int *arg3
= (int *) 0 ;
13633 int *arg4
= (int *) 0 ;
13634 int *arg5
= (int *) 0 ;
13635 wxFont
*arg6
= (wxFont
*) NULL
;
13636 bool temp2
= False
;
13640 PyObject
* obj0
= 0 ;
13641 PyObject
* obj1
= 0 ;
13642 PyObject
* obj2
= 0 ;
13643 char *kwnames
[] = {
13644 (char *) "self",(char *) "text",(char *) "font", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13654 arg2
= wxString_in_helper(obj1
);
13655 if (arg2
== NULL
) SWIG_fail
;
13659 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 Py_INCREF(Py_None
); resultobj
= Py_None
;
13671 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13672 resultobj
= t_output_helper(resultobj
,o
);
13675 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13676 resultobj
= t_output_helper(resultobj
,o
);
13679 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13680 resultobj
= t_output_helper(resultobj
,o
);
13696 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
;
13698 wxDC
*arg1
= (wxDC
*) 0 ;
13699 wxString
*arg2
= 0 ;
13701 bool temp2
= False
;
13702 PyObject
* obj0
= 0 ;
13703 PyObject
* obj1
= 0 ;
13704 char *kwnames
[] = {
13705 (char *) "self",(char *) "text", NULL
13708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13712 arg2
= wxString_in_helper(obj1
);
13713 if (arg2
== NULL
) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= PyList_New(0);
13726 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13727 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13728 PyList_Append(resultobj
, val
);
13746 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxDC
*arg1
= (wxDC
*) 0 ;
13750 PyObject
* obj0
= 0 ;
13751 char *kwnames
[] = {
13752 (char *) "self", NULL
13755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (arg1
)->GetSize();
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 wxSize
* resultptr
;
13767 resultptr
= new wxSize((wxSize
&) result
);
13768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13776 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
;
13778 wxDC
*arg1
= (wxDC
*) 0 ;
13779 int *arg2
= (int *) 0 ;
13780 int *arg3
= (int *) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "self", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 (arg1
)->GetSize(arg2
,arg3
);
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 Py_INCREF(Py_None
); resultobj
= Py_None
;
13802 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13803 resultobj
= t_output_helper(resultobj
,o
);
13806 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13807 resultobj
= t_output_helper(resultobj
,o
);
13815 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxDC
*arg1
= (wxDC
*) 0 ;
13819 PyObject
* obj0
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "self", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13835 wxSize
* resultptr
;
13836 resultptr
= new wxSize((wxSize
&) result
);
13837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13845 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxDC
*arg1
= (wxDC
*) 0 ;
13848 int *arg2
= (int *) 0 ;
13849 int *arg3
= (int *) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "self", NULL
13859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 Py_INCREF(Py_None
); resultobj
= Py_None
;
13871 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13872 resultobj
= t_output_helper(resultobj
,o
);
13875 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13876 resultobj
= t_output_helper(resultobj
,o
);
13884 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxDC
*arg1
= (wxDC
*) 0 ;
13889 PyObject
* obj0
= 0 ;
13890 PyObject
* obj1
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self",(char *) "x", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13898 arg2
= (int) SWIG_AsInt(obj1
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 resultobj
= SWIG_FromInt((int)result
);
13914 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxDC
*arg1
= (wxDC
*) 0 ;
13919 PyObject
* obj0
= 0 ;
13920 PyObject
* obj1
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self",(char *) "y", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13928 arg2
= (int) SWIG_AsInt(obj1
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= SWIG_FromInt((int)result
);
13944 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
;
13946 wxDC
*arg1
= (wxDC
*) 0 ;
13949 PyObject
* obj0
= 0 ;
13950 PyObject
* obj1
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "self",(char *) "x", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13958 arg2
= (int) SWIG_AsInt(obj1
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= SWIG_FromInt((int)result
);
13974 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxDC
*arg1
= (wxDC
*) 0 ;
13979 PyObject
* obj0
= 0 ;
13980 PyObject
* obj1
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self",(char *) "y", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13988 arg2
= (int) SWIG_AsInt(obj1
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= SWIG_FromInt((int)result
);
14004 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
;
14006 wxDC
*arg1
= (wxDC
*) 0 ;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj1
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self",(char *) "x", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
14016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14018 arg2
= (int) SWIG_AsInt(obj1
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= SWIG_FromInt((int)result
);
14034 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxDC
*arg1
= (wxDC
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 PyObject
* obj1
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self",(char *) "y", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
14046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14048 arg2
= (int) SWIG_AsInt(obj1
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= SWIG_FromInt((int)result
);
14064 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
;
14066 wxDC
*arg1
= (wxDC
*) 0 ;
14069 PyObject
* obj0
= 0 ;
14070 PyObject
* obj1
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self",(char *) "x", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14078 arg2
= (int) SWIG_AsInt(obj1
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 resultobj
= SWIG_FromInt((int)result
);
14094 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxDC
*arg1
= (wxDC
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "self",(char *) "y", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
14106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14108 arg2
= (int) SWIG_AsInt(obj1
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= SWIG_FromInt((int)result
);
14124 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxDC
*arg1
= (wxDC
*) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14152 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
*resultobj
;
14154 wxDC
*arg1
= (wxDC
*) 0 ;
14156 PyObject
* obj0
= 0 ;
14157 char *kwnames
[] = {
14158 (char *) "self", NULL
14161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
14162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14180 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxDC
*arg1
= (wxDC
*) 0 ;
14184 PyObject
* obj0
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
14190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= SWIG_FromInt((int)result
);
14206 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxDC
*arg1
= (wxDC
*) 0 ;
14210 PyObject
* obj0
= 0 ;
14211 char *kwnames
[] = {
14212 (char *) "self", NULL
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= ((wxDC
const *)arg1
)->GetPPI();
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14226 wxSize
* resultptr
;
14227 resultptr
= new wxSize((wxSize
&) result
);
14228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14236 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxDC
*arg1
= (wxDC
*) 0 ;
14240 PyObject
* obj0
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (bool)((wxDC
const *)arg1
)->Ok();
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14264 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
;
14266 wxDC
*arg1
= (wxDC
*) 0 ;
14268 PyObject
* obj0
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 resultobj
= SWIG_FromInt((int)result
);
14290 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 wxDC
*arg1
= (wxDC
*) 0 ;
14294 PyObject
* obj0
= 0 ;
14295 char *kwnames
[] = {
14296 (char *) "self", NULL
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14306 result
= (wxBrush
*) &_result_ref
;
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14313 wxBrush
* resultptr
= new wxBrush(*result
);
14314 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14322 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxDC
*arg1
= (wxDC
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 char *kwnames
[] = {
14328 (char *) "self", NULL
14331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14338 result
= (wxBrush
*) &_result_ref
;
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14345 wxBrush
* resultptr
= new wxBrush(*result
);
14346 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14354 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxDC
*arg1
= (wxDC
*) 0 ;
14358 PyObject
* obj0
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14370 result
= (wxFont
*) &_result_ref
;
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14377 wxFont
* resultptr
= new wxFont(*result
);
14378 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14386 static PyObject
*_wrap_DC_GetPen(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_GetPen",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();
14401 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14402 result
= (wxPen
*) &_result_ref
;
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 wxPen
* resultptr
= new wxPen(*result
);
14410 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14418 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxDC
*arg1
= (wxDC
*) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 char *kwnames
[] = {
14424 (char *) "self", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14434 result
= (wxColour
*) &_result_ref
;
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14447 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxDC
*arg1
= (wxDC
*) 0 ;
14451 PyObject
* obj0
= 0 ;
14452 char *kwnames
[] = {
14453 (char *) "self", NULL
14456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14463 result
= (wxColour
*) &_result_ref
;
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14476 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxDC
*arg1
= (wxDC
*) 0 ;
14479 wxColour
*arg2
= 0 ;
14481 PyObject
* obj0
= 0 ;
14482 PyObject
* obj1
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self",(char *) "colour", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14492 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14501 Py_INCREF(Py_None
); resultobj
= Py_None
;
14508 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxDC
*arg1
= (wxDC
*) 0 ;
14511 wxColour
*arg2
= 0 ;
14513 PyObject
* obj0
= 0 ;
14514 PyObject
* obj1
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "self",(char *) "colour", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 Py_INCREF(Py_None
); resultobj
= Py_None
;
14540 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
;
14542 wxDC
*arg1
= (wxDC
*) 0 ;
14544 PyObject
* obj0
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= SWIG_FromInt((int)result
);
14566 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxDC
*arg1
= (wxDC
*) 0 ;
14570 PyObject
* obj0
= 0 ;
14571 PyObject
* obj1
= 0 ;
14572 char *kwnames
[] = {
14573 (char *) "self",(char *) "mode", NULL
14576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14579 arg2
= (int) SWIG_AsInt(obj1
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 (arg1
)->SetMapMode(arg2
);
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14588 Py_INCREF(Py_None
); resultobj
= Py_None
;
14595 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
;
14597 wxDC
*arg1
= (wxDC
*) 0 ;
14598 double *arg2
= (double *) 0 ;
14599 double *arg3
= (double *) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 char *kwnames
[] = {
14604 (char *) "self", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 Py_INCREF(Py_None
); resultobj
= Py_None
;
14621 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14622 resultobj
= t_output_helper(resultobj
,o
);
14625 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14626 resultobj
= t_output_helper(resultobj
,o
);
14634 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxDC
*arg1
= (wxDC
*) 0 ;
14639 PyObject
* obj0
= 0 ;
14640 PyObject
* obj1
= 0 ;
14641 PyObject
* obj2
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self",(char *) "x",(char *) "y", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 arg2
= (double) SWIG_AsDouble(obj1
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14651 arg3
= (double) SWIG_AsDouble(obj2
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 (arg1
)->SetUserScale(arg2
,arg3
);
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14660 Py_INCREF(Py_None
); resultobj
= Py_None
;
14667 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14668 PyObject
*resultobj
;
14669 wxDC
*arg1
= (wxDC
*) 0 ;
14670 double *arg2
= (double *) 0 ;
14671 double *arg3
= (double *) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 (arg1
)->GetLogicalScale(arg2
,arg3
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 Py_INCREF(Py_None
); resultobj
= Py_None
;
14693 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14694 resultobj
= t_output_helper(resultobj
,o
);
14697 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14698 resultobj
= t_output_helper(resultobj
,o
);
14706 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 wxDC
*arg1
= (wxDC
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 PyObject
* obj2
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "self",(char *) "x",(char *) "y", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14721 arg2
= (double) SWIG_AsDouble(obj1
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14723 arg3
= (double) SWIG_AsDouble(obj2
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 (arg1
)->SetLogicalScale(arg2
,arg3
);
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14732 Py_INCREF(Py_None
); resultobj
= Py_None
;
14739 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
;
14741 wxDC
*arg1
= (wxDC
*) 0 ;
14743 PyObject
* obj0
= 0 ;
14744 char *kwnames
[] = {
14745 (char *) "self", NULL
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14759 wxPoint
* resultptr
;
14760 resultptr
= new wxPoint((wxPoint
&) result
);
14761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14769 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14770 PyObject
*resultobj
;
14771 wxDC
*arg1
= (wxDC
*) 0 ;
14772 int *arg2
= (int *) 0 ;
14773 int *arg3
= (int *) 0 ;
14776 PyObject
* obj0
= 0 ;
14777 char *kwnames
[] = {
14778 (char *) "self", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 Py_INCREF(Py_None
); resultobj
= Py_None
;
14795 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14796 resultobj
= t_output_helper(resultobj
,o
);
14799 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14800 resultobj
= t_output_helper(resultobj
,o
);
14808 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxDC
*arg1
= (wxDC
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 PyObject
* obj2
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "self",(char *) "x",(char *) "y", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14823 arg2
= (int) SWIG_AsInt(obj1
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14825 arg3
= (int) SWIG_AsInt(obj2
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 Py_INCREF(Py_None
); resultobj
= Py_None
;
14841 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxDC
*arg1
= (wxDC
*) 0 ;
14844 wxPoint
*arg2
= 0 ;
14846 PyObject
* obj0
= 0 ;
14847 PyObject
* obj1
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "self",(char *) "point", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14857 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 Py_INCREF(Py_None
); resultobj
= Py_None
;
14873 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxDC
*arg1
= (wxDC
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14893 wxPoint
* resultptr
;
14894 resultptr
= new wxPoint((wxPoint
&) result
);
14895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14903 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxDC
*arg1
= (wxDC
*) 0 ;
14906 int *arg2
= (int *) 0 ;
14907 int *arg3
= (int *) 0 ;
14910 PyObject
* obj0
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14927 Py_INCREF(Py_None
); resultobj
= Py_None
;
14929 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14930 resultobj
= t_output_helper(resultobj
,o
);
14933 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14934 resultobj
= t_output_helper(resultobj
,o
);
14942 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 wxDC
*arg1
= (wxDC
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 PyObject
* obj1
= 0 ;
14949 PyObject
* obj2
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self",(char *) "x",(char *) "y", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14957 arg2
= (int) SWIG_AsInt(obj1
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14959 arg3
= (int) SWIG_AsInt(obj2
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 Py_INCREF(Py_None
); resultobj
= Py_None
;
14975 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxDC
*arg1
= (wxDC
*) 0 ;
14978 wxPoint
*arg2
= 0 ;
14980 PyObject
* obj0
= 0 ;
14981 PyObject
* obj1
= 0 ;
14982 char *kwnames
[] = {
14983 (char *) "self",(char *) "point", NULL
14986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14991 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 Py_INCREF(Py_None
); resultobj
= Py_None
;
15007 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxDC
*arg1
= (wxDC
*) 0 ;
15012 PyObject
* obj0
= 0 ;
15013 PyObject
* obj1
= 0 ;
15014 PyObject
* obj2
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15022 arg2
= (bool) SWIG_AsBool(obj1
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15024 arg3
= (bool) SWIG_AsBool(obj2
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 (arg1
)->SetAxisOrientation(arg2
,arg3
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 Py_INCREF(Py_None
); resultobj
= Py_None
;
15040 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxDC
*arg1
= (wxDC
*) 0 ;
15044 PyObject
* obj0
= 0 ;
15045 char *kwnames
[] = {
15046 (char *) "self", NULL
15049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
15050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= SWIG_FromInt((int)result
);
15066 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxDC
*arg1
= (wxDC
*) 0 ;
15070 PyObject
* obj0
= 0 ;
15071 PyObject
* obj1
= 0 ;
15072 char *kwnames
[] = {
15073 (char *) "self",(char *) "function", NULL
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
15077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15079 arg2
= (int) SWIG_AsInt(obj1
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 (arg1
)->SetLogicalFunction(arg2
);
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 Py_INCREF(Py_None
); resultobj
= Py_None
;
15095 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
;
15097 wxDC
*arg1
= (wxDC
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 PyObject
* obj1
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self",(char *) "opt", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15108 arg2
= (bool) SWIG_AsBool(obj1
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 (arg1
)->SetOptimization(arg2
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 Py_INCREF(Py_None
); resultobj
= Py_None
;
15124 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxDC
*arg1
= (wxDC
*) 0 ;
15128 PyObject
* obj0
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
15134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (bool)(arg1
)->GetOptimization();
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15152 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxDC
*arg1
= (wxDC
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 PyObject
* obj2
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self",(char *) "x",(char *) "y", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15167 arg2
= (int) SWIG_AsInt(obj1
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15169 arg3
= (int) SWIG_AsInt(obj2
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 (arg1
)->CalcBoundingBox(arg2
,arg3
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 Py_INCREF(Py_None
); resultobj
= Py_None
;
15185 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxDC
*arg1
= (wxDC
*) 0 ;
15188 wxPoint
*arg2
= 0 ;
15190 PyObject
* obj0
= 0 ;
15191 PyObject
* obj1
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self",(char *) "point", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 Py_INCREF(Py_None
); resultobj
= Py_None
;
15217 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxDC
*arg1
= (wxDC
*) 0 ;
15220 PyObject
* obj0
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 (arg1
)->ResetBoundingBox();
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 Py_INCREF(Py_None
); resultobj
= Py_None
;
15242 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxDC
*arg1
= (wxDC
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (int)((wxDC
const *)arg1
)->MinX();
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= SWIG_FromInt((int)result
);
15268 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxDC
*arg1
= (wxDC
*) 0 ;
15272 PyObject
* obj0
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "self", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 result
= (int)((wxDC
const *)arg1
)->MaxX();
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= SWIG_FromInt((int)result
);
15294 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxDC
*arg1
= (wxDC
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (int)((wxDC
const *)arg1
)->MinY();
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_FromInt((int)result
);
15320 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxDC
*arg1
= (wxDC
*) 0 ;
15324 PyObject
* obj0
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (int)((wxDC
const *)arg1
)->MaxY();
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= SWIG_FromInt((int)result
);
15346 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
;
15348 wxDC
*arg1
= (wxDC
*) 0 ;
15349 int *arg2
= (int *) 0 ;
15350 int *arg3
= (int *) 0 ;
15351 int *arg4
= (int *) 0 ;
15352 int *arg5
= (int *) 0 ;
15357 PyObject
* obj0
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 Py_INCREF(Py_None
); resultobj
= Py_None
;
15378 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15379 resultobj
= t_output_helper(resultobj
,o
);
15382 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15383 resultobj
= t_output_helper(resultobj
,o
);
15386 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15387 resultobj
= t_output_helper(resultobj
,o
);
15390 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
15391 resultobj
= t_output_helper(resultobj
,o
);
15399 static PyObject
*_wrap_DC_GetHDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15401 wxDC
*arg1
= (wxDC
*) 0 ;
15403 PyObject
* obj0
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 result
= (long)(arg1
)->GetHDC();
15415 wxPyEndAllowThreads(__tstate
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= SWIG_FromLong((long)result
);
15425 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxDC
*arg1
= (wxDC
*) 0 ;
15428 PyObject
*arg2
= (PyObject
*) 0 ;
15429 PyObject
*arg3
= (PyObject
*) 0 ;
15430 PyObject
*arg4
= (PyObject
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 PyObject
* obj2
= 0 ;
15435 PyObject
* obj3
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= result
;
15460 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxDC
*arg1
= (wxDC
*) 0 ;
15463 PyObject
*arg2
= (PyObject
*) 0 ;
15464 PyObject
*arg3
= (PyObject
*) 0 ;
15465 PyObject
*arg4
= (PyObject
*) 0 ;
15467 PyObject
* obj0
= 0 ;
15468 PyObject
* obj1
= 0 ;
15469 PyObject
* obj2
= 0 ;
15470 PyObject
* obj3
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15488 resultobj
= result
;
15495 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxDC
*arg1
= (wxDC
*) 0 ;
15498 PyObject
*arg2
= (PyObject
*) 0 ;
15499 PyObject
*arg3
= (PyObject
*) 0 ;
15500 PyObject
*arg4
= (PyObject
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 PyObject
* obj2
= 0 ;
15505 PyObject
* obj3
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= result
;
15530 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
;
15532 wxDC
*arg1
= (wxDC
*) 0 ;
15533 PyObject
*arg2
= (PyObject
*) 0 ;
15534 PyObject
*arg3
= (PyObject
*) 0 ;
15535 PyObject
*arg4
= (PyObject
*) 0 ;
15537 PyObject
* obj0
= 0 ;
15538 PyObject
* obj1
= 0 ;
15539 PyObject
* obj2
= 0 ;
15540 PyObject
* obj3
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= result
;
15565 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxDC
*arg1
= (wxDC
*) 0 ;
15568 PyObject
*arg2
= (PyObject
*) 0 ;
15569 PyObject
*arg3
= (PyObject
*) 0 ;
15570 PyObject
*arg4
= (PyObject
*) 0 ;
15572 PyObject
* obj0
= 0 ;
15573 PyObject
* obj1
= 0 ;
15574 PyObject
* obj2
= 0 ;
15575 PyObject
* obj3
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= result
;
15600 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxDC
*arg1
= (wxDC
*) 0 ;
15603 PyObject
*arg2
= (PyObject
*) 0 ;
15604 PyObject
*arg3
= (PyObject
*) 0 ;
15605 PyObject
*arg4
= (PyObject
*) 0 ;
15606 PyObject
*arg5
= (PyObject
*) 0 ;
15608 PyObject
* obj0
= 0 ;
15609 PyObject
* obj1
= 0 ;
15610 PyObject
* obj2
= 0 ;
15611 PyObject
* obj3
= 0 ;
15612 PyObject
* obj4
= 0 ;
15613 char *kwnames
[] = {
15614 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15631 resultobj
= result
;
15638 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15641 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15643 return Py_BuildValue((char *)"");
15645 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxMemoryDC
*result
;
15648 char *kwnames
[] = {
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15654 if (!wxPyCheckForApp()) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 result
= (wxMemoryDC
*)new wxMemoryDC();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15668 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxDC
*arg1
= (wxDC
*) 0 ;
15671 wxMemoryDC
*result
;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "oldDC", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15681 if (!wxPyCheckForApp()) SWIG_fail
;
15682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15683 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15695 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15698 wxBitmap
*arg2
= 0 ;
15699 PyObject
* obj0
= 0 ;
15700 PyObject
* obj1
= 0 ;
15701 char *kwnames
[] = {
15702 (char *) "self",(char *) "bitmap", NULL
15705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15711 if (arg2
== NULL
) {
15712 PyErr_SetString(PyExc_TypeError
,"null reference");
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 Py_INCREF(Py_None
); resultobj
= Py_None
;
15729 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15732 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15734 return Py_BuildValue((char *)"");
15736 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15737 PyObject
*resultobj
;
15738 wxDC
*arg1
= (wxDC
*) 0 ;
15739 wxBitmap
*arg2
= 0 ;
15740 wxBufferedDC
*result
;
15741 PyObject
* obj0
= 0 ;
15742 PyObject
* obj1
= 0 ;
15744 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15750 if (arg2
== NULL
) {
15751 PyErr_SetString(PyExc_TypeError
,"null reference");
15755 if (!wxPyCheckForApp()) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15769 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15770 PyObject
*resultobj
;
15771 wxDC
*arg1
= (wxDC
*) 0 ;
15773 wxBufferedDC
*result
;
15775 PyObject
* obj0
= 0 ;
15776 PyObject
* obj1
= 0 ;
15778 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15783 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15786 if (!wxPyCheckForApp()) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15800 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15805 argc
= PyObject_Length(args
);
15806 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15807 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15813 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15823 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15831 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15839 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15848 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15851 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15856 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15861 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15862 PyObject
*resultobj
;
15863 wxDC
*arg1
= (wxDC
*) 0 ;
15865 wxBufferedDC
*result
;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15870 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15875 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15878 if (!wxPyCheckForApp()) SWIG_fail
;
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15892 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
;
15894 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 Py_INCREF(Py_None
); resultobj
= Py_None
;
15917 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
;
15919 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15920 PyObject
* obj0
= 0 ;
15921 char *kwnames
[] = {
15922 (char *) "self", NULL
15925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 wxPyEndAllowThreads(__tstate
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15935 Py_INCREF(Py_None
); resultobj
= Py_None
;
15942 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15945 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15947 return Py_BuildValue((char *)"");
15949 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15950 PyObject
*resultobj
;
15951 wxWindow
*arg1
= (wxWindow
*) 0 ;
15952 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15953 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15954 wxBufferedPaintDC
*result
;
15955 PyObject
* obj0
= 0 ;
15956 PyObject
* obj1
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "window",(char *) "buffer", NULL
15961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15968 if (arg2
== NULL
) {
15969 PyErr_SetString(PyExc_TypeError
,"null reference");
15974 if (!wxPyCheckForApp()) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15988 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15991 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15993 return Py_BuildValue((char *)"");
15995 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxScreenDC
*result
;
15998 char *kwnames
[] = {
16002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
16004 if (!wxPyCheckForApp()) SWIG_fail
;
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (wxScreenDC
*)new wxScreenDC();
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
16018 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16021 wxWindow
*arg2
= (wxWindow
*) 0 ;
16023 PyObject
* obj0
= 0 ;
16024 PyObject
* obj1
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self",(char *) "window", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
16030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16050 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16051 PyObject
*resultobj
;
16052 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16053 wxRect
*arg2
= (wxRect
*) NULL
;
16055 PyObject
* obj0
= 0 ;
16056 PyObject
* obj1
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self",(char *) "rect", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16084 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
16088 PyObject
* obj0
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
16094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
16095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= (bool)(arg1
)->EndDrawingOnTop();
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16112 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
16114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16115 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
16117 return Py_BuildValue((char *)"");
16119 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
;
16121 wxWindow
*arg1
= (wxWindow
*) 0 ;
16122 wxClientDC
*result
;
16123 PyObject
* obj0
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "win", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
16129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16132 if (!wxPyCheckForApp()) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= (wxClientDC
*)new wxClientDC(arg1
);
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
16146 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
16148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16149 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
16151 return Py_BuildValue((char *)"");
16153 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxWindow
*arg1
= (wxWindow
*) 0 ;
16157 PyObject
* obj0
= 0 ;
16158 char *kwnames
[] = {
16159 (char *) "win", NULL
16162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
16163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16166 if (!wxPyCheckForApp()) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
16180 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
16182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16183 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
16185 return Py_BuildValue((char *)"");
16187 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxWindow
*arg1
= (wxWindow
*) 0 ;
16190 wxWindowDC
*result
;
16191 PyObject
* obj0
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "win", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16200 if (!wxPyCheckForApp()) SWIG_fail
;
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
16214 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
16216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16217 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
16219 return Py_BuildValue((char *)"");
16221 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16225 wxMirrorDC
*result
;
16226 PyObject
* obj0
= 0 ;
16227 PyObject
* obj1
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "dc",(char *) "mirror", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
16233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
16234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16236 if (arg1
== NULL
) {
16237 PyErr_SetString(PyExc_TypeError
,"null reference");
16240 arg2
= (bool) SWIG_AsBool(obj1
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16243 if (!wxPyCheckForApp()) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
16257 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
16259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16260 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
16262 return Py_BuildValue((char *)"");
16264 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxPrintData
*arg1
= 0 ;
16267 wxPostScriptDC
*result
;
16268 PyObject
* obj0
= 0 ;
16269 char *kwnames
[] = {
16270 (char *) "printData", NULL
16273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16277 if (arg1
== NULL
) {
16278 PyErr_SetString(PyExc_TypeError
,"null reference");
16282 if (!wxPyCheckForApp()) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16296 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16297 PyObject
*resultobj
;
16298 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16299 wxPrintData
*result
;
16300 PyObject
* obj0
= 0 ;
16301 char *kwnames
[] = {
16302 (char *) "self", NULL
16305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16312 result
= (wxPrintData
*) &_result_ref
;
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16325 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16328 wxPrintData
*arg2
= 0 ;
16329 PyObject
* obj0
= 0 ;
16330 PyObject
* obj1
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self",(char *) "data", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16341 if (arg2
== NULL
) {
16342 PyErr_SetString(PyExc_TypeError
,"null reference");
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16352 Py_INCREF(Py_None
); resultobj
= Py_None
;
16359 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16362 PyObject
* obj0
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "ppi", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16368 arg1
= (int) SWIG_AsInt(obj0
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 wxPostScriptDC::SetResolution(arg1
);
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16377 Py_INCREF(Py_None
); resultobj
= Py_None
;
16384 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16387 char *kwnames
[] = {
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (int)wxPostScriptDC::GetResolution();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= SWIG_FromInt((int)result
);
16406 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
16408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16409 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16411 return Py_BuildValue((char *)"");
16413 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16416 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16417 wxMetaFile
*result
;
16418 bool temp1
= False
;
16419 PyObject
* obj0
= 0 ;
16420 char *kwnames
[] = {
16421 (char *) "filename", NULL
16424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16427 arg1
= wxString_in_helper(obj0
);
16428 if (arg1
== NULL
) SWIG_fail
;
16433 if (!wxPyCheckForApp()) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16455 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16458 PyObject
* obj0
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 Py_INCREF(Py_None
); resultobj
= Py_None
;
16480 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16484 PyObject
* obj0
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "self", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 result
= (bool)(arg1
)->Ok();
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16508 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
;
16510 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16511 int arg2
= (int) 0 ;
16512 int arg3
= (int) 0 ;
16514 PyObject
* obj0
= 0 ;
16515 PyObject
* obj1
= 0 ;
16516 PyObject
* obj2
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "width",(char *) "height", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16525 arg2
= (int) SWIG_AsInt(obj1
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16529 arg3
= (int) SWIG_AsInt(obj2
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16548 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (arg1
)->GetSize();
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16568 wxSize
* resultptr
;
16569 resultptr
= new wxSize((wxSize
&) result
);
16570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16578 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 result
= (int)(arg1
)->GetWidth();
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 resultobj
= SWIG_FromInt((int)result
);
16604 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (int)(arg1
)->GetHeight();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= SWIG_FromInt((int)result
);
16630 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16634 PyObject
* obj0
= 0 ;
16635 char *kwnames
[] = {
16636 (char *) "self", NULL
16639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
16646 result
= (wxString
*) &_result_ref
;
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16656 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16665 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
16667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16668 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16670 return Py_BuildValue((char *)"");
16672 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16675 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16676 int arg2
= (int) 0 ;
16677 int arg3
= (int) 0 ;
16678 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16679 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16680 wxMetaFileDC
*result
;
16681 bool temp1
= False
;
16682 bool temp4
= False
;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 PyObject
* obj2
= 0 ;
16686 PyObject
* obj3
= 0 ;
16687 char *kwnames
[] = {
16688 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16694 arg1
= wxString_in_helper(obj0
);
16695 if (arg1
== NULL
) SWIG_fail
;
16700 arg2
= (int) SWIG_AsInt(obj1
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16704 arg3
= (int) SWIG_AsInt(obj2
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16709 arg4
= wxString_in_helper(obj3
);
16710 if (arg4
== NULL
) SWIG_fail
;
16715 if (!wxPyCheckForApp()) SWIG_fail
;
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16745 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16748 wxMetaFile
*result
;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 result
= (wxMetaFile
*)(arg1
)->Close();
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16771 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16774 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16776 return Py_BuildValue((char *)"");
16778 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxPrintData
*arg1
= 0 ;
16781 wxPrinterDC
*result
;
16782 PyObject
* obj0
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "printData", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16791 if (arg1
== NULL
) {
16792 PyErr_SetString(PyExc_TypeError
,"null reference");
16796 if (!wxPyCheckForApp()) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16810 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16813 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16815 return Py_BuildValue((char *)"");
16817 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16818 PyObject
*resultobj
;
16821 int arg3
= (int) True
;
16822 int arg4
= (int) 1 ;
16823 wxImageList
*result
;
16824 PyObject
* obj0
= 0 ;
16825 PyObject
* obj1
= 0 ;
16826 PyObject
* obj2
= 0 ;
16827 PyObject
* obj3
= 0 ;
16828 char *kwnames
[] = {
16829 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16833 arg1
= (int) SWIG_AsInt(obj0
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16835 arg2
= (int) SWIG_AsInt(obj1
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16838 arg3
= (int) SWIG_AsInt(obj2
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16842 arg4
= (int) SWIG_AsInt(obj3
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16846 if (!wxPyCheckForApp()) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= wxPyMake_wxObject(result
, 1);
16862 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxImageList
*arg1
= (wxImageList
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 Py_INCREF(Py_None
); resultobj
= Py_None
;
16887 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxImageList
*arg1
= (wxImageList
*) 0 ;
16890 wxBitmap
*arg2
= 0 ;
16891 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16892 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 PyObject
* obj2
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16907 if (arg2
== NULL
) {
16908 PyErr_SetString(PyExc_TypeError
,"null reference");
16912 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16915 if (arg3
== NULL
) {
16916 PyErr_SetString(PyExc_TypeError
,"null reference");
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= SWIG_FromInt((int)result
);
16934 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxImageList
*arg1
= (wxImageList
*) 0 ;
16937 wxBitmap
*arg2
= 0 ;
16938 wxColour
*arg3
= 0 ;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 PyObject
* obj2
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16954 if (arg2
== NULL
) {
16955 PyErr_SetString(PyExc_TypeError
,"null reference");
16960 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= SWIG_FromInt((int)result
);
16976 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxImageList
*arg1
= (wxImageList
*) 0 ;
16981 PyObject
* obj0
= 0 ;
16982 PyObject
* obj1
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self",(char *) "icon", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16993 if (arg2
== NULL
) {
16994 PyErr_SetString(PyExc_TypeError
,"null reference");
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= SWIG_FromInt((int)result
);
17011 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxImageList
*arg1
= (wxImageList
*) 0 ;
17015 wxBitmap
*arg3
= 0 ;
17016 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
17017 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 PyObject
* obj2
= 0 ;
17022 PyObject
* obj3
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17030 arg2
= (int) SWIG_AsInt(obj1
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17032 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
17033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17035 if (arg3
== NULL
) {
17036 PyErr_SetString(PyExc_TypeError
,"null reference");
17040 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17043 if (arg4
== NULL
) {
17044 PyErr_SetString(PyExc_TypeError
,"null reference");
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17064 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxImageList
*arg1
= (wxImageList
*) 0 ;
17071 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
17072 bool arg7
= (bool) (bool)False
;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 PyObject
* obj2
= 0 ;
17077 PyObject
* obj3
= 0 ;
17078 PyObject
* obj4
= 0 ;
17079 PyObject
* obj5
= 0 ;
17080 PyObject
* obj6
= 0 ;
17081 char *kwnames
[] = {
17082 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
17085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17088 arg2
= (int) SWIG_AsInt(obj1
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17090 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
17091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17093 if (arg3
== NULL
) {
17094 PyErr_SetString(PyExc_TypeError
,"null reference");
17097 arg4
= (int) SWIG_AsInt(obj3
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17099 arg5
= (int) SWIG_AsInt(obj4
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17102 arg6
= (int) SWIG_AsInt(obj5
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 arg7
= (bool const) SWIG_AsBool(obj6
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17111 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17125 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
;
17127 wxImageList
*arg1
= (wxImageList
*) 0 ;
17129 PyObject
* obj0
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
17135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 result
= (int)(arg1
)->GetImageCount();
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17144 resultobj
= SWIG_FromInt((int)result
);
17151 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
;
17153 wxImageList
*arg1
= (wxImageList
*) 0 ;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "self",(char *) "index", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
17163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17165 arg2
= (int) SWIG_AsInt(obj1
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (bool)(arg1
)->Remove(arg2
);
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17183 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxImageList
*arg1
= (wxImageList
*) 0 ;
17187 PyObject
* obj0
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 result
= (bool)(arg1
)->RemoveAll();
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17211 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxImageList
*arg1
= (wxImageList
*) 0 ;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 char *kwnames
[] = {
17222 (char *) "self",(char *) "index", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
17229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17230 arg2
= (int) SWIG_AsInt(obj1
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17234 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17239 Py_INCREF(Py_None
); resultobj
= Py_None
;
17241 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17242 resultobj
= t_output_helper(resultobj
,o
);
17245 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
17246 resultobj
= t_output_helper(resultobj
,o
);
17254 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
17256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17257 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
17259 return Py_BuildValue((char *)"");
17261 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
17262 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
17267 static PyObject
*_wrap_NORMAL_FONT_get() {
17270 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
17275 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
17276 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
17281 static PyObject
*_wrap_SMALL_FONT_get() {
17284 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
17289 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
17290 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
17295 static PyObject
*_wrap_ITALIC_FONT_get() {
17298 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
17303 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
17304 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
17309 static PyObject
*_wrap_SWISS_FONT_get() {
17312 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
17317 static int _wrap_RED_PEN_set(PyObject
*_val
) {
17318 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
17323 static PyObject
*_wrap_RED_PEN_get() {
17326 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
17331 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
17332 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
17337 static PyObject
*_wrap_CYAN_PEN_get() {
17340 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
17345 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
17346 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
17351 static PyObject
*_wrap_GREEN_PEN_get() {
17354 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17359 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
17360 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17365 static PyObject
*_wrap_BLACK_PEN_get() {
17368 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17373 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
17374 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17379 static PyObject
*_wrap_WHITE_PEN_get() {
17382 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17387 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
17388 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17393 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17396 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17401 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
17402 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17407 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17410 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17415 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
17416 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17421 static PyObject
*_wrap_GREY_PEN_get() {
17424 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17429 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
17430 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17435 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17438 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17443 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
17444 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17449 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17452 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17457 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
17458 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17463 static PyObject
*_wrap_BLUE_BRUSH_get() {
17466 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17471 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
17472 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17477 static PyObject
*_wrap_GREEN_BRUSH_get() {
17480 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17485 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
17486 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17491 static PyObject
*_wrap_WHITE_BRUSH_get() {
17494 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17499 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
17500 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17505 static PyObject
*_wrap_BLACK_BRUSH_get() {
17508 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17513 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
17514 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17519 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17522 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17527 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
17528 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17533 static PyObject
*_wrap_CYAN_BRUSH_get() {
17536 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17541 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
17542 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17547 static PyObject
*_wrap_RED_BRUSH_get() {
17550 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17555 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
17556 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17561 static PyObject
*_wrap_GREY_BRUSH_get() {
17564 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17569 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
17570 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17575 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17578 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17583 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
17584 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17589 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17592 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17597 static int _wrap_BLACK_set(PyObject
*_val
) {
17598 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17603 static PyObject
*_wrap_BLACK_get() {
17606 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17611 static int _wrap_WHITE_set(PyObject
*_val
) {
17612 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17617 static PyObject
*_wrap_WHITE_get() {
17620 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17625 static int _wrap_RED_set(PyObject
*_val
) {
17626 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17631 static PyObject
*_wrap_RED_get() {
17634 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17639 static int _wrap_BLUE_set(PyObject
*_val
) {
17640 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17645 static PyObject
*_wrap_BLUE_get() {
17648 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17653 static int _wrap_GREEN_set(PyObject
*_val
) {
17654 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17659 static PyObject
*_wrap_GREEN_get() {
17662 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17667 static int _wrap_CYAN_set(PyObject
*_val
) {
17668 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17673 static PyObject
*_wrap_CYAN_get() {
17676 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17681 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
17682 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17687 static PyObject
*_wrap_LIGHT_GREY_get() {
17690 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17695 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
17696 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17701 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17704 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17709 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
17710 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17715 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17718 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17723 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
17724 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17729 static PyObject
*_wrap_CROSS_CURSOR_get() {
17732 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17737 static int _wrap_NullBitmap_set(PyObject
*_val
) {
17738 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17743 static PyObject
*_wrap_NullBitmap_get() {
17746 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17751 static int _wrap_NullIcon_set(PyObject
*_val
) {
17752 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17757 static PyObject
*_wrap_NullIcon_get() {
17760 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17765 static int _wrap_NullCursor_set(PyObject
*_val
) {
17766 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17771 static PyObject
*_wrap_NullCursor_get() {
17774 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17779 static int _wrap_NullPen_set(PyObject
*_val
) {
17780 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17785 static PyObject
*_wrap_NullPen_get() {
17788 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17793 static int _wrap_NullBrush_set(PyObject
*_val
) {
17794 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17799 static PyObject
*_wrap_NullBrush_get() {
17802 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17807 static int _wrap_NullPalette_set(PyObject
*_val
) {
17808 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17813 static PyObject
*_wrap_NullPalette_get() {
17816 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17821 static int _wrap_NullFont_set(PyObject
*_val
) {
17822 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17827 static PyObject
*_wrap_NullFont_get() {
17830 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17835 static int _wrap_NullColour_set(PyObject
*_val
) {
17836 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17841 static PyObject
*_wrap_NullColour_get() {
17844 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17849 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxPenList
*arg1
= (wxPenList
*) 0 ;
17852 wxPen
*arg2
= (wxPen
*) 0 ;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self",(char *) "pen", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 (arg1
)->AddPen(arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 Py_INCREF(Py_None
); resultobj
= Py_None
;
17878 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxPenList
*arg1
= (wxPenList
*) 0 ;
17881 wxColour
*arg2
= 0 ;
17886 PyObject
* obj0
= 0 ;
17887 PyObject
* obj1
= 0 ;
17888 PyObject
* obj2
= 0 ;
17889 PyObject
* obj3
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17901 arg3
= (int) SWIG_AsInt(obj2
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17903 arg4
= (int) SWIG_AsInt(obj3
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17919 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxPenList
*arg1
= (wxPenList
*) 0 ;
17922 wxPen
*arg2
= (wxPen
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 PyObject
* obj1
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self",(char *) "pen", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 (arg1
)->RemovePen(arg2
);
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 Py_INCREF(Py_None
); resultobj
= Py_None
;
17948 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxPenList
*arg1
= (wxPenList
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (int)(arg1
)->GetCount();
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= SWIG_FromInt((int)result
);
17974 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17977 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17979 return Py_BuildValue((char *)"");
17981 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
;
17983 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17984 wxBrush
*arg2
= (wxBrush
*) 0 ;
17985 PyObject
* obj0
= 0 ;
17986 PyObject
* obj1
= 0 ;
17987 char *kwnames
[] = {
17988 (char *) "self",(char *) "brush", NULL
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 (arg1
)->AddBrush(arg2
);
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18003 Py_INCREF(Py_None
); resultobj
= Py_None
;
18010 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18011 PyObject
*resultobj
;
18012 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18013 wxColour
*arg2
= 0 ;
18017 PyObject
* obj0
= 0 ;
18018 PyObject
* obj1
= 0 ;
18019 PyObject
* obj2
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "colour",(char *) "style", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18029 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18031 arg3
= (int) SWIG_AsInt(obj2
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
18047 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18050 wxBrush
*arg2
= (wxBrush
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self",(char *) "brush", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
18058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
18061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 (arg1
)->RemoveBrush(arg2
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 Py_INCREF(Py_None
); resultobj
= Py_None
;
18076 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
18086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
18087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (int)(arg1
)->GetCount();
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= SWIG_FromInt((int)result
);
18102 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
18104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18105 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
18107 return Py_BuildValue((char *)"");
18109 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxColourDatabase
*result
;
18112 char *kwnames
[] = {
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
18118 if (!wxPyCheckForApp()) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= (wxColourDatabase
*)new wxColourDatabase();
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
18132 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
;
18134 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18135 PyObject
* obj0
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "self", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
18141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 Py_INCREF(Py_None
); resultobj
= Py_None
;
18157 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18158 PyObject
*resultobj
;
18159 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18160 wxString
*arg2
= 0 ;
18162 bool temp2
= False
;
18163 PyObject
* obj0
= 0 ;
18164 PyObject
* obj1
= 0 ;
18165 char *kwnames
[] = {
18166 (char *) "self",(char *) "name", NULL
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
18170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18173 arg2
= wxString_in_helper(obj1
);
18174 if (arg2
== NULL
) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 wxColour
* resultptr
;
18186 resultptr
= new wxColour((wxColour
&) result
);
18187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18203 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18204 PyObject
*resultobj
;
18205 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18206 wxColour
*arg2
= 0 ;
18209 PyObject
* obj0
= 0 ;
18210 PyObject
* obj1
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self",(char *) "colour", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18220 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18242 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18245 wxString
*arg2
= 0 ;
18246 wxColour
*arg3
= 0 ;
18247 bool temp2
= False
;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 PyObject
* obj2
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self",(char *) "name",(char *) "colour", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18260 arg2
= wxString_in_helper(obj1
);
18261 if (arg2
== NULL
) SWIG_fail
;
18266 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 Py_INCREF(Py_None
); resultobj
= Py_None
;
18290 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
18293 wxString
*arg2
= 0 ;
18297 bool temp2
= False
;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 PyObject
* obj2
= 0 ;
18301 PyObject
* obj3
= 0 ;
18302 PyObject
* obj4
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
18309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18311 arg2
= wxString_in_helper(obj1
);
18312 if (arg2
== NULL
) SWIG_fail
;
18315 arg3
= (int) SWIG_AsInt(obj2
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18317 arg4
= (int) SWIG_AsInt(obj3
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18319 arg5
= (int) SWIG_AsInt(obj4
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18325 wxPyEndAllowThreads(__tstate
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 Py_INCREF(Py_None
); resultobj
= Py_None
;
18343 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
18345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18346 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
18348 return Py_BuildValue((char *)"");
18350 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
;
18352 wxFontList
*arg1
= (wxFontList
*) 0 ;
18353 wxFont
*arg2
= (wxFont
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 PyObject
* obj1
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self",(char *) "font", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 (arg1
)->AddFont(arg2
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 Py_INCREF(Py_None
); resultobj
= Py_None
;
18379 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
;
18381 wxFontList
*arg1
= (wxFontList
*) 0 ;
18386 bool arg6
= (bool) False
;
18387 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18388 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18389 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18391 bool temp7
= False
;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 PyObject
* obj2
= 0 ;
18395 PyObject
* obj3
= 0 ;
18396 PyObject
* obj4
= 0 ;
18397 PyObject
* obj5
= 0 ;
18398 PyObject
* obj6
= 0 ;
18399 PyObject
* obj7
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18407 arg2
= (int) SWIG_AsInt(obj1
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18409 arg3
= (int) SWIG_AsInt(obj2
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18411 arg4
= (int) SWIG_AsInt(obj3
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18413 arg5
= (int) SWIG_AsInt(obj4
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 arg6
= (bool) SWIG_AsBool(obj5
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18421 arg7
= wxString_in_helper(obj6
);
18422 if (arg7
== NULL
) SWIG_fail
;
18427 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18452 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxFontList
*arg1
= (wxFontList
*) 0 ;
18455 wxFont
*arg2
= (wxFont
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "font", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->RemoveFont(arg2
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 Py_INCREF(Py_None
); resultobj
= Py_None
;
18481 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxFontList
*arg1
= (wxFontList
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 result
= (int)(arg1
)->GetCount();
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= SWIG_FromInt((int)result
);
18507 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
18509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18510 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18512 return Py_BuildValue((char *)"");
18514 static int _wrap_TheFontList_set(PyObject
*_val
) {
18515 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18520 static PyObject
*_wrap_TheFontList_get() {
18523 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18528 static int _wrap_ThePenList_set(PyObject
*_val
) {
18529 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18534 static PyObject
*_wrap_ThePenList_get() {
18537 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18542 static int _wrap_TheBrushList_set(PyObject
*_val
) {
18543 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18548 static PyObject
*_wrap_TheBrushList_get() {
18551 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18556 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
18557 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18562 static PyObject
*_wrap_TheColourDatabase_get() {
18565 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18570 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
;
18573 char *kwnames
[] = {
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 result
= (wxEffects
*)new wxEffects();
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18592 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxEffects
*arg1
= (wxEffects
*) 0 ;
18596 PyObject
* obj0
= 0 ;
18597 char *kwnames
[] = {
18598 (char *) "self", NULL
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18612 wxColour
* resultptr
;
18613 resultptr
= new wxColour((wxColour
&) result
);
18614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18622 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
;
18624 wxEffects
*arg1
= (wxEffects
*) 0 ;
18626 PyObject
* obj0
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18642 wxColour
* resultptr
;
18643 resultptr
= new wxColour((wxColour
&) result
);
18644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18652 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18653 PyObject
*resultobj
;
18654 wxEffects
*arg1
= (wxEffects
*) 0 ;
18656 PyObject
* obj0
= 0 ;
18657 char *kwnames
[] = {
18658 (char *) "self", NULL
18661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18672 wxColour
* resultptr
;
18673 resultptr
= new wxColour((wxColour
&) result
);
18674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18682 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18683 PyObject
*resultobj
;
18684 wxEffects
*arg1
= (wxEffects
*) 0 ;
18686 PyObject
* obj0
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18702 wxColour
* resultptr
;
18703 resultptr
= new wxColour((wxColour
&) result
);
18704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18712 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18713 PyObject
*resultobj
;
18714 wxEffects
*arg1
= (wxEffects
*) 0 ;
18716 PyObject
* obj0
= 0 ;
18717 char *kwnames
[] = {
18718 (char *) "self", NULL
18721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18732 wxColour
* resultptr
;
18733 resultptr
= new wxColour((wxColour
&) result
);
18734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18742 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18743 PyObject
*resultobj
;
18744 wxEffects
*arg1
= (wxEffects
*) 0 ;
18745 wxColour
*arg2
= 0 ;
18747 PyObject
* obj0
= 0 ;
18748 PyObject
* obj1
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self",(char *) "c", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18758 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxEffects
*arg1
= (wxEffects
*) 0 ;
18777 wxColour
*arg2
= 0 ;
18779 PyObject
* obj0
= 0 ;
18780 PyObject
* obj1
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self",(char *) "c", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18790 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 Py_INCREF(Py_None
); resultobj
= Py_None
;
18806 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxEffects
*arg1
= (wxEffects
*) 0 ;
18809 wxColour
*arg2
= 0 ;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj1
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self",(char *) "c", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 Py_INCREF(Py_None
); resultobj
= Py_None
;
18838 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxEffects
*arg1
= (wxEffects
*) 0 ;
18841 wxColour
*arg2
= 0 ;
18843 PyObject
* obj0
= 0 ;
18844 PyObject
* obj1
= 0 ;
18845 char *kwnames
[] = {
18846 (char *) "self",(char *) "c", NULL
18849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 Py_INCREF(Py_None
); resultobj
= Py_None
;
18870 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxEffects
*arg1
= (wxEffects
*) 0 ;
18873 wxColour
*arg2
= 0 ;
18875 PyObject
* obj0
= 0 ;
18876 PyObject
* obj1
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self",(char *) "c", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18886 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 Py_INCREF(Py_None
); resultobj
= Py_None
;
18902 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
;
18904 wxEffects
*arg1
= (wxEffects
*) 0 ;
18905 wxColour
*arg2
= 0 ;
18906 wxColour
*arg3
= 0 ;
18907 wxColour
*arg4
= 0 ;
18908 wxColour
*arg5
= 0 ;
18909 wxColour
*arg6
= 0 ;
18915 PyObject
* obj0
= 0 ;
18916 PyObject
* obj1
= 0 ;
18917 PyObject
* obj2
= 0 ;
18918 PyObject
* obj3
= 0 ;
18919 PyObject
* obj4
= 0 ;
18920 PyObject
* obj5
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18934 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18938 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18942 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18946 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18955 Py_INCREF(Py_None
); resultobj
= Py_None
;
18962 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
;
18964 wxEffects
*arg1
= (wxEffects
*) 0 ;
18967 int arg4
= (int) 1 ;
18969 PyObject
* obj0
= 0 ;
18970 PyObject
* obj1
= 0 ;
18971 PyObject
* obj2
= 0 ;
18972 PyObject
* obj3
= 0 ;
18973 char *kwnames
[] = {
18974 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18983 if (arg2
== NULL
) {
18984 PyErr_SetString(PyExc_TypeError
,"null reference");
18989 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18992 arg4
= (int) SWIG_AsInt(obj3
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 Py_INCREF(Py_None
); resultobj
= Py_None
;
19009 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxEffects
*arg1
= (wxEffects
*) 0 ;
19014 wxBitmap
*arg4
= 0 ;
19017 PyObject
* obj0
= 0 ;
19018 PyObject
* obj1
= 0 ;
19019 PyObject
* obj2
= 0 ;
19020 PyObject
* obj3
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19032 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
19033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19035 if (arg3
== NULL
) {
19036 PyErr_SetString(PyExc_TypeError
,"null reference");
19039 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
19040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19042 if (arg4
== NULL
) {
19043 PyErr_SetString(PyExc_TypeError
,"null reference");
19047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19048 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
19050 wxPyEndAllowThreads(__tstate
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19062 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
19064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19065 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
19067 return Py_BuildValue((char *)"");
19069 static PyMethodDef SwigMethods
[] = {
19070 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
19071 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
19072 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
19073 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
19074 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
19075 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
19076 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
19077 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
19078 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
19079 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
19080 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
19081 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
19082 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
19083 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19084 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
19085 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
19086 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
19087 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
19088 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19089 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19090 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
19091 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
19092 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
19093 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
19094 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
19095 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
19096 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
19097 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19098 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
19099 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
19100 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
19101 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
19102 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
19103 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
19104 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19105 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19106 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19107 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
19108 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
19109 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
19110 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19111 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19112 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
19113 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
19114 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
19115 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
19116 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
19117 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
19118 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19119 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19120 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
19121 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
19122 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
19123 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
19124 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19125 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
19126 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
19127 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19128 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
19129 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19130 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
19131 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
19132 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
19133 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19134 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
19135 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
19136 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
19137 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
19138 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
19139 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19140 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19141 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19142 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19143 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19144 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19145 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19146 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
19147 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
19148 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
19149 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
19150 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19151 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
19152 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
19153 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
19154 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19155 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19156 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19157 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19158 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
19159 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
19160 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
19161 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19162 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19163 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
19164 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
19165 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
19166 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
19167 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
19168 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
19169 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
19170 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19171 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
19172 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
19173 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19174 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19175 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19176 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19177 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19178 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19179 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19180 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19181 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19182 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19183 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19184 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
19185 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
19186 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
19187 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
19188 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19189 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19190 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
19191 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
19192 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
19193 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
19194 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
19195 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
19196 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
19197 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19198 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
19199 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
19200 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
19201 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
19202 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
19203 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
19204 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
19205 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19206 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
19207 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19208 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19209 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19210 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19211 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19212 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19213 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19214 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
19215 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
19216 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
19217 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19218 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
19219 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
19220 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
19221 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19222 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
19223 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
19224 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
19225 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
19226 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
19227 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
19228 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
19229 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
19230 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
19231 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
19232 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
19233 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
19234 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
19235 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
19236 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
19237 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
19238 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
19239 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
19240 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
19241 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19242 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19243 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
19244 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
19245 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
19246 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
19247 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
19248 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
19249 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
19250 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19251 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
19252 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19253 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
19254 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
19255 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
19256 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
19257 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
19258 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
19259 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19260 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19261 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
19262 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
19263 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19264 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19265 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19266 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19267 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19268 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19269 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19270 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19271 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19272 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19273 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19274 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19275 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19276 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19277 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
19278 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
19279 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
19280 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
19281 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
19282 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
19283 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
19284 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
19285 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
19286 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
19287 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
19288 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
19289 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
19290 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
19291 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
19292 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19293 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19294 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
19295 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
19296 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
19297 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
19298 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19299 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
19300 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19301 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19302 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
19303 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
19304 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
19305 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
19306 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
19307 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19308 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
19309 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
19310 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
19311 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
19312 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
19313 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
19314 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
19315 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
19316 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
19317 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19318 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
19319 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
19320 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19321 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19322 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19323 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19324 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19325 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19326 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19327 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19328 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
19329 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
19330 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
19331 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19332 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
19333 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
19334 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
19335 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
19336 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
19337 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19338 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
19339 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
19340 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
19341 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
19342 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
19343 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
19344 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
19345 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
19346 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19347 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19348 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
19349 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
19350 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
19351 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
19352 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
19353 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
19354 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
19355 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
19356 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
19357 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
19358 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
19359 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
19360 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
19361 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
19362 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
19363 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
19364 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19365 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
19366 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
19367 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
19368 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19369 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
19370 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
19371 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
19372 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19373 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19374 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
19375 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
19376 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
19377 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
19378 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
19379 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19380 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
19381 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
19382 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
19383 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
19384 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
19385 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
19386 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
19387 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
19388 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19389 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
19390 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
19391 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
19392 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19393 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
19394 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
19395 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
19396 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
19397 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19398 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
19399 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
19400 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
19401 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
19402 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
19403 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
19404 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
19405 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
19406 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
19407 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
19408 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
19409 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
19410 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
19411 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
19412 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19413 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
19414 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
19415 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19416 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19417 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
19418 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
19419 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
19420 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
19421 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
19422 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
19423 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
19424 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
19425 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
19426 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
19427 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
19428 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19429 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
19430 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
19431 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
19432 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
19433 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
19434 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
19435 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19436 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19437 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
19438 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
19439 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19440 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
19441 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
19442 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
19443 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
19444 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
19445 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
19446 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
19447 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
19448 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
19449 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
19450 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
19451 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
19452 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19453 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19454 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19455 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
19456 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
19457 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
19458 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
19459 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
19460 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
19461 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19462 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19463 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19464 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
19465 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19466 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
19467 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
19468 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
19469 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
19470 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
19471 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
19472 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
19473 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
19474 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
19475 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
19476 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
19477 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19478 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
19479 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
19480 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
19481 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19482 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
19483 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
19484 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
19485 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
19486 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
19487 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19488 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19489 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
19490 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
19491 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19492 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
19493 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19494 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
19495 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19496 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
19497 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19498 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19499 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19500 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
19501 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19502 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
19503 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
19504 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
19505 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
19506 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19507 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
19508 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19509 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
19510 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19511 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
19512 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19513 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
19514 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
19515 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
19516 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
19517 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
19518 { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
},
19519 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
19520 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
19521 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
19522 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
19523 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
19524 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
19525 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
19526 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
19527 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
19528 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
19529 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
19530 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
19531 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
19532 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
19533 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
19534 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
19535 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19536 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
19537 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
19538 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
19539 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19540 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19541 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
19542 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
19543 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
19544 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19545 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
19546 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
19547 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
19548 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
19549 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
19550 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
19551 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19552 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19553 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19554 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19555 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
19556 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19557 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19558 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19559 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
19560 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19561 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19562 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19563 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19564 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
19565 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
19566 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
19567 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
19568 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
19569 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
19570 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19571 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19572 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
19573 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
19574 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19575 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
19576 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
19577 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
19578 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
19579 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
19580 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19581 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
19582 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
19583 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
19584 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
19585 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19586 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
19587 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
19588 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
19589 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
19590 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19591 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
19592 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19593 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19594 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
19595 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
19596 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
19597 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
19598 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
19599 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
19600 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
19601 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
19602 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19603 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
19604 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
19605 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19606 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19607 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19608 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19609 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19610 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19611 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19612 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19613 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19614 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19615 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
19616 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
19617 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19618 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
19623 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19625 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19626 return (void *)((wxWindow
*) ((wxControl
*) x
));
19628 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19629 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19631 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19632 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19634 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19635 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19637 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19638 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19640 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19641 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19643 static void *_p_wxPenTo_p_wxObject(void *x
) {
19644 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19646 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19647 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19649 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19650 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19652 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19653 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19655 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19656 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19658 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19661 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19662 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19664 static void *_p_wxIconTo_p_wxObject(void *x
) {
19665 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19667 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19668 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19670 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19671 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19673 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19674 return (void *)((wxObject
*) ((wxSizer
*) x
));
19676 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19677 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19679 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19680 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19682 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19683 return (void *)((wxObject
*) ((wxPenList
*) x
));
19685 static void *_p_wxEventTo_p_wxObject(void *x
) {
19686 return (void *)((wxObject
*) ((wxEvent
*) x
));
19688 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19689 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19691 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19692 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19694 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19695 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19697 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19698 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19700 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19701 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19703 static void *_p_wxDCTo_p_wxObject(void *x
) {
19704 return (void *)((wxObject
*) ((wxDC
*) x
));
19706 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19707 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19709 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19710 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19712 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19713 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19715 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19716 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19718 static void *_p_wxControlTo_p_wxObject(void *x
) {
19719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19721 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19722 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19724 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19725 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19727 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19728 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19730 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19731 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19733 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19734 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19736 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19737 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19739 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19740 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19742 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19743 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19745 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19746 return (void *)((wxObject
*) ((wxEffects
*) x
));
19748 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19749 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19751 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19754 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19755 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19757 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19758 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19760 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19761 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19763 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19764 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19766 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19769 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19770 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19772 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19773 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19775 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19776 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19778 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19779 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19781 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19782 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19784 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19785 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19787 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19788 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19790 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19791 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19793 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19794 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19796 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19797 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19799 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19800 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19802 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19803 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19805 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19806 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19808 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19809 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19811 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19812 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19814 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19815 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19817 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19818 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19820 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19821 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19823 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19824 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19826 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19827 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19829 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19830 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19832 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19833 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19835 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19836 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19838 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19839 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19841 static void *_p_wxImageTo_p_wxObject(void *x
) {
19842 return (void *)((wxObject
*) ((wxImage
*) x
));
19844 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19845 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19847 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19848 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19850 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19851 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19853 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19854 return (void *)((wxObject
*) ((wxImageList
*) x
));
19856 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19857 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19859 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19860 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19862 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19863 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19865 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19868 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19869 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19871 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19872 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19874 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19875 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19877 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19878 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19880 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19883 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19884 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19886 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19887 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19889 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19890 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19892 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19893 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19895 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19896 return (void *)((wxObject
*) ((wxMask
*) x
));
19898 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19899 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19901 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19902 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19904 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19905 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19907 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19908 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19910 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19911 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19913 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19914 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19916 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19917 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19919 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19920 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19922 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19923 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19925 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19926 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19928 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19929 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19931 static void *_p_wxFontTo_p_wxObject(void *x
) {
19932 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19934 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19935 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19937 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19938 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19940 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19943 static void *_p_wxColourTo_p_wxObject(void *x
) {
19944 return (void *)((wxObject
*) ((wxColour
*) x
));
19946 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19947 return (void *)((wxObject
*) ((wxFontList
*) x
));
19949 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19952 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19953 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19955 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19956 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19958 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19959 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19961 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19962 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19964 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19965 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19967 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19968 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19970 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19971 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19973 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19974 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19976 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19977 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19979 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19980 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19982 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19983 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19985 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19986 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19988 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19989 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19991 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19992 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19994 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19995 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19997 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19998 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
20000 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
20001 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
20003 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
20004 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
20006 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
20007 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
20009 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
20010 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
20012 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
20013 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
20015 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}};
20016 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}};
20017 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}};
20018 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}};
20019 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}};
20020 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}};
20021 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}};
20022 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}};
20023 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}};
20024 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}};
20025 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}};
20026 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}};
20027 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}};
20028 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}};
20029 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}};
20030 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}};
20031 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}};
20032 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}};
20033 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}};
20034 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}};
20035 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}};
20036 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}};
20037 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}};
20038 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}};
20039 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}};
20040 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}};
20041 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}};
20042 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}};
20043 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}};
20044 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}};
20045 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}};
20046 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}};
20047 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}};
20048 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}};
20049 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}};
20050 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}};
20051 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}};
20052 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}};
20053 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}};
20054 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}};
20055 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}};
20056 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}};
20057 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}};
20058 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}};
20059 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}};
20060 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}};
20061 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}};
20062 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}};
20063 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}};
20064 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}};
20065 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}};
20066 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}};
20067 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}};
20068 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}};
20069 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}};
20071 static swig_type_info
*swig_types_initial
[] = {
20072 _swigt__p_wxPostScriptDC
,
20074 _swigt__p_wxColour
,
20076 _swigt__p_wxMirrorDC
,
20078 _swigt__p_wxPyFontEnumerator
,
20080 _swigt__p_wxIconLocation
,
20082 _swigt__p_wxMetaFileDC
,
20086 _swigt__p_wxWindow
,
20088 _swigt__p_wxMemoryDC
,
20089 _swigt__p_wxFontMapper
,
20090 _swigt__p_wxEffects
,
20091 _swigt__p_wxNativeEncodingInfo
,
20092 _swigt__p_wxPalette
,
20093 _swigt__p_wxBitmap
,
20094 _swigt__p_wxObject
,
20095 _swigt__p_wxRegionIterator
,
20097 _swigt__p_wxString
,
20098 _swigt__p_wxPrinterDC
,
20099 _swigt__p_wxIconBundle
,
20102 _swigt__p_wxScreenDC
,
20103 _swigt__p_wxCursor
,
20104 _swigt__p_wxClientDC
,
20105 _swigt__p_wxBufferedDC
,
20106 _swigt__p_wxImageList
,
20107 _swigt__p_unsigned_char
,
20108 _swigt__p_wxGDIObject
,
20110 _swigt__p_wxLocale
,
20111 _swigt__p_wxRegion
,
20112 _swigt__p_wxLanguageInfo
,
20113 _swigt__p_wxConfigBase
,
20114 _swigt__p_wxWindowDC
,
20115 _swigt__p_wxPrintData
,
20116 _swigt__p_wxBrushList
,
20117 _swigt__p_wxFontList
,
20119 _swigt__p_wxBufferedPaintDC
,
20120 _swigt__p_wxPaintDC
,
20121 _swigt__p_wxPenList
,
20123 _swigt__p_wxMetaFile
,
20124 _swigt__p_wxNativeFontInfo
,
20125 _swigt__p_wxEncodingConverter
,
20126 _swigt__p_wxColourDatabase
,
20131 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20133 static swig_const_info swig_const_table
[] = {
20143 SWIGEXPORT(void) SWIG_init(void) {
20144 static PyObject
*SWIG_globals
= 0;
20145 static int typeinit
= 0;
20148 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
20149 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20150 d
= PyModule_GetDict(m
);
20153 for (i
= 0; swig_types_initial
[i
]; i
++) {
20154 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
20158 SWIG_InstallConstants(d
,swig_const_table
);
20160 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
20161 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
20162 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
20163 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
20164 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
20165 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
20166 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
20167 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
20168 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
20169 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
20170 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
20171 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
20172 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
20173 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
20174 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
20175 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
20176 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
20177 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
20178 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
20179 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
20180 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
20181 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
20182 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
20183 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
20184 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
20185 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
20186 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
20187 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
20188 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
20189 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
20190 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
20191 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
20192 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
20193 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
20194 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
20195 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
20196 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
20197 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
20198 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
20199 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
20200 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
20201 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
20202 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
20203 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
20204 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
20205 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
20206 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
20207 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
20208 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
20209 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
20210 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
20211 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
20212 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
20213 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
20214 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
20215 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
20216 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
20217 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
20218 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
20219 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
20220 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
20221 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
20222 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
20223 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
20224 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
20225 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
20226 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
20227 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
20228 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
20229 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
20230 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
20231 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
20232 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
20233 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
20234 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
20235 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
20236 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
20237 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
20238 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
20239 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
20240 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
20241 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
20242 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
20243 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
20244 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
20245 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
20246 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
20247 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
20248 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
20249 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
20250 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
20251 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
20252 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
20253 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
20254 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
20255 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
20256 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
20257 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
20258 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
20259 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
20260 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
20261 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
20262 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
20263 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
20264 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
20265 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
20266 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
20267 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
20268 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
20269 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
20270 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
20271 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
20272 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
20273 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
20274 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
20275 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
20276 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
20277 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
20278 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
20279 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
20280 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
20281 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
20282 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
20283 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
20284 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
20285 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
20286 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
20288 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
20290 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
20291 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
20292 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
20293 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
20294 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
20295 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
20296 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
20297 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
20298 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
20299 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
20300 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
20301 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
20302 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
20303 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
20304 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
20305 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
20306 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
20307 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
20308 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
20309 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
20310 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
20311 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
20312 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
20313 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
20314 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
20315 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
20316 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
20317 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
20318 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
20319 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
20320 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
20321 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
20322 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
20323 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
20324 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
20325 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
20326 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
20327 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
20328 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
20329 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
20330 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
20331 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
20332 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
20333 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
20334 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
20335 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
20336 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
20337 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
20338 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
20339 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
20340 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
20341 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
20342 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
20343 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
20344 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
20345 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
20346 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
20347 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
20348 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
20349 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
20350 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
20351 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20352 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
20353 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20354 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
20355 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
20356 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20357 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20358 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20359 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20360 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20361 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20362 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
20363 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
20364 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
20365 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
20366 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
20367 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
20368 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
20369 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
20370 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
20371 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20372 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
20373 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
20374 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
20375 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
20376 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
20377 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
20378 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20379 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
20380 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20381 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20382 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
20383 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
20384 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
20385 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
20386 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
20387 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
20388 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
20389 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
20390 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
20391 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
20392 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
20393 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
20394 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
20395 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
20396 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
20397 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
20398 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
20399 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
20400 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
20401 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
20402 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
20403 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
20404 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
20405 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
20406 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
20407 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
20408 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
20409 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
20410 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
20411 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
20412 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
20413 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
20414 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
20415 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
20416 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
20417 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
20418 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
20419 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
20420 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
20421 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
20422 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20423 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
20424 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
20425 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
20426 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
20427 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
20428 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
20429 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
20430 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
20431 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
20432 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
20433 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20434 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20435 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
20436 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
20437 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
20438 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
20439 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
20440 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
20441 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20442 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
20443 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
20444 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
20445 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
20446 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
20447 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20448 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
20449 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
20450 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
20451 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
20452 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
20453 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20454 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
20455 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
20456 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
20457 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
20458 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
20459 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
20460 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
20461 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
20462 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
20463 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
20464 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
20465 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
20466 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20467 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20468 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
20469 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20470 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20471 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20472 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
20473 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20474 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20475 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
20476 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
20477 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
20478 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20479 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
20480 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20481 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
20482 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20483 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
20484 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
20485 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20486 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
20487 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
20488 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
20489 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
20490 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
20491 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
20492 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
20493 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
20494 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
20495 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
20496 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
20497 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
20498 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
20499 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
20500 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
20501 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
20502 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
20503 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
20504 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
20505 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
20506 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
20507 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
20508 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
20509 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20510 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
20511 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
20512 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
20513 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
20514 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
20515 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
20516 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
20517 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
20518 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
20519 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
20520 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
20521 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
20522 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
20523 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
20524 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
20525 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
20526 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
20527 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
20528 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
20529 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
20530 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
20531 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
20532 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
20533 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
20534 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
20535 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
20536 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
20537 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20538 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
20539 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
20540 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
20541 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
20542 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
20543 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20544 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20545 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20546 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20547 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20548 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20549 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20550 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20551 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20552 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20553 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20554 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20555 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20556 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20557 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20558 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20559 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20560 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20561 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20562 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20563 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20564 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20565 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20566 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20567 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20568 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20569 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20570 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20571 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20572 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20573 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20574 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20575 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20576 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20577 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20578 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20579 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20580 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20581 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20582 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20583 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20584 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20585 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20586 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20587 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20588 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20589 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20591 // Work around a chicken/egg problem in drawlist.cpp
20592 wxPyDrawList_SetAPIPtr();